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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2012, 10:35 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

If you're still willing to pare this down, revert your source code and try this one:

[Item.cpp.patch]
Code:
Index: common/Item.cpp
===================================================================
--- common/Item.cpp	(revision 2284)
+++ common/Item.cpp	(working copy)
@@ -1216,6 +1216,14 @@
 	else {
 		// Slot must be within a bag
 		ItemInst* baginst = GetItem(Inventory::CalcSlotId(slot_id)); // Get parent bag
+
+		if (baginst) {
+			LogFile->write(EQEMuLog::Error, "Inventory::_PutItem: Parent Bag: id = %i, class = %i, type = %i, parent slot = %i", baginst->GetID(), baginst->GetItem()->ItemClass, baginst->GetItem()->ItemType, Inventory::CalcSlotId(slot_id));
+		}
+		else {
+			LogFile->write(EQEMuLog::Error, "Inventory::_PutItem: Parent Bag instance is NULL at parent slot %i", Inventory::CalcSlotId(slot_id));
+		}
+		
 		if (baginst && baginst->IsType(ItemClassContainer)) {
 			baginst->_PutItem(Inventory::CalcBagIdx(slot_id), inst);
 			result = slot_id;

This will tell us what's going on with the bag instance that might cause that con check to fail.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #2  
Old 12-11-2012, 01:24 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Quote:
Originally Posted by Uleat View Post
If you're still willing to pare this down, revert your source code and try this one:

[Item.cpp.patch]
Code:
Index: common/Item.cpp
===================================================================
--- common/Item.cpp	(revision 2284)
+++ common/Item.cpp	(working copy)
@@ -1216,6 +1216,14 @@
 	else {
 		// Slot must be within a bag
 		ItemInst* baginst = GetItem(Inventory::CalcSlotId(slot_id)); // Get parent bag
+
+		if (baginst) {
+			LogFile->write(EQEMuLog::Error, "Inventory::_PutItem: Parent Bag: id = %i, class = %i, type = %i, parent slot = %i", baginst->GetID(), baginst->GetItem()->ItemClass, baginst->GetItem()->ItemType, Inventory::CalcSlotId(slot_id));
+		}
+		else {
+			LogFile->write(EQEMuLog::Error, "Inventory::_PutItem: Parent Bag instance is NULL at parent slot %i", Inventory::CalcSlotId(slot_id));
+		}
+		
 		if (baginst && baginst->IsType(ItemClassContainer)) {
 			baginst->_PutItem(Inventory::CalcBagIdx(slot_id), inst);
 			result = slot_id;

This will tell us what's going on with the bag instance that might cause that con check to fail.
Not sure what I did but world.exe won't even start now, crashes immediately.

I reverted the item and shareddb.cpp files. Rebuilt the source, copied over the binaries, and then launched. Fails everytime. Tried reverting back to the original binaries, still crashing.
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote
  #3  
Old 12-11-2012, 08:37 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Logs are telling me world, queryserv, etc can't connect to the database, but I didn't change any passwords or database information

Code:
---------------------------------------------
[12.11. - 00:55:00] Starting Log: logs/eqemu_debug_3184.log
[12.11. - 00:55:00] [QUERYSERV__INIT] Starting EQEmu QueryServ.
[12.11. - 00:55:00] [QUERYSERV__INIT] Log settings loaded from log.ini
[12.11. - 00:55:00] [QUERYSERV__INIT] Connecting to MySQL...
[12.11. - 00:55:00] [WORLD__INIT_ERR] Cannot continue without a database connection.
Code:
[12.11. - 00:55:00] Starting Log: logs/eqemu_error_3184.log
[12.11. - 00:55:00] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)
Code:
[12.11. - 00:45:17] Starting Log: logs/eqemu_error_world_1944.log
[12.11. - 00:45:17] Failed to connect to database: Error: #2003: Can't connect to MySQL server on 'localhost' (10061)
Code:
[12.11. - 00:45:16] Starting Log: logs/eqemu_debug_world_1944.log
[12.11. - 00:45:16] [WORLD__INIT] Loading server configuration..
[12.11. - 00:45:16] [WORLD__INIT] Log settings loaded from log.ini
[12.11. - 00:45:16] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[12.11. - 00:45:16] [WORLD__INIT] Added loginserver eqemulator.net:5998
[12.11. - 00:45:16] [WORLD__INIT] Connecting to MySQL...
[12.11. - 00:45:17] [WORLD__INIT_ERR] Cannot continue without a database connection.
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote
Reply

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 01:50 PM.


 

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