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

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

Reply
 
Thread Tools Display Modes
  #31  
Old 02-09-2004, 02:42 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

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

Quote:
NPCs loaded - using old database format
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #32  
Old 02-09-2004, 03:04 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

i do have this message.
Reply With Quote
  #33  
Old 02-09-2004, 03:10 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

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.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #34  
Old 02-09-2004, 03:20 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

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.
Reply With Quote
  #35  
Old 02-09-2004, 03:34 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

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.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #36  
Old 02-09-2004, 04:00 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

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

Thanks for your time

Now, Let It All Begin ... Tadam !!!
Reply With Quote
  #37  
Old 02-09-2004, 04:05 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Quote:
Originally Posted by smogo
YES ! It works
/cheers

Quote:
Thanks for your time
No problems.

Quote:
Now, Let It All Begin ... Tadam !!!
And now the fun begins....
__________________
Maybe I should try making one of these servers...
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 04:25 AM.


 

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