More than 512 ItemStatCost.txt and existence of the tim

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
User avatar
a000000
Posts: 20
Joined: Mon Apr 10, 2017 6:36 am

More than 512 ItemStatCost.txt and existence of the tim

Post by a000000 » Tue Dec 19, 2017 4:46 pm

Is there a way, through code editing, to allow more than 512 lines in ItemStatCost.txt?

I changed a place to get into the game, but the properties did not work.

If so could somebody point me in the right direction?

Thanks

In addition, it can not control the existence of the time, for example, only three days, and then disappear.

I'd like to pay some money for this thing

User avatar
Necrolis
Site Admin
Throne
Posts: 8905
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: More than 512 ItemStatCost.txt and existence of the

Post by Necrolis » Wed Dec 20, 2017 12:49 am

You need to update quite a bit of code to enable stat id's past 510, basically every place where a stat id is serialized for items or for unit sync (a quick way to find these is to look for the fog bit buffer read/write calls with a size of 9, generally close to a 511 constant thats written as the stream sentinel value), additionally certain places only use a BYTE to store stat id's, you'd need to expand those two if you wanted to up that limit.
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
a000000
Posts: 20
Joined: Mon Apr 10, 2017 6:36 am

Re: More than 512 ItemStatCost.txt and existence of the

Post by a000000 » Wed Dec 20, 2017 11:32 am

has a solution for the limits on ItemStatCost.txt. who have a d2mod plugin to expand file limits ?
thank you

Post Reply

Return to “Code Editing”