Larian Studios
Posted By: T-Rection Update broke my mod - 26/10/17 06:59 PM
Just wondering what was changed with the new update to the editor, i have been working on a race mod for about a week now and i finally got it working, this morning i start up steam to find that there has been an update and upon starting the game have found that it has broken my mod, nothing in the mod file or editor files have been changed but my mod and a few others from steam no longer works.
Posted By: T-Rection Re: Update broke my mod - 26/10/17 07:49 PM
It would appear that the engine somehow had overwritten my mod along with a couple others. I managed to fix this by uninstalling and reinstalling the steam mods as well as deleting my race mod and remaking it as a new project. Everything seems to be working now *fingers crossed*
Posted By: LaughingLeader Re: Update broke my mod - 26/10/17 09:09 PM
Not sure if this is related to your mod, but I had to generate definitions + build my mods with story scripts to get them to load properly in-game. This is probably because they changed the MoveAllItemsTo call and added an additional parameter, which then causes an error in a few base scripts (if you don't generate definitions).
Posted By: monzua Re: Update broke my mod - 26/10/17 09:19 PM
JESUS - ONE HOUR WASTED - sorry to be upset but THIS is soo annoing. WHY???
Posted By: monzua Re: Update broke my mod - 26/10/17 09:21 PM
Please tell me in simple english how to fix it before i start raging again ^^
Posted By: fireundubh Re: Update broke my mod - 26/10/17 09:25 PM
You should be more specific about your issue. "Broken" and "no longer works" are not enough for third-party diagnosis.
Posted By: monzua Re: Update broke my mod - 26/10/17 09:27 PM
Originally Posted by LaughingLeader
Not sure if this is related to your mod, but I had to generate definitions + build my mods with story scripts to get them to load properly in-game. This is probably because they changed the MoveAllItemsTo call and added an additional parameter, which then causes an error in a few base scripts (if you don't generate definitions).


How can i fix this`?
Posted By: Windemere Re: Update broke my mod - 26/10/17 09:29 PM
Originally Posted by monzua
Originally Posted by LaughingLeader
Not sure if this is related to your mod, but I had to generate definitions + build my mods with story scripts to get them to load properly in-game. This is probably because they changed the MoveAllItemsTo call and added an additional parameter, which then causes an error in a few base scripts (if you don't generate definitions).


How can i fix this`?


Open up the story editor and select File->Generate Definitions, Build, and Reload.
Posted By: monzua Re: Update broke my mod - 26/10/17 09:31 PM
Originally Posted by Windemere
Originally Posted by monzua
Originally Posted by LaughingLeader
Not sure if this is related to your mod, but I had to generate definitions + build my mods with story scripts to get them to load properly in-game. This is probably because they changed the MoveAllItemsTo call and added an additional parameter, which then causes an error in a few base scripts (if you don't generate definitions).


How can i fix this`?


Open up the story editor and select File->Generate Definitions, Build, and Re-load.


Doesnt fix it for me sadly.


Posted By: monzua Re: Update broke my mod - 26/10/17 09:33 PM
[Linked Image]
Posted By: monzua Re: Update broke my mod - 26/10/17 09:45 PM
I was able to fix it by creating a copy of _Global & _CRIME_Prison in my mod and then manually adding the new parameter to the calls .... lets hope for the best I used correct Parameter so I didnt break anything...

PS: You can only edit the script (you didnt creat) by right clicking and selecting "Copy to my mod.." What a shame i wasted another 15 minutes on this´...
Posted By: LaughingLeader Re: Update broke my mod - 26/10/17 10:00 PM
Originally Posted by monzua
I was able to fix it by creating a copy of _Global & _CRIME_Prison in my mod and then manually adding the new parameter to the calls .... lets hope for the best I used correct Parameter so I didnt break anything...

Did you originally overwrite those files?

Those files had "errors" for me as well until I clicked "File -> Generate Definitions & Build". The errors are from the MoveAllItemsTo call gaining a new parameter, and your definitions file not having that definition, hence why you need to rebuild the definitions. The base story files should have been updated from the last patch, if your files were updated correctly.
Posted By: T-Rection Re: Update broke my mod - 27/10/17 01:40 AM
It was as if my mod no longer existed, just to help with anyone else or to clarify, i didnt overwrite any of the games files, it was as if the game no longer recognized my mod. All the files were still their and nothing had been changed and yet it no longer worked in game. The only way i managed to fix this issue was to fully delete my mod from the game files and delete the project itself from the editor and then start it all over again as a new project. Everything seems to be working fine now so i honestly have no idea why that happened..
Posted By: Cromcrom Re: Update broke my mod - 27/10/17 10:56 AM
Mod is broken, I have to generate definitions every times, and some flags don't work anymore. F*g crap s*t
Posted By: monzua Re: Update broke my mod - 27/10/17 03:10 PM
Originally Posted by Cromcrom
Mod is broken, I have to generate definitions every times, and some flags don't work anymore. F*g crap s*t


i feel your pain - i had to manually edit larians OWN default scripts to make them work again - god knows why they put so many obstancles into the editor...
Posted By: D00med Re: Update broke my mod - 28/10/17 07:25 PM
I don't know what the update has done, but mods seem broken. For example my own mod seems to work on my local machine, but the published version on steam is completely non-functional.

https://imgur.com/a/mXWR4 This shows the crate I added (with books) in editor. I load this very mod published on steam on my 2nd PC and there is nothing there (No crate or trace of any of my mod). At the same time I'm getting a warning on my 2nd pc telling me that I have invalid dependencies https://imgur.com/a/sHq8d People are reporting the same problem to me. I have manually deleted everything and re-installed on my 2nd PC, problems remain.

So I'm guessing the editor is broke or the publish button isn't publishing everything needed?
Posted By: JRavens Re: Update broke my mod - 29/10/17 01:41 AM
@D00Med - have you tried clearing the local mods AND mods folder (both folders) on the 2nd PC and resubscribing to it?

1) Unsubscribe
2) Clean out MODS and LOCAL MODS in My Documents\Larian\Divinity 2\
3) Resubscribe

Test and see if that makes any difference.
Posted By: Grondoth Re: Update broke my mod - 29/10/17 02:59 AM
Anyone figure out how to do model replacement now? The old ways no longer work.
© Larian Studios forums