SA-MP Forums Archive
Need Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need Help (/showthread.php?tid=577980)



Need Help - Prokill911 - 15.06.2015

Someone created CLEO hacks for my specific server..
I have the source to them an I'm wondering How I'd block against them?


Re: Need Help - theYiin - 15.06.2015

By creating anticheat against these scripts I guess? Shouldn't be too hard having in mind that you have source of these cleo scripts.


Re: Need Help - Prokill911 - 15.06.2015

Quote:
Originally Posted by theYiin
Посмотреть сообщение
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 ...


Re: Need Help - Karan007 - 15.06.2015

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.


Re: Need Help - Prokill911 - 15.06.2015

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@



Re: Need Help - Overhaul - 15.06.2015

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.


Re: Need Help - SpaceX - 15.06.2015

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. >.>


Re: Need Help - Prokill911 - 15.06.2015

Quote:
Originally Posted by Overhaul
Посмотреть сообщение
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.
Quote:
Originally Posted by SpaceX
Посмотреть сообщение
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..