 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
the_snake Guest
Offline
|
Posted: Thu Jul 19, 2007 6:06 am Post subject: How to refresh the playerlist linkedlist |
 |
|
|
|
I was trying to have a mervbot keep track of scores with the player->score struct.
But as there is also a ?buy command available i found it impossible to have the bot display the correct scores after a ?buy was issued. It keeps showing the old score and just adds any new score to it.
Lets say that i had 400 points overall and spent 100 buying a rocket.
so now i have 300 points but the bot will display 400 for player->score
If i gain 200 more points, I will have 500 points, but bot will display 600.
If the bot rejoins the arena, the scores will be just fine, as it is probably refreshing the playerlist..
My question is if there is a way to refresh the list without actually rejoining the arena...
thanks,
-the_snake |
|
Back to top |
|
 |
BugZap Guest
Offline
|
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 52 page(s) served in previous 5 minutes.
|