Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2004, 04:14 AM
KhaN's Avatar
KhaN
Dragon
 
Join Date: Mar 2004
Location: France, Bordeaux.
Posts: 677
Default Code - Serverwide Globals

I needed for my server a serverwide globals, because actually, all globals in EQEmu are zonewide, which restrict a lot quest writing, as well as using globals in gamesystem.

All credit goes to scorpious2k, i didnt done this code change, i only pointed him the "problem" and he sended me the fix, i only spend a few moment to fully test it.

parcer.cpp
Line 1380 (06.16CVS) Replace this in setglobal function
Code:
"DELETE FROM quest_globals WHERE expdate < %li || (name='%s' && (npcid=0 || charid=0 || zoneid=0 ||(npcid=%i && charid=%i && zoneid=%i)))"
By this
Code:
"DELETE FROM quest_globals WHERE expdate < %i || (name='%s' && (charid=0 || (npcid=%i && charid=%i && zoneid=%i)))"
Line 1413 (06.16CVS) Replace this in targlobal function
Code:
"DELETE FROM quest_globals WHERE expdate < %li || (name='%s' && (npcid=0 || charid=0 || zoneid=0 ||(npcid=%i && charid=%i && zoneid=%i)))"
By this
Code:
"DELETE FROM quest_globals WHERE expdate < %i || (name='%s' && (charid=0 || (npcid=%i && charid=%i && zoneid=%i)))"
__________________

Reply With Quote
  #2  
Old 06-22-2004, 09:50 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

a kind of this ?
http://www.eqemulator.net/forums/vie...463329f3bef90d

/em goes back to doze mode

been away for a while. Wish you all good luck and keep on good work 'wanna play a f***in' nice new emu when i'm back =)
__________________
EQEMu Quest Repository is down until something new :(
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 05:43 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