Page 1 of 1

healerscript stops working on zone change

Posted: Sun Sep 25, 2011 3:07 pm
by yayman
Hey forum :)

I have a priest and rogue character able to duo dod, so i decided to make a script for the healer so i can duofarm mems and other stuff for both.

So i found a partyhealer script on this forum and modified it to cover my needs.
I want my priest to follow my rogue and heal/buff when needed and that is working fine outside instances, but when i enter dod it stops working.

I think its related to addresses changing between pawn:update() and player:cast() and it looks like people normaly solve this issue with waitForLoadingScreen() but they know when the zone change is about to happen and i would rather not have to know that in advance since it would blow my idear.

hope someone can give me a pointer in the right direction :)

Yayman

Re: healerscript stops working on zone change

Posted: Sun Sep 25, 2011 6:21 pm
by lisa
You can have a test of the party.lua I am still fine tuning if you want, I am not ready to update it to default bot yet.

line 53-58 will hopefully deal with loading screen.

line 69-79 is what I am currently working on so you may want to edit it out or something, basically if leader has gone through portal it should walk forward to also try to go through portal but it isn't working 100% yet.

It updates all party pawns on every skill cast, little more heavy on PC but it has been acceptible for me and I run 4 clients and bots on same PC.


--=== Note ===--
if you don't use the waitforloadingscreen function then the bot may error any time you change zones, there is always a chance it will try to use macro and while loading it can't actually use a macro and will error.

Re: healerscript stops working on zone change

Posted: Mon Sep 26, 2011 10:43 am
by yayman
Thanks Lisa it worked :)