Galaxy Legion Forum
http://galaxylegion.com/forum/

bug
http://galaxylegion.com/forum/viewtopic.php?f=5&t=2521
Page 1 of 1

Author:  hunter [ Tue Oct 26, 2010 11:00 pm ]
Post subject:  bug

there is still a disable bug. i was disabled 2x when it should have been once. i was offline and nobody repaired me.
(names have been changed to protect... the guilty :twisted: )

15 mins ago From: SHIP2
106 Mineral Units were stolen from you by SHIP2
16 mins ago From: SHIP3
161 Artifact Points were stolen from you by SHIP3
16 mins ago From: SHIP3
Your ship has been disabled by SHIP3!
View Your Ship
16 mins ago From: SHIP2
Your ship has been disabled by SHIP2!
View Your Ship
17 mins ago
SHIP1 attacked you and set off your Krionus Virus Trap!

i was offline and nobody repaired me.

Author:  Drake Oblivion [ Tue Oct 26, 2010 11:50 pm ]
Post subject:  Re: bug

Wait! I recognize those artifacts being stolen!!

Author:  zophah [ Wed Oct 27, 2010 2:35 pm ]
Post subject:  Re: bug

I think I see the problem (it's quite an exploit if they intended it). If you hold open the window of another player's ship, that page doesn't refresh until you commit an action to it. This means a player can be disabled by someone else and the attack button on the screen can still be clicked. If attacked after the ship was already disabled it would count as a disable because the attack resulted in zero hull (even though it was already there).

Author:  BinaryMan [ Thu Oct 28, 2010 5:54 am ]
Post subject:  Re: bug

That means, the backend needs to double check that the action (such as attack) is in fact valid (which it is not when a ship is disabled) -- never trust the game client data as they say. The other time which doesn't seem to be the case here is when two attack requests are so close together that the second is executed before the result of the first is completed, in that case it's a database sync issue.

Author:  hunter [ Thu Oct 28, 2010 2:15 pm ]
Post subject:  Re: bug

Quote:
That means, the backend needs to double check that the action (such as attack) is in fact valid (which it is not when a ship is disabled) -- never trust the game client data as they say.

this is not the issue because if someone attacks later you will get a message saying "this ship has already been disabled", so it does check this state.

Quote:
The other time which doesn't seem to be the case here is when two attack requests are so close together that the second is executed before the result of the first is completed, in that case it's a database sync issue.

i disagree, this one is most likely the cause because the action began too close together and the second action was not blocked from executing to wait for the 1st to finish.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/