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)))" Code:
"DELETE FROM quest_globals WHERE expdate < %i || (name='%s' && (charid=0 || (npcid=%i && charid=%i && zoneid=%i)))" Code:
"DELETE FROM quest_globals WHERE expdate < %li || (name='%s' && (npcid=0 || charid=0 || zoneid=0 ||(npcid=%i && charid=%i && zoneid=%i)))" Code:
"DELETE FROM quest_globals WHERE expdate < %i || (name='%s' && (charid=0 || (npcid=%i && charid=%i && zoneid=%i)))" |
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 =) |
All times are GMT -4. The time now is 12:09 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.