CLEO Help Creating .cs File with SannyBuilder-v3.3.3

  • Thread starter Deleted member 59047
  • Start date
CLEO related
Status
Not open for further replies.
D

Deleted member 59047

Guest
Hi what im trying todo is Create a .cs file from Parazitas source code
this video shows what I did to create a .cs file, did I do something wrong?
FROM installation of Samp 0.3.dl , Cleo 4.3 , Sannybuilder v3.3.3 and creating/compiling the codes.


https://streamable.com/8w1pt
 

Hidend

Expert
Joined
Mar 4, 2013
Messages
653
Reaction score
49
dude u show nothing in the video, u compile 2 cleos and what, what's the error wtf return my 4 minutes of my life
 

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
Go to File > Save As and save it in your CLEO FOLDER else it won't work. Also, if you have multiple samp folders, when you start up samp go to Tools > Settings and make sure the desired folder of the game is chosen.
 
D

Deleted member 59047

Guest
Go to File > Save As and save it in your CLEO FOLDER else it won't work. Also, if you have multiple samp folders, when you start up samp go to Tools > Settings and make sure the desired folder of the game is chosen.
did you mean the CLEO folder in GTA Directory?
 

Attachments

  • cleo.png
    cleo.png
    23.4 KB · Views: 3
  • cleo2.png
    cleo2.png
    25.7 KB · Views: 3
  • cleo3.png
    cleo3.png
    14.9 KB · Views: 3

dphome

Well-known member
Joined
Mar 21, 2020
Messages
458
Solutions
9
Reaction score
166
Location
Poland
compile and check (0.3DL)
Code:
{$CLEO .cs}
0000:

wait 10000 /// wait 10sec until samp is redy

const
SAMP_CHAT_INFO_OFFSET_03DL = 0x2ACA10
FUNC_ADDTOCHATWND_03DL = 0x67650
end


WHILE TRUE
    WAIT 0
  
if
0256:   player $PLAYER_CHAR defined
then
    0AB1: @GetVolumeInformation 0 0@
    0AC8: 1@ = allocate_memory_size 260
    0AD3: 1@ = format "%d" 0@
    0AB1: @Chatmsg 2 color 0xFF00FF00 text 1@
end
  
END

:Chatmsg
//0AB1: @Chatmsg 2 $color $text
IF 0AA2: 2@ = "samp.dll"
THEN
    0085: 3@ = 2@
    3@ += SAMP_CHAT_INFO_OFFSET_03DL
    0A8D: 3@ = readMem 3@ sz 4 vp 1
    0085: 4@ = 2@
    4@ += FUNC_ADDTOCHATWND_03DL  
    0AA6: call 4@ struct 3@ num_params 5 pop 0 params 0 0@ 0 1@ 8
END
0AB2: 0

:GetVolumeInformation
0AA2: 0@ = load_library "Kernel32.DLL" // IF and SET
0AA4: 1@ = get_proc_address "GetVolumeInformationA" library 0@ // IF and SET
0AC7: 2@ = var 2@ offset
0AA7: call_function 1@ num_params 8 pop 0 0 0 0 0 2@ 0 0 0 | 3@
0AA3: free_library 0@
0AB2: ret 1 2@
 

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
You did it right the way you did it.. There isn't really multiple ways of compiling in Sanny Builder. Or i may be mistaken, but that's what i know.
 
Status
Not open for further replies.
Top