Elite items are blocked from crafting

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
OrderOfTheScribble
Posts: 28
Joined: Wed Apr 05, 2023 7:35 pm
United States of America

Elite items are blocked from crafting

Post by OrderOfTheScribble » Sun Jun 18, 2023 2:37 am

I was just playing my own modded version of Modworked (v11+ I think, but I'm not sure of the exact version). The mod doesn't mess with cube recipes, yet I'm unable to make crafted gloves from Vampirebone Gloves, which suggests that either the "upg" code in CubeMain isn't working, or the game is failing to recognize Vampirebone Gloves as elite Heavy Gloves. I was able to craft a Mesh Belt (an exceptional items) in the same mod, which suggests the latter, though there's a chance something in the mod is limiting "upg" to exceptional items and not elite items.

I'm posting this as its own thread rather than in the Modworked thread because I added some test recipes, and there's a chance one of those is responsible for the bug. I haven't had a problem with any other cube recipe, just crafting of elite items.

User avatar
Cypress
Moderator
Champion of the Light
Posts: 406
Joined: Fri Dec 01, 2017 2:08 am

Re: Elite items are blocked from crafting

Post by Cypress » Sun Jun 18, 2023 3:14 pm

You can assume anything really weird is going to be a Modworked problem since the mod restructures a bunch of files, especially weapons.txt and armor.txt, where nearly every weapon/armor item has its code as its type, which I now see has changed some cubing behaviors in unexpected ways. You got unlucky in that you chose belts as your point of comparison: those were not modified in Modworked due to the hardcodedness of the belt type.

The problem is with how upg works and how Modworked sets code=type. I assumed that setting code=type would be fine, since the game prioritizes calling code over type in cubemain (e.g. in vanilla, Axe is used for the Axe weapon and for the Axe class, so if you spawn an axe via cube, it will always spawn the Axe weapon rather than a random item of the Axe class). But for the upg parameter, it prioritizes calling type over code, so it becomes only able to call the type, of which only Heavy Gloves is a member, and so only Heavy Gloves will be allowed.

This issue can be fixed by changing the type names or code names. I attached the version 13 changelog, which you can copy-paste entries from to fix the bug (or, if your mod has not changed itemtypes.txt, automagic.txt, weapons.txt, armor.txt and misc.txt; then you can just use those new txt files directly).

Note that this may cause save compatibility issues. If the above fix does cause issues, you could instead try:
(1) Make a new itemtype that all Heavy Gloves have (you'd have to do this with other crafting bases too), which you then use as an equiv. So for example, if you give Heavy Gloves, Sharkskin Gloves and Vampirebone Gloves the additional equiv type of 'abcd', and then make it so the craft requires 'abcd' type, then these items will all become viable targets for the crafting.
(2) Specify each base individually. So you'd have to make 3 recipes per base, one for Heavy Gloves, one for Sharkskin Gloves and one for Vampirebone Gloves.

It's unfortunate that I didn't find it in testing since it might cause save issues (although hopefully it doesn't!). Thanks so much for finding this bug OrderOfTheScribble, I'll be sure to update Modworked ASAP.
Attachments
modworked changelog version 13.odt
(18.55 KiB) Downloaded 3 times

OrderOfTheScribble
Posts: 28
Joined: Wed Apr 05, 2023 7:35 pm
United States of America

Re: Elite items are blocked from crafting

Post by OrderOfTheScribble » Sun Jun 18, 2023 11:30 pm

Cypress, I'm glad you were able to find the fix so quickly. I've applied the changes, and they didn't appear to cause any save issues.

Edit: It looks like there was a delayed issue, because I'm now crashing as soon as I hit the Single Player button. Restarting my computer didn't fix the issue, so here's the error log, not including the stack dump:

Code: Select all

18:26:49.660  ***** UNHANDLED EXCEPTION: ACCESS_VIOLATION (c0000005)
18:26:49.660  Fault address:  6F8EB52F 01:0000A52F C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Win.dll
18:26:49.660  eax:ffffff1c ebx:00000039 ecx:00000000 edx:137a0ba4 esi:0f420004
18:26:49.660  edi:0000002d ebp:137c0674 esp:0019e6e0 eip:6f8eb52f flg:00210282
18:26:49.660  cs:0023 ds:002b es:002b ss:002b fs:0053 gs:002b
18:26:49.660  --------------------------------------
18:26:49.660  Thread 7468 ***
18:26:49.660  ----------
18:26:49.660  User defined symbols path: C:\Program Files (x86)\Diablo II;C:\Program Files (x86)\Diablo II\MODS\Legacy Convenience (internal);C:\Windows
18:26:49.661  Enumerate modules...
18:26:49.661  
Enumerate modules...
18:26:49.667      Base:00400000h  Size:  5D000h  Name:D2SE.exe         Path:C:\Program Files (x86)\Diablo II\D2SE.exe
18:26:49.667      Base:08070000h  Size:   D000h  Name:D2Net.dll        Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Net.dll
18:26:49.667      Base:080B0000h  Size:  14000h  Name:D2Lang.dll       Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Lang.dll
18:26:49.667      Base:08370000h  Size: 122000h  Name:D2Game.dll       Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Game.dll
18:26:49.667      Base:08E90000h  Size:  1A000h  Name:SmackW32.dll     Path:C:\Program Files (x86)\Diablo II\SmackW32.dll
18:26:49.667      Base:08EF0000h  Size:  27000h  Name:glide3x.dll      Path:C:\Program Files (x86)\Diablo II\glide3x.dll
18:26:49.667      Base:08F20000h  Size:  11000h  Name:Game.exe         Path:C:\Program Files (x86)\Diablo II\Game.exe
18:26:49.667      Base:09260000h  Size:  4B000h  Name:BaseMod.dll      Path:C:\Program Files (x86)\Diablo II\MODS\Legacy Convenience (internal)\BaseMod.dll
18:26:49.667      Base:10000000h  Size:  41000h  Name:binkw32.dll      Path:C:\Program Files (x86)\Diablo II\binkw32.dll
18:26:49.667      Base:5D760000h  Size: 313000h  Name:igdml32.dll      Path:C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_bbafec440f419cb1\igdml32.dll
18:26:49.667      Base:5DA80000h  Size: C4C000h  Name:ig12icd32.dll    Path:C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_bbafec440f419cb1\ig12icd32.dll
18:26:49.667      Base:5E6D0000h  Size:  A3000h  Name:MSVCR90.dll      Path:C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9625_none_508ef7e4bcbbe589\MSVCR90.dll
18:26:49.667      Base:5E780000h  Size:  E9000h  Name:DDRAW.dll        Path:C:\Windows\SYSTEM32\DDRAW.dll
18:26:49.667      Base:5E870000h  Size:  8D000h  Name:COMCTL32.dll     Path:C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.1110_none_c0da534e38c01f4d\COMCTL32.dll
18:26:49.667      Base:5E900000h  Size: 22D000h  Name:iertutil.dll     Path:C:\Windows\SYSTEM32\iertutil.dll
18:26:49.667      Base:5EB30000h  Size: 1A8000h  Name:urlmon.dll       Path:C:\Windows\SYSTEM32\urlmon.dll
18:26:49.667      Base:5ECE0000h  Size: 253000h  Name:AcGenral.DLL     Path:C:\Windows\SYSTEM32\AcGenral.DLL
18:26:49.667      Base:5EF40000h  Size: 285000h  Name:AcLayers.DLL     Path:C:\Windows\SYSTEM32\AcLayers.DLL
18:26:49.667      Base:5F3D0000h  Size:  39000h  Name:plugy.dll        Path:C:\Program Files (x86)\Diablo II\MODS\Legacy Convenience (internal)\plugy.dll
18:26:49.667      Base:5F410000h  Size:  15000h  Name:samcli.dll       Path:C:\Windows\SYSTEM32\samcli.dll
18:26:49.667      Base:60000000h  Size:  2E000h  Name:ijl11.dll        Path:C:\Program Files (x86)\Diablo II\ijl11.dll
18:26:49.667      Base:60DD0000h  Size:   7000h  Name:DCIMAN32.dll     Path:C:\Windows\SYSTEM32\DCIMAN32.dll
18:26:49.667      Base:60DE0000h  Size:  1D000h  Name:srvcli.dll       Path:C:\Windows\SYSTEM32\srvcli.dll
18:26:49.667      Base:60E00000h  Size:   F000h  Name:SortWindows61.d  Path:C:\Windows\SYSTEM32\SortWindows61.dll
18:26:49.667      Base:60E10000h  Size:  19000h  Name:MPR.dll          Path:C:\Windows\SYSTEM32\MPR.dll
18:26:49.667      Base:62A50000h  Size:  94000h  Name:TextShaping.dll  Path:C:\Windows\SYSTEM32\TextShaping.dll
18:26:49.667      Base:66680000h  Size:   3000h  Name:sfc.dll          Path:C:\Windows\SYSTEM32\sfc.dll
18:26:49.667      Base:68EE0000h  Size:  26000h  Name:dwmapi.dll       Path:C:\Windows\SYSTEM32\dwmapi.dll
18:26:49.667      Base:68F10000h  Size:  10000h  Name:sfc_os.DLL       Path:C:\Windows\SYSTEM32\sfc_os.DLL
18:26:49.667      Base:692F0000h  Size:   F000h  Name:resourcepolicyc  Path:C:\Windows\SYSTEM32\resourcepolicyclient.dll
18:26:49.667      Base:69BE0000h  Size:  19000h  Name:MSACM32.dll      Path:C:\Windows\SYSTEM32\MSACM32.dll
18:26:49.667      Base:69CA0000h  Size: 136000h  Name:AUDIOSES.DLL     Path:C:\Windows\SYSTEM32\AUDIOSES.DLL
18:26:49.667      Base:69ED0000h  Size:   8000h  Name:avrt.dll         Path:C:\Windows\SYSTEM32\avrt.dll
18:26:49.667      Base:69FA0000h  Size:  1D000h  Name:winmmbase.dll    Path:C:\Windows\SYSTEM32\winmmbase.dll
18:26:49.667      Base:69FC0000h  Size:  7F000h  Name:DSOUND.dll       Path:C:\Windows\SYSTEM32\DSOUND.dll
18:26:49.667      Base:6AB30000h  Size:2417000h  Name:igc32.dll        Path:C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_bbafec440f419cb1\igc32.dll
18:26:49.667      Base:6DA00000h  Size: 139000h  Name:igdgmm32.dll     Path:C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_bbafec440f419cb1\igdgmm32.dll
18:26:49.667      Base:6DB70000h  Size:  A0000h  Name:apphelp.dll      Path:C:\Windows\SYSTEM32\apphelp.dll
18:26:49.667      Base:6F850000h  Size:  1A000h  Name:D2Glide.dll      Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Glide.dll
18:26:49.667      Base:6F870000h  Size:   E000h  Name:D2Gdi.dll        Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Gdi.dll
18:26:49.667      Base:6F880000h  Size:  36000h  Name:D2Direct3D.dll   Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Direct3D.dll
18:26:49.667      Base:6F8C0000h  Size:  13000h  Name:D2DDraw.dll      Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2DDraw.dll
18:26:49.667      Base:6F8E0000h  Size:  CF000h  Name:D2Win.dll        Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Win.dll
18:26:49.667      Base:6F9B0000h  Size:  19000h  Name:D2Sound.dll      Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Sound.dll
18:26:49.667      Base:6F9D0000h  Size:  3F000h  Name:D2Multi.dll      Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Multi.dll
18:26:49.667      Base:6FA20000h  Size:  14000h  Name:D2MCPClient.dll  Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2MCPClient.dll
18:26:49.667      Base:6FA40000h  Size:  2D000h  Name:D2Launch.dll     Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Launch.dll
18:26:49.667      Base:6FA80000h  Size:  21000h  Name:D2gfx.dll        Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2gfx.dll
18:26:49.667      Base:6FAB0000h  Size: 135000h  Name:D2Client.dll     Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Client.dll
18:26:49.667      Base:6FBF0000h  Size:  60000h  Name:Storm.dll        Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\Storm.dll
18:26:49.667      Base:6FD50000h  Size:  A9000h  Name:D2Common.dll     Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2Common.dll
18:26:49.667      Base:6FE10000h  Size: 108000h  Name:D2CMP.dll        Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\D2CMP.dll
18:26:49.667      Base:6FF20000h  Size:  24000h  Name:Bnclient.dll     Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\Bnclient.dll
18:26:49.667      Base:6FF50000h  Size:  5C000h  Name:Fog.dll          Path:C:\Program Files (x86)\Diablo II\D2SE\CORES\1.13c\Fog.dll
18:26:49.667      Base:70120000h  Size:  3F000h  Name:GLU32.dll        Path:C:\Windows\SYSTEM32\GLU32.dll
18:26:49.667      Base:70810000h  Size: 103000h  Name:OPENGL32.DLL     Path:C:\Windows\SYSTEM32\OPENGL32.DLL
18:26:49.667      Base:72CF0000h  Size:  C2000h  Name:dxgi.dll         Path:C:\Windows\SYSTEM32\dxgi.dll
18:26:49.667      Base:72DE0000h  Size:  24000h  Name:DEVOBJ.dll       Path:C:\Windows\System32\DEVOBJ.dll
18:26:49.667      Base:72E10000h  Size:  6B000h  Name:MMDevApi.dll     Path:C:\Windows\System32\MMDevApi.dll
18:26:49.667      Base:72F90000h  Size: 194000h  Name:twinapi.appcore  Path:C:\Windows\SYSTEM32\twinapi.appcore.dll
18:26:49.667      Base:73130000h  Size:  73000h  Name:WindowManagemen  Path:C:\Windows\System32\WindowManagementAPI.dll
18:26:49.667      Base:731B0000h  Size:  ED000h  Name:InputHost.dll    Path:C:\Windows\System32\InputHost.dll
18:26:49.667      Base:732A0000h  Size:  F3000h  Name:Windows.UI.dll   Path:C:\Windows\System32\Windows.UI.dll
18:26:49.667      Base:733A0000h  Size:  DB000h  Name:wintypes.dll     Path:C:\Windows\SYSTEM32\wintypes.dll
18:26:49.667      Base:73480000h  Size:  9B000h  Name:CoreMessaging.d  Path:C:\Windows\System32\CoreMessaging.dll
18:26:49.667      Base:73520000h  Size: 27E000h  Name:CoreUIComponent  Path:C:\Windows\System32\CoreUIComponents.dll
18:26:49.667      Base:737A0000h  Size:  B9000h  Name:textinputframew  Path:C:\Windows\SYSTEM32\textinputframework.dll
18:26:49.667      Base:73890000h  Size:  21000h  Name:SspiCli.dll      Path:C:\Windows\SYSTEM32\SspiCli.dll
18:26:49.667      Base:738D0000h  Size:  76000h  Name:WINSPOOL.DRV     Path:C:\Windows\SYSTEM32\WINSPOOL.DRV
18:26:49.667      Base:73B60000h  Size:  28000h  Name:WINMM.dll        Path:C:\Windows\SYSTEM32\WINMM.dll
18:26:49.667      Base:73B90000h  Size:  C2000h  Name:PROPSYS.dll      Path:C:\Windows\System32\PROPSYS.dll
18:26:49.667      Base:74930000h  Size:  25000h  Name:USERENV.dll      Path:C:\Windows\SYSTEM32\USERENV.dll
18:26:49.667      Base:74980000h  Size:  74000h  Name:UxTheme.dll      Path:C:\Windows\SYSTEM32\UxTheme.dll
18:26:49.667      Base:74B10000h  Size: 210000h  Name:comctl32.DLL     Path:C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_a8625c1886757984\comctl32.DLL
18:26:49.667      Base:74D40000h  Size:   B000h  Name:netutils.dll     Path:C:\Windows\SYSTEM32\netutils.dll
18:26:49.667      Base:74D60000h  Size:   8000h  Name:VERSION.dll      Path:C:\Windows\SYSTEM32\VERSION.dll
18:26:49.667      Base:74DB0000h  Size:   8000h  Name:rasadhlp.dll     Path:C:\Windows\System32\rasadhlp.dll
18:26:49.667      Base:74DD0000h  Size:   8000h  Name:WSOCK32.dll      Path:C:\Windows\SYSTEM32\WSOCK32.dll
18:26:49.667      Base:74E10000h  Size: 188000h  Name:dbghelp.dll      Path:C:\Windows\SYSTEM32\dbghelp.dll
18:26:49.667      Base:74FB0000h  Size:   F000h  Name:kernel.appcore.  Path:C:\Windows\SYSTEM32\kernel.appcore.dll
18:26:49.667      Base:74FC0000h  Size:   D000h  Name:UMPDC.dll        Path:C:\Windows\SYSTEM32\UMPDC.dll
18:26:49.667      Base:75620000h  Size:  29000h  Name:ntmarta.dll      Path:C:\Windows\SYSTEM32\ntmarta.dll
18:26:49.667      Base:75650000h  Size:  44000h  Name:powrprof.dll     Path:C:\Windows\SYSTEM32\powrprof.dll
18:26:49.667      Base:757B0000h  Size: 5B6000h  Name:SHELL32.dll      Path:C:\Windows\System32\SHELL32.dll
18:26:49.667      Base:75D70000h  Size:  45000h  Name:SHLWAPI.dll      Path:C:\Windows\System32\SHLWAPI.dll
18:26:49.667      Base:75DC0000h  Size: 280000h  Name:combase.dll      Path:C:\Windows\System32\combase.dll
18:26:49.667      Base:76040000h  Size:  18000h  Name:win32u.dll       Path:C:\Windows\System32\win32u.dll
18:26:49.667      Base:76060000h  Size: 120000h  Name:ucrtbase.dll     Path:C:\Windows\System32\ucrtbase.dll
18:26:49.667      Base:76180000h  Size:  D4000h  Name:MSCTF.dll        Path:C:\Windows\System32\MSCTF.dll
18:26:49.667      Base:76260000h  Size:  E3000h  Name:ole32.dll        Path:C:\Windows\System32\ole32.dll
18:26:49.667      Base:76350000h  Size:  7C000h  Name:ADVAPI32.dll     Path:C:\Windows\System32\ADVAPI32.dll
18:26:49.667      Base:76440000h  Size:  7E000h  Name:clbcatq.dll      Path:C:\Windows\System32\clbcatq.dll
18:26:49.667      Base:764C0000h  Size:  F0000h  Name:KERNEL32.DLL     Path:C:\Windows\System32\KERNEL32.DLL
18:26:49.667      Base:765B0000h  Size:   6000h  Name:psapi.dll        Path:C:\Windows\System32\psapi.dll
18:26:49.667      Base:765C0000h  Size:  19000h  Name:bcrypt.dll       Path:C:\Windows\System32\bcrypt.dll
18:26:49.667      Base:765E0000h  Size:  87000h  Name:shcore.dll       Path:C:\Windows\System32\shcore.dll
18:26:49.667      Base:76670000h  Size:  5F000h  Name:bcryptPrimitive  Path:C:\Windows\System32\bcryptPrimitives.dll
18:26:49.667      Base:766D0000h  Size:  AF000h  Name:comdlg32.dll     Path:C:\Windows\System32\comdlg32.dll
18:26:49.667      Base:76780000h  Size:  E5000h  Name:gdi32full.dll    Path:C:\Windows\System32\gdi32full.dll
18:26:49.667      Base:76870000h  Size:  BF000h  Name:RPCRT4.dll       Path:C:\Windows\System32\RPCRT4.dll
18:26:49.667      Base:76990000h  Size:  76000h  Name:sechost.dll      Path:C:\Windows\System32\sechost.dll
18:26:49.667      Base:76B90000h  Size:  3B000h  Name:cfgmgr32.dll     Path:C:\Windows\System32\cfgmgr32.dll
18:26:49.667      Base:76BD0000h  Size:  24000h  Name:GDI32.dll        Path:C:\Windows\System32\GDI32.dll
18:26:49.667      Base:76C00000h  Size:  BF000h  Name:msvcrt.dll       Path:C:\Windows\System32\msvcrt.dll
18:26:49.667      Base:76DE0000h  Size: 23A000h  Name:KERNELBASE.dll   Path:C:\Windows\System32\KERNELBASE.dll
18:26:49.667      Base:77020000h  Size: 434000h  Name:SETUPAPI.dll     Path:C:\Windows\System32\SETUPAPI.dll
18:26:49.667      Base:77460000h  Size:  63000h  Name:WS2_32.dll       Path:C:\Windows\System32\WS2_32.dll
18:26:49.667      Base:77530000h  Size:  25000h  Name:IMM32.DLL        Path:C:\Windows\System32\IMM32.DLL
18:26:49.667      Base:775F0000h  Size: 19C000h  Name:USER32.dll       Path:C:\Windows\System32\USER32.dll
18:26:49.667      Base:777E0000h  Size:  7B000h  Name:msvcp_win.dll    Path:C:\Windows\System32\msvcp_win.dll
18:26:49.667      Base:77860000h  Size:  96000h  Name:OLEAUT32.dll     Path:C:\Windows\System32\OLEAUT32.dll
18:26:49.667      Base:77910000h  Size: 1A4000h  Name:ntdll.dll        Path:C:\Windows\SYSTEM32\ntdll.dll

User avatar
Cypress
Moderator
Champion of the Light
Posts: 406
Joined: Fri Dec 01, 2017 2:08 am

Re: Elite items are blocked from crafting

Post by Cypress » Mon Jun 19, 2023 9:32 am

That's a really nasty crash, I've rarely ever had it where I can't even start up the single player screen. A few questions and tests to consider:
•Do you know which character is causing the issue (that is, can you separate your save files and find one specific file which is breaking the game)?
•Do you remember picking up any items on that character recently?
•Where were you last on that character? What act, what difficulty, did you pick up any quest items recently?
•Does the game stop crashing if you swap out your weapons.txt/armor.txt/misc.txt/itemtypes.txt with versions before you applied the changes (if you don't have these backed up, then you could try the files from the version of Modworked your mod is built on)?
Or if you'd prefer, you could give me your data/save files so that I can do some bug testing.

User avatar
Nagahaku
Junior Member
Paladin
Posts: 112
Joined: Sat Nov 30, 2019 1:11 am

Re: Elite items are blocked from crafting

Post by Nagahaku » Mon Jun 19, 2023 5:56 pm

OrderOfTheScribble wrote:
Sun Jun 18, 2023 11:30 pm
crashing as soon as I hit the Single Player button
remove all your assassin chars from the save folder and you might be able to enter the char select screen
due to some strange reasons, if some unknown specific modifications made within itemtypes.txt, assassin characters may cause a crash like this.
as what i experienced, an item type with the name 'wswd' would cause an assassin crash, and some unknown modifications with multiple equiv helmets may also cause that.
strange enough... i don't know why...

OrderOfTheScribble
Posts: 28
Joined: Wed Apr 05, 2023 7:35 pm
United States of America

Re: Elite items are blocked from crafting

Post by OrderOfTheScribble » Mon Jun 19, 2023 8:19 pm

I decided to try the mod again today without any changes first to see if the problem fixed itself, and apparently it did. I was even able to play an assassin for a session. My computer was off for some time since my last post, which means it must've been a random crash that needed a hard restart. I don't get why a random crash like that would be fixed only by a hard restart and not a soft restart.

Edit: After exiting D2SE, the crash returned the next time I started up the mod. I still don't know what's causing the crash, but I can now go through testing, so I'll keep editing this post as I get more info on the crash.

Edit 2: I tried deleting my assassin and PlugY backups and was able to play 1 session, then the crash returned. I then deleted PlugY backups again and disabled that feature. With backups gone, I was able to get 1 more session in, then the crash returned after exiting all the way out. I then moved my manual backups all the way out of the D2 folder, and the crash is still there. I also disabled PlugY's ActiveCheckMemory setting during this testing, so I can rule that out as a cause.

User avatar
Cypress
Moderator
Champion of the Light
Posts: 406
Joined: Fri Dec 01, 2017 2:08 am

Re: Elite items are blocked from crafting

Post by Cypress » Tue Jun 20, 2023 11:25 pm

If the crash is happening randomly, then that sounds kind of like the monstats baseid crash. It's a particularly nasty one since it happens at random and it is easy to accidentally make happen, so a lot of mods even release with this crash still in them.

OrderOfTheScribble
Posts: 28
Joined: Wed Apr 05, 2023 7:35 pm
United States of America

Re: Elite items are blocked from crafting

Post by OrderOfTheScribble » Thu Jun 22, 2023 5:19 am

I've downloaded the "d2txtanalyzer updated by cla$$ics" program from the Phrozen Keep's download section, and it didn't find any baseid issues. It did show me that I didn't fully implement the item types changes (i.e. I still had the blocking weapons, and I didn't apply the changes to a couple runewords I made), so I deleted the blocking weapon rows in Weapons.txt and applies the item type changes to Runes.txt. I also edited Levels.txt to remove monsters that the program found non-existent. After all these changes, I tried playing the mod again, and it still crashed at the same spot. This suggests that it's not the baseid crash, even if it's as random as one.

Edit: I've deleted the save folder, and I'm no longer getting the crash. It looks like it was just a save issue manifested in an unusual way.

Post Reply

Return to “General Mod Making”