Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2009, 03:18 PM
litlamzetiv
Fire Beetle
 
Join Date: Jun 2009
Location: Alaska
Posts: 12
Default Table: Zone_Flags

On the server I'm running, I'm looking to prevent people from entering specific zones until they key. I can see myself running into a problem with my current method (based upon adding translocators and playing with factions), and a buddy reminded me that in PoP they added the flagging feature to prevent you from skipping planes.

Is this functional in EQemu? It appears there are all of the necessary table columns:
  • [Table:Zone_Flags] maps allowed zone flags to individual characters
  • [Table:Zones] contains a column called "Flag_needed"

The question is how do I put this all together? I want to prevent people from zoning into the dreadlands that haven't already killed nagafen. So, how do I give them a flag after killing nagafen that allows them to go to the dreadlands?

Thanks in advance!

-Rob
Reply With Quote
  #2  
Old 07-06-2009, 03:27 PM
Zeice
Sarnak
 
Join Date: Oct 2008
Location: USA
Posts: 92
Default

You put the number 1 in the flag_needed column in the zones table if you want a zone to require a flag.

Then for assigning the flag you put this on your quest npc, how you want to handle giving the flag is up to you.

Code:
quest::set_zone_flag(86);
The number in parenthesis being the zoneid number.
Reply With Quote
  #3  
Old 07-06-2009, 03:47 PM
litlamzetiv
Fire Beetle
 
Join Date: Jun 2009
Location: Alaska
Posts: 12
Default

It's that easy? That's great. Thanks.

By the way, how do you handle keying zones? Like howling stones? I see that it has a "key to howling stone" under zone flags. Does that somehow tie it to an item?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:11 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3