Gambling exceptionals

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply

1
100%
 
Total votes: 1

User avatar
boogieback
Posts: 68
Joined: Thu May 08, 2003 4:31 pm
Location: washington state university

Gambling exceptionals

Post by boogieback » Thu Aug 07, 2003 9:04 am

I have difficultylevels.txt set to 500 for uber gambling which should bring my odds to about 1/200 for an exceptional. All of a sudden, my assassin hits level 42 and BLAM - 90% of all items gambled are exceptional. Can anyone shed some light on how to even this out?

User avatar
Dark Spot in the Corner
Posts: 41
Joined: Tue Apr 22, 2003 1:10 pm
Location: Where two walls meet, there i am ;)
Contact:

Re: Gambling exceptionals

Post by Dark Spot in the Corner » Thu Aug 07, 2003 9:45 am

The formula to upgrade an item to exeptional, or elite, works differently than the 100,000-chance-formula for quality on gambling.

First, the game calculates a random level that is your character-level plus/minus 5:
ilvl = clvl + rnd[10] - 5

Then, this level is used to determine the chance that the item will be upgraded.
exceptional chance = 1 + (ilvl - excep qlvl) * GambleUber / 100
elite chance = 1 + (ilvl - elite qlvl) * GambleUltra / 100


So, if you enter a value of 100 in GambleUber or GambleUltra, you'll have a 1% chance of upgrading for every level that exeeds the item's level. So a character with level 99 would have an average chance of 30% to gamble an elite item with level 70.

[strike]hth[/strike] hope that helps! :D
I would never dare to upset the SAUA ;)
Last edited by Dark Spot in the Corner on Thu Aug 07, 2003 7:41 pm, edited 2 times in total.
I am breathing the fire...
It's kiss is my desire
I am teaching the flame...
You won't be the same
Now you will burn...
Back you can't turn

User avatar
54x
Retired staff
Arch-Angel
Posts: 1173
Joined: Fri May 24, 2002 5:04 pm
Location: Wellington, New Zealand
Contact:

Re: Gambling exceptionals

Post by 54x » Thu Aug 07, 2003 12:24 pm

The Society for Abolishment of Unnecessary Acronyms (SAUA) is most unhappy with your acronymisation of the phrase 'hope that helps.'
New Dawn (X)
North Star
Thought & Effort. (Now it's always in my posts)
Deutschsprachig, falls jemand mich braucht :)

User avatar
boogieback
Posts: 68
Joined: Thu May 08, 2003 4:31 pm
Location: washington state university

Re: Gambling exceptionals

Post by boogieback » Thu Aug 07, 2003 2:21 pm

What are qlvl and md[10]? Is that a 1% chance for every level above the base item or the quality being considered that determines if it's converted? I lowered all item levels to their clvl requirement levels, so that may have something to do with it. Thanks for your help. :)
Last edited by boogieback on Thu Aug 07, 2003 2:34 pm, edited 1 time in total.

User avatar
boogieback
Posts: 68
Joined: Thu May 08, 2003 4:31 pm
Location: washington state university

Re: Gambling exceptionals

Post by boogieback » Thu Aug 07, 2003 5:32 pm

Can anyone answer this last one please :)

User avatar
kingpin
Senior Admin
Cherub
Posts: 10925
Joined: Sat Jan 11, 2003 12:51 pm
Contact:
Sweden

Hand-picked

Re: Gambling exceptionals

Post by kingpin » Thu Aug 07, 2003 5:33 pm

Please, use the edit button instead of posting several message in a row.

User avatar
Dark Spot in the Corner
Posts: 41
Joined: Tue Apr 22, 2003 1:10 pm
Location: Where two walls meet, there i am ;)
Contact:

Re: Gambling exceptionals

Post by Dark Spot in the Corner » Thu Aug 07, 2003 7:48 pm

The meaning of "ilvl = clvl + rnd[10] - 5" is explained above, but i will clarify it again if need be...

- ilvl is a number that is calculated by the formula.
- rnd[10] (in captials: RND[10]) is a programmers way to describe a random number from 0 to 10.
- clvl[10] is your characters level.

So put in to plain text, the formula would mean:
Take you character's level, and add a random number between 0 and 10. Then substract 5 from that value and store in in a variable named "ilvl".

hthmtmlp
For non-SAUAs: "hope that helps more than my last post" :mrgreen:

EDIT:
Oh, and qlvl[10] is the level of the item in the quality that the upgrade check is made for.
Last edited by Dark Spot in the Corner on Thu Aug 07, 2003 7:51 pm, edited 2 times in total.
I am breathing the fire...
It's kiss is my desire
I am teaching the flame...
You won't be the same
Now you will burn...
Back you can't turn

User avatar
boogieback
Posts: 68
Joined: Thu May 08, 2003 4:31 pm
Location: washington state university

Re: Gambling exceptionals

Post by boogieback » Thu Aug 07, 2003 8:16 pm

Thanks again. Finding the perfect number that works is difficult for the odds I'm looking for. I think I've found it in 300. :)

Edit: One thing I've found is that setting uber to anything above 100 is a real bad idea if you want to continue to receive normal or elites in gambling. The game seems to take exceptionals over any other quality, no matter how high you set ultra. At 200 uber and 50,000 ultra, my 87 sorc receives exceptionals exclusively (out of 100+ items gambled, not one normal or elite). Anyone know more specifically how this works? You'd think elite would take a preceedence.
Last edited by boogieback on Fri Aug 08, 2003 1:31 am, edited 1 time in total.

Post Reply

Return to “General Mod Making”