Expansion Progression
If I want to set up my own progression server, what do I need to do to restrict zones? I was thinking "minimum status" would work, but how would I assign a new status to a player with an NPC quest? Any insight would be helpful, thanks!
Sticz |
You can do it by requiring zone flags, with account flagging also.
Code:
sub EVENT_SAY { Code:
sub EVENT_ITEM You will have to set the zone flag using commands or via SQL query, I would suggest an SQL query to flag all zones in an expansion something like (Do not use,this is an example.) Code:
update zones set flag_needed = "Kunark" where expansion = 1; |
[CODE]sub EVENT_ITEM
{ #Item handin section to recieve flags based on which token you handed in if(plugin::check_handin(\%itemcount, 1079 => 1,)) { quest::summonitem(1079,1) } Am I handing this in and then getting it back? Is that required? |
It's custom for our server, you hand your token in, and it sends the item back so you can still wear it VIA charm.
I'm posting examples, you can chop and screw to make it fit your needs. |
Ok, took me a while to get through some work issues. If I am reading the code correctly, how to I set the flag required? Do I just set it to "1" like the POP zones and then just use the code you posted to grant access to each zone? Or can I add it like a key? I don't believe there is a code for "add to keyring". If I take the example of set flag_needed Kunark (I know it was your example), how would I add a flag called Kunark to a player? IF that is unfeasable, do I just set flag_needed to 1 and then what? I need just a bit more guidance.
I just want to be sure before an execute an SQL querry and have to re-install for a bunch of changes I jacked all up. Thanks, Sticz |
All times are GMT -4. The time now is 01:24 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.