EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   5 Level loss on AA exp and Rez (https://www.eqemulator.org/forums/showthread.php?t=40264)

Huppy 12-14-2015 03:12 AM

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.

Kingly_Krab 12-14-2015 12:37 PM

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

Code:

SELECT * FROM `rule_values` WHERE `rule_name` LIKE 'Character:DeathExpLoss%';

Huppy 12-14-2015 05:07 PM

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)


provocating 12-14-2015 05:44 PM

My source is different, but my setting on one server is .01 for Character:DeathExpLossMultiplier

Huppy 12-14-2015 06:00 PM

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.

Kingly_Krab 12-14-2015 06:16 PM

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.

Huppy 12-14-2015 06:18 PM

Quote:

Originally Posted by Kingly_Krab (Post 245787)
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

provocating 12-14-2015 07:57 PM

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.

Huppy 12-14-2015 08:05 PM

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

provocating 12-14-2015 08:12 PM

Have you edited your source at all?

Huppy 12-14-2015 08:20 PM

Quote:

Originally Posted by provocating (Post 245795)
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.

Uleat 12-14-2015 08:22 PM

(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?

Huppy 12-14-2015 08:23 PM

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

Huppy 12-14-2015 08:25 PM

Quote:

Originally Posted by Uleat (Post 245797)
(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

Uleat 12-14-2015 08:33 PM

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..)


All times are GMT -4. The time now is 09:09 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.