Hi
I tried to make new inventory to my mod and it looks like this http://www.zomb.webzdarma.cz/inver.jpg
But i have a problem... whenever i displace a mouse under belt/boots/rings game crash - UNHANDLED EXCEPTION
here is my Inventory.txt http://www.zomb.webzdarma.cz/inventory.txt
Dont you know how to solve this?
Inventory test - problem
Moderators: Necrolis, Nefarius
- EmaStergam
- Posts: 92
- Joined: Tue Aug 28, 2007 4:53 pm
- Location: Serbia
Re: Inventory test - problem
Hi,
Hmm few things i can see that look bad to me
-All slots for gear should be multiply by cell size. If weapon slot is 2x4 cells then it should be multiplied by 29x29 to get slot size, then it will be 58x116.
-*Couse of crash* Size of inventori must be 1 pixel smaller then calclated size. If you have 10x6 inventory you will calculate needed size as 290x174, but it must be 289x173. Dont ask why.
You can use D2Inventory to make inventory grid edits faster and check it against common errors.
viewtopic.php?f=7&t=56721&start=0
cya
Hmm few things i can see that look bad to me
-All slots for gear should be multiply by cell size. If weapon slot is 2x4 cells then it should be multiplied by 29x29 to get slot size, then it will be 58x116.
-*Couse of crash* Size of inventori must be 1 pixel smaller then calclated size. If you have 10x6 inventory you will calculate needed size as 290x174, but it must be 289x173. Dont ask why.
You can use D2Inventory to make inventory grid edits faster and check it against common errors.
viewtopic.php?f=7&t=56721&start=0
cya
Re: Inventory test - problem
It's very simple. They doing 0-x/0-y then calc size.-All slots for gear should be multiply by cell size. If weapon slot is 2x4 cells then it should be multiplied by 29x29 to get slot size, then it will be 58x116.
-*Couse of crash* Size of inventori must be 1 pixel smaller then calclated size. If you have 10x6 inventory you will calculate needed size as 290x174, but it must be 289x173. Dont ask why.
Re: Inventory test - problem
Thanks!! It works fine now...
And yes, im using D2Inventory - it is very useful program for editing inventory/stash/cube... very good work!
And yes, im using D2Inventory - it is very useful program for editing inventory/stash/cube... very good work!