I don't know if this works for you, but there is an already defined class in wmkquickslotsinventory.ws (in Lazarus) that is also defined in inventoryMenu.ws from ASM. It leads to this when attempting to compile scripts:
Error [mod_w3eelazarusproject]local\wmkquickslotsinventory.ws(2): Class 'CR4InventoryMenu' already defined.
Setting up priority properly doesn't fix it. It requires to be fixed manually. Since this is not related to any other mod, I'm curious how this works for anyone else without fixing it manually.
Do I have the correct version of ASM? I'm using the main file, version 1.1.
This conflict is actually already merged into your file. But it ignores the fact that the same class is also defined in wmkquickslotsinventory.ws. That's why it doesn't work. But I don't understand why it doesn't care about ASM being loaded before or even after Lazarus, while your merged scripts have the highest priority over them. In your merged script the conflicting class has been renamed and changed according to this. Why does the game still complains about the one in ASM?
EDIT: Maybe I've hit a mod limit or something.. I have copied the contents of your mod into my merged files from ScriptMerger and now it works.
Just to let you know: This works fine with the latest version of ASM. It even works great with WPI and ASM Equipper. Just overwrite ASM with this mod's files. Don't copy the entire mod folder as a seperate mod into your mods folder!
- Instead open this mod's archive, go to "mod_W3EE-Lazarus+ASM" and copy the "content" folder. - Now go into your game's Mods folder, open the folder "mod_ASM". Paste and overwrite the content folder you see here (confirm to overwrite files!). - set priorities (I load ASM, WPI and ASM Equipper BEFORE W3EE and Lazarus). - Use Script Merger to resolve conflicts. Most of them should be resolved automatically.
Good mod bro, but i think your mod disables the saddlebag weight limit info in the stash inventory which is a bad thing imho. Maybe you would want to look into it
11 comments
Error [mod_w3eelazarusproject]local\wmkquickslotsinventory.ws(2): Class 'CR4InventoryMenu' already defined.
Setting up priority properly doesn't fix it. It requires to be fixed manually.
Since this is not related to any other mod, I'm curious how this works for anyone else without fixing it manually.
Do I have the correct version of ASM? I'm using the main file, version 1.1.
This conflict is actually already merged into your file. But it ignores the fact that the same class is also defined in wmkquickslotsinventory.ws. That's why it doesn't work. But I don't understand why it doesn't care about ASM being loaded before or even after Lazarus, while your merged scripts have the highest priority over them. In your merged script the conflicting class has been renamed and changed according to this. Why does the game still complains about the one in ASM?
EDIT: Maybe I've hit a mod limit or something.. I have copied the contents of your mod into my merged files from ScriptMerger and now it works.
Don't copy the entire mod folder as a seperate mod into your mods folder!
- Instead open this mod's archive, go to "mod_W3EE-Lazarus+ASM" and copy the "content" folder.
- Now go into your game's Mods folder, open the folder "mod_ASM". Paste and overwrite the content folder you see here (confirm to overwrite files!).
- set priorities (I load ASM, WPI and ASM Equipper BEFORE W3EE and Lazarus).
- Use Script Merger to resolve conflicts. Most of them should be resolved automatically.