-
16th October 2015, 00:37
#1
Corporal
What about on map change?
I tried adding test clients using addTestClient() (which, I think, is a stock function). The bot connects, gets to the spectators team, has a 999 ping, no problem there, since I have the rest of the functions to spawn it and make it play the game.
On map change, they just have the connecting status (with -1 ping). I can kick them, but they won't join, and I can't access them (they are not included in the list of players anymore). Can I do something here to access them? I'm thinking about kicking and re-adding them on every map start if there's no better solution.
-
-
16th October 2015, 10:57
#2
Sergeant
Map change is done (in bot-mods without libcod) tis way:
- kick all player, but let them /reconnect automatically after a few seconds (execClientCommand()-hack)
- kill the server (removes the bots)
- retsart the server with your new map
- now the players start to reconnect
you can have a peek on cod2/cod4 bot mods for this
iirc here is likely a thread abut this already
-
The Following User Says Thank You to serthy For This Useful Post:
guiismiti (21st March 2017)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules