PDA

View Full Version : starting_items in DB causing errors.


Auxie
05-08-2010, 07:15 PM
So i'm currently trying to set up character configurations that characters can start with on the server but having the equip pop on the characters in the correct inventory slot (1 - 21) would cause occasional client crashes.

I decided to start the characters with bags and manually place the items in the bags so that they can equip the items themselves.

Well the first bag gets fully filled (slot_id 251-260) and world.exe returns these errors:


[Error] Inventory::_PutItem: Invalid slot_id specified (270)
[Error] Inventory::_PutItem: Invalid slot_id specified (269)
[Error] Inventory::_PutItem: Invalid slot_id specified (267)
[Error] Inventory::_PutItem: Invalid slot_id specified (266)
[Error] Inventory::_PutItem: Invalid slot_id specified (264)
[Error] Inventory::_PutItem: Invalid slot_id specified (263)
[Error] Inventory::_PutItem: Invalid slot_id specified (262)
[Error] Inventory::_PutItem: Invalid slot_id specified (261)
[Error] Inventory::_PutItem: Invalid slot_id specified (265)
[Error] Inventory::_PutItem: Invalid slot_id specified (271)
[Error] Inventory::_PutItem: Invalid slot_id specified (268)
[Error] Inventory::_PutItem: Invalid slot_id specified (272)


I've tried with different types of backpacks but it still works the same way.

I have a debug NPC to find non-empty slots in your inventory and say what item you have in that slot and i'm 100% sure that the slot_id's listed above are the correct slot_id's I need to put items into the 2nd and 3rd bag.

Please help!!

ChaosSlayerZ
05-08-2010, 08:32 PM
why don't you do this the EASY way - you put all starting item on a vendor at 0 price and let people buy what they need =P

Auxie
05-08-2010, 08:44 PM
that was my first iteration but I realized after trying to talk my brother through the process on the phone that it is not 100% noob proof.

For the time being i'm getting around the crashing and inventory issues by putting the visible armor on the player (no crashes) and the non visible in the inventory and 1st bag.

From there the vendors will give supplemental gear.