Yoko
http://forum.yoko.com.ua/

Recall
http://forum.yoko.com.ua/viewtopic.php?f=1&t=133
Page 1 of 1

Author:  xeon [ 2004-04-19 15:46:22 ]
Post subject:  Recall

Hi again, I've another little problem, this time with the inj recall directive.
I've got the runebook serial, but when i try this:

...
UO.Exec("disarm")
wait(1000)
UO.Exec("recall 0x5c218c13 1")
...

it just only open the runebook but without recalling. Why?

Author:  totus [ 2004-04-19 16:12:18 ]
Post subject:  Simple answer.

Recall Using Macro:

Code:
sub MRecall(RB_Id, Rune_Number)
      UO.Set('norbcheck','1')
      UO.Set('norbcalc','1')
      Recall(RB_Id, '60'+STR(Rune_Number))
end sub


Искренне Ваш, Тотус Маньяковски.

Author:  Psimorph [ 2004-04-19 20:06:27 ]
Post subject:  Re: Simple answer.

куда что вставлять? %)

Author:  totus [ 2004-04-19 22:23:44 ]
Post subject:  Всё просто.

RB_Id = идентификатор рунабуки, узнаём по ,info
RuneNumber = номер руны, по которой хотим реколлиться (начиная с 1).

Искренне Ваш, Тотус Маньяковски.

Author:  Savage [ 2004-04-20 01:29:24 ]
Post subject: 

Номер руны +1 хотя возможны варианты. На дрв по первой руне - перезаряд рунбуки.

Author:  xeon [ 2004-04-21 13:55:35 ]
Post subject: 

I've tried many values for rune number, and I found that the first rune is number 16. My conclusion is that the runenumber is specific for every shard.
Anywat tnx. Now I've to figure out how to recall while mining (damn pk) (the disarm doesn't instantly work because pickaxe is already used :( )

Author:  dodo [ 2004-04-21 19:39:19 ]
Post subject: 

Hi Xeon, at least in my shard it works this way:
Code:
sub recall()
var ShoppingBook = "0x40101e2f"
   #0x029 ->41
   #,recall 0x40101e2f 41     

    uo.set( "norbcheck", "1" )    
   uo.set( "norbcalc", "1" )    

    uo.recall( ShoppingBook, "41" )
    wait(600)
end sub


First thing:
translate ,infogump -ed rune number from Hex into Decimal
Second thing (I've spent alot of time figuring this out):
Runenumber should be quoted as a string!

BTW, if you couldn't managed to run it, look on sample recalling algorithm (I saw it in EasyUO - Project Alexandria)
Code:
 uo.useobject( ShoppingBook )
 wait(800)
 uo.LClick( 394,396 )    #4th page
 wait(800)
 uo.LClick( 291,344 )    #Recall on left side

 wait(1200)

Author:  xeon [ 2004-04-22 00:53:17 ]
Post subject: 

Solved all. I've done a nice script antipk that (almost) instantly recall away if an enemy approach. I'll put it in the scripts section. Tnx to all 4 your aid :)

Author:  Yoko [ 2004-04-23 21:46:12 ]
Post subject: 

all this where told at FAQ (old forum archive)

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/