View unanswered posts | View active topics It is currently Fri May 26, 2017 2:46 am



Reply to topic  [ 9 posts ] 
 tax bug? 
Author Message
Commander

Joined: Thu Oct 17, 2002 2:00 am
Posts: 1009
Unread post 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
tax bug.png [ 125.14 KiB | Viewed 2056 times ]

_________________
There I go getting Ship Destroyed AGAIN :)

Image


Last edited by Comet on Thu Jan 12, 2012 10:47 am, edited 1 time in total.

Thu Jan 12, 2012 9:51 am
Profile
Veteran Op
User avatar

Joined: Mon Jun 16, 2003 2:00 am
Posts: 638
Location: USA
Unread post Re: tax bug?
what language are those black marks? 8)


Thu Jan 12, 2012 10:30 am
Profile ICQ
Commander

Joined: Thu Oct 17, 2002 2:00 am
Posts: 1009
Unread post Re: tax bug?
Muss wrote:
what language are those black marks? 8)



I'm not sure. It's foreign to me. Press 2 for Spanish :)

_________________
There I go getting Ship Destroyed AGAIN :)

Image


Thu Jan 12, 2012 10:33 am
Profile
Chief Warrant Officer
User avatar

Joined: Sun Jan 20, 2008 5:15 am
Posts: 142
Unread post 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
Profile
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post 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
Profile WWW
Commander

Joined: Thu Oct 17, 2002 2:00 am
Posts: 1009
Unread post 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 :)

_________________
There I go getting Ship Destroyed AGAIN :)

Image


Thu Jan 12, 2012 9:16 pm
Profile
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1703
Location: Guam USA
Unread post 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://202.151.82.243:2002
Team Speak3 Servers for TradeWars @
Zoom's Team Speak Server
ts3server://vs26.tserverhq.com:7214 This is where I'm at.
Micro's Team Speak Server
ts3server://ts.microblaster.net
Archys Portal Teamspeak Server
ts3server://60.242.57.40

Founding Member -=[Team Kraaken]=- Ka Pla
Image

Image
Image


Thu Jan 12, 2012 9:57 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 1800
Location: Oklahoma City, OK 73170 US
Unread post 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
TeamSpeak3: ts.microblaster.net:9987

"The goal is to turn data into information, and information into insight.”


Thu Jan 12, 2012 11:18 pm
Profile ICQ YIM WWW
Commander

Joined: Thu Oct 17, 2002 2:00 am
Posts: 1009
Unread post 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 :)

_________________
There I go getting Ship Destroyed AGAIN :)

Image


Fri Jan 13, 2012 5:49 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.