Sorry the picture got removed for some reason so you /signcheck first then this box appears with the numbers1. Pic of dialog???
2. When you need need write /signcheck ???
Sorry the picture got removed for some reason so you /signcheck first then this box appears with the numbers1. Pic of dialog???
2. When you need need write /signcheck ???
Source:Sorry the picture got removed for some reason so you /signcheck first then this box appears with the numbers
{$CLEO .cs}
0000: 'Parazitas || UGBASE.EU'
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF
0B61: samp is_local_player_spawned
THEN
0AC8: 0@ = allocate_memory_size 260
0AC8: 1@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
IF
0C29: $NOT_USED = stristr string1 0@ string2 "/signcheck"
THEN
say "/signcheck"
0AF8: " " -1 // add emty msg
0AF8: " " -1 // add emty msg
0AF8: " " -1 // add emty msg
END
END
IF
0B4C: samp is_dialog_active -1
THEN
0AC8: 4@ = allocate_memory_size 260
0BD8: samp get_dialog_caption 4@
IF
0C29: $NOT_USED = stristr string1 4@ string2 "Sign check"
THEN
0AC8: 5@ = allocate_memory_size 260
0BD7: samp get_dialog_text 5@
0AC8: 6@ = allocate_memory_size 260
0AB1: call_scm_func @get_digits_to_print param_count 2 text 5@ memory_to_store_digits_as_text 6@
0AC8: 7@ = allocate_memory_size 260
0AD3: 7@ = format "%s" 6@
0B76: samp set_chat_input_text 7@
END
END
END
:get_digits_to_print
{
0@ = text
1@ = pointer to memory where digits will be stored as text
}
0C17: 31@ = strlen 0@
for 30@ = 0 to 31@
0085: 29@ = 0@ // copy pointer
005A: 29@ += 30@ // add offset (as the loop progresses it becomes pointers to first-last character)
0A8D: 28@ = read_memory 29@ size 1 virtual_protect 1 // 28@ is the ascii number representing character
if and
28@ >= 0x30 // '0'
28@ <= 0x39 // '9'
then
0A8C: write_memory 1@ size 1 value 28@ virtual_protect 1
1@ += 1 // move to next address
end
end
0A8C: write_memory 1@ size 1 value 0 virtual_protect 1 // null-termination
0AB2: ret 0
http://ugbase.eu/index.php?threads/snippet-samp-textdraw.20436/Request form.:
1. Name of the mod (if the mod doesn't exist, you don't have to tell one):Textdraw spoofer
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):RAKNET
3. What do you want (the most important part, explain this carefully): I want a cleo or any mod in general that allows me to spoof either the last textdraw or any other one tbh.
4. Details (add more details to your request):
5. Need On/off key or command ?: any key doesn't matter
6. Which client your server use?: 0.3dl
7. Give any picture or video:No
8. You use SAMPFUNCS?:No
:SampTextDraw
{
0AB1: @SampTextDraw 2 ID 0@ Status 1 // 1 = show , 0 = hide
0.3.DL
}
0AA2: 2@ = load_library "samp.dll"
2@ += 0x2ACA24
0A8D: 2@ readMem 2@ sz 4 vp 0
2@ += 0x4
0A8D: 2@ readMem 2@ sz 4 vp 0
2@ += 0x1B8
0A8D: 2@ readMem 2@ sz 4 vp 0
0@ *= 0x4
005A: 2@ += 0@
0A8C: writeMem 2@ sz 4 vl 1@ vp 0
0AB2: 0
hello again, i already try your new work, but it also dont work same as last one.PHP:{$CLEO .cs} 0000: 'Parazitas || UGBASE.EU' REPEAT WAIT 0 UNTIL 0AFA: SAMP_IS_READY WHILE TRUE WAIT 0 IF 0B61: samp is_local_player_spawned THEN 0AC8: 0@ = allocate_memory_size 260 0AC8: 1@ = allocate_memory_size 260 0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@ IF 0C29: $NOT_USED = stristr string1 0@ string2 "/signcheck" THEN say "/signcheck" 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg END END IF 0B4C: samp is_dialog_active -1 THEN 0AC8: 4@ = allocate_memory_size 260 0BD8: samp get_dialog_caption 4@ IF 0C29: $NOT_USED = stristr string1 4@ string2 "Sign check" THEN 0AC8: 5@ = allocate_memory_size 260 0BD7: samp get_dialog_text 5@ 0AC8: 6@ = allocate_memory_size 260 0AB1: call_scm_func @get_digits_to_print param_count 2 text 5@ memory_to_store_digits_as_text 6@ 0AC8: 7@ = allocate_memory_size 260 0AD3: 7@ = format "%s" 6@ 0B76: samp set_chat_input_text 7@ END END END :get_digits_to_print { 0@ = text 1@ = pointer to memory where digits will be stored as text } 0C17: 31@ = strlen 0@ for 30@ = 0 to 31@ 0085: 29@ = 0@ // copy pointer 005A: 29@ += 30@ // add offset (as the loop progresses it becomes pointers to first-last character) 0A8D: 28@ = read_memory 29@ size 1 virtual_protect 1 // 28@ is the ascii number representing character if and 28@ >= 0x30 // '0' 28@ <= 0x39 // '9' then 0A8C: write_memory 1@ size 1 value 28@ virtual_protect 1 1@ += 1 // move to next address end end 0A8C: write_memory 1@ size 1 value 0 virtual_protect 1 // null-termination 0AB2: ret 0
hello again, i already try your new work, but it also dont work same as last one.
it just open the signcheck textbox but nothing happen after that
{$CLEO .cs}
0000: 'Parazitas || UGBASE.EU'
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF
0B61: samp is_local_player_spawned
THEN
0AC8: 0@ = allocate_memory_size 260
0AC8: 1@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
IF
0C29: $NOT_USED = stristr string1 0@ string2 "/signcheck"
THEN
say "/signcheck"
0AF8: " " -1 // add emty msg
0AF8: " " -1 // add emty msg
0AF8: " " -1 // add emty msg
END
END
IF
0B4C: samp is_dialog_active -1
THEN
0AC8: 4@ = allocate_memory_size 260
0BD8: samp get_dialog_caption 4@
IF
0C29: $NOT_USED = stristr string1 4@ string2 "Sign check" // check dialog title / caption
THEN
0AC8: 5@ = allocate_memory_size 512
0BD7: samp get_dialog_text 5@
0AC8: 6@ = allocate_memory_size 260
0AB1: call_scm_func @get_digits_to_print param_count 2 text 5@ memory_to_store_digits_as_text 6@
0B76: samp set_chat_input_text 6@
END
END
END
:get_digits_to_print
{
0@ = text
1@ = pointer to memory where digits will be stored as text
}
0C17: 31@ = strlen 0@
for 30@ = 0 to 31@
0085: 29@ = 0@ // copy pointer
005A: 29@ += 30@ // add offset (as the loop progresses it becomes pointers to first-last character)
0A8D: 28@ = read_memory 29@ size 1 virtual_protect 1 // 28@ is the ascii number representing character
if and
28@ >= 0x30 // '0'
28@ <= 0x39 // '9'
then
0A8C: write_memory 1@ size 1 value 28@ virtual_protect 1
1@ += 1 // move to next address
end
end
0A8C: write_memory 1@ size 1 value 0 virtual_protect 1 // null-termination
0AB2: ret 0
alright i just now try this new one.PHP:{$CLEO .cs} 0000: 'Parazitas || UGBASE.EU' REPEAT WAIT 0 UNTIL 0AFA: SAMP_IS_READY WHILE TRUE WAIT 0 IF 0B61: samp is_local_player_spawned THEN 0AC8: 0@ = allocate_memory_size 260 0AC8: 1@ = allocate_memory_size 260 0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@ IF 0C29: $NOT_USED = stristr string1 0@ string2 "/signcheck" THEN say "/signcheck" 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg END END IF 0B4C: samp is_dialog_active -1 THEN 0AC8: 4@ = allocate_memory_size 260 0BD8: samp get_dialog_caption 4@ IF 0C29: $NOT_USED = stristr string1 4@ string2 "Sign check" // check dialog title / caption THEN 0AC8: 5@ = allocate_memory_size 512 0BD7: samp get_dialog_text 5@ 0AC8: 6@ = allocate_memory_size 260 0AB1: call_scm_func @get_digits_to_print param_count 2 text 5@ memory_to_store_digits_as_text 6@ 0B76: samp set_chat_input_text 6@ END END END :get_digits_to_print { 0@ = text 1@ = pointer to memory where digits will be stored as text } 0C17: 31@ = strlen 0@ for 30@ = 0 to 31@ 0085: 29@ = 0@ // copy pointer 005A: 29@ += 30@ // add offset (as the loop progresses it becomes pointers to first-last character) 0A8D: 28@ = read_memory 29@ size 1 virtual_protect 1 // 28@ is the ascii number representing character if and 28@ >= 0x30 // '0' 28@ <= 0x39 // '9' then 0A8C: write_memory 1@ size 1 value 28@ virtual_protect 1 1@ += 1 // move to next address end end 0A8C: write_memory 1@ size 1 value 0 virtual_protect 1 // null-termination 0AB2: ret 0
Because i put wronge opcode, just change to - opcode set dialog editbox textalright i just now try this new one.
it almost work and almost not work.
it automatic type /signcheck and open signcheck textbox and it also detect the 6 digit number truly. but one problem and it dont write the number at textbox. it write number on chat place "/t"
if you fix it i will be too thanksfull
im sorry but what line exactly should change to opcode ?Because i put wronge opcode, just change to - opcode set dialog editbox text
I cannot seem to comple anything my sanny builder errors everything out could you do it and upload it as a .cs please? I'd be thankful.Because i put wronge opcode, just change to - opcode set dialog editbox text
I cannot seem to comple anything my sanny builder errors everything out could you do it and upload it as a .cs please? I'd be thankful.
{$CLEO .cs}
0000: 'Parazitas || UGBASE.EU'
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF
0B61: samp is_local_player_spawned
THEN
0AC8: 0@ = allocate_memory_size 260
0AC8: 1@ = allocate_memory_size 260
for 20@ = 95 to 99 // chat lines
0B75: samp get_chat_string 20@ text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
IF
0C29: $NOT_USED = stristr string1 0@ string2 "/signcheck"
THEN
say "/signcheck"
0AF8: " " -1 // add emty msg
0AF8: " " -1 // add emty msg
0AF8: " " -1 // add emty msg
END
end // end for 20@ = 98 to 99
END
IF
0B4C: samp is_dialog_active -1
THEN
0AC8: 4@ = allocate_memory_size 260
0BD8: samp get_dialog_caption 4@
IF
0C29: $NOT_USED = stristr string1 4@ string2 "Sign check" // check dialog title / caption
THEN
0AC8: 5@ = allocate_memory_size 512
0BD7: samp get_dialog_text 5@
0AC8: 6@ = allocate_memory_size 260
0AB1: call_scm_func @get_digits_to_print param_count 2 text 5@ memory_to_store_digits_as_text 6@
0B4B: samp set_current_dialog_editbox_text 6@
0B47: samp close_current_dialog_with_button 1
END
END
END
:get_digits_to_print
{
0@ = text
1@ = pointer to memory where digits will be stored as text
}
0C17: 31@ = strlen 0@
for 30@ = 0 to 31@
0085: 29@ = 0@ // copy pointer
005A: 29@ += 30@ // add offset (as the loop progresses it becomes pointers to first-last character)
0A8D: 28@ = read_memory 29@ size 1 virtual_protect 1 // 28@ is the ascii number representing character
if and
28@ >= 0x30 // '0'
28@ <= 0x39 // '9'
then
0A8C: write_memory 1@ size 1 value 28@ virtual_protect 1
1@ += 1 // move to next address
end
end
0A8C: write_memory 1@ size 1 value 0 virtual_protect 1 // null-termination
0AB2: ret 0
This one
PHP:{$CLEO .cs} 0000: 'Parazitas || UGBASE.EU' REPEAT WAIT 0 UNTIL 0AFA: SAMP_IS_READY WHILE TRUE WAIT 0 IF 0B61: samp is_local_player_spawned THEN 0AC8: 0@ = allocate_memory_size 260 0AC8: 1@ = allocate_memory_size 260 0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@ IF 0C29: $NOT_USED = stristr string1 0@ string2 "/signcheck" THEN say "/signcheck" 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg END END IF 0B4C: samp is_dialog_active -1 THEN 0AC8: 4@ = allocate_memory_size 260 0BD8: samp get_dialog_caption 4@ IF 0C29: $NOT_USED = stristr string1 4@ string2 "Sign check" // check dialog title / caption THEN 0AC8: 5@ = allocate_memory_size 512 0BD7: samp get_dialog_text 5@ 0AC8: 6@ = allocate_memory_size 260 0AB1: call_scm_func @get_digits_to_print param_count 2 text 5@ memory_to_store_digits_as_text 6@ 0B4B: samp set_current_dialog_editbox_text 6@ 0B47: samp close_current_dialog_with_button 1 END END END :get_digits_to_print { 0@ = text 1@ = pointer to memory where digits will be stored as text } 0C17: 31@ = strlen 0@ for 30@ = 0 to 31@ 0085: 29@ = 0@ // copy pointer 005A: 29@ += 30@ // add offset (as the loop progresses it becomes pointers to first-last character) 0A8D: 28@ = read_memory 29@ size 1 virtual_protect 1 // 28@ is the ascii number representing character if and 28@ >= 0x30 // '0' 28@ <= 0x39 // '9' then 0A8C: write_memory 1@ size 1 value 28@ virtual_protect 1 1@ += 1 // move to next address end end 0A8C: write_memory 1@ size 1 value 0 virtual_protect 1 // null-termination 0AB2: ret 0
or this one
PHP:{$CLEO .cs} 0000: 'Parazitas || UGBASE.EU' REPEAT WAIT 0 UNTIL 0AFA: SAMP_IS_READY WHILE TRUE WAIT 0 IF 0B61: samp is_local_player_spawned THEN 0AC8: 0@ = allocate_memory_size 260 0AC8: 1@ = allocate_memory_size 260 0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@ IF 0C29: $NOT_USED = stristr string1 0@ string2 "/signcheck" THEN say "/signcheck" 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg 0AF8: " " -1 // add emty msg END END IF 0B4C: samp is_dialog_active -1 THEN 0AC8: 4@ = allocate_memory_size 260 0BD8: samp get_dialog_caption 4@ IF 0C29: $NOT_USED = stristr string1 4@ string2 "Sign check" // check dialog title / caption THEN 0AC8: 5@ = allocate_memory_size 512 0BD7: samp get_dialog_text 5@ 0AC8: 6@ = allocate_memory_size 260 0AB1: call_scm_func @get_digits_to_print param_count 2 text 5@ memory_to_store_digits_as_text 6@ 0AC8: 7@ = allocate_memory_size 260 0AD3: 7@ = format "%s" 6@ 0B4B: samp set_current_dialog_editbox_text 7@ 0B47: samp close_current_dialog_with_button 1 END END END :get_digits_to_print { 0@ = text 1@ = pointer to memory where digits will be stored as text } 0C17: 31@ = strlen 0@ for 30@ = 0 to 31@ 0085: 29@ = 0@ // copy pointer 005A: 29@ += 30@ // add offset (as the loop progresses it becomes pointers to first-last character) 0A8D: 28@ = read_memory 29@ size 1 virtual_protect 1 // 28@ is the ascii number representing character if and 28@ >= 0x30 // '0' 28@ <= 0x39 // '9' then 0A8C: write_memory 1@ size 1 value 28@ virtual_protect 1 1@ += 1 // move to next address end end 0A8C: write_memory 1@ size 1 value 0 virtual_protect 1 // null-termination 0AB2: ret 0
Good luck.nice job man! it work finally!!!
thanks so much for your time <3
IDK about it , ask @Opcode.eXe1. Name of the mod (if the mod doesn't exist, you don't have to tell one):-
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):That the server thinks that i'm in car and my salary will rise, but i can still walk like i'm not sitting in car, and if someone spectates me they will see that i'm not in car
4. Details (add more details to your request):+
5. Need On/off key or command ?:yes /ah
6. Which client your server use?:0.3.7 r1
7. Give any picture or video:-
8. You use SAMPFUNCS?: yes
@Parazitas can u make it?1. Name of the mod (if the mod doesn't exist, you don't have to tell one): Player Killer
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): I want script from video
4. Details (add more details to your request): No details
5. Need On/off key or command ?: as u wish
6. Which client your server use?: R2 but i have compatibility for R1
7. Give any picture or video:8. You use SAMPFUNCS?: Yes
wait my friend it doesn't automaticly /signcheck could you adjust that then it would be perfect and I could farm signchecks all day long.Good luck.