CLEO Help How to compare string/text (if 1@ = 0@)? (Solved)

CLEO related
Status
Not open for further replies.

truongvi2013

Active member
Joined
May 26, 2016
Messages
82
Reaction score
10
Location
Vietnam
After my 999th+ attempts on this bullshit,
I finally success!

My roleplay CLEO collection has been completed.

Thanks everyone for your support <3.
Especially @Parazitas,Opcode.eXe
:cmpString1andString2 //Source : Opcode.eXe
for 7@ = 0 to 1024
0A8D: 2@ = read_memory 0@ size 1 virtual_protect 0
0A8D: 3@ = read_memory 1@ size 1 virtual_protect 0
0@ += 1
1@ += 1
if 003B: 2@ == 3@
jf break
if and
2@ == 0
3@ == 0
then
0485: return_true
ret 0
end
end
059A: return_false
ret 0
 
Last edited:

truongvi2013

Active member
Joined
May 26, 2016
Messages
82
Reaction score
10
Location
Vietnam
Last edited:

truongvi2013

Active member
Joined
May 26, 2016
Messages
82
Reaction score
10
Location
Vietnam
I want to ask how i can compare 2 strings (NOSF)
Like :
Code:
0AC8: 1@ = allocate_memory_size 260
0AD3: 1@ = format "HELLO"
0AC8: 2@ = allocate_memory_size 260
0AD3: 2@ = format "HELLO"
/*------------------------------------*/
if
1@ = 2@
then
0ACD: show_text_highpriority "YES" time 5000
Can someone show me an working example?
I cant find any related snippets,examples,...
Thank you.
*bump*
 

truongvi2013

Active member
Joined
May 26, 2016
Messages
82
Reaction score
10
Location
Vietnam
After my 999th+ attempts on this bullshit,
I finally success!

My roleplay CLEO collection has been completed.

Thanks everyone for your support <3.
Especially @Parazitas,Opcode.eXe
:cmpString1andString2 //Source : Opcode.eXe
for 7@ = 0 to 1024
0A8D: 2@ = read_memory 0@ size 1 virtual_protect 0
0A8D: 3@ = read_memory 1@ size 1 virtual_protect 0
0@ += 1
1@ += 1
if 003B: 2@ == 3@
jf break
if and
2@ == 0
3@ == 0
then
0485: return_true
ret 0
end
end
059A: return_false
ret 0
 
Status
Not open for further replies.
Top