healerscript stops working on zone change

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
yayman
Posts: 2
Joined: Sun Sep 25, 2011 2:28 pm

healerscript stops working on zone change

#1 Post 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
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: healerscript stops working on zone change

#2 Post 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.
Attachments
party.lua
26-9-11
work in progress but still heals after changing zone.
(4.62 KiB) Downloaded 56 times
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
yayman
Posts: 2
Joined: Sun Sep 25, 2011 2:28 pm

Re: healerscript stops working on zone change

#3 Post by yayman »

Thanks Lisa it worked :)
Post Reply