[Release] GM detect script (CE)

10/13/2009 20:57 6Drako9#31
well what you can do is...

Code:
[ENABLE]
alloc(DetectGM,512)
label(CrashFlag)
label(CrashSkip)
label(ReturnName)
registersymbol(DetectGM)

DetectGM:
cmp [eax+70],5D4D475B //[GM]
jne CrashSkip
//umm I guess here you put procedures for changing map or chaing coords
inc [CrashFlag]
CrashSkip:
mov [esi+0c],00000000
jmp ReturnName
CrashFlag:
db 00 00 00 00


00553763: //C7 46 0C 00 00 00 00 89 47 04
jmp DetectGM
nop
nop
ReturnName:

[DISABLE]
dealloc(DetectGM)
unregistersymbol(DetectGM)
00553763:
mov [esi+0c],00000000
uh so yea... I checked it and it doesn't have any syntax errors but of course atm it will only CRASH and it wont teleport you
I'm not sure what you have to write in the crashing section of the script but I have some ideas

EDIT: lol I just read the script over and um I think it will only work after you see 2 GMs
so you will need to use the Flag on the actual section of code that teleports you
10/14/2009 05:27 bottomy#32
ok i've just made detect gm tele script now, and ill release it soon probably in the next hour just doing some last minute checks. right now its kind of buggy? i guess you would say even though it works fine theres just some things i don't like about it but when i release ill ask people whether they want me to change it so it does such and such a thing. though this script will only tele you off the map when gm comes, i don't know how to go about finding the function for tele to another map/using scroll.

EDIT: ah idk what i did but i either edited something and now i can't remember what it was or it was just luck that it was working the few times i tested it. so idk gonna take me a lil while now.
10/14/2009 21:07 ~Twister~#33
Quote:
Originally Posted by bottomy View Post
ok i've just made detect gm tele script now, and ill release it soon probably in the next hour just doing some last minute checks. right now its kind of buggy? i guess you would say even though it works fine theres just some things i don't like about it but when i release ill ask people whether they want me to change it so it does such and such a thing. though this script will only tele you off the map when gm comes, i don't know how to go about finding the function for tele to another map/using scroll.

EDIT: ah idk what i did but i either edited something and now i can't remember what it was or it was just luck that it was working the few times i tested it. so idk gonna take me a lil while now.
Updated, added a link to your thread :)
10/18/2009 17:01 skystar2001#34
does work
10/18/2009 23:05 ~Twister~#35
Quote:
Originally Posted by skystar2001 View Post
does work
otherwise it wouldn't be on forums O.o
10/20/2009 13:05 marci0#36
Guys,
how can i change the :

cmp [eax+70],5D4D475B //[GM]

to make my own word check, i mean, how i edit the 5D4D475B to a other word, like, king, wings etc.
10/20/2009 13:47 bottomy#37
Quote:
Originally Posted by marci0 View Post
Guys,
how can i change the :

cmp [eax+70],5D4D475B //[GM]

to make my own word check, i mean, how i edit the 5D4D475B to a other word, like, king, wings etc.

[Only registered and activated users can see links. Click Here To Register...] this converts ascii to hex and hex to ascii.