d2jsp
Log InRegister
d2jsp Forums > Diablo II > Diablo 2 Discussion > The Most Interesting Items I've Ever Seen > A Tribute To A Dying Game
Prev16566676869105Next
Add Reply New Topic New Poll
Member
Posts: 7,980
Joined: Apr 9 2007
Gold: 45,700.00
Dec 9 2024 06:46pm
Quote (zero_sharp @ Dec 10 2024 12:26am)
The game isn't storing every possible combination of a tomb reaver in memory ahead of time. You can ask the computer to generate a random number between

0 - trillion
0 - quadrillion
...
etc

that doesn't mean the computer is holding all the numbers from 0 - 1 quadrillion in memory. Doesn't mean the computer can't generate 999 trillion, or that the number "doesn't exist" because it exceeds 32 bits.


?

it does not store it no..
it goes through a process that is in an initial state, this is a number, the number is from x - max_32bit, from this number it can only generate finite number of possibilities but is limited after all to the max 32bit number
for every affix that is created, is generated from this initial number in a sequence
it's not that it is not possible to go higher then 32bit.. it's that they used 32 bits to do the calculations (this is not entirely true but for the initialization of the sequence, it is)

edit:

Quote (zero_sharp @ Dec 10 2024 12:52am)
The size of a 32 bit integer doesn't determine the states of the program though?

I haven't looked at the details behind how the game generates items, or the source code. Have you?


If you have start of a sequence, it's a 32 bit number, anything that is generated from that number will have the same sequence, hence it is limited by its initialization.
So it certainly does determine it.

not sure what difference it makes now.., it's been 7 years since it got "fixed"

This post was edited by tunglidid on Dec 9 2024 07:00pm
Member
Posts: 21
Joined: Dec 6 2024
Gold: 0.00
Dec 9 2024 06:52pm
The size of a 32 bit integer doesn't determine the states of the program though?

I haven't looked at the details behind how the game generates items, the data representation, or the source code. Have you?

The only thing I'm saying is: I would find it surprising if the developers wrote the code to represent items by 32 bit integers. I have a strong suspicion that that's not true. That's something you would know by understanding their design or code.

This post was edited by zero_sharp on Dec 9 2024 07:08pm
Member
Posts: 124,764
Joined: May 2 2009
Gold: 92,116.69
Dec 9 2024 08:35pm
Quote (zero_sharp @ Dec 9 2024 06:52pm)
The size of a 32 bit integer doesn't determine the states of the program though?

I haven't looked at the details behind how the game generates items, the data representation, or the source code. Have you?

The only thing I'm saying is: I would find it surprising if the developers wrote the code to represent items by 32 bit integers. I have a strong suspicion that that's not true. That's something you would know by understanding their design or code.


https://forums.d2jsp.org/topic.php?t=80627599&f=21
see post #6 and #9
i'd trust what this guy says
Member
Posts: 79,885
Joined: Nov 7 2010
Gold: 6,040.00
Dec 9 2024 08:52pm
Quote (Cheetos @ 9 Dec 2024 20:35)
https://forums.d2jsp.org/topic.php?t=80627599&f=21
see post #6 and #9
i'd trust what this guy says


thanks
Member
Posts: 17,572
Joined: Aug 23 2003
Gold: 780.00
Dec 10 2024 12:13pm
Quote (zero_sharp @ Dec 10 2024 03:52am)
The size of a 32 bit integer doesn't determine the states of the program though?

I haven't looked at the details behind how the game generates items, the data representation, or the source code. Have you?

The only thing I'm saying is: I would find it surprising if the developers wrote the code to represent items by 32 bit integers. I have a strong suspicion that that's not true. That's something you would know by understanding their design or code.


Also:
It's possible to make replica of rare items. I. e. it won't be duped but it'll have same same name and stats (it comes from the fact that rares stats are being generated from 32-bit seeds and 2 is not that big number these days). Shadow Loom is also already existed, i. e. it was generated from the same seed but my version should have different id to survive any head-to-head tests within one game. It was generated as any other legit item generated when you're completing imbue quest.

........


My guess is that id is an another 32-bit number, so there can be only 2 such axes (== any other items). Once you've got same 32-bit seed for name+mods AND same 32-bit id -- that's when dupe scanner will start wipe absolutely legit items :rofl: Anyway 2 is a big enough even for today's standard to really face this problem.



https://forums.d2jsp.org/topic.php?t=73613914&f=53

This post was edited by vasya on Dec 10 2024 12:15pm
Member
Posts: 9,358
Joined: Mar 7 2015
Gold: 16,559.30
Dec 10 2024 01:22pm
Love that 1700 damage Thunder Maul.

GG
Member
Posts: 39,010
Joined: Jan 11 2006
Gold: 5,009.35
Dec 10 2024 01:30pm
Quote (Smiles15 @ 10 Dec 2024 11:22)
Love that 1700 damage Thunder Maul.

GG


I believe others said it was hero editor item. Still fun to look at.

I wouldn't complain if someone made a 100% eth tomb and posted here
Member
Posts: 21
Joined: Dec 6 2024
Gold: 0.00
Dec 10 2024 02:42pm
I tried to look into it yesterday. I'm not sure where the dude talking about 2^32 initial states gets that information from. Also the seed is likely only one part of the data representing the item.

Here's a page where somebody partially breaks down the .d2s/item encoding:

https://user.xmission.com/~trevin/DiabloIIv1.09_Item_Format.shtml

spoiler: it's longer than 32 bits. It's apparently designed to be variable length. Let me know if you can source the 2^32 thing.

Also, the other point is this: even if there were 2^32 possible options for the tomb reaver, how do you know the perfect one is not represented (or: can't be generated)? lol

This post was edited by zero_sharp on Dec 10 2024 03:04pm
Member
Posts: 7,980
Joined: Apr 9 2007
Gold: 45,700.00
Dec 10 2024 03:31pm
Quote (zero_sharp @ Dec 10 2024 08:42pm)
I tried to look into it yesterday. I'm not sure where the dude talking about 2^32 initial states gets that information from. Also the seed is likely only one part of the data representing the item.

Here's a page where somebody partially breaks down the .d2s/item encoding:

https://user.xmission.com/~trevin/DiabloIIv1.09_Item_Format.shtml

spoiler: it's longer than 32 bits. It's apparently designed to be variable length. Let me know if you can source the 2^32 thing.

Also, the other point is this: even if there were 2^32 possible options for the tomb reaver, how do you know the perfect one is not represented (or: can't be generated)? lol


Did you just compare:

Item save format
to
The process of generating an item

?

spoiler: they are not the same thing..

please read what is being said

Where do you think information comes from? I'll answer that for you, it comes from other people who have done the research or know it in other ways
Member
Posts: 21
Joined: Dec 6 2024
Gold: 0.00
Dec 10 2024 05:03pm
Quote (tunglidid @ Dec 10 2024 01:31pm)
Did you just compare:

Item save format
to
The process of generating an item

?

spoiler: they are not the same thing..

please read what is being said

Where do you think information comes from? I'll answer that for you, it comes from other people who have done the research or know it in other ways


Cool. Show me.

I'm over here guessing at wtf you're saying because it's so vague.

This post was edited by zero_sharp on Dec 10 2024 05:09pm
Go Back To Diablo 2 Discussion Topic List
Prev16566676869105Next
Add Reply New Topic New Poll