Please disregard below.. turns out the issue was with ME adjusting the original Leader WP file. I had added an extra "okander" party message and I think that was gumming up the works... errr messing up the execution. My bad
Runs okay for about 3 runs but then one of the characters will start having a mind of it's own and claiming the "party is ready!" even before the party has finished reassemebling with ILG or it just runs ahead of the group and since it's a lesser character... dies. It's always a problem with the 2nd or 3rd character and randomly switches between the two. I've tried adjusting various wait times but so far it inevitably fails and falsely shows the "party is ready!"
I assume the problem is something to do with this part?
Code: Select all
function waitForLeader()
yrest(1800)
keyboardPress(settings.hotkeys.JUMP.key)
while true do
cprintf(cli.lightred,"Waiting for leader...\n")
local time, moreToCome, _name, _message = EventMonitorCheck("DoD","4,1",true)
if _message then
string.lower(_message)
end
if _message and (_message == "enter" or _message == "ready" or _message == "okander") then
break
else
yrest(2000)
end
player:update()
end
cprintf(cli.lightgreen,"Party is ready!\n")
end
You can see I already adjusted the first yrest from 200 to 1800 hoping that would settle things down but that hasn't helped. What is the "4,1" part in the event monitory? Maybe there is some other better event to monitor for?
Thanks for any help