Increase default loot drop cap above 6.
Moderator: Nizari
Increase default loot drop cap above 6.
Hello I am an extremely unactive member of this modding community i have been doing basic memory edits and text edits for a few years but im trying to do something a little more involved now
IDEA
I have seen others increase the number of loot items a mob can drop by equiping items in their inventory. I would like to do this with a dll edit that increases the cap of this to maybe 10-30. id like to make it so that there are more items to be excited about but i need help trying to figure out if this is possible and if so how i would go about learning how to do this. i don't read assembly so im not sure how to find this information in the dll myself.
QUESTION
Is there a dll edit method that would allow me to increase the max drop cap up to 30 items per mod.
ANSWER
None as of yet 1/30/2019
Thanks so much in advance!
IDEA
I have seen others increase the number of loot items a mob can drop by equiping items in their inventory. I would like to do this with a dll edit that increases the cap of this to maybe 10-30. id like to make it so that there are more items to be excited about but i need help trying to figure out if this is possible and if so how i would go about learning how to do this. i don't read assembly so im not sure how to find this information in the dll myself.
QUESTION
Is there a dll edit method that would allow me to increase the max drop cap up to 30 items per mod.
ANSWER
None as of yet 1/30/2019
Thanks so much in advance!
Re: Increase default loot drop cap above 6.
I don't have an immediate fix but I know the Goblin Plugin contains a feature which allows them to drop more than 6 items by essentially spawning an invisible monster who dies instantly which gives the appearance of the goblin himself dropping more than 6 items. You could download the plugin, see how the files work, and try to work it in for yourself for monsters of your choosing. Just remember to give Nizari props for his hard work. I hope this at least gives you some ideas.
Re: Increase default loot drop cap above 6.
Thanks i saw that method and if in unable to find something then i will definately implement that the way i saw that it works is you equip and item on the mob that has an affix but id rather try to simply overide teh general rule so as to affect all mobs
Re: Increase default loot drop cap above 6.
[1.13c]
[D2Game - 0x123DA]
- You just need to change the number 6
[D2Game - 0x123DA]
- You just need to change the number 6
Code: Select all
6FC323D7 |. C745 2C 060000>MOV DWORD PTR SS:[EBP+2C], 6
Re: Increase default loot drop cap above 6.
Thanks!thaison wrote: ↑Wed Feb 13, 2019 10:35 am[1.13c]
[D2Game - 0x123DA]
- You just need to change the number 6
Code: Select all
6FC323D7 |. C745 2C 060000>MOV DWORD PTR SS:[EBP+2C], 6
Porting to 1.13d, D2GAME+0xE4067
Code: Select all
6FD04067 MOV [ebp + 0x2C], 0x06
Re: Increase default loot drop cap above 6.
thaison You kick ass my man
Re: Increase default loot drop cap above 6.
so i adjusted this number to 64 and have players command at 100 and still seem to only get 6 drops
Re: Increase default loot drop cap above 6.
ok so i also set this number to 1 and it only dropped 1 item i believe the issue here is the no drop code not allowing another item to drop cause they roll no drop is there a way to fix this?
- HarvestWombs
- Arch-Angel
- Posts: 1019
- Joined: Wed May 25, 2011 11:50 pm
Re: Increase default loot drop cap above 6.
First, please edit your post instead, it will still mark the topic unread for other users.
Second, just doing the code edit isn't the only thing you need to do. You also need to edit the treasureclass so it loops through them more times.
You can test this easily by dropping a TC with -10 in the picks column. Dropping too many items could also potentially lead to errors or unexpected side effects.
Second, just doing the code edit isn't the only thing you need to do. You also need to edit the treasureclass so it loops through them more times.
You can test this easily by dropping a TC with -10 in the picks column. Dropping too many items could also potentially lead to errors or unexpected side effects.
Re: Increase default loot drop cap above 6.
thanks you so much i really appreciate the help im very new to this but i feeel like i have some cool idea so im excited to implement them but am very unexperienced with specifically assembly code and d2 mods. haha how is it that these lines in assembly are found?
- HarvestWombs
- Arch-Angel
- Posts: 1019
- Joined: Wed May 25, 2011 11:50 pm
Re: Increase default loot drop cap above 6.
They already gave you the code edit, the rest is txt work.
Re: Increase default loot drop cap above 6.
Yes i understand and i appreciate your help. what i was asking is if there was a repo for these code edits to be found or are they found by reading the code. and whichever one where could i go to learn how to find these code edits myself. so like if i wanted to change the code for a specific edit i wanted to make, how would i go about finding that edit for myself. is it all written somewhere or is there a method of breaking down the code? do you have to read the assembly?
Re: Increase default loot drop cap above 6.
Also just for others i found that there are 4 different treasureclass.txt files that came with my diablo 2 .txt pack . so if you are struggling make sure that you are using the correct text file to edit your version make sure you are editing the right one.
- HarvestWombs
- Arch-Angel
- Posts: 1019
- Joined: Wed May 25, 2011 11:50 pm
Re: Increase default loot drop cap above 6.
Again, edit your posts please.
If you are looking into to finding code yourself, you'll need to learn how to read and reverse assembly code.
There is no repo, use the search function -> code editing forum to try and locate code. Every version has a different address, but most of the time you can track it down in another version pretty
easily if you observe the surrounding code.
If you are looking into to finding code yourself, you'll need to learn how to read and reverse assembly code.
There is no repo, use the search function -> code editing forum to try and locate code. Every version has a different address, but most of the time you can track it down in another version pretty
easily if you observe the surrounding code.