if (boolean != verified)
return;
Any specific fix you're looking for?
|
Hey guys
was just wondering what kind of stuff u guys added to ur server to protect it from stuff like cheat clients,
im using the orig matrix release, any idea on what i could add to stop any cheat clients etc from disrupting my serv
if (boolean != verified)
return;
Any specific fix you're looking for?
Shouldn't really be worried about that right now.
Still a long way to go, concentrate on content first.
just wondering what exactly chest clients etc do, to work out possible fixes (like how do they kick players etc)
Lol, not even related.
One means of crashing clients cheat clients use is sending an invalid string of character effect (hint hint). Best practise with item on item interaction etc, always check that the player actually has the item, otherwise through sending false packets, they can effectively tell the server to spawn certain items. On my phone atm, but I'll provide an example.
unchecked:
player.getInventory().deleteItem(1, 1);
player.getInventory().addItem(2,1);
checked:
if (!player.grtInventory().containsItem(1,1)
return;
//doStuff();
assuming i make a spawn server, what would i have to look out for? as item dupes etc would rlly matter,
how would somebody be able to do things like maybe log into an account with the incorrect password, kick players, mute/ban players, without having a rank?
thanks
Logging with incorrect password wouldn't work since it's server-sided. As for the other 2, if he unlocked option 5 packet (stuff like trade/follow), on some server there is a mod pannel and he could get acess to it.
You can disable it in WorldPacketsDecoder in something like (Player_Option4/Player_Option5).
Main thing to stop hack is to make checks server-sided and to handle everything there.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |