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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2015, 03:12 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default 5 Level loss on AA exp and Rez

Was doing some testing after a level 70 player indicated he lost 5 levels from
one death after he switched over to 100% AA exp. I tried this out myself,
and definately lost the 5 levels. Then I tried it at 90% AA exp and still lost the
5 levels. BUT at 80% AA exp (and below), I only lost experience, as normal.

Then when I summoned my corpse and gave it a rez, I lost 4 levels fromm the
resurrection. I'm looking up in to the sky "Ok, what did I do? Huh?" Hahahaha

Targeted (Corpse): Huppy's corpse
Stand close to and right click on Corpse to try looting it.

You say, #castspell '13143'
You regain some experience from resurrection.
You LOST a level! You are now level 66!

You LOST 4 levels! You are now level 66!
You are out of food and drink.
Reply With Quote
  #2  
Old 12-14-2015, 12:37 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

Post your rule_values values for DeathExpLossLevel, DeathExpLossMaxLevel, and DeathExpLossMultiplier.

Code:
SELECT * FROM `rule_values` WHERE `rule_name` LIKE 'Character:DeathExpLoss%';
Reply With Quote
  #3  
Old 12-14-2015, 05:07 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

This is the dump from that query

Code:
mysql> SELECT * FROM `rule_values` WHERE `rule_name` LIKE 'Character:DeathExpLoss%';
+------------+----------------------------------+------------+--------------------------------------------------------------+
| ruleset_id | rule_name                        | rule_value | notes                                                        |
+------------+----------------------------------+------------+--------------------------------------------------------------+
|          2 | Character:DeathExpLossLevel      | 10         | notation                                                     |                                                                     
|          2 | Character:DeathExpLossMultiplier | 3          | Adjust how much exp is lost                                  |                                                                                 
|          2 | Character:DeathExpLossMaxLevel   | 85         | Any level greater than this will no longer lose exp on death |
|          1 | Character:DeathExpLossMaxLevel   | 85         | Any level greater than this will no longer lose exp on death |
|          1 | Character:DeathExpLossMultiplier | 3          | Adjust how much exp is lost                                  |
|          1 | Character:DeathExpLossLevel      | 10         | notation                                                     |
|         10 | Character:DeathExpLossMultiplier | 3          | Adjust how much exp is lost                                  |
|         10 | Character:DeathExpLossMaxLevel   | 255        | Any level greater than this will no longer lose exp on death |
|         10 | Character:DeathExpLossLevel      | 10         | Any level greater than this will lose exp on death           |
|          5 | Character:DeathExpLossLevel      | 10         | notation                                                     |
|          5 | Character:DeathExpLossMaxLevel   | 200        | Any level greater than this will no longer lose exp on death |
|          5 | Character:DeathExpLossMultiplier | 3          | Adjust how much exp is lost                                  |
|          4 | Character:DeathExpLossLevel      | 10         | notation                                                     |
|          4 | Character:DeathExpLossMaxLevel   | 255        | Any level greater than this will no longer lose exp on death |
|          4 | Character:DeathExpLossMultiplier | 3          | Adjust how much exp is lost                                  |
+------------+----------------------------------+------------+--------------------------------------------------------------+
15 rows in set (0.00 sec)
Reply With Quote
  #4  
Old 12-14-2015, 05:44 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

My source is different, but my setting on one server is .01 for Character:DeathExpLossMultiplier
Reply With Quote
  #5  
Old 12-14-2015, 06:00 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

Well would that multiplier be used in all scenarios of death ?
As I mentioned, this is ONLY when AA exp is turned on to 100% or 90%
Anythng else, is normal exp loss.
Reply With Quote
  #6  
Old 12-14-2015, 06:16 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

I'll take a look at any test cases I can whip up on my local server and see if I can diagnose and fix the problem.
Reply With Quote
  #7  
Old 12-14-2015, 06:18 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

Quote:
Originally Posted by Kingly_Krab View Post
I'll take a look at any test cases I can whip up on my local server and see if I can diagnose and fix the problem.
Ya, I'm really kind of stumped, not that I haven't been before, but this one has
wiped the grease from my gears, hahaha
__________________
Hanging out at Antonica.World
Reply With Quote
  #8  
Old 12-14-2015, 07:57 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Oh, I failed. I did not read the OP. Yeah that is more than likely because of the max levels you have set. None of my servers go over level 65. If it is not solved by tomorrow I will play around with your settings to see if I can replicate it.
Reply With Quote
  #9  
Old 12-14-2015, 08:05 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

The main reason I set that max to 85, is because the server lvl max is 85.
I figured I couldn't set the character max death loss to a lower lvl than the
players would eventually be. (I think I got that right), hahaha
__________________
Hanging out at Antonica.World
Reply With Quote
  #10  
Old 12-14-2015, 08:12 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Have you edited your source at all?
Reply With Quote
  #11  
Old 12-14-2015, 08:20 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

Quote:
Originally Posted by provocating View Post
Have you edited your source at all?
Nothing other than the botspellsai.cpp for that fix Uleat gave me for stopping
the bots from spawning pets. Works pretty good, haha
But absolutely nothing else in source is modified, just straight git pull.
__________________
Hanging out at Antonica.World
Reply With Quote
  #12  
Old 12-14-2015, 08:22 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

(65 * 65 * 65) * 1.0 = 274625

(70 * 70 * 70) * 0.8 = 274400
(70 * 70 * 70) * 0.9 = 308700
(70 * 70 * 70) * 1.0 = 343000


Have you checked the database to make sure that none of this is client-related?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #13  
Old 12-14-2015, 08:23 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

To be perfectly honest, I have no idea when an issue like this would of come about.
In all the years, I have played with emu server, I have never tested out the AA system.
This was the first player who ever got that far on my server, so far to collect AA's
__________________
Hanging out at Antonica.World
Reply With Quote
  #14  
Old 12-14-2015, 08:25 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

Quote:
Originally Posted by Uleat View Post
(65 * 65 * 65) * 1.0 = 274625

(70 * 70 * 70) * 0.8 = 274400
(70 * 70 * 70) * 0.9 = 308700
(70 * 70 * 70) * 1.0 = 343000


Have you checked the database to make sure that none of this is client-related?
No, I haven't looked at the thought of it being the client side, I can say though,
both that player and myself (testing) are using UF client. Mine is HoT hybrid, but
his is not
__________________
Hanging out at Antonica.World
Reply With Quote
  #15  
Old 12-14-2015, 08:33 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

This is the definition of the xp packet struct: https://github.com/EQEmu/Server/blob...tructs.h#L1507


There are no translators for this packet..so, all clients are receiving the server-generated one.

No idea if that's correct or not, though...


EDIT: (I know there are 3 experience fields in the later clients..)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
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 06:16 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3