Page 1 of 1
Prevent people from re-spawning.
Posted:
20 Dec 2013, 15:36
by Leeizazombie
Many of the zombie survival servers based on MCDzienny are having problems due to the fact that players can press Enter to save a spot and then tease a zombie into believing that they're gonna get him/her until the player presses "r" to re-spawn.
This was blocked in Minemaniacs zombie server, and it shows that they spawn back to the spot but automaticaly brought back to where they were. I hope this can be done, then I would be able to set-up a zombie server without cheaters.
Re: Prevent people from re-spawning.
Posted:
20 Dec 2013, 16:44
by joppiesaus
I don't know if there's already a option in MCDzienny, but if you want to code it yourself...
Maybe a OnPlayerMove EventHandler and if he moves more than x blocks and is not operator / admin, setback?
Re: Prevent people from re-spawning.
Posted:
20 Dec 2013, 22:43
by Leeizazombie
That's how the owner of minemaniacs explained how it was done, but I'm not good enough to code that...
Re: Prevent people from re-spawning.
Posted:
21 Dec 2013, 00:03
by HelloWorldCool
+1 It's a good suggestion, maybe dzienny will be able to add such an option to the zombie game mode.
Re: Prevent people from re-spawning.
Posted:
21 Dec 2013, 04:06
by ismellike
In the zombie settings, set DisallowHacks to true, and change your speed hack detection threshold to 50 or something.
Re: Prevent people from re-spawning.
Posted:
13 Feb 2014, 10:51
by void_public
Yup i believe this already exists, fairly simply to code yet:
Check players position in a regular cycle, if it differs too much in x,y,z reset them to where they are. Lag can be a problem here.
Also be carefull with the y(height in minecraft) as falling with small lag can get people stuck in the air (i have been there
)
Re: Prevent people from re-spawning.
Posted:
13 Feb 2014, 20:51
by dzienny
It exists and it works well. Ismellike described how to set it up (it should be turned on by default).
The speed hack prevention checks a movement distance each time a player reports a position change, which is every 40ms or so, and server lag shouldn't affect it. A player's slow computer may - if he or she gets below 25fps - but it's rather a rare case. MCDzienny doesn't do a check for speed falling, because it may give false positives (if not fine-tuned) and its abuse is unlikely anyway. MCDzienny does check for speed climbing and horizontal movement of course.
Re: Prevent people from re-spawning.
Posted:
13 Feb 2014, 22:04
by Leeizazombie
dzienny wrote: MCDzienny doesn't do a check for speed falling.
I've also noticed that it doesn't check the speed in water, that can be exploited... maybe
Re: Prevent people from re-spawning.
Posted:
13 Feb 2014, 22:42
by dzienny
Leeizazombie wrote:dzienny wrote: MCDzienny doesn't do a check for speed falling.
I've also noticed that it doesn't check the speed in water, that can be exploited... maybe
It does a check, but it treats water and lava same as air. I would have to add additional rules for the checks that would take into account whether a player is in some liquid. It's possible, but I'm not going to do it, at least now. And anyway, a trained staff is the best mean to catch and reform abusers