quest::targlobal problem
Hi all trying to get this funtion to work, here is the code i am using
Code:
sub EVENT_ITEM Code:
if($NecroCMP == "2") Code:
error inserting necroCMP:DBcore::RunQuery: No Result |
I will add that, when we open DB, variable is created and value 2 is inserted.
*cry* |
yak* didn't know this. bad error =(
|
Quote:
don't you want the zone id number and not the long name here? |
changed "zoneln" by "zoneid", now in DB, it return the zone ID.
But charid is at 0. |
Yes i did mean the id, however i don't beleive it works yet =( but thanks for pointing that out, i am sure it would have been an issue later on.
|
All rows in tables are setup correctly, but variables still not working ... *cry*
|
On the DB...
Is npcid correct? You said that charid=0... that's wrong, but shouldn't interfere (its still a problem) and I have to ask... in npc_types, is qglobal=1 for the npc to receive the targlobal variable? and remember the server has to be restarted if you change qglobal (or anything else in npc_type) for it to work. |
Hmm.. we will try this today, i didn't realize the npc_types table was defaulted to 0 for qglobal, Thanks for the info S2k=) going to go try it =).
|
Thanks Scorp for your help, it work :)
We changed $userid by $charid and changed qglobal to 1 (*doh*). For informations, error XXX still show on zone box, but it work fine (Using 5.7DR3 15.05.04). |
All times are GMT -4. The time now is 06:17 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.