Send Lag Rate

PHP:
:SendLagRate
{
    Status 1 = true
    Status 0 = false
    0AB1: @SendLagRate 2 SampVersionID 0@ Status 1
}
IF 0AA2: 10@ = "samp.dll"
THEN
    IF 0@ == 1 // 0.3.7 R1
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0xEC0A8
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0 
               
            0A8E: 11@ = 10@ + 0xEC0AC
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0

            0A8E: 11@ = 10@ + 0xEC0B0
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0xEC0A8
            0A8C: writeMem 11@ sz 4 val 12@ vp 0
               
            0A8E: 11@ = 10@ + 0xEC0AC
            0A8C: writeMem 11@ sz 4 val 13@ vp 0
               
            0A8E: 11@ = 10@ + 0xEC0B0
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END   
    END

    IF 0@ == 2 // 0.3.7 R2
    THEN
    END

    IF 0@ == 3 // 0.3.DL
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0x13C0A8
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0 
               
            0A8E: 11@ = 10@ + 0x13C0AC
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0

            0A8E: 11@ = 10@ + 0x13C0B0
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0x13C0A8
            0A8C: writeMem 11@ sz 4 val 12@ vp 0
               
            0A8E: 11@ = 10@ + 0x13C0AC
            0A8C: writeMem 11@ sz 4 val 13@ vp 0
               
            0A8E: 11@ = 10@ + 0x13C0B0
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END
    END

    IF 0@ == 4 // 0.3.7 R3
    THEN
    END

    IF 0@ == 5 // 0.3.7 R4
    THEN
    END

    IF 0@ == 6 // 0.3.7 R4-v2
    THEN
    END
END
0AB2: 0
Example
PHP:
{$CLEO}
{$USE bitwise}
0000:

WHILE TRUE
WAIT 0

IF 0ADC:   test_cheat "LAG"
THEN
    0B12: 30@ = 30@ XOR 1        
    IF 0039:   30@ == TRUE
    THEN
        0AB1: @SendLagRate 2 SampVersionID 3 Status 1
        0AD1: show_formatted_text_highpriority "~w~Fake Lag ~g~ON" time 1337
    ELSE
        0AB1: @SendLagRate 2 SampVersionID 3 Status 0
        0AD1: show_formatted_text_highpriority "~w~Fake Lag ~r~OFF" time 137
    END
END

END
 

dev.tntd2k2

Member
Joined
Oct 5, 2020
Messages
19
Reaction score
20
Location
Vietnam
Updated
0.3.7 R2
SAMP_ONFOOTSENDRATE 0xEC0A8
SAMP_INCARSENDRATE0xEC0AC
SAMP_AIMSENDRATE0xEC0B0

0.3.7 R3
SAMP_ONFOOTSENDRATE 0xFE0A8
SAMP_INCARSENDRATE0xFE0AC
SAMP_AIMSENDRATE0xFE0B0

0.3.7 R4 - v1
SAMP_ONFOOTSENDRATE 0xFE0A8
SAMP_INCARSENDRATE0xFE0AC
SAMP_AIMSENDRATE0xFE0B0

0.3.7 R4 - v2
SAMP_ONFOOTSENDRATE 0xFE0A8
SAMP_INCARSENDRATE0xFE0AC
SAMP_AIMSENDRATE0xFE0B0
 

dphome

