Portal back and run to location after death?
Posted: November 12th, 2014, 9:23 pm
I was looking at the example at http://www.virindi.net/wiki/index.php/V ... eta_System and it made sense so I coded it up.
However I soon noticed it did not handle death on the run back or lag ideally. Monsters killing the toon during the runback in the dead state is not handled. Nor is lag which could cause the enablenav to fail totally.
I see some meta's use what I think is a combination of three rules to combat lag:
1) Seconds in state >= 1
2) All: (Portalspace Exited, NOT Landblock == xxxxxxxx)
3) All: (Landblock == yyyyyyyy, Seconds in state >= 3)
What is the proper way of detecting if the toon is out of portal space and in the right/wrong area? I'm thinking there are some universal snippets to handle this.
Also does anybody want to "robustify" the above script so it handles all the error cases?
However I soon noticed it did not handle death on the run back or lag ideally. Monsters killing the toon during the runback in the dead state is not handled. Nor is lag which could cause the enablenav to fail totally.
I see some meta's use what I think is a combination of three rules to combat lag:
1) Seconds in state >= 1
2) All: (Portalspace Exited, NOT Landblock == xxxxxxxx)
3) All: (Landblock == yyyyyyyy, Seconds in state >= 3)
What is the proper way of detecting if the toon is out of portal space and in the right/wrong area? I'm thinking there are some universal snippets to handle this.
Also does anybody want to "robustify" the above script so it handles all the error cases?