dom123 said:
Parazitas said:
badboi123 said:
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): Auto Signcheck
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): -
3. What do you want (the most important part, explain this carefully) Every hour we have to type a string of random intergers on the dialog box for confirming our paycheck , doing this automatically would be really cool as i've seen many players having it already
4. Details (add more details to your request) Make it toggable and fast thats it. heres the picture of the signcheck https://imgur.com/a/rIPsP
5. Need On/off key or command ?: Not necessary but would be a cool addition
6. Any picture or video: Not really , i saw 2 videos a week back but cant find their links
Thanks
[shcode=cpp]
{$CLEO .cs}
0000:
while not samp.Available()
wait 100
end
while true
wait 0
if
0B4C: samp is_dialog_active -1
then
wait 200
alloc 5@ 512 //alloc
0BD7: 5@ //get text
if
0ad4: $NOT_USED = scan 5@ "Check code: %d" 6@
then
alloc 0@ 8
format 0@ "%d" 6@
0B4B: samp set_current_dialog_editbox_text 0@
free 0@
wait 3000 // pause 3sec and then close dialog
0B47: samp close_current_dialog_with_button 1
end
end
end
[/shcode]
can you make it cs downloader please i dont understand how to create cleo thank
dom123 said:
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): Auto Signcheck
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): -
3. What do you want (the most important part, explain this carefully) Every hour we have to type a string of random intergers on the dialog box for confirming our paycheck , doing this automatically would be really cool as i've seen many players having it already
4. Details (add more details to your request) Make it toggable and fast thats it. heres the picture of the signcheck https://imgur.com/a/rIPsP
5. Need On/off key or command ?: Not necessary but would be a cool addition
6. Any picture or video: Not really , i saw 2 videos a week back but cant find their links
MAKE IT CLEO please so i can download.
Visitor said:
1. Name of the mod (if the mod doesn't exist, you don't have to tell one):Oto Signcheck
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):: In Horizon GamingRP server([font=Arial, Helvetica, sans-serif]samp.hzgaming.net:7777)[/font]- Most players are using it.
3. What do you want (the most important part, explain this carefully):The paycheck is always come at everyhour at xx:01 (e.g., 14:01).I want an auto "/signcheck" then write random numbers that shown in a dialog and write it down in dialog box. thats all. The numbers are always random so the important part here is that the cleo should write them down same.
4. Details (add more details to your request): The "/signcheck" contunies xx:01 until xx:06 (time). So when ever the command /signcheck typed, the signcheck box will appear. I want to be fast here.
5. Need On/off key or command ?: No need, as i said when the time comes it can otomatically typ neccessary command (/signcheck) and anlyze and copy neccessay numbers (6 digit numbers)
6. Give any picture or video: Picture: https://imgur.com/a/rIPsP
7. Your client is?: 0.3.7-R2
NOTE: I already tryed to use what already exist iN this form (e.g., "Dialog AutoSignCheck.cs" AND "Auto Signcheck.cs" ) BUT always my game crashes. I am only using cleo 4.0. Create a new one or help me please. MAKE it as *.CS* please.
[shcode=cpp]
{$CLEO .cs}
0000:
repeat
wait 0
until 0afa:
while true
wait 0
if
8B61: samp not_local_player_spawned
then
repeat
wait 0
until 0B61: samp is_local_player_spawned
if
0B4C: samp is_dialog_active -1
then
wait 200
alloc 5@ 512 //alloc
0BD7: 5@ //get text
if
0ad4: 7@ = scan 5@ "Check code: %d" 6@
then
alloc 0@ 8
format 0@ "%d" 6@
0B4B: samp set_current_dialog_editbox_text 0@
free 0@
wait 3000
0B47: samp close_current_dialog_with_button 1
end
end
end
end
[/shcode]
[shcode=cpp]
{$CLEO .cs}
0000:
wait 10000
WHILE TRUE
WAIT 0
0AC8: 0@ = allocate_memory_size 260 // ALLOCATE MEMORY FOR THE CHAT STRING
0AB1: @GETCHATENTRYTEXT 1 id 99 to 0@ // THIS IS A FUNCTION THAT STORES THE LAST CHAT STRING INTO 0@
IF OR
0C29: 22@ = stristr string1 0@ string2 "Type /signcheck"
0C29: 23@ = stristr string1 0@ string2 "/signcheck"
THEN
say "/signcheck"
wait 1000 // anti spam
END
0AC9: free_allocated_memory 0@ // FREE THE MEMORY
END
:getChatEntryText
0AF7: samp 1@ = get_base
1@ += 0x21A0E4
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252 // size of stChatEntry
005A: 1@ += 0@ // (int)
1@ += 28
0AB2: 1 1@
[/shcode]
NEED.:
Sampfuncs , cleo 4.1 - 4.3
Try this.:
https://www45.zippyshare.com/v/96mpWMFx/file.html