EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=616)
-   -   strcpy(query, "SELECT MAX(id), count(*) FROM items" (https://www.eqemulator.org/forums/showthread.php?t=8900)

RazorJack 07-30-2003 03:32 AM

strcpy(query, "SELECT MAX(id), count(*) FROM items"
 
Just compiled DR2 0.5.0. So far so good. Started up servers and saw it was calling for a table named items_. Why the need for items_ ?

Should:
strcpy(query, "SELECT MAX(ItemNumber), count(*) FROM items_");

be:
strcpy(query, "SELECT MAX(id), count(*) FROM items");

??

websurf 07-30-2003 04:27 AM

Also, the entry ItemNumber is missing in the DB as well....

Merth 07-30-2003 05:25 AM

Items are still under development. While this area is being worked on, the table items_ is being used. The script for this table is newitems_table.sql. Look for this in CVS - I am not sure if it is on there yet.

This table is only temporary, don't build any third-party tools around this table.

RazorJack 07-30-2003 09:36 AM

Yep, reading further into the code, I realized from the 'old item lookup' comments and what not....

I managed (with devn00bs help in irc) to make a db. Server is up and running and everything seems to be running great.

I was asked to test out necro pets, so ill do that tonight.


All times are GMT -4. The time now is 12:40 PM.

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