Author |
Message |
Comet
Commander
Joined: Thu Oct 17, 2002 2:00 am Posts: 1158
|
 tax bug?
had 999,999,999 on me to get my commission since I could not twarp. I had 1 exp and 1 alignment before doing so.
I paid out 49,999,999 in taxes and recieved no credit towards my alignment.
Also, this game was banged before 2.16.
Attachments:
tax bug.png [ 125.14 KiB | Viewed 11570 times ]
Last edited by Comet on Thu Jan 12, 2012 10:47 am, edited 1 time in total.
|
Thu Jan 12, 2012 9:51 am |
|
 |
Muss
Veteran Op
Joined: Mon Jun 16, 2003 2:00 am Posts: 639 Location: USA
|
 Re: tax bug?
what language are those black marks? 
|
Thu Jan 12, 2012 10:30 am |
|
 |
Comet
Commander
Joined: Thu Oct 17, 2002 2:00 am Posts: 1158
|
 Re: tax bug?
Muss wrote: what language are those black marks?  I'm not sure. It's foreign to me. Press 2 for Spanish 
|
Thu Jan 12, 2012 10:33 am |
|
 |
Scrat
Chief Warrant Officer
Joined: Sun Jan 20, 2008 5:15 am Posts: 142
|
 Re: tax bug?
Wow I had forgotten about that bug. It's been around for a while. I can't remember for sure where the cutoff is but if I recall tax on 900 mil still gives the alignment boost. I think it's when the potential alignment boost goes over 32k that it stops working. Possibly an integer overflow in the calculation?
|
Thu Jan 12, 2012 11:56 am |
|
 |
John Pritchett
Site Admin
Joined: Sun Dec 24, 2000 3:00 am Posts: 3150 Location: USA
|
 Re: tax bug?
It's actually not a bug. I'm not saying whether it's good design, but it's clearly intended. There's a test for TAX/1500 < 32000, and if it's true, you get alignment, and if it's not, you just get that friendly "thanks". The amount you paid is just over that threshold.
Out of curiosity, I went back to my v2 codebase, from which I started the v3 work, and that code is there. So it's been like this since before v3, and is probably original v2 logic.
_________________ John Pritchett EIS --- Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.
|
Thu Jan 12, 2012 8:40 pm |
|
 |
Comet
Commander
Joined: Thu Oct 17, 2002 2:00 am Posts: 1158
|
 Re: tax bug?
Well.... ummmm... errrrr... FINE! lol That is really interesting to know though. I was chatting with a few others and they thought it was a bug. Ya learn something new everyday 
|
Thu Jan 12, 2012 9:16 pm |
|
 |
Vid Kid
Commander
Joined: Sun Feb 25, 2001 3:00 am Posts: 1833 Location: Guam USA
|
 Re: tax bug?
Yes , comet .. I tested the 99,999,999 credit and dropped as you said and no alienment gain.
This would only be a bug if you were on a mixed corp and you were the blue and not want your alienment to sore over 1500 as you would have not wanted ..
Your oponents would be bumbed to hear you didn't jump in alienment and hose your corp.
If it worked as I would think intened .. that is exactly what would have happened ..
You were lucky.
Vid Kid
_________________ TWGS V2 Vids World on Guam Port 2002 Telnet://vkworld.ddns.net:2002 Discord @ DiverDave#8374 Vid's World Discord
Founding Member -=[Team Kraaken]=- Ka Pla
 Winners of Gridwars 2010 MBN Fall Tournament 2011 winners Team Kraaken Undisputed Champions of 2019 HHT Just for showing up!
The Oldist , Longist Running , Orginal Registered Owner of a TWGS server : Vids World On Guam
|
Thu Jan 12, 2012 9:57 pm |
|
 |
Micro
Ambassador
Joined: Wed Apr 20, 2011 1:19 pm Posts: 2556 Location: Oklahoma City, OK 73170 US
|
 Re: tax bug?
John Pritchett wrote: It's actually not a bug. I'm not saying whether it's good design, but it's clearly intended. There's a test for TAX/1500 < 32000, and if it's true, you get alignment, and if it's not, you just get that friendly "thanks". The amount you paid is just over that threshold.
Out of curiosity, I went back to my v2 codebase, from which I started the v3 work, and that code is there. So it's been like this since before v3, and is probably original v2 logic. I bet it was a bug that got fixed and then changed back... lol
_________________ Regards, Micro Website: http://www.microblaster.net TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002
ICQ is Dead Jim! Join us on Discord: https://discord.gg/zvEbArscMN
|
Thu Jan 12, 2012 11:18 pm |
|
 |
Comet
Commander
Joined: Thu Oct 17, 2002 2:00 am Posts: 1158
|
 Re: tax bug?
Whatever it maybe sorry for posting it in the wrong thread JP. I hope others that did not know about this will now know 
|
Fri Jan 13, 2012 5:49 am |
|
 |
|