Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 12-10-2012, 08:47 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

This shows that something screwy is going on:

Quote:
[12.10. - 18:05:05] Inventory::_PutItem: Invalid slot_id specified (251)
[12.10. - 18:05:05] Inventory::_PutItem::slot_id = 251, result_return = -1, ItemInst = !NULL

Also, all of your 'failures' appear to be in the inventory bag slot range (251 - 330), which means this segment of code in _PutItem is likely culprit:

Code:
else {
		// Slot must be within a bag
		ItemInst* baginst = GetItem(Inventory::CalcSlotId(slot_id)); // Get parent bag
		if (baginst && baginst->IsType(ItemClassContainer)) {
			baginst->_PutItem(Inventory::CalcBagIdx(slot_id), inst);
			result = slot_id;
		}
	}
Not sure what's going on just yet, but if the con check fails, result is never set to slot_id, and returns the default value of -1..which, of course,
causes the 'Warning' message. It probably also indicates that the inventory bag isn't being populated.

Causes? Unsure at the moment... Someone else might have a better guess.

(Are you using non-container containers, or summoned bags? I'm not completely familiar current items, so don't laugh too hard!)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:57 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3