CLEO Help Fix this already made script

CLEO related
Status
Not open for further replies.

SAMPHACKER

Active member
Joined
Apr 9, 2014
Messages
90
Reaction score
0
{$CLEO}
0000: NOP
03A4: "UGBASE.EU"

while true
wait 0
0A8D: 29@ = read_memory 0xB7449C size 4 virtual_protect 0
000A: 29@ += 0x4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
for 30@ = 0 to 89344 step 0x100
    0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
    000A: 29@ += 0x1
    if and
        0029:  31@ >= 0x00
        001B:  0x80 > 31@
    then
        005A: 31@ += 30@
        if 09CC: object 31@ model_is #CJ_MONEY_BAG //1550
        then
            01BB: store_object 31@ position_to 0@ 1@ 2@
            if 0AB0: 88 // X KEY
            then
                0188: 0@ = create_marker_above_object 31@
            end
        end
    end
end
END



------------------------------------------------

Fix it and give me the .cs file for it. It doesn't work, the "X" is not creating the marker on map.

Does it even create a marker on map? or am wrong? If making marker on map is possible with X key where moneybag is then plz fix it and do it.

Thank you!
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
227
Location
( ͡° ͜ʖ ͡°)
Code:
{$CLEO .cs}
0000:

WHILE TRUE
    WAIT 0
    if
    0AB0: KEY_X 88
    then
        0A8D: 29@ = read_memory 0xB7449C size 4 virtual_protect 0
        000A: 29@ += 0x4
        0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
        for 30@ = 0 to 89344 step 0x100
            0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
            000A: 29@ += 0x1
            if and
                0029:  31@ >= 0x00 
                001B:  0x80 > 31@
            then 
                005A: 31@ += 30@
                if
                09CC:   object 31@ model_is 1550 {money packet?}
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    03BC: 33@ = create_sphere_at 1@ 2@ 3@ radius 3.0
                end
            end
        end 
    end  
END
 

SAMPHACKER

Active member
Joined
Apr 9, 2014
Messages
90
Reaction score
0
Opcode.eXe link said:
Code:
{$CLEO .cs}
0000:

WHILE TRUE
    WAIT 0
    if
    0AB0: KEY_X 88
    then
        0A8D: 29@ = read_memory 0xB7449C size 4 virtual_protect 0
        000A: 29@ += 0x4
        0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
        for 30@ = 0 to 89344 step 0x100
            0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
            000A: 29@ += 0x1
            if and
                0029:  31@ >= 0x00 
                001B:  0x80 > 31@
            then 
                005A: 31@ += 30@
                if
                09CC:   object 31@ model_is 1550 {money packet?}
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    03BC: 33@ = create_sphere_at 1@ 2@ 3@ radius 3.0
                end
            end
        end 
    end  
END

mate thats not working....its supposed to create a marker on minimap showing where the money bag is but its not doing it.

can you somehow test it urself aswell?
 

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
Try with the attachment and that only show marker on the money bag not in the map.
 

Attachments

  • marker.cs
    18 KB · Views: 69

SAMPHACKER

Active member
Joined
Apr 9, 2014
Messages
90
Reaction score
0
pepeelpubero link said:
Try with the attachment and that only show marker on the money bag not in the map.


Whats the point of showing marker only on moneybag? I don't get it. I mean its not even useful then.
 
Status
Not open for further replies.
Top