View Full Version : strcpy(query, "SELECT MAX(id), count(*) FROM items"
RazorJack
07-30-2003, 03:32 AM
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.