View Single Post
  #3  
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