Quote:
Originally Posted by Syberboy
i have always wonder something about 0:0 detect tele.
If there is a GM/person the script is watching for by cord 0:0, would it just keep teleing you to there till you dc? o.O
|
Yeh you would keep going to 0:0, cause i didn't set anything to make it only run once. So if you do get tele'd to 0:0 or where ever you set you should either try going to the next map or just scroll. Then disable the hack and re-enable it.
Quote:
Originally Posted by Syberboy
but what if he is at 0:0? Where would you go, if anywhere else at all
|
You could make it so it teleports you away from the GM, like find where it has the co-ords for all players around you then assign them all to each player and then if GM detected it gets the offset for the GM and tele's you x+40:y+40 or something like that. Like a script i made lists the co-ords of the players next to there name on the CE table (though doesn't work well), so you would need to have that plus the code for then what happens if a GM does get detected. Though would be eaiser just to do it with your current co-ord since you would only get their co-ords when they're close enough to you, so you could do something like:
Code:
/* This probably won't work just an example since i don't remember
what registers it actually uses, so for the example i'll just say ecx
and edx hold x and y. So this would add 40 onto your x and y/current position. */
Tele:
push ebx
add ecx,28
mov [eax],ecx
add edx,28
mov [eax+4],edx
mov dword ptr [esp+20],eax
mov ebx,Elusive
add ebx,8
jmp ebx
Though what i think would be good about that sort of thing. Is to work out some algorithm that would workout how much to add/sub on/from your current position based on what it currently is, whilst also keeping it within the general map x:y size (500:500 i think it is in most maps), just so you don't go outside the map. And have that done for any person that comes onto your screen, so effectively you would be able to hack on a map without having to worry about other players catching you.