Page 1 of 1
[SOLVED] is it possible to suppress bugging tables???
Posted: 06 May 2013, 10:58
by Rudolf
Hello,
since Saturday, I cannot make an express start, the server says there is no enough free players... (but all are available).
So I have to connect each and join to start. I should be caused by still existing tables (bugged).
Re: Bug on Express Start.
Posted: 06 May 2013, 12:48
by pikiou
Works fine for me. Happened to me before when almost all my pikiou0-9 accounts were in games already.
Re: [STILL HAPPENS] Bug on Express Start.
Posted: 08 May 2013, 23:25
by Rudolf
I think the problem is caused by remaining bugged tables:
4358
2907
541
300
296
199
is it possible to suppress it? I did a close, but nothing happens.
Re: [EXPRESS START] is it possible to suppress bugging table
Posted: 09 May 2013, 06:01
by pikiou
Indeed, the problem is there are games you abandoned but which are still running and therefor prevent zombie players from "express" joining other games (yup, that's a BGA Studio bug).
So you need to end these games, and the only way I know of is to move from a state to the gameEnd state.
First, find a state with a 'gameEnd' transition to state 99. Let's call it beforeTheEnd.
Then in the SQL table named global, change the global_value with global_id=1 (seems to be current state id) to the id of beforeTheEnd, so the state engine is set to that state.
And finally, add "$this->gamestate->nextState('gameEnd');" at the start of getAllDatas before refreshing the table page.
It will move from state beforeTheEnd to state gameEnd, actually ending the game and releasing all accounts associated with it.
Re: [EXPRESS START] is it possible to suppress bugging table
Posted: 09 May 2013, 09:45
by Rudolf
Thanks Pikiou for the trick.
I did'nt code an end link right now, but I will.