Page 1 of 1

Recall

Posted: 2004-04-19 15:46:22
by xeon
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?

Simple answer.

Posted: 2004-04-19 16:12:18
by totus
Recall Using Macro:

Code: Select all

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


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

Re: Simple answer.

Posted: 2004-04-19 20:06:27
by Psimorph
куда что вставлять? %)

Всё просто.

Posted: 2004-04-19 22:23:44
by totus
RB_Id = идентификатор рунабуки, узнаём по ,info
RuneNumber = номер руны, по которой хотим реколлиться (начиная с 1).

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

Posted: 2004-04-20 01:29:24
by Savage
Номер руны +1 хотя возможны варианты. На дрв по первой руне - перезаряд рунбуки.

Posted: 2004-04-21 13:55:35
by xeon
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 :( )

Posted: 2004-04-21 19:39:19
by dodo
Hi Xeon, at least in my shard it works this way:

Code: Select all

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: Select all

 uo.useobject( ShoppingBook )
 wait(800)
 uo.LClick( 394,396 )    #4th page
 wait(800)
 uo.LClick( 291,344 )    #Recall on left side

 wait(1200)

Posted: 2004-04-22 00:53:17
by xeon
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 :)

Posted: 2004-04-23 21:46:12
by Yoko
all this where told at FAQ (old forum archive)