Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2008, 02:12 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default Changes to corpse rules

With last night's CVS commit (not yet on the downloads page) I made a couple of changes to corpse rules. First, I added the CharactereathItemLossLevel to define when a player will leave items on a corpse. That way, you can define a level for XP loss, and a level for item loss and they no longer need to be the same.

As for the actual LeaveCorpses and LeaveNakedCorpses rules, I adjusted them to allow for more options. So, once the build comes down, they will look like this:

Both rules are true - You will leave a naked corpse up until your DeathItemLossLevel at which point you will leave a corpse with items. (This is the Live like option)

LeaveCorpses true, LeaveNakedCorpses false - You won't leave any corpses up until your itemloss level at which point you will leave a corpse with items. (This is the option for those who want corpses, but don't want their db filled up with naked noob corpses)

LeaveCorpses false, LeaveNakedCorpses true - You will always leave a naked corpse. (DeathItemLossLevel is ignored)

Both rules false - Corpse system is disabled and you will never leave any sort of corpse (this is the default setting if no rule value is set)

This has changed a lot from the current system so I wanted to give you all a heads up, as you will most certainly need to adjust your rule values if you are using the corpse system.

Of course, you can get creative and if you wanted say a system that always leaves corpses with items but never takes XP off the player, then set LeaveCorpses to true, DeathItemLossLevel to 1, and DeathExpLossLevel to a level higher than your server's max, etc. Things like that would be cool on a PVP server.

Last edited by cavedude; 01-24-2008 at 10:18 AM..
Reply With Quote
  #2  
Old 02-09-2008, 07:13 AM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Only one problem, not sure if this has already been fixed, but if someone dies in a Dynamic zone, and the zone is empty after that, the corpses rot timer will stay frozen in time.. forever.. and you can't use the Shadowrest mob to get it because it's stuck in a dynamic zone...
Reply With Quote
  #3  
Old 02-09-2008, 07:39 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Quote:
Only one problem, not sure if this has already been fixed, but if someone dies in a Dynamic zone, and the zone is empty after that, the corpses rot timer will stay frozen in time.. forever.. and you can't use the Shadowrest mob to get it because it's stuck in a dynamic zone...
This isn't as much a bug in search of a fix. It's just the nature of a dynamic zone. If there isn't at least one player in a dynamic zone, the zone will close.

I agree that its inconvenient, but it is how a dynamic zone operates.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
  #4  
Old 02-09-2008, 07:48 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

actuly there may by more problem to it.
last night my lev 1 char got killed in Qeynos (who is also bounded in Qeynos) which was runign as dymanic - and the game prety much got frozen at this point. The char was no longer in zone, so zone shuted itself down, but the zone refuse to autoboot in order to respawn him....

could have been just a weird crash, but decided to post this just in case
Reply With Quote
  #5  
Old 02-09-2008, 08:41 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I thought that's a long-standing bug that occurs when you die in the zone that you were killed?

Or maybe that was fixed, and I missed it.
Reply With Quote
  #6  
Old 02-09-2008, 09:38 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Players die in their bound zone on TGC all the time with no issue.

Occasionally, we get some weird occurrences, but for the most point the system is pretty solid.
Reply With Quote
  #7  
Old 07-01-2009, 12:44 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by cavedude View Post
LeaveCorpses false, LeaveNakedCorpses true - You will always leave a naked corpse. (DeathItemLossLevel is ignored)
.
I tested this last night- by accident (acidently nuked myself =) - and this does not hold true.

I have set DeathItemLossLevel to 0 , and LeaveNakedCorpses true

yet when I died, all my items remained on the corpse

also i think these rules kind of overlap:

You should be able to drop leavenakedcorpse rule and use DeathItemLossLevel (0) as "die, leave corpse, but never leave items"
Reply With Quote
  #8  
Old 07-01-2009, 12:48 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

It sounds like DeathItemLossLevel refers to the minimum character level at which items will be left on the corpse when you die, so setting it to 0 would mean items are left on corpses at all levels upon death.

Setting it to some huge number like 200 would then mean you would always keep your items upon death regardless of level.
Reply With Quote
  #9  
Old 07-01-2009, 12:53 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by Shendare View Post
It sounds like DeathItemLossLevel refers to the minimum character level at which items will be left on the corpse when you die, so setting it to 0 would mean items are left on corpses at all levels upon death.

Setting it to some huge number like 200 would then mean you would always keep your items upon death regardless of level.
Thats what I had to do.

But there is no such thing as level 0, thats why I propose to drop that other rule and use 0 as "never loose items" - this way you fit 2 rules into 1
Reply With Quote
  #10  
Old 07-01-2009, 01:11 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
Thats what I had to do.

But there is no such thing as level 0, thats why I propose to drop that other rule and use 0 as "never loose items" - this way you fit 2 rules into 1
Which other rule?

And how does that improve anything? It gives two different behaviors in the same rule which is likely to be confusing to many. Plus, it works now so why fix what isn't broken?

Not trying to be negative, but I simply do not see the advantage of what you are suggesting.
Reply With Quote
  #11  
Old 07-01-2009, 01:16 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

look what Cavedude said:

LeaveCorpses false, LeaveNakedCorpses true - You will always leave a naked corpse. (DeathItemLossLevel is ignored)


As I have proven DeathItemLossLevel is NOT ignored.
Reply With Quote
  #12  
Old 01-14-2010, 05:15 PM
ub3r
Fire Beetle
 
Join Date: Aug 2008
Location: iraq
Posts: 5
Default

i just tested this "permanent xp loss - hard core" method and it does not work. my character did not lose items and did not lose experience, and left no corpse.

CharactereathItemLossLevel = 0
CharactereathExpLossLevel = 6
Character:LeaveCorpses = false

is that right? ;\ its in rule_values table too right?
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 04:05 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