Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-21-2013, 08:14 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

old guide is old, apparently (2008).

it lists 24 fields for the table, and there are only 22 (and in a different order)

use describe <tablename>; to get an overview of the table you are working with in mysql

output:
Code:
mysql> describe object;
+------------+----------------------+------+-----+---------+----------------+
| Field      | Type                 | Null | Key | Default | Extra          |
+------------+----------------------+------+-----+---------+----------------+
| id         | int(11)              | NO   | PRI | NULL    | auto_increment |
| zoneid     | int(11) unsigned     | NO   | MUL | 0       |                |
| version    | smallint(5)          | NO   |     | 0       |                |
| xpos       | float                | NO   |     | 0       |                |
| ypos       | float                | NO   |     | 0       |                |
| zpos       | float                | NO   |     | 0       |                |
| heading    | float                | NO   |     | 0       |                |
| itemid     | int(11)              | NO   |     | 0       |                |
| charges    | smallint(3) unsigned | NO   |     | 0       |                |
| objectname | varchar(32)          | YES  |     | NULL    |                |
| type       | int(11)              | NO   |     | 0       |                |
| icon       | int(11)              | NO   |     | 0       |                |
| unknown08  | mediumint(5)         | NO   |     | 0       |                |
| unknown10  | mediumint(5)         | NO   |     | 0       |                |
| unknown20  | int(11)              | NO   |     | 0       |                |
| unknown24  | int(11)              | NO   |     | 0       |                |
| unknown60  | int(11)              | NO   |     | 0       |                |
| unknown64  | int(11)              | NO   |     | 0       |                |
| unknown68  | int(11)              | NO   |     | 0       |                |
| unknown72  | int(11)              | NO   |     | 0       |                |
| unknown76  | int(11)              | NO   |     | 0       |                |
| unknown84  | int(11)              | NO   |     | 0       |                |
+------------+----------------------+------+-----+---------+----------------+
22 rows in set (1.33 sec)
then you'll need to make corrections to you query to match the order in the current database and add/remove fields that are incorrect in the guide.

this line is quite obviously misleading:
Quote:
Basic SQL knowledge (Not necessary but useful)
might be handy to update the guide after you get it working. :)
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
 

Thread Tools
Display Modes

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 12:07 PM.


 

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