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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2004, 12:35 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default ATTN: Mangoo (Item Editor)

The item editor needs to be updated hehe.. i cant add any new items to my DB...

1 think i know that needs to be fixed is you need to query the db by column name, not by the order they are... it appears you're doing SELECT * from items.


This causes problems if the column's are different from your knowledge.
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #2  
Old 03-15-2004, 06:20 PM
mangoo
Items Master
 
Join Date: Apr 2003
Posts: 293
Default

Working on a rebuild (which will be 2.0) will release a quick fix as 1.9 for ya, really busy though so sit tight.
__________________
Reply With Quote
  #3  
Old 03-16-2004, 04:57 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

I don't know if you do this (haven't looked for your source or anything), but Shawn319 mentioning SELECT * reminded me to mention this.

SELECT * requires your RDBMS to make two lookups to the table and can triple the load on the server and the time it takes to execute the query. In addition to that, it often brings back columns you simply don't need.

Happy Hacking,
Lord Daeken M. BlackBlade
(Cody Brocious)
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #4  
Old 03-16-2004, 07:13 AM
mangoo
Items Master
 
Join Date: Apr 2003
Posts: 293
Default

I had no idea that was the case, just thought you grabbed all the columns. Thanks for the great info guys. In 1.9 it'll have to stay that way, sorry, no point in changing half the source code of it with 2.0 on the way. But definately will use this in 2.0, this is awesome info. I started 2.0 from scratch because it needs it, hoping to get rid of unneeded code and make the code faster. Hoping to get Kaiyodo's Model Viewer worked into it too finally, wasn't able to accomplish that in 1.x . Look for 1.9 next couple days.
__________________
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 09:23 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3