More socketing confusion
#7
The test done is for above 25 and above 40. This gives the ranges 1-25, 26-40 and 41+.

I would not call it a "off by one" bug since it is of very different nature than the old "off by one" if you mean that the highest value in a range was not pickable.

It is worth noticing though that at times the programmers have had a problem with "less than" and "less or equal than", particulary when it comes to percentages. I think the problem is that the value tested versus is 0-99 and not 1-100. So you can see that most probably they wanted a 10% chance but tested for equal or lower to 10, giving an actual 11% chance. The case for sockets is slightly different since it is different and there is no such issue of 0-99 instead of 1-100. Perhaps just a goof though.


By the way, the only test for item types and such in the code determining number of sockets is for low quality items, they can't get it, and stackable items, they can't get it either. Seems armor could not get it in pre expansion (is that correct?) but I can be wrong.
There are three types of people in the world. Those who can count and those who can't.
Reply


Messages In This Thread
More socketing confusion - by Crystalion - 01-08-2004, 02:26 AM
More socketing confusion - by adeyke - 01-08-2004, 02:55 AM
More socketing confusion - by Crystalion - 01-08-2004, 03:09 AM
More socketing confusion - by AtomicKitKat - 01-08-2004, 11:18 AM
More socketing confusion - by LavCat - 01-08-2004, 12:04 PM
More socketing confusion - by Crystalion - 01-08-2004, 02:14 PM
More socketing confusion - by Jarulf - 01-08-2004, 05:17 PM
More socketing confusion - by Baajikiil - 01-08-2004, 05:25 PM
More socketing confusion - by Crystalion - 01-09-2004, 12:00 AM
More socketing confusion - by Kevin - 01-09-2004, 12:44 AM
More socketing confusion - by Tal - 01-09-2004, 02:28 AM
More socketing confusion - by Crystalion - 01-09-2004, 02:54 AM
More socketing confusion - by LavCat - 01-09-2004, 07:01 AM
More socketing confusion - by whyBish - 01-09-2004, 10:06 AM
More socketing confusion - by Jarulf - 01-09-2004, 01:56 PM
More socketing confusion - by Tal - 01-09-2004, 02:38 PM
More socketing confusion - by ShadowHM - 01-09-2004, 02:52 PM
More socketing confusion - by AtomicKitKat - 01-09-2004, 08:02 PM
More socketing confusion - by Crystalion - 01-09-2004, 09:00 PM
More socketing confusion - by Crystalion - 01-09-2004, 09:09 PM
More socketing confusion - by Obi2Kenobi - 01-09-2004, 11:54 PM
More socketing confusion - by adeyke - 01-10-2004, 01:33 AM
More socketing confusion - by whyBish - 01-10-2004, 09:51 AM
More socketing confusion - by Occhidiangela - 01-12-2004, 06:47 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)