PDA

View Full Version : Need Help


Prokill911
15/06/2015, 03:35 PM
Someone created CLEO hacks for my specific server..
I have the source to them an I'm wondering How I'd block against them?

theYiin
15/06/2015, 03:58 PM
By creating anticheat against these scripts I guess? Shouldn't be too hard having in mind that you have source of these cleo scripts.

Prokill911
15/06/2015, 04:03 PM
By creating anticheat against these scripts I guess? Shouldn't be too hard having in mind that you have source of these cleo scripts.

Uh, but how would I do that.

I don't know cleo code..
I kind of understand it but ...

Karan007
15/06/2015, 04:13 PM
Make it something like this.

1.Find out which cleo hacks it is.
2.Create an anti-cheat against it.

How to create the anti-cheat?

Well, when you found out which cleo hack it is then make a code to detect the cleo hack and when he activate the hacks, he will be automatically banned.

And if you don't know how to do it then ask me. I'll try to create a code like that.

Prokill911
15/06/2015, 04:44 PM
how do I see "WHAT CLEO HACK" It is
I mean, I have the .cs file
I've decompiled it an I can read it all.
But where does it say what "hack" it is.
I mean I can post the code to it so you can see what I Mean


{$CLEO}
0000: NOP
0B34: samp register_client_command "smuggle" to_label @activate
30@ = 0

:First
wait 0
if 31@ == 1
then
if 0AB1: @is_cp_active 0
then
0AB1: @get_cp_pos 0 1@ 2@ 3@
00A1: put_actor $PLAYER_ACTOR at 1@ 2@ 3@
end

if key_down 48
then
31@ = 0
end
end
jump @First


:activate
0B12: 31@ = 31@ XOR 1
samp.CmdRet


:is_cp_active
IF 0AA2: 0@ = loadlib "samp.dll"
THEN 0A8E: 1@ = 0@ + 0x212A94
0A8D: 1@ = readMem 1@ sz 4 vp 0
1@ += 0x24
0A8D: 1@ = readMem 1@ sz 4 vp 0
IF 1@ == TRUE
THEN 0485: return_true
ELSE 059A: return_false
END
0AA3: freelib 0@
END
0AB2: ret 0

:get_cp_pos
IF 0AA2: 0@ = loadlib "samp.dll"
THEN 0A8E: 1@ = 0@ + 0x212A94
0A8D: 1@ = readMem 1@ sz 4 vp 0
1@ += 0xC
0A8D: 2@ = readMem 1@ sz 4 vp 0
1@ += 0x4
0A8D: 3@ = readMem 1@ sz 4 vp 0
1@ += 0x4
0A8D: 4@ = readMem 1@ sz 4 vp 0
0AA3: freelib 0@
END
0AB2: ret 3 2@ 3@ 4@

Overhaul
15/06/2015, 04:47 PM
Test it yourself. See what it does. Once you know that, you can make something against it. From what I can read is that it has something to do with checkpoints, actors and perhaps, teleporting.

SpaceX
15/06/2015, 04:49 PM
Steps:
1. You install the cleo mod yourself.
2. Test it out, understand and see what it does.
3. Construct an algorithm to counter the cleo mod.
4. Make the code in accordance with the algorithm and implement it in your gamemode.

What part of all this was so hard to understand? :)

EDIT: Soz, Overhaul was a tad bit faster. >.>

Prokill911
15/06/2015, 04:52 PM
Test it yourself. See what it does. Once you know that, you can make something against it. From what I can read is that it has something to do with checkpoints, actors and perhaps, teleporting.

I can't even get it to work..
I use cleo 4.3

I go ingame
I type /smuggle

It does nothing that I can see.
Steps:
1. You install the cleo mod yourself.
2. Test it out, understand and see what it does.
3. Construct an algorithm to counter the cleo mod.
4. Make the code in accordance with the algorithm and implement it in your gamemode.

What part of all this was so hard to understand? :)

EDIT: Soz, Overhaul was a tad bit faster. >.>
~Personally never used cleo...
Never once...


So..