I tried what I had submitted above (with EVENT_ENTERZONE and EVENT_ZONE) and it worked, so that's cool.
Quote:
Originally Posted by Caryatis
EVENT_ZONE is for leaving a zone however it can be unreliable, so you can just put an EVENT_ENTERZONE in the player.pl in templates folder, with an if statement(like if($client->GetPVP()) {quest::pvp(off)}), that way people aren't spammed with "You no longer follow the ways of discord" every time they zone.
|
This is a really good idea, especially if EVENT_ZONE is unreliable. Thanks.
Quote:
Originally Posted by Secrets
Why not avoid perl altogether and do it on Client::CompleteConnect? Force PVP off if not in a specific zone.
You can use SetPVP in there and that'd work just fine. No perl needed and it's more flexible besides recompiling. There's always the rule system if you need it too.
|
Secrets, I am not trying to be a smart aleck or anything, but this is way over my head. But I appreciate it though because now I know I need to go study some more to find out what you are talking about. I am sure I'll learn some things that will help me solve some of the other ideas I want to implement too. (I hope that didn't come of sounding sarcastic, I am being sincere--always a challenge when e-communicating.)