View Single Post
  #26  
Old 02-09-2004, 01:49 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

you where right about the qglobal flag in the DB, it was clear.

i set it, restarted, but sill it goes wrong. I trace it, and when entering Event() with :
Code:
 if(npcid==61){
      LogFile->write(EQEMuLog::Debug, "entre npc quest with id 61");
      LogFile->write(EQEMuLog::Debug, "qglobal flag is :%d", 
npcmob->GetQglobal());
}
i get
Quote:
logs/qeynos.log:[Debug] qglobal flag is :0
logs/qeynos.log:[Debug] qglobal flag is :0
logs/qeynos.log:[Debug] qglobal flag is :0
logs/qeynos.log:[Debug] qglobal flag is :0
while
Quote:
mysql> select * from quest_globals;
+----+--------+-------+--------+------+--------+------------+
| id | charid | npcid | zoneid | name | value | expdate |
+----+--------+-------+--------+------+--------+------------+
| 56 | 0 | 61 | 1 | tjob | singer | 2147483647 |
+----+--------+-------+--------+------+--------+------------+
1 row in set (0.00 sec)

mysql> select name, qglobal from npc_types where id=61;
+--------------+---------+
| name | qglobal |
+--------------+---------+
| Anehan_Treol | 1 |
+--------------+---------+
1 row in set (0.00 sec)
Also, $charid is still "". The (npcmob->GetQglobal()) must have returned false...[/quote]
Reply With Quote