CE Force Prefix-Suffix on Magic Item drops [1.13x]

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
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

CE Force Prefix-Suffix on Magic Item drops [1.13x]

Post by devurandom » Sun Sep 20, 2015 9:08 pm

After testing and revising the code to include an additional check, it seems to work well.

Thanks to Hysper for his help in testing this!!!
:cool:
hysper" wrote:Your code is tested:

RESULTS (ie if the game still respect those parameters)
spawnable - OK
rare/magical only - OK
min-max affix level - OK
frequency - OK
group - OK
itypeX - OK
etypeY - OK

If there's no affix suitable for a specific -ilvl- item, then the game will not assign one, as in the previous version of your code.
Code Edit for 1.13d

Code: Select all

========================================
- Force prefix-suffix magic item drops - 

Force Prefix
------------
[1.13d] - D2Game.0E1A68

Change

6FD01A68    7E 05         JLE SHORT 6FD01A6F

to:

6FD01A68    90            NOP
6FD01A69    90            NOP


Force Suffix
------------
[1.13d] - D2Game.0E1AD5

Change:

6FD01AD5    7E 08         JLE SHORT 6FD01ADF

To:

6FD01AD5    90            NOP
6FD01AD6    90            NOP

Code Edit for 1.13c

Code: Select all

========================================
- Force prefix-suffix magic item drops - 


Force Prefix
------------
[1.13c] D2Game.103E8

Change:

6FC303E8    7E 05         JLE SHORT 6FC303EF

To:

6FC303E8    90            NOP
6FC303E9    90            NOP


Force Suffix
------------
[1.13c] D2Game.10455

Change:

6FC30455    7E 08             JLE SHORT 6FC3045F

To:

6FC30455    90                NOP
6FC30456    90                NOP


Code Edit for 1.12a

Code: Select all

========================================
- Force prefix-suffix magic item drops - 

Force Prefix
------------
[1.12a] D2Game.8E638

Change

6FCAE638    7E 05         JLE SHORT 6FCAE63F

to

6FCAE638    90            NOP
6FCAE639    90            NOP


Force Suffix
------------
[1.12a] D2Game.8E6A5

change


6FCAE6A5    7E 08         JLE SHORT 6FCAE6AF

to

6FCAE6A5    90            NOP
6FCAE6A6    90            NOP

Code Edit for 1.11b

Code: Select all

========================================
- Force prefix-suffix magic item drops - 

Force Prefix
------------
[1.11b] D2Game.CFE78

change

6FCEFE78    7E 05         JLE SHORT 6FCEFE7F

to

6FCEFE78    90            NOP
6FCEFE79    90            NOP


Force Suffix
------------
[1.11b] D2Game.CFEE5

change

6FCEFEE5    7E 08         JLE SHORT 6FCEFEEF

to

6FCEFEE5    90            NOP
6FCEFEE6    90            NOP


Edit: add CE for 1.12a & 1.11b.
Last edited by devurandom on Wed Aug 17, 2016 9:56 am, edited 1 time in total.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
karlock
Posts: 42
Joined: Mon Mar 16, 2015 1:16 pm

Re: CE Force Prefix-Suffix on Magic Item drops [1.13x]

Post by karlock » Mon Sep 21, 2015 2:34 pm

I have been searching for a long time, thx! :D

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: CE Force Prefix-Suffix on Magic Item drops [1.13x]

Post by devurandom » Mon Sep 21, 2015 7:27 pm

karlok

You might also be interested in the code to force 6 affix rare items and 4 affix rare jewels.
We just ported that to 1.13 from Necrolis 1.10 code a couple weeks ago.

http://www.d2mods.info/forum/viewtopic.php?t=62508
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

marinero
Posts: 9
Joined: Tue Jun 28, 2022 5:57 am
Peru

Re: CE Force Prefix-Suffix on Magic Item drops [1.13x]

Post by marinero » Fri Sep 02, 2022 7:14 pm

Devurandom do you know how I could make items like staff, claw have 3-3-3: 9 options to random class skill. it would help me a lot

marinero
Posts: 9
Joined: Tue Jun 28, 2022 5:57 am
Peru

Re: CE Force Prefix-Suffix on Magic Item drops [1.13x]

Post by marinero » Fri Sep 02, 2022 7:15 pm

Devurandom do you know how I could make items like staff, claw have 3-3-3: 9 options to random class skill. it would help me a lot

Post Reply

Return to “Code Editing”