EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   Quest flags for 5.2 (https://www.eqemulator.org/forums/showthread.php?t=11765)

Scorpious2k 02-09-2004 02:42 AM

You wouldn't happen to be getting this message on world or zone are you?

Quote:

NPCs loaded - using old database format

smogo 02-09-2004 03:04 AM

i do have this message.

Scorpious2k 02-09-2004 03:10 AM

Quote:

Originally Posted by smogo
i do have this message.

Then the mystery is solved!

Some new things were added to the npc_types. The nice devs were good enough to take that into account and have 2 different ways to load the npcs. One of these ways, the old one, doesn't load any of the new things from the DB including qglobals. It seems you may be missing something that was added, Here is what a describe of npc_types should look like:

Code:

mysql> describe npc_types;
+-------------------+----------------------+------+-----+---------+----------------+
| Field            | Type                | Null | Key | Default | Extra          |
+-------------------+----------------------+------+-----+---------+----------------+
| id                | int(11)              |      | PRI | NULL    | auto_increment |
| name              | text                |      |    |        |                |
| lastname          | varchar(32)          |      |    |        |                |
| level            | tinyint(2) unsigned  |      |    | 0      |                |
| race              | smallint(5) unsigned |      |    | 0      |                |
| class            | tinyint(2) unsigned  |      |    | 0      |                |
| bodytype          | int(11)              | YES  |    | NULL    |                |
| hp                | int(11)              |      |    | 0      |                |
| gender            | tinyint(2) unsigned  |      |    | 0      |                |
| texture          | tinyint(2) unsigned  |      |    | 0      |                |
| helmtexture      | tinyint(2) unsigned  |      |    | 0      |                |
| size              | float                |      |    | 0      |                |
| hp_regen_rate    | int(11) unsigned    |      |    | 0      |                |
| mana_regen_rate  | int(11) unsigned    |      |    | 0      |                |
| loottable_id      | int(11) unsigned    |      |    | 0      |                |
| merchant_id      | int(11) unsigned    |      |    | 0      |                |
| npc_spells_id    | int(11) unsigned    |      |    | 0      |                |
| npc_faction_id    | int(11)              |      |    | 0      |                |
| mindmg            | int(10) unsigned    |      |    | 0      |                |
| maxdmg            | int(10) unsigned    |      |    | 0      |                |
| npcspecialattks  | varchar(36)          |      |    |        |                |
| banish            | int(10) unsigned    |      |    | 0      |                |
| aggroradius      | int(10) unsigned    |      |    | 0      |                |
| social            | int(10) unsigned    |      |    | 0      |                |
| face              | int(10) unsigned    |      |    | 1      |                |
| luclin_hairstyle  | int(10) unsigned    |      |    | 1      |                |
| luclin_haircolor  | int(10) unsigned    |      |    | 1      |                |
| luclin_eyecolor  | int(10) unsigned    |      |    | 1      |                |
| luclin_beardcolor | int(10) unsigned    |      |    | 1      |                |
| fixedz            | tinyint(2) unsigned  |      |    | 0      |                |
| d_meele_texture1  | int(10) unsigned    |      |    | 0      |                |
| d_meele_texture2  | int(10) unsigned    |      |    | 0      |                |
| walkspeed        | float                |      |    | 0      |                |
| runspeed          | float                |      |    | 0      |                |
| MR                | smallint(5)          |      |    | 0      |                |
| CR                | smallint(5)          |      |    | 0      |                |
| DR                | smallint(5)          |      |    | 0      |                |
| FR                | smallint(5)          |      |    | 0      |                |
| PR                | smallint(5)          |      |    | 0      |                |
| ipc              | tinyint(1)          |      |    | 0      |                |
| see_invis        | tinyint(4)          |      |    | 0      |                |
| see_invis_undead  | tinyint(4)          |      |    | 1      |                |
| qglobal          | int(2) unsigned      | YES  |    | 0      |                |
+-------------------+----------------------+------+-----+---------+----------------+
43 rows in set (0.00 sec)

There is probably 1 or 2 thngs here that aren't in yours.

smogo 02-09-2004 03:20 AM

yes, i was just checking that. then i sourced invis_update.sql, and well, the Mob::qglobal flag is set.

Yet i get a sig segv fault, but, as i twinked some things in the code, it's not too surprising... reverting to std code, and then 'let you know.

Scorpious2k 02-09-2004 03:34 AM

You might want to get rid of the qglobal column and re-add it. It needs to be the last, just to be safe. Then set the ones you want again.

smogo 02-09-2004 04:00 AM

YES ! It works. Changing col order ddin't matter, but i've done it anyway ;).

Thanks for your time :D

Now, Let It All Begin ... Tadam !!!

Scorpious2k 02-09-2004 04:05 AM

Quote:

Originally Posted by smogo
YES ! It works

/cheers

Quote:

Thanks for your time :D
No problems.

Quote:

Now, Let It All Begin ... Tadam !!!
And now the fun begins....


All times are GMT -4. The time now is 03:39 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.