Making Vendors Sell Rejuvenation Potions
Moderator: Nizari
- RyanFialcowitz
- Paladin
- Posts: 100
- Joined: Fri Jan 19, 2007 8:15 pm
- Location: Santa Ana, California
Making Vendors Sell Rejuvenation Potions
I want vendors to sell rejuvenation potions in Nightmare and Hell rather then health and mana potions. I can do this via the Nightmare and Hell upgrade columns in Misc.txt- however doing this causes them to be bought rather then permantly staying in the vendors inventory. Spawnable, PermItem and Multibuy have all been checked and yet the potions won't permantly stay in the vendor's inventory. Any ideas?
-Ryan P. Fialcowitz
-Ryan P. Fialcowitz
- marhawkman
- Angel
- Posts: 698
- Joined: Thu May 13, 2004 2:21 am
- Location: CO
Re: Making Vendors Sell Rejuvenation Potions
Upgrade is intended for adding weapon types. Those are obviously not perm items. It's probably being caused by a mismatch between the code flags. It's probably coded for the upgrade flag to cause the perm flag to be ignored. hmm... it probably only spawns one thus causing you to need to leave town to spawn another. You could fix that by changing the number it spawns. That page doesn't usually have much stuff on it, thus there should be enough room to tell it to spawn 8-12 of them.
Currently working on making an Andariel Player character.
Status of my Mod: Assimilated
Status of my Mod: Assimilated
- RyanFialcowitz
- Paladin
- Posts: 100
- Joined: Fri Jan 19, 2007 8:15 pm
- Location: Santa Ana, California
- marhawkman
- Angel
- Posts: 698
- Joined: Thu May 13, 2004 2:21 am
- Location: CO
- RyanFialcowitz
- Paladin
- Posts: 100
- Joined: Fri Jan 19, 2007 8:15 pm
- Location: Santa Ana, California
- marhawkman
- Angel
- Posts: 698
- Joined: Thu May 13, 2004 2:21 am
- Location: CO
- RyanFialcowitz
- Paladin
- Posts: 100
- Joined: Fri Jan 19, 2007 8:15 pm
- Location: Santa Ana, California
As I said Super Potions are not naturally sold by vendors. They only appear because other potions have them listed as their upgrade item. In this case one may buy as many as they like from the vendor as the item itself never leaves the vendors's inventory. If, however, the exact same process is done with the purple potions the move to the player's inventory rather then staying with the vendor. I don't see why it would work with one and not the other.
Looking through misc.txt does not provide any hint of what the problem might be and I've tried the fields that might make a difference to no avail.
-Ryan P. Fialcowitz
Looking through misc.txt does not provide any hint of what the problem might be and I've tried the fields that might make a difference to no avail.
-Ryan P. Fialcowitz
- marhawkman
- Angel
- Posts: 698
- Joined: Thu May 13, 2004 2:21 am
- Location: CO
Re: Making Vendors Sell Rejuvenation Potions
The only remaining thing I can think of is: what upgrades to become a rejuvenation potion?
Currently working on making an Andariel Player character.
Status of my Mod: Assimilated
Status of my Mod: Assimilated
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Make sure the rejuv pots are marked as perm store and multibuy, as the vendoring code doesn't care about the properties of the item it was upgrade from
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
- RyanFialcowitz
- Paladin
- Posts: 100
- Joined: Fri Jan 19, 2007 8:15 pm
- Location: Santa Ana, California
Re: Making Vendors Sell Rejuvenation Potions
[quote=RyanFialcowitz";p="419928"]Spawnable, PermItem and Multibuy have all been checked[/quote]
-Ryan P. Fialcowitz
-Ryan P. Fialcowitz
Last edited by RyanFialcowitz on Fri Jul 10, 2009 9:37 pm, edited 1 time in total.
- marhawkman
- Angel
- Posts: 698
- Joined: Thu May 13, 2004 2:21 am
- Location: CO
[quote=Necrolis";p="419945"]Make sure the rejuv pots are marked as perm store and multibuy, as the vendoring code doesn't care about the properties of the item it was upgrade from[/quote]Right, but doesn't it need the "upgrade from" item to exist in the vendor's inventory?
Currently working on making an Andariel Player character.
Status of my Mod: Assimilated
Status of my Mod: Assimilated
- RyanFialcowitz
- Paladin
- Posts: 100
- Joined: Fri Jan 19, 2007 8:15 pm
- Location: Santa Ana, California
No, you can assign anything to a vendor's inventory. But to keep the purple's from showing up in Normal Difficulty you have to use the two upgrade fields. The only solution to this problem I can think of is to make the vendors sell more then one of each potion so that when they get upgraded in later difficulties there would be more then one purple potion.
-Ryan P. Fialcowitz
-Ryan P. Fialcowitz
Last edited by RyanFialcowitz on Sat Jul 11, 2009 8:53 pm, edited 1 time in total.
Re: Making Vendors Sell Rejuvenation Potions
I am also curious what your solution was?
- RyanFialcowitz
- Paladin
- Posts: 100
- Joined: Fri Jan 19, 2007 8:15 pm
- Location: Santa Ana, California
Re: Making Vendors Sell Rejuvenation Potions
Not sure if anyone is still looking for this but this works on 1.13 and 1.14
create <pathToGame>\data\global\excel
extract the misc.txt from PATCH_D2.mpq to there
Edit misc.txt and update
Full Rejuv Potion
spawnable = 1
Akara Min = 1
Akara Max = 1
Lysander Min = 1
Lyasnder Max = 1
Ormus Min = 1
Ormus Max = 1
Mala Min = 1
Mala Max = 1
Jamella Min = 1
Jamella Max = 1
Permstore Item = 1
Then update the target on the short cut to run with "<pathToGame>\Diablo II.exe" -direct -txt
create <pathToGame>\data\global\excel
extract the misc.txt from PATCH_D2.mpq to there
Edit misc.txt and update
Full Rejuv Potion
spawnable = 1
Akara Min = 1
Akara Max = 1
Lysander Min = 1
Lyasnder Max = 1
Ormus Min = 1
Ormus Max = 1
Mala Min = 1
Mala Max = 1
Jamella Min = 1
Jamella Max = 1
Permstore Item = 1
Then update the target on the short cut to run with "<pathToGame>\Diablo II.exe" -direct -txt
Re: Making Vendors Sell Rejuvenation Potions
nice necro-ing but this one was definitely worth it. Good job
only 2 things are infinite - the universe and human stupidity ... although i'm not sure yet about the universe (c) Albert Einstein
http://miyoshino.la.coocan.jp/eswiki/?p ... hot051.jpg (WOW)
http://miyoshino.la.coocan.jp/eswiki/?p ... hot051.jpg (WOW)