PlaneShift
Development => Development Team Blog => Topic started by: Vengeance on January 06, 2009, 07:15:17 pm
-
I'll go ahead and kick off the new development team blog with what I worked on last night. :-)
For years PS has had a subsystem for cheat detection called "Paladin Jr". (Paladin used to be a clever acronym but now I can't remember what it stood for.) As most of you know, we don't do a very good job of cheat detection today, which is because Paladin has languished and been ignored practically since Crystal Blue was released in 2003.
Anyway, last night I sat down and spent a couple hours on detecting clients with speed hacks. With extensive testing help by Aiken and Kerol, I think we've got the basis for a pretty good detector now. It auto-kicks anyone using speed hacks within 10 seconds.
If you are a speed hack user today, enjoy it while it lasts because the days of that working are numbered. :-)
Thanks.
-
What exactly is a 'speed hack'?
-
What exactly is a 'speed hack'?
a way to make your character ingame move faster then it should via a number of client side hacks.
-
I am afraid.
I am afraid to get kicked due to the fact that I am logging in via satellite connection, which has PING durations between 1500 and 3000 ms, unreliably.
So this system must be tested by people with slow and unreliable connections, to avoid "false alarms"...
-
We will likely test high latency connections to see if they give false positives, contact Vengeance.
-
as Weltall explained on irc there is code to manage lag so i dont think this will be much of an issue at this time, but testing is always a good thing.
-
Since Caarrie is in the US and LigH is in Germany, this system's response to lag could easily be tested by having LigH test on Caarrie's server.
What do you think, LigH?
-
With the assistance of our dear Caarrie I have run a test on her server on this, Using a GPRS connection with a latency of 1500 - 2000 MS (From the UK to the US) I did not get flagged as a speed hack abuser. I also throttled my connections bandwidth using a download and even though I was getting a visible (sending chat message and waiting to see it returned from the server) ping of around 7 seconds I still did not get flagged. Obviously, LigH should have a go at this himself because there may be factors I do not understand. But for virtually everyone there is no need to worry about being incorrectly flagged as a cheater.
-
I managed to get kicked on my local server when I had venge running around while the server was loading some more maps. Not something that will happen often, but I guess it is not nice to kick players when the server has problems either :)
-
What about people with fast connections? My own server kicked me while running arround npcroom1 ;D
Ok, seriously now, it probably had something to do with explosion effects creating a big lag sometimes (usualy just before appearing in camera FOV).
-
Does PS use particles for explosion effects? It is true that particles above a certain threshold cause severe lag.
-
Does PS use particles for explosion effects? It is true that particles above a certain threshold cause severe lag.
We don't actually have explosion effects :P We have normal effects exploding because of a bug in or around emit.
-
Have just spent a couple of hours running around NPCroom and NPCroom3. Was not having a problem with getting flagged. Except for a small incident involving a speed hack just after the initial testing mentioned earlier I have not had trouble running around.
Today I was kicked today using the AL on Smith's door which I had modified to teleport me to Fighter2. Would get flagged if moved straight away after the AL moved me.
My client and server are on separate machines. Had a player connect and he had to try hard to get get flagged. Eventually was kicked using the same AL I was playing with. I connected to his machine which has client/server on the same machine. If his client was running I was kicked very quickly. If only his server was running I could run around with no problems.
-
I'd love to test. But I could not build a working Win32 client recently. Get numerous unresolved external symbols (MS VC++ 2008 Express).
I hope Xordan will be available at such times when I can check it again (~evening/night GMT).
-
I'd love to test. But I could not build a working Win32 client recently. Get numerous unresolved external symbols (MS VC++ 2008 Express).
I hope Xordan will be available at such times when I can check it again (~evening/night GMT).
You might want to do a clean SVN checkout. I just comipled rev. 3007 (which was latest at the moment) without any problems. (MS VC++ 2008 Express - Debug with DLL). Check your CS version as well (you need trunk).
This time I couldn't get myself kicked even while running the client in the debugger. Good job!
-
Great, Tomislav!
Thanks to the hint to use fresh SVN checkouts, I cleaned the whole path branches of \development\cs and \development\planeshift (according to the Compiling Guilde), built a fresh CS revision, and a fresh PS revision -- that turned the former "unresolved external symbols" into "could not load libcrystalspace_d.lib".
So I found out:
Earlier, CrystalSpace libs must have been built to
\development\cs\out\debug9\libs
where outdated libs from months ago caused the missing symbols; but now they get built to
\development\cs\out\debug9\libs\Win32
instead. So I wonder if I lost the sync between the CS output path and the PS import path somewhere. Maybe even the SLN files for PlaneShift are outdated? - Just a guess.
-
P.S.:
Yesterday I played on weltall's test server and was able to get flagged 2 times, and even kicked.
I have the feeling that this happened both times after running criss-cross, standing for a few seconds, and running straight into a tunnel (in npcroom).
So I strongly recommend to run a battle tournament on EZ-PC after implementing Paladin there, as changing motion profiles will be typical for battle tactics, like "hit & run"...
-
not sure if you've noticed that....but if you run sidewards (using R + E/Q) you're a bit faster than normally....
-
not sure if you've noticed that....but if you run sidewards (using R + E/Q) you're a bit faster than normally....
that is normal, and your point on how that relates to this thread?
-
well....if it checks for players moving faster than normal....it may kick you don't know...did just want to mention it
-
If this case was serious, you would be punished for publishing an exploit. - Exploits are to be reported in the bugtracker, not in the public.
Fortunately, it is a little advantage. Probably fixable. And surely exhausting your char faster.
-
there's a difference between publishing a found exploit publicly with malicious intent and someone just trying to help out and add their simple observations.
if something needs to be made private, that is what the report option on posts are for and the mods can take the post and move it to the appropriate private section.
-
If this case was serious, you would be punished for publishing an exploit. - Exploits are to be reported in the bugtracker, not in the public.
Fortunately, it is a little advantage. Probably fixable. And surely exhausting your char faster.
this was a suggestion to test, not an exploit or something we know needs to be fixed.
-
Therefore "if it was"...