Robins continuous thread, all kinds of topics
Moderator: Nizari
Robins continuous thread, all kinds of topics
I have lots of questions and opening up new posts for each questions seems unpopular. So I've decided to convert this thread to a continuous thread where I post all my questions. I always try searching for answers before I ask questions. I do look through the Knowledge Base in search for answers but it's not always so clear.
Please look towards end of thread for most recent discussions
Previous thread name: "Scrolls to stack themselves upon purchase"
Greetings!
Oddly enough It has taken me 15 years of on and off with D2LOD to start researching D2 modding, I've read the beginners PDF and I'm feeling pumped!
So i thought I'd start off with a small change. I want to remove the Tome of Town portal because I find it odd to tare out pages out of a book and inserting rolled up scrolls into it once it's empty. I want regular Scroll of Town portal to be stackable.
Went into misc.txt and managed to have it be stackable but it does not stack automatically when I purchase from vendor. They end up one by one in the inventory and I'm forced to stack them myself. It should behave like the key where they stack onto itself until it has reached max quantity. Ideas?
Edit: 1.14d
Thanks
Robin
Please look towards end of thread for most recent discussions
Previous thread name: "Scrolls to stack themselves upon purchase"
Greetings!
Oddly enough It has taken me 15 years of on and off with D2LOD to start researching D2 modding, I've read the beginners PDF and I'm feeling pumped!
So i thought I'd start off with a small change. I want to remove the Tome of Town portal because I find it odd to tare out pages out of a book and inserting rolled up scrolls into it once it's empty. I want regular Scroll of Town portal to be stackable.
Went into misc.txt and managed to have it be stackable but it does not stack automatically when I purchase from vendor. They end up one by one in the inventory and I'm forced to stack them myself. It should behave like the key where they stack onto itself until it has reached max quantity. Ideas?
Edit: 1.14d
Thanks
Robin
Last edited by linkert on Tue Nov 06, 2018 1:12 pm, edited 3 times in total.
Re: Scrolls to stack themselves upon purchase
Compare your rows with rows of "key". You can't do anything more without code edit. If you want to display the quantity of scrolls in stack, you have to add spelldesc.
Let me advice you something out of the topic. If you are sure you want to get yourself into modding permanently, then I HIGHLY recommend to choose 1.10 or 1.13c game version to work with.
Let me advice you something out of the topic. If you are sure you want to get yourself into modding permanently, then I HIGHLY recommend to choose 1.10 or 1.13c game version to work with.
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: Scrolls to stack themselves upon purchase
The auto-stacking for scrolls and scrolls into books is actually hardcoded; what might be better is changing all the books to look like their corresponding scrolls, and removing the normal scrolls from dropping (I think that books will auto stack with books, been a while since I have checked this; else you will need to stack them manually which means you are back to square one. In which cause you might find it easier to change the visuals so they aren't books.)
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal
Re: Scrolls to stack themselves upon purchase
Yup, I realized this.Nizari wrote: ↑Tue Nov 06, 2018 9:20 amCompare your rows with rows of "key". You can't do anything more without code edit. If you want to display the quantity of scrolls in stack, you have to add spelldesc.
Let me advice you something out of the topic. If you are sure you want to get yourself into modding permanently, then I HIGHLY recommend to choose 1.10 or 1.13c game version to work with.
Thing is, blizzard have done something as they released 1.14 which makes things harder to roll back as the usual swapping of game.exe and then running patch installer will cause d2data corruption error. I'll look into it and I see people suggesting to mod for older versions but less explaining why you would want to run older patches.
Tried it, tomes does not diapare when they reach quantity 0 which is an issue. I'll have to put this mod on hold for now until I'm cofortable with modifying the code.Necrolis wrote: ↑Tue Nov 06, 2018 9:36 amThe auto-stacking for scrolls and scrolls into books is actually hardcoded; what might be better is changing all the books to look like their corresponding scrolls, and removing the normal scrolls from dropping (I think that books will auto stack with books, been a while since I have checked this; else you will need to stack them manually which means you are back to square one. In which cause you might find it easier to change the visuals so they aren't books.)
Re: Scrolls to stack themselves upon purchase
Yes. I heard that 1.14 made downgrading harder. Recently I happened to point out a simple few steps to get two functional D2 folders (one for modding, one for playing official battle.net). See if it helps you.
https://d2mods.info/forum/viewtopic.php?f=8&t=65510
https://d2mods.info/forum/viewtopic.php?f=8&t=65510
Terms of Service
My tutorials:
AIs:
Fixing the Shadow Master's AI
The Shadow Master's AI Compendium
The Shadow Warrior's AI Compendium
The DruidBear's AI Compendium
The DruidWolf's AI Compendium
The Vines AI Compendium
Use every AI as Minion for the Player [Thanks to Necrolis]
Adding simple commands to the Shadow Master's AI
Skills:
Fixing SrvDoFunc 49
Creating a proper summoning skill for enemy monsters
Revive super uniques and bosses
Misc:
Changing reanimated monsters life span [thanks to Necrolis]
My resources:
Ogodei's Diablo I Monster Pack - Final
Ogodei's Diablo I Item Pack v1.00
Ogodei's Autumnal Act I
My tutorials:
AIs:
Fixing the Shadow Master's AI
The Shadow Master's AI Compendium
The Shadow Warrior's AI Compendium
The DruidBear's AI Compendium
The DruidWolf's AI Compendium
The Vines AI Compendium
Use every AI as Minion for the Player [Thanks to Necrolis]
Adding simple commands to the Shadow Master's AI
Skills:
Fixing SrvDoFunc 49
Creating a proper summoning skill for enemy monsters
Revive super uniques and bosses
Misc:
Changing reanimated monsters life span [thanks to Necrolis]
My resources:
Ogodei's Diablo I Monster Pack - Final
Ogodei's Diablo I Item Pack v1.00
Ogodei's Autumnal Act I
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: Robins continuous thread, all kinds of topics
This is due to the MPQ's, GalaxyHaxz has a fix for this on the forums.linkert wrote: ↑Tue Nov 06, 2018 10:21 amThing is, blizzard have done something as they released 1.14 which makes things harder to roll back as the usual swapping of game.exe and then running patch installer will cause d2data corruption error. I'll look into it and I see people suggesting to mod for older versions but less explaining why you would want to run older patches.
Yeah, that is one issue. Unfortunately the way D2 does stackable items is very brittle.
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal