Sandbird
Valued Member!
I am planning on making a server event script that runs on a specific time.
I play Borderlands now and then and i like the idea of an arena event where players can enter and fight to the death, and the last man standing will get a reward
I think i got the base plan down...the only thing that i am missing is a way to do this:
- I want to hold in an array (or in another db table) all the current online players database values. (inv,back,kils, pos, etc)
- If a player logs out during the event restore all his values from the array.
- If a player dies, restore all his values so when he respawns everything is back to normal.
- When the event ends reward the winner and tp him back to his original place (easiest from all the above).
Basically the biggest 'thorn' in all this is temp saving and restoring player values.
Any ideas on that , on how to go about it ?
I play Borderlands now and then and i like the idea of an arena event where players can enter and fight to the death, and the last man standing will get a reward
I think i got the base plan down...the only thing that i am missing is a way to do this:
- I want to hold in an array (or in another db table) all the current online players database values. (inv,back,kils, pos, etc)
- If a player logs out during the event restore all his values from the array.
- If a player dies, restore all his values so when he respawns everything is back to normal.
- When the event ends reward the winner and tp him back to his original place (easiest from all the above).
Basically the biggest 'thorn' in all this is temp saving and restoring player values.
Any ideas on that , on how to go about it ?