Page 1 of 1

recall, UOsteam

Posted: June 4th, 2020, 6:31 pm
by MMMartin
i use plain recall on rune

Code: Select all

cast "Recall"
waitfortarget 4000
target! 0x42544db1
i wanna know if possible it make sure, i m at corect place, i mean if happend something like get damage or blocked or anything fast cating...
is possible it make checking posicion X Y ? somehow ?, i mean check my curect posicion and if still same try recall again ?

it not like will faul on block or get damage, my biggest enemy is lags and spike xD

Re: recall, UOsteam

Posted: June 5th, 2020, 4:35 am
by The Silvertiger
yes... just make a sysmessage when you recall to specific runes and then while injournal 'specific location' if not x = y= recall
else clearjournal. Kinda tedious but it would work.

Re: recall, UOsteam

Posted: June 5th, 2020, 9:21 am
by MMMartin
hmm, can you write more specifick ?

i try recall with runebook and indeed get specific xx xx N xx xx W mesage, but i get same mesage even if blocked location,

i use diferent type recall, with is spell recall, not runebook and i dont get any mesage at all
get frst mesage: 'casting recall' and second mesage : 'select market item'
[this type recall is defaul setting one spot in runebook or target market runes]

i was able create recall without delay with archoded obiect like secure bag or NPC or whatever else obiect but i wanna try make with X, Y, xD
something like for mining place in CAVE where is not any obiect for anchor

Re: recall, UOsteam

Posted: June 5th, 2020, 3:31 pm
by The Silvertiger
So basically if you make the rune tell you where you are going you can ask the game if you are there.

Code: Select all

cast "Recall"
waitfortarget 4000
target! 0x42544db1
pause 2000
//ask for location of target rune and not current location
while not x = [number] and not y = [number]
//Can go next location or current depending on not and number. I use next location here.
if not x = [number] and not y = [number]
cast "Recall"
waitfortarget 4000
target! 0x42544db1
pause 2000
endif
endwhile
Injournal not need for targetting specific runes without a for statement. If it was a for statement and you had it telling you what rune you were on then you check it.

Code: Select all

while @injournal "5"
if not x = [number] and not y = [number]
useobject 'bookone'
replygump 'runes'
pause 2000
else
clearjournal
endif
endwhile
Or you can ask if you are still in current location:

Code: Select all

cast "Recall"
waitfortarget 4000
target! 0x42544db1
pause 2000
//ask for current location
while x = [number] and y = [number]
//Can go next location or current depending on not and number. I use current location here.
if x = [number] and y = [number]
cast "Recall"
waitfortarget 4000
target! 0x42544db1
pause 2000
endif
endwhile

Re: recall, UOsteam

Posted: June 5th, 2020, 5:49 pm
by MMMartin
this is perfect with this i can make zero delay xD, i most like speed xD

this is my idea

Code: Select all

if not timerexists 'wait'
  createtimer 'wait'
  settimer 'wait' 60000
endif

settimer 'wait' 2000
while not x = [number] and not y = [number]
if  'wait' > 1000
cast "Recall"
waitfortarget 4000
target! 0x42544db1
//pause 2000
settimer 'wait' 0
endif
pause 50
endwhile
it practicky all time checking position and if corect will continue run, it wating for target in casting so delay for recall is under 0.5sec depent lags, delay and loading game/map, so mean just need corect X and Y of next posicion xD

Re: recall, UOsteam

Posted: June 6th, 2020, 12:00 am
by The Silvertiger
nice ... you can also do

Code: Select all

while waitingfortarget 
endwhile 
instead of

Code: Select all

waitfortarget 4000

Re: recall, UOsteam

Posted: June 6th, 2020, 7:42 am
by MMMartin
yeap, i use it already in magery

Code: Select all

cast "Magic Arrow"'enemy'
while waitingfortarget
endwhile
but maybe i can use it here, good point
///xxx ID rune

Code: Select all

cast cast "Recall" 'XXXXXXX'
while waitingfortarget
endwhile
i was already testing with it, i use it like this

Code: Select all

useobject 'Bands'
waitfortarget 1000
target! 'mypet'
//autotargetobject 'mypet'
//waitfortarget + target //get me better result, dont know why
settimer 'vet' 0
while waitingfortarget
//i like add pause for not do 1000 time in 0.1sec operation
pause 50
endwhile
i use like waitfortarget and target obiect [my pet] but it is so fast so need use while with wait for target LOL xD

Re: recall, UOsteam

Posted: June 6th, 2020, 8:03 am
by The Silvertiger
Maybe because of lag spikes