Yoko http://forum.yoko.com.ua/ |
|
Get client side X,Y co-ordinates, not wait for server? http://forum.yoko.com.ua/viewtopic.php?f=4&t=4241 |
Page 1 of 1 |
Author: | Jimmy [ 2005-06-16 16:09:11 ] |
Post subject: | Get client side X,Y co-ordinates, not wait for server? |
Just a thought... Walking around is very slow when you must wait for server reply every step to make sure you have moved. Would it not be easy to just get the client side player co-ordinates from memory instantly (as new command), to check if you have moved, rather than waiting for server reply to know you have moved. Can just check server position every few steps to stay synced in script, client gets pushed back if server says you cant move there anyway. Yoko suggested using UOAP in another post, can it walk quick? Not that i want to run multiple progs anyway, just wondering? |
Author: | Beyonder [ 2005-06-16 20:31:53 ] |
Post subject: | |
What you mean is to make feature on letting client decide can you move there or not. That can be realised using ASM (Injection mod, find at this forum) it allows to get tileinfo without targeting it. So you just have to get a base of passable tiles, and scan the next tile before the moving. |
Author: | Yoko [ 2005-06-17 22:58:14 ] |
Post subject: | |
what kind of moving you use pressing keys or what? |
Author: | Jimmy [ 2005-07-03 13:26:32 ] |
Post subject: | |
Argh. Sorry i took so long to reply, i know how annying that is, i couldnt remember password, went to bed, then forgot all about it afterwards. I use keypresses to move, my problem is not actual moving, it moves fine, but problem is checking to see if it has moved or ran into something and didnt move. is there a better way to move with injection? |
Author: | Yoko [ 2005-07-05 15:55:50 ] |
Post subject: | |
there is no any easy moving on injection now |
Author: | flake [ 2005-07-05 23:19:36 ] |
Post subject: | |
Jimmy wrote: I use keypresses to move, my problem is not actual moving, it moves fine, but problem is checking to see if it has moved or ran into something and didnt move.
Why not to use UO.GetX() and UO.GetY()? Something like Code: MyX = UO.GetX() |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |