More socketing confusion
#15
Crystalion,Jan 9 2004, 12:51 AM Wrote:We have columns of data saying "1", "25" and "40". It is not consistant for these to mean > as opposed to >= because then the column saying "1" would mean 2.., and the meaning for a value of 1 would be undefined.
Ahh, yes, never thought about the "1" column. That really makes it bad (For the record, a 0 ilvl value should be possible to have). This means I know have two obscure item creation bugs to pester Peter Hu/Isolde about. Not that it matter much for fixing since he doesn't work at Blizzard any more, but just for the "fun" of it. And I have hardly looked at the game code yet :)

As a side note, unless the compiler went mad on messing the code arround, I would say the actual source looks something like:

if (ilvl<=25) then
---blabla from column "1"
else if (ilvl<=40) then
---blabla from column "25"
else
---blabla from column "40"

Just a thought. Perhaps I should code it up and see what the compiler ends up doing to get a hint. I can be all wrong though.
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: 3 Guest(s)