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
  #16  
Old 03-06-2008, 10:08 AM
ven-elexver
Banned
 
Join Date: Dec 2007
Posts: 64
Default

ty for your time and sorry for the loc of post i did not look only searched the word corpse and ended up here under cavedudes corpse post . And when i seen cavedude i thought he could help with peq DB set up . I also posted on his site but no replys on it but i think you got it for me TY once more
Reply With Quote
  #17  
Old 03-17-2008, 12:13 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

Hey guys, i have this information on my rule_values table, but corpses arent leaving in the floor when u die, any idea what is wrong?

Code:
+------------+------------------------------------+------------+
| ruleset_id | rule_name                          | rule_value |
+------------+------------------------------------+------------+
|          0 | Character:MaxLevel                 | 65         |
|          0 | Character:DeathExpLossLevel        | 6          |
|          0 | Character:LeaveCorpses             | false      |
|          0 | Character:CorpseDecayTimeMS        | 10800000   |
|          0 | Character:LeaveNakedCorpses        | true       |
|          0 | Character:ExpMultiplier            | 1.0        |
|          0 | Character:AutosaveIntervalS        | 300        |
|          0 | Character:HPRegenMultiplier        | 100        |
|          0 | Character:ManaRegenMultiplier      | 100        |
|          0 | Character:EnduranceRegenMultiplier | 100        |
|          0 | Guild:MaxMembers                   | 2048       |
|          0 | Skills:MaxTrainTradeskills         | 21         |
|          0 | Pets:AttackCommandRange            | 150        |
|          0 | GM:MinStatusToZoneAnywhere         | 250        |
|          0 | World:ZoneAutobootTimeoutMS        | 60000      |
|          0 | World:ClientKeepaliveTimeoutMS     | 65000      |
|          0 | Spells:SpellAggroModifier          | 100        |
|          0 | Spells:BardSpellAggroMod           | 3          |
|          0 | Spells:PetSpellAggroMod            | 10         |
|          0 | Combat:BaseCritChance              | 0.0        |
|          0 | Combat:WarBerBaseCritChance        | 0.03       |
|          0 | Combat:BerserkBaseCritChance       | 0.06       |
|          0 | Combat:NPCBashKickLevel            | 6          |
+------------+------------------------------------+------------+
Reply With Quote
  #18  
Old 03-17-2008, 01:14 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

could it to be related with variables table, i have in this table "leavecorpses" set to "1"?
Reply With Quote
  #19  
Old 03-17-2008, 01:44 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Is the ruleset_id in rule_sets set to 0 as well?
Reply With Quote
  #20  
Old 03-17-2008, 05:00 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

hey cavedude, what u mean with set to 0 ruleset_id in rule_sets? I only have this information on rule_sets table:

Code:
+------------+---------+
| ruleset_id | name    |
+------------+---------+
|          0 | default |
|          2 | default |
|          3 | default |
+------------+---------+
Reply With Quote
  #21  
Old 04-05-2008, 07:06 PM
Ven-elexver1
Sarnak
 
Join Date: Dec 2007
Posts: 60
Default

sweet! TY.
Reply With Quote
  #22  
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
  #23  
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
  #24  
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
  #25  
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
  #26  
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
  #27  
Old 07-01-2009, 01:38 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
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.
I'm suspect what he meant is if the other two were set that way, DeathItemLossLevel is ignored. If it is not behaving that way, it is likely a bug.

In any case, you did not answer either of my questions. Which rule were you suggesting eliminating? And what is the advantage of doing so?
Reply With Quote
  #28  
Old 07-01-2009, 02:17 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

I see the flaw in the logic. If you mean removing the LeaveCorpses rule in favor of just using DeathItemLossLevel for that functionality, I see nothing wrong with that. Though, if I find a snag in my testing I'll end up keeping both. Look for this to be committed today.
Reply With Quote
  #29  
Old 07-01-2009, 04:14 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Yeah let me show you my whole logic =)

basicly I am looking from the other side - what conditions needs to be
achived.

So w ehave 3 base Rules:

-ItemLossLevel -level at which you leave items on coprse (0=never)
-XPLossLevel - level at which you loose XP when you die (0=never)
-LeaveCoprse - if you leave corpse when you die.

How these 3 rules work together:

1. LIVE-like:
ItemLoss =10, XPLoss = 6 (or whatever it was), LeaveCorpse= YES.

2. Custom, do not loose items, but loose XP:
ItemLoss =0, XPLoss = 6, LeaveCorpse= YES.

3. Custom, do not loose XP, but leave items:
ItemLoss =10, XPLoss = 0, LeaveCorpse= YES.

4. Custom, loose nothing, but leave corpses as indication of your failure, or for PvP reasons:
ItemLoss =0, XPLoss = 0, LeaveCorpse= YES.

5. Custom, loose nothing, no corpses:
ItemLoss =0, XPLoss = 0, LeaveCorpse= NO.

6. HARD CORE: Loose XP on death wihout ability to resurect (permanent Xp loos):
ItemLoss =0, XPLoss = 6, LeaveCorpse= NO.

7. HARD CORE: Loose items on death wihout ability to get them back:
ItemLoss =10, XPLoss = 0, LeaveCorpse= NO.

8. ULTRA HARD CORE: Permanently Loose everything:
ItemLoss =10, XPLoss = 6, LeaveCorpse= NO.



So I have shown you 8 diffirent combos, with just 3 rules.
If I missed a posible combo - speak up =)

Now a GOOD Rule addition will be a rule which will determine if player looses a level when he looses XP - I know many devs would like to see it rule. Thsi way you can still punish players with death XP loss, but spare them the pain of loosing a level.
Reply With Quote
  #30  
Old 07-01-2009, 04:24 PM
zergling
Sarnak
 
Join Date: Mar 2009
Location: In an apartment
Posts: 33
Default

Another cool rule would be to set coin loss and item loss on separate variables.

That way you could drop coin on your corpses, but keep your items.

Not a big deal, but figured I would mention it as its something that came up in the discussion for my server of how we want death to work.
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 07:19 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