Starting_Items Issues
Hi All,
Did some searching and couldn't find anything specific to support me so I am back and need some guidance... I am having issues with my starting items. My Starting_Items table: Code:
"id" "race" "class" "deityid" "zoneid" "itemid" "item_charges" "gm" "slot" An example of the types of errors I am having is as follows: - When making a bard, I start with the items outlined in my table above AND with "random" items, such as items 8500 and 59967 which are quite obviously not in my starting_items table... Anyone able to advise how or why this might be happening and perhaps advise on a fix? As per usual, thanks for your time/help. |
I see item '8005' in your table..but, not 59967.
Are you also getting '18442,' '18640,' '14834,' and '2840' as random items, per chance? |
Quote:
Cant for the life of me figure this out. Also getting 32601 out of nowhere (this is Backpack*) |
I looked through the source code that loads starting items and did not see anything that stuck out...
There's no consistency in what race/class combo gets what 'random' items? |
I will gather up more info and provide it here.
Going to go through and test all race/class combos and will report my findings. Anything else I can provide that would be helpful for you in assisting me? |
Have you modified your source code in any way?
I've been looking through scripts to see if '59967' pops up anywhere. TutorialB has a few numbers near that..but, they are called after npc interaction. Gonna check tasks next... |
Quote:
I just had a VERY strange thing occur when making a Beastlord... It spawned in the wrong zone and was wearing a full set of my custom warrior armor, had a bag full of random starter armor, and some other odd items... Got some duplicate entry errors in world.exe window as well... I sent you a PM, any chance you can join me on skype real quick to view this in action? |
Here are the errors I am receiving. So strange.
Definitely my biggest issue/concern with my server at this point :( Code:
[03-03-2015 :: 20:57:55] [MySQL Error] 1062: Duplicate entry '33-22' for key 'PRIMARY' Made 2 Beastlords, same Diety/Start Zone/Race/etc, both generated random items. One Beastlord had full warrior gear as I stated earlier, another had bandages, short sword and gloomingdeep lantern (as well as having a custom bag that it should have per my start_item table). The bandages/lanterns/short sword are a definite red flag as I had removed those as starting items entirely I thought.... |
I don't have skype set up :/
How old is your source code? The inventory save code uses an 'INSERT' to save the inventory..so, those errors tell me that something already occupies the slots that are attempted to be saved at. A character save failure 'might' be returning the previous characters ID..but, I don't know that much about queries... You might check to ensure that the character being made is indeed the one at that index (33.) ref: https://github.com/EQEmu/Server/blob...abase.cpp#L704 EDIT: Someone else more knowledge about the character creation process may have more insight :) |
ISSUE RESOLVED
Moral of the story? Dont manually delete characters from you DB, use the PEQ DB Editor tool, located on the "Player" tab. There are too many dependencies and deleting just the character from the DB caused all of these issues. Thank you to JJ and Uleat for helping me through this and especially to JJ for his time with correcting all of my DB tables. |
All times are GMT -4. The time now is 04:08 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.