Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2012, 06:46 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

If you don't have any 'C' programming experience, you can probably still follow what is going on in the code.

I'd recommend looking at the function 'Doors::HandleClick' in <eqemusource directory>\EQEmuServer\zone\doors.cpp.

This is where 'door checks' occur and will give you an idea of door opening/unlocking operations. With this,
you may be able to better anticipate database change requirements instead of randomly replacing values.


U
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #2  
Old 07-04-2012, 12:37 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default

The following sql should aid you in your quest to rid yourself of door and zone restrictions.

Code:
-- Removes item requirements for all doors
update doors set keyitem = 0 where keyitem != 0;

-- Removes minimum level requirements for all zones
update zone set min_level = 0 where min_level != 0;

-- Removes status requirements for all zones
update zone set min_status = 0 where min_status != 0;

/* Removes flagging requirements from all zones */
update zone set flag_needed = '' where flag_needed != '';
It has already been said before but I am going to say it again this is not fool proof and you will still encounter restrictions because a lot of things are done using perl scripts. To fully remove all restrictions you will need to learn perl so that you can mod out the restrictions or you can simply delete the scripts. Deleting the scripts to remove a restriction could deprive you of content as alot of things are done in zone instances which are script created and controlled.

Last edited by blackdragonsdg; 07-04-2012 at 12:44 AM.. Reason: Forgot the flagging requirements
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:01 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