Well-known member
Joined
Mar 21, 2020
Messages
475
Solutions
9
Reaction score
168
Location
Poland
PHP:
:SendLagRate
{
    Status 1 = true
    Status 0 = false
    0AB1: @SendLagRate 2 SampVersionID 0@ Status 1
}
IF 0AA2: 10@ = "samp.dll"
THEN
    IF 0@ == 1 // 0.3.7 R1
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0xEC0A8 // SAMP_ONFOOTSENDRATE
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0                 
            0A8E: 11@ = 10@ + 0xEC0AC // SAMP_INCARSENDRATE
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0
            0A8E: 11@ = 10@ + 0xEC0B0 // SAMP_AIMSENDRATE
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0xEC0A8 // SAMP_ONFOOTSENDRATE
            0A8C: writeMem 11@ sz 4 val 12@ vp 0               
            0A8E: 11@ = 10@ + 0xEC0AC // SAMP_INCARSENDRATE
            0A8C: writeMem 11@ sz 4 val 13@ vp 0               
            0A8E: 11@ = 10@ + 0xEC0B0 // SAMP_AIMSENDRATE
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END   
    END

    IF 0@ == 2 // 0.3.7 R2
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0xEC0A8 // SAMP_ONFOOTSENDRATE
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0                 
            0A8E: 11@ = 10@ + 0xEC0AC // SAMP_INCARSENDRATE
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0
            0A8E: 11@ = 10@ + 0xEC0B0 // SAMP_AIMSENDRATE
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0xEC0A8 // SAMP_ONFOOTSENDRATE
            0A8C: writeMem 11@ sz 4 val 12@ vp 0               
            0A8E: 11@ = 10@ + 0xEC0AC // SAMP_INCARSENDRATE
            0A8C: writeMem 11@ sz 4 val 13@ vp 0               
            0A8E: 11@ = 10@ + 0xEC0B0 // SAMP_AIMSENDRATE
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END   
    END

    IF 0@ == 3 // 0.3.DL
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0x13C0A8 // SAMP_ONFOOTSENDRATE
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0                 
            0A8E: 11@ = 10@ + 0x13C0AC // SAMP_INCARSENDRATE
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0
            0A8E: 11@ = 10@ + 0x13C0B0 // SAMP_AIMSENDRATE
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0x13C0A8 // SAMP_ONFOOTSENDRATE
            0A8C: writeMem 11@ sz 4 val 12@ vp 0               
            0A8E: 11@ = 10@ + 0x13C0AC // SAMP_INCARSENDRATE
            0A8C: writeMem 11@ sz 4 val 13@ vp 0               
            0A8E: 11@ = 10@ + 0x13C0B0 // SAMP_AIMSENDRATE
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END
    END

    IF 0@ == 4 // 0.3.7 R3
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0xFE0A8 // SAMP_ONFOOTSENDRATE
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0                 
            0A8E: 11@ = 10@ + 0xFE0AC // SAMP_INCARSENDRATE
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0
            0A8E: 11@ = 10@ + 0xFE0B0 // SAMP_AIMSENDRATE
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0xFE0A8 // SAMP_ONFOOTSENDRATE
            0A8C: writeMem 11@ sz 4 val 12@ vp 0               
            0A8E: 11@ = 10@ + 0xFE0AC // SAMP_INCARSENDRATE
            0A8C: writeMem 11@ sz 4 val 13@ vp 0               
            0A8E: 11@ = 10@ + 0xFE0B0 // SAMP_AIMSENDRATE
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END   
    END

    IF 0@ == 5 // 0.3.7 R4
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0xFE0A8 // SAMP_ONFOOTSENDRATE
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0                 
            0A8E: 11@ = 10@ + 0xFE0AC // SAMP_INCARSENDRATE
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0
            0A8E: 11@ = 10@ + 0xFE0B0 // SAMP_AIMSENDRATE
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0xFE0A8 // SAMP_ONFOOTSENDRATE
            0A8C: writeMem 11@ sz 4 val 12@ vp 0               
            0A8E: 11@ = 10@ + 0xFE0AC // SAMP_INCARSENDRATE
            0A8C: writeMem 11@ sz 4 val 13@ vp 0               
            0A8E: 11@ = 10@ + 0xFE0B0 // SAMP_AIMSENDRATE
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END   
    END

    IF 0@ == 6 // 0.3.7 R4 - v2
    THEN
        IF 1@ == 1
        THEN
            0A8E: 11@ = 10@ + 0xFE0A8 // SAMP_ONFOOTSENDRATE
            0A8D: 12@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0                 
            0A8E: 11@ = 10@ + 0xFE0AC // SAMP_INCARSENDRATE
            0A8D: 13@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0
            0A8E: 11@ = 10@ + 0xFE0B0 // SAMP_AIMSENDRATE
            0A8D: 14@ = readMem 11@ sz 4 vp 0
            0A8C: writeMem 11@ sz 4 val 500 vp 0           
        ELSE
            0A8E: 11@ = 10@ + 0xFE0A8 // SAMP_ONFOOTSENDRATE
            0A8C: writeMem 11@ sz 4 val 12@ vp 0               
            0A8E: 11@ = 10@ + 0xFE0AC // SAMP_INCARSENDRATE
            0A8C: writeMem 11@ sz 4 val 13@ vp 0               
            0A8E: 11@ = 10@ + 0xFE0B0 // SAMP_AIMSENDRATE
            0A8C: writeMem 11@ sz 4 val 14@ vp 0
        END   
    END
END
0AB2: 0
Example
PHP:
{$CLEO}
{$USE bitwise}
0000:

WHILE TRUE
WAIT 0

IF 0ADC:   test_cheat "LAG"
THEN
    0B12: 30@ = 30@ XOR 1
    0AB1: @get_samp_version_id 0 _returned: ID 0@        
    IF 0039:   30@ == TRUE
    THEN
        0AB1: @SendLagRate 2 SampVersionID 0@ Status 1
        0AD1: show_formatted_text_highpriority "~w~FakeLag ~g~ON" time 1337
    ELSE
        0AB1: @SendLagRate 2 SampVersionID 0@ Status 0
        0AD1: show_formatted_text_highpriority "~w~FakeLag ~r~OFF" time 137
    END
END

END

:get_samp_version_id
{
    0AB1: @get_samp_version_id 0 _returned: ID 0@ 
}
30@ = 0
IF 0AA2: 31@ = "samp.dll" // IF and SET
THEN
    31@ += 0x128
    0A8D: 29@ = read_memory 31@ size 4 virtual_protect 1
    IF 29@ == 0x5542F47A
    THEN // 0.3.7 R1
        30@ = 1
    END
   
    IF 29@ == 0x59C30C94
    THEN // 0.3.7 R2
        30@ = 2
    END
   
    IF 29@ == 0x5A6A3130
    THEN // 0.3.DL
        30@ = 3
    END
   
    31@ -= 8 // reading samp.dll + 0x120
    0A8D: 29@ = read_memory 31@ size 4 virtual_protect 1
   
    IF 29@ == 0x5C0B4243
    THEN // 0.3.7 R3
        30@ = 4
    END 
   
    IF 29@ == 0x5DD606CD
    THEN // 0.3.7 R4
        30@ = 5
    END
    IF 29@ == 0x6094ACAB
    THEN // 0.3.7 R4 - v2
        30@ = 6
    END
END
0AB2: ret 1 30@
 
Top