Page 1 of 1

Howto make Zoning function

Posted: Sat Jan 09, 2016 6:46 pm
by moguay
Today, the start of solution for make a great flexible command for zoning Bots

I set a variable and parse the sequence.
During each step, if you the condition is not true, you go to next step. If you make this, wherever your bots is (as zone) they find their way

Exemple for Hoh (with Gate item or not) and Nadox (can send from guildhall and hoh) :

Code: Select all

/if (${Param0.Equal[hoh]} && ${FindItem[Shimmering Portal Fragment].ID} && ${Zone.ID}!=211) /casting "Shimmering Portal Fragment" item
/if (${Param0.Equal[hoh]} && (!(${Zone.ID}==211 || ${Zone.ID}==368 || ${Zone.ID}==345) /call Zoneout
/if (${Param0.Equal[hoh]}) /varset ZoneCommand Guild_Hall # enter # guildhall:-1.5,-25 # Messenger of Lord Drizku # ready
/if (${Param0.Equal[nadox]}) /varset ZoneCommand Guild_Hall # enter # guildhall:-1.5,-25 # Messenger of Lord Drizku # send # hohonora:-100,-2675 # Duke Crincha # send

For hoh,
if you have the item and you are not in Hoh Zone > Casting
if you are not in Hoh, Vale, Forest or Guildhall > Zoneout
Now the zoning sequence... with the ZoneCommand setup and after parsing.

For Nadox,
Guid_Hall is the NPC in Forest or Vale, after you say "enter"
guildhall:-1.5,-25, In Guilhall zone, moving at this coordinate, this is only for dodge the inconvenient christmas tree in the middle.
moving to NPC, after the hail, at this step you are in nadox
so if you launch the command from hoh, all first step is skipped and start in hoh
moving in Hoh:-100,-2675 and after moving to NPC, now the hail

With this technical also use teleport by clic (ex DSK status, VT Orb) by clic in the middle of your screen with EQ keymap "Use_centerscreen"
Just add a flag MiddleKey in the sequence and parse, the small sequence :
/keypress First_Person_Camera
/keypress CENTERVIEW
moving front
/keypress Use_centerscreen

Course to test that during dev, you can inject the full ZoneCommand to the command, /zone Guild_Hall # enter.....

hehe, with a little elbow grease you get to do miracles
especially, no more thankless tasks after this

Deeply the Rof delivery on the server with years of delay to recover, so I can distract myself a bit.