d2jsp
Log InRegister
d2jsp Forums > Diablo II > Diablo 2 Discussion > Strategy & Guides > Monster Experience And You! > D2:R
Prev12
Add Reply New Topic New Poll
Member
Posts: 4,550
Joined: Nov 3 2021
Gold: 159.27
May 9 2022 11:39pm
Quote (Goomshill @ May 10 2022 09:02am)


And also, whenever the number of players in a part causes the total experience of a kill to exceed the integer maximum during the upper clause of that computation, it will have an integer overflow error that results in the kill only rewarding 1 experience point. Namely, if ( (party members - 1) * experience) * 87 >= 2,147,483,648. This happens for most act bosses, and baal's 2nd wave of minions (the unravelers)




Can either of you enlighten me about this portion. Practically, I’ve never done an act boss that gave 1exp. What does the*87 come from.
I do remember reading elsewhere that the exp from act bosses are often capped at a certain player count but I’ve never seen an overflow resulting in 1exp
Member
Posts: 46,646
Joined: Jan 20 2010
Gold: 22,164.69
May 10 2022 12:02am
Quote (Crayak85 @ May 10 2022 12:39am)
^CrackerSJ

Can either of you enlighten me about this portion. Practically, I’ve never done an act boss that gave 1exp. What does the*87 come from.
I do remember reading elsewhere that the exp from act bosses are often capped at a certain player count but I’ve never seen an overflow resulting in 1exp


the game has to evaluate expressions at runtime one operation at a time, and if a number becomes larger than the integer maximum at any step of the operation, it rolls over to become negative. It has a safeguard at the end of the experience process that caps the minimum experience per kill to 1, so you can't lose experience. So it doesn't just matter how xp is calculated overall, but the specific order of operations of the calculation. For the party experience bonus, it adds a value to the overall experience using the formula;
experience += [ abs( ( (party members - 1) * experience) * 87) / 256]
the actual code can be reverse engineered from its compiler code, but trust me its a huge unreadable mess
Since its being multiplied by 87 before its divided by 256, if exceeds the integer max inbetween those two steps, it will overflow to negative since its a signed integer, 2,147,483,647 -> -2,147,483,647

An example is hell diablo in classic, where 7 players in party gives full experience, but 8 players in party gives 1 xp. There's limits in xpac for diablo, baal, achmel's minions, etc.
Member
Posts: 7,249
Joined: Aug 13 2008
Gold: 512.01
May 11 2022 01:37am
There you go! Thank you for compiling this!

Could you actual instead of lsiting them alphabetically, list them highest--> lowest EXP!

As i can see indeed the Horadrim ancient gives Best EXP! Even more than Wave5 Bosses!? isnt it?

cheers
Member
Posts: 1,066
Joined: Sep 26 2021
Gold: 830.00
May 13 2022 04:42am
You are missing the levels you play in act 5 nightmare when soloing :)

I just saw it because i use your guide while playing through hardcore solo! Thx again for your work

This post was edited by JesterIsBack on May 13 2022 04:43am
Member
Posts: 20,178
Joined: Sep 21 2006
Gold: 67,069.69
Trader: Trusted
May 13 2022 04:43am
Quote (JesterIsBack @ 13 May 2022 06:42)
You are missing the levels you play in act 5 nightmare when soloing :-)


That is an experience efficiency chart. You should be doing chaos for best experience at that level before hell. Baals are slower without tele.
Member
Posts: 1,066
Joined: Sep 26 2021
Gold: 830.00
May 13 2022 04:45am
Quote (CrackerSJ @ May 13 2022 12:43pm)
That is an experience efficiency chart. You should be doing chaos for best experience at that level before hell. Baals are slower without tele.


Fair enough, i thought you made it for soloing the game as a kind of guide to when you should move on.

Member
Posts: 20,178
Joined: Sep 21 2006
Gold: 67,069.69
Trader: Trusted
May 13 2022 04:48am
Quote (JesterIsBack @ 13 May 2022 06:45)
Fair enough, i thought you made it for soloing the game as a kind of guide to when you should move on.


No. Best experience based on an area's monsters and ability to kill. There was a whole another page that showed experience/area averages I believe but I did not include that as it didn't seem to matter as people are going to do what they've always done anyway. I thought that was a good enough simplification of solo leveling efficiency.
Member
Posts: 1,066
Joined: Sep 26 2021
Gold: 830.00
May 13 2022 04:51am
Quote (CrackerSJ @ May 13 2022 12:48pm)
No. Best experience based on an area's monsters and ability to kill. There was a whole another page that showed experience/area averages I believe but I did not include that as it didn't seem to matter as people are going to do what they've always done anyway. I thought that was a good enough simplification of solo leveling efficiency.


I must admit i didn't read it all, i skipped to the part where i could see the most efficiency for my leveling progress. So, never mind me calling out act 5 missing, since it was not :)
Go Back To Strategy & Guides Topic List
Prev12
Add Reply New Topic New Poll