Page 1 of 1

Go to X, Y && use pickaxe

Posted: 2007-06-25 12:31:20
by r4z13l
So, I've made a script for a boring prison system (view : viewtopic.php?t=12140), but I've 2 problems :

1st : the way I move isn't the best, I need something that never break which will allow my player to go to X, Y.

Code: Select all

   while x<>5304 or y<>1173
      uo.press(38)
      wait(100)
      x=uo.getx("self")
      y=uo.gety("self")
   wend


2nd : here is how I tell my player to take the pikeaxe and mines in front of him, it works well but I couldn't use my computer anymore ... a bit boring :(

Code: Select all

   uo.usetype(0x0e85)
   wait(100)
   uo.lclick(375,255)


Thanks You !!!

Posted: 2007-06-26 20:29:26
by Rivory
1) you need this walker

2) I am not understanding.. whats a trouble ?

Posted: 2007-06-27 11:20:01
by r4z13l
Rivory wrote:1) you need this walker


Thanks you, will try it :wink:

Rivory wrote:2) I am not understanding.. whats a trouble ?


For exemple, if I answer a friend on MSN, during that time, my player doesn't mine. I must stay in front of the game all the time.

Posted: 2007-06-28 00:23:54
by Mihail
do not use mouse-click emulation to mine!
injection has special functions for this

for example U can use this script viewtopic.php?t=842

(to translate instruction use Online Translator( http://www.worldlingo.com/en/websites/u ... lator.html ))

Posted: 2007-06-28 10:44:33
by r4z13l
Thank you very much, I'm gonna read ^^.