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 02-28-2008, 06:47 AM
mandark
Fire Beetle
 
Join Date: Dec 2007
Posts: 2
Default Warning: Corpse's dbid=0! Corpse will not survive zone shutdown!

Hello,
I play with my wife on my own server with 3 Accounts.
I use Eqemu 1100 and the newest Peq DB. Updated today.
A few Days ago me is happened a mistake and i dont find the error.
Everytime we wipe in a zone we lost our corpses with all Items.
I have tested this i bind me in a zone, then i killed myself and the following happens.
when i right-klick my corpse to loot comes in red color the Message:
Warning: Corpse's dbid=0! Corpse will not survive zone shutdown!

Can anyone help me?
thx
Reply With Quote
  #2  
Old 03-03-2008, 10:26 AM
ven-elexver
Banned
 
Join Date: Dec 2007
Posts: 64
Default

i see this write up on corpse's i would think maybe you need to set that 0 to a 1 just a guess but also maybe something to do with your zone if set as dynamic try static but if you killed your self in your bind zone some say that cause's a issue. try killing self in the next zone over and have that zone static all = my guess. for what thats worth ..heres what i found i need to read over it also ......

Code:In PVP no experence is lost from a PVP kill, Here is a Unified Diff file of PlayerCorpse.cpp. (EQEmu-0.7.0-857) The bottom line is all sections that delete corpses need to be removed except for the finished loot section.



Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32
Tk is available, Tk-macros are enabled
TCL is available, shell is enabled : help (select and press enter)
cvs diff -u -- PlayerCorpse.cpp (in directory C:\cvs\EQEmuCVS\Source\zone\)
Index: PlayerCorpse.cpp
================================================== =================
RCS file: /cvsroot/eqemulator/EQEmuCVS/Source/zone/PlayerCorpse.cpp,v
retrieving revision 1.15.2.12
diff -u -r1.15.2.12 PlayerCorpse.cpp
--- PlayerCorpse.cpp 9 Jul 2006 20:02:37 -0000 1.15.2.12
+++ PlayerCorpse.cpp 14 Oct 2006 19:17:32 -0000
@@ -98,13 +98,13 @@
pc->beard = dbpc->beard;
pc->Rezzed(rezzed);
pc->become_npc = false;
- if (pc->IsEmpty()) {
- safe_delete(pc);
- return 0;
- }
- else {
+ //if (pc->IsEmpty()) {
+ // safe_delete(pc);
+ // return 0;
+ //}
+ //else {
return pc;
- }
+ //}
}

// To be used on NPC death and ZoneStateLoad
@@ -336,9 +336,10 @@

Corpse::~Corpse() {
if (p_PlayerCorpse) {
- if (IsEmpty() && dbid != 0)
- database.DeletePlayerCorpse(dbid);
- else if (!IsEmpty() && !(p_depop && dbid == 0))
+ //if (IsEmpty() && dbid != 0)
+ // database.DeletePlayerCorpse(dbid);
+ //else if (!IsEmpty() && !(p_depop && dbid == 0))
+ if (!IsEmpty() && !(p_depop && dbid == 0))
Save();
}
// safe_delete(NPCTypedata);
@@ -366,10 +367,10 @@
}

bool Corpse::Save() {
- if (IsEmpty()) {
- Delete();
- return true;
- }
+ //if (IsEmpty()) {
+ // Delete();
+ // return true;
+ //}
if (!p_PlayerCorpse)
return true;
if (!pIsChanged)

***** CVS exited normally with code 1 *****

Reply With Quote

dont know if any of it helps
Reply With Quote
  #3  
Old 03-03-2008, 10:36 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

See if this post helps you at all:

http://www.eqemulator.net/forums/showthread.php?t=24234
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
Reply


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 08:27 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3