Server Help

Bot Questions - Spawn time bot?

Cyphen02 - Sat Sep 23, 2006 10:47 am
Post subject: Spawn time bot?
Hey, I need a bot plugin (TWcore or Mervbot, merv if you could tho)
that can::

Say the spawn time was 1 seconds (1s) and this person died without killing someone twice in a row, then the bot would raise his spawn time to 2s, and then the next time he dies twice in a row it will raise to 3s, so forth. And the way he lowers his spawn time, would be to kill 2 people without dying, and then it would be brought down by 1s.


Please reply or contact me in-game as Cyphen02 ^_-
Cyan~Fire - Sat Sep 23, 2006 11:25 am
Post subject:
I don't believe this is possible, not even with ASSS. A workarond could be just to have players spawn in a box and then warp them out into the real arena when the timer's up.
The Cubbies - Sat Sep 23, 2006 11:55 am
Post subject:
As far as I know the method Cyan suggested is the best one. If you do that, the rest of the plugin is pretty simple.
Cyphen02 - Sat Sep 23, 2006 3:18 pm
Post subject:
Ok, heh I can't code bots and not very good with anything except staff handling/settings lol, so If I put a box for the people to spawn in, can someone help me with the plugin?
Smong - Sat Sep 23, 2006 6:24 pm
Post subject:
It probably is possible in asss with per-player settings. As this sounds like an event it probably isn't worth converting the whole zone just for this.
Cyphen02 - Sat Sep 23, 2006 10:50 pm
Post subject:
No, I would like to thave this in my pub map, not just for an event, but yeah it would be nice to switch to ASSS just for smong, because his zone SSCI PIRATES is <Da BoMb>
D1st0rt - Sun Sep 24, 2006 5:04 pm
Post subject:
Another possible (and ugly) alternative would be to have the spawn timer set to 1 second and then have the bot repeatedly kill them until their time is up. This is undesirable though and could introduce some other problems down the road.

Smong: the only thing I can think of happening is antideath-style invisible players if someone has their spawn time set higher than whoever just died.
Smong - Sun Sep 24, 2006 7:01 pm
Post subject:
@D1st0rt
Hmm, I don't think that will happen.

I think the reason why players appear temporarily invisible is because of the protocol and the way packets can arrive out of order. For example a client may be told player x is dead, but then receive a delayed position packet for player x, what to do? What happens is the client will not draw any player that has died for 1 second. The client will restart drawing them when it starts receiving positions for player x again (positions aren't sent for dead players). I believe I explained all this in a previous post some time ago, but can't remember what thread it was in. So in conclusion the enterdelay setting is only used for yourself, and not for hiding other dead players.

Feel free to try and find a counter example.
D1st0rt - Sun Sep 24, 2006 10:34 pm
Post subject:
I thought it just ignored drawing players that died until the spawn timer ran out, but what you said makes sense.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group