
01-08-2008, 05:40 PM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
|
Great! I had a talk with Andrew and I've started from scratch. Instead of worrying about indexing each item on the server in a database, I've instead appended timevar2 onto the player's clientr.var for the weapon, and added it into the data. That way the only way to create a duplicate weapon would be if the the same weapon is created in the very same second. Also eliminates the need for indexing. When the item is dropped, it'll drop its unique index with it. I want to create something more advanced than just a timevar2 ID... but since it's being stored in a clientr.var, I'm trying to keep the size down... :/ If Stefan would fix the RC bugs that wouldn't be a problem. |
|
|
|