Post by daedalus on Feb 24, 2011 9:20:19 GMT -5
Hello!
So... the deal with this thread is the following:
after I have ran various times my hiding/stealth macro on the boat sailing on the server line, and after my ISP disconnected me various times, causing chained boatcrashing also with "sandwich" effect enough to break Religio's macro to unstuck (did you know that, according to speedtest.net, Italian ISPs are good as the ones in poor nations?), I was desperately finding an alternative to boat macroing and I have found this:
This script is taken from forum.gamesnet.it/f667/easyuo-script-hiding-e-stealth-nn-barca-559725/ (italian site, I think it's derived from the italian shard UODreams), which author says he taken it from another script and adapted it for Hiding/Stealth. I have "retranslated" it in english again and changed ExMsg (which won't work to me) to sysmessage.
Basically it works this way: you define a box by pressing F12 at lower left corner, at upper right corner and at center, and your character will move randomly for 5 tiles in the box, attempts to hide, then go stealth and moves randomly for 5 tiles, and continues. If your character is going outside boundaries, he will do steps in the center direction.
I'm using it right now in Luna and it seems is OK... at least it will prevents boat crashing if I get disconnected again
So... the deal with this thread is the following:
after I have ran various times my hiding/stealth macro on the boat sailing on the server line, and after my ISP disconnected me various times, causing chained boatcrashing also with "sandwich" effect enough to break Religio's macro to unstuck (did you know that, according to speedtest.net, Italian ISPs are good as the ones in poor nations?), I was desperately finding an alternative to boat macroing and I have found this:
This script is taken from forum.gamesnet.it/f667/easyuo-script-hiding-e-stealth-nn-barca-559725/ (italian site, I think it's derived from the italian shard UODreams), which author says he taken it from another script and adapted it for Hiding/Stealth. I have "retranslated" it in english again and changed ExMsg (which won't work to me) to sysmessage.
Basically it works this way: you define a box by pressing F12 at lower left corner, at upper right corner and at center, and your character will move randomly for 5 tiles in the box, attempts to hide, then go stealth and moves randomly for 5 tiles, and continues. If your character is going outside boundaries, he will do steps in the center direction.
I'm using it right now in Luna and it seems is OK... at least it will prevents boat crashing if I get disconnected again
INITEVENTS
set1:
Event sysmessage Go to LOWER LEFT corner of the box and press F12
set1a:
ONHOTKEY f12
goto setA
goto set1a
set2:
Event sysmessage Go to UPPER RIGHT corner of the box and press F12
set2a:
ONHOTKEY f12
goto setB
goto set2a
set3:
Event sysmessage Now go on the CENTER of the box and press F12
set3a:
ONHOTKEY f12
goto setC
goto set3a
top:
set %a #RANDOM
set %x #charposx
set %y #charposy
set %plusx #charposx + 5
set %plusy #charposy + 5
set %minx #charposx - 5
set %miny #charposy - 5
check1:
if #charposy > %corn1y
move %midx %midy 0
if #charposx < %corn1x
move %midx %midy 0
if #charposy < %corn2y
move %midx %midy 0
if #charposx > %corn2x
move %midx %midy 0
if %a < 500
{
if %a < 250
{
move %plusx %plusy 0 4s
goto hide
}
move %minx %miny 0 4s
goto hide
}
if %a > 500
{
if %a > 750
{
move %plusx %miny 0 4s
goto hide
}
move %minx %plusy 0 4s
goto hide
}
hide:
Event Macro 13 21 ;usa la skill hiding
if H in #charstatus ; check su hiding
goto stealth
else
goto pausa
goto top
setA:
set %corn1x #charposx
set %corn1y #charposy
wait 1s
goto set2
setB:
set %corn2x #charposx
set %corn2y #charposy
wait 1s
goto set3
setC:
set %midx #charposx
set %midy #charposy
wait 1s
goto top
stealth:
wait 11s
Event Macro 13 47 ; usa la skill stealth
goto top
pausa:
wait 2s
goto hide