The Witcher 3: Wild Hunt

The Witcher 3: Wild Hunt

View Stats:
Twerky Nov 30, 2023 @ 2:08pm
Getting errors every time I try to merge scripts for mods through the mod manager
I thought Ultra Gore 2 Next Gen mod was causing the issue, but after uninstalling it and trying to launch the game through the manager, I'm getting the same error. I can't for the life of me figure out where I need to close the script, or even what I need to do exactly.

EDIT: Welp I can't upload screenshots of the mod manager and the errors in the scripts, so this is all pointless..


Relevant screenshots:
ht.tps:/snipboard.io/fP5Qgd.jpg
ht.tps:/snipboard.io/BMGZxE.jpg
ht.tps:/snipboard.io/39t5dy.jpg
Last edited by Twerky; Dec 1, 2023 @ 4:28am
< >
Showing 1-8 of 8 comments
n0mad23 Nov 30, 2023 @ 2:43pm 
Are you using Script Merger?
Twerky Nov 30, 2023 @ 3:30pm 
Originally posted by n0mad23:
Are you using Script Merger?
Yeah, I've downloaded the mod manager + script merger, installed the mods I want to use, Ran the merger, everything seems to merge just fine except for UltraGore2NG trying to merge with npc.ws, which then opens the script window.

Window A (Vanilla) has 4 green lines that say
if ( stats.HasAbility( 'NPCDoNotGainBoost' ) ) return;
if ( stats.HasAbility( 'animal_rat_base' ) ) return;
if ( stats.HasAbility( 'mon_djinn' ) ) return;
if ( IsAnimal() ) return;

Window B (mod0000_mergedfiles) removed most and moved
if ( stats.HasAbility( 'NPCDoNotGainBoost' ) ) return;
several lines below and it's red.

Window C (ModUltraGore2NG) is pretty much the same as A

and the forth window which says Output follows the path where I've installed the game to npc.ws with a yellow line that says <Merge conflict>

Trying to launch the game gives me the error:
Error [mod0000_mergedfiles]game\npc\npc.ws(4814): Unexpected end of file found after '{' at line 24

I'm sorry if all of this is confusing to follow, if there's a way for me to upload screenshots without them getting removed I'd like to know. I've spent the past hour trying to figure out which line needs to be closed.
n0mad23 Nov 30, 2023 @ 7:36pm 
When Script Merger opens up that script window, how many unresolved errors does it say there are?

I ask because I had a similar "Unexpected end of file found after '{' at line" error at one point, and it was because I'd resolved one conflict, but there was another I hadn't noticed a bit further down the code.
Twerky Dec 1, 2023 @ 1:48am 
Originally posted by n0mad23:
When Script Merger opens up that script window, how many unresolved errors does it say there are?

I ask because I had a similar "Unexpected end of file found after '{' at line" error at one point, and it was because I'd resolved one conflict, but there was another I hadn't noticed a bit further down the code.

Just the one I mentioned above.
Twerky Dec 1, 2023 @ 4:30am 
I updated the original post to show the links, just remove the dots between the https, I hope they provide some clarity.
n0mad23 Dec 1, 2023 @ 9:49am 
You don't have that many mods involved - I think your best bet is to remove them all, run script merger and fix the original .ws files, then put them back in one by one using script merger each time.

I'm using the same utragore 2 as you, so I know that one does work. I'm guessing perhaps the issue is a mod that hasn't been updated to 4.04 is the culprit but can't tell from your screen shots.
Twerky Dec 1, 2023 @ 11:29am 
Alright so I managed to finally get everything sorted, the main villain of the story was the autoloot mod, (and a couple of mods that had a Next Gen version of themselves which I installed now) I removed the autoloot mod, despite trying a fix I found online that said to modify a certain file and certain lines. I'll come back and try to fix the autolooter at another time, but so far everything is in working order. if I find a fix I'll come back and update the post.

Either way thank you, n0mad! couldn't have done with you mate.
n0mad23 Dec 1, 2023 @ 12:50pm 
I love it when I can actually help in some way. Makes me feel useful. Lol.

Best of luck Twerky.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Nov 30, 2023 @ 2:08pm
Posts: 8