Question Related to [DEV]

03/01/2010 14:25 rudra#1
HI there in GM detect Script the script detect the [GM] for his first 4 letters and the code is 5D4D475B for [GM] in script but now i think 5B474D5D is for [GM] now is it make any difference?????

Please give me reply???

and this script also work for [DEV] if we change code ????
03/01/2010 16:42 zuippo#2
dont think it checks for the asciis
03/02/2010 08:23 bottomy#3
Quote:
Originally Posted by rudra View Post
HI there in GM detect Script the script detect the [GM] for his first 4 letters and the code is 5D4D475B for [GM] in script but now i think 5B474D5D is for [GM] now is it make any difference?????
Yes it'll make a difference, it won't match. It will be checking for player named "]MG[".

Quote:
Originally Posted by rudra View Post
and this script also work for [DEV] if we change code ????
Yes it can work for any character, but instead of changing it so it detect "[DEV]", why not just change it so it detects all players with tag?

So you would use this compare instead of the other one.
Code:
cmp byte ptr [eax+70],5B
03/02/2010 18:16 sachamo512#4
as Bottomy said, you can change it to check for anything.

Quote:
cmp [eax+70],5D4D475B
5D4D475B is ]MG[ I think. So just change that to ]VED[ and convert it back into hex and it will work fine.
03/03/2010 00:17 bottomy#5
Quote:
Originally Posted by sachamo512 View Post
as Bottomy said, you can change it to check for anything.



5D4D475B is ]MG[ I think. So just change that to ]VED[ and convert it back into hex and it will work fine.


It's easier just checking for every tag though, so just 0x5B '['.
03/03/2010 14:23 zuippo#6
Quote:
Originally Posted by sachamo512 View Post
So just change that to ]VED[ and convert it back into hex and it will work fine.
imho u cant check 5bytes with cmp so u can just check for VED[ but just checkin for [ is best imho and it should work
03/03/2010 16:16 sachamo512#7
well, we decided that it's best to check for all tags. All of the tags [DEV] [GM] [OPR] all start with [ So if you just check for the [ then you get everything in one =]