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

Huppy 12-14-2015 08:41 PM

Something I haven't tested yet, I have a titanium client. I will try that out right now
just for curiosity

Uleat 12-14-2015 08:56 PM

I would do some client vs. server testing for sure..make sure they're both reporting the same level, etc...


The only code I'm seeing to rezz a player appears to only send the full rez xp and spell id.

Might wanna check your client spell files.

Huppy 12-14-2015 09:31 PM

I just tested the Titanium client.
Fiirst round, at lvl 70, with AA exp set to 100%, died and no level loss, BUT there also
was no experience loss at all. The blue bar didn't budge a hair.
Second round, same thing, nothing different, but lost 5 levels.

provocating 12-14-2015 09:35 PM

You lost exactly that many levels? The XP bar was empty or full at that level? Also when you say second round, you mean a second death and nothing else changed? First death you lost nothing but second you lost 5 levels?

Huppy 12-14-2015 10:00 PM

Quote:

Originally Posted by provocating (Post 245805)
You lost exactly that many levels? The XP bar was empty or full at that level? Also when you say second round, you mean a second death and nothing else changed? First death you lost nothing but second you lost 5 levels?

YES, that's exactly what happened. Strange part, when losing levels (from 70
down to 65), the exp bar is maxed at lvl 65. I don't know why there was a
difference between first round and second. Everything was the same, I just
washed, rinsed and repeat with same client.

Just a few minutes ago, I tried (with Titanium) to set AA exp at 80%, like I
did with the UF, because the UF only lost the levels at 90 and 100%.
But the Titanium, at 80% AA, lost the 5 levels, hahaha

provocating 12-14-2015 10:08 PM

Give me this

Code:

SELECT * FROM rule_values r WHERE r.rule_name='Character:MaxExpLevel' or r.rule_value='Character:MaxLevel';

Huppy 12-14-2015 10:17 PM

That I know without digging, I set it at 85. But here is another little thing I just found out.
The level loss from the AA doesn't happen until lvl 70. I was testing it at 70 just to do the
testing, because that player was that level

Huppy 12-14-2015 10:26 PM

Update: In the DB: Ruleset 4 & 5 are set to level 65 (I didn't change those 2),
would that have an impact on this issue ? Thats maxexplevel by the way

provocating 12-14-2015 10:30 PM

Set all of it for the level you want and then do a #reloadallrules and try again. Leave no stone unturned.

Huppy 12-14-2015 10:46 PM

Quote:

Originally Posted by provocating (Post 245810)
Set all of it for the level you want and then do a #reloadallrules and try again. Leave no stone unturned.

Bravo Provo, kind of looks like that fixed it :) That same player was helping me
test this crap out, hahaha
Thank You !!

provocating 12-14-2015 10:57 PM

Occam's razor

Huppy 12-14-2015 11:11 PM

This is kind of off topic, but would you happen know what the highest number of players has ever been on the servers (in total). I just seen a little spike up to 3007 for a bit,
which is kewl.

provocating 12-15-2015 12:01 AM

That is about as high as I have seen, you get a good holiday or when p99 is running a double XP weekend.


All times are GMT -4. The time now is 02:10 PM.

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