Gollwu / LoLManager

Development of amateur application LoL Manager
Other
3 stars 0 forks source link

State machine for status management #43

Open qr7hur opened 9 years ago

qr7hur commented 9 years ago

BUG

Where/When? Occurs at the botlane, I think when two players from one side go back to lane simultaneously (not 100% sure for this last part)

What? The status of one of the players (I have to admit it's most often the support) is not set back to "laning", but remains stuck to either "dead" or "base".

Witness? It's easy to reproduce the bug: let the game run, at some point a player will stop making the "laning movement" after going back to lane (note that it will also stop receiving gold).

Possible causes? Failure in the callbacks or in the status state machine.

Gollwu commented 9 years ago

I'm on it

Gollwu commented 9 years ago

Could not reproduce, even when twoo players die at the same time and go back to lane.

Gollwu commented 9 years ago

Still not fixed You can easily witness the bug by typing goBackToBase(players.blue[3]) kill(players.blue[4])

fabienDaou commented 9 years ago

gonna take a look at this