The Witcher 3: Wild Hunt

The Witcher 3: Wild Hunt

View Stats:
koekietje Dec 30, 2019 @ 10:32am
Script compilation error fix?
Hey guys im fairly noob when it comes to modding and just started using the script merger. I now have the error when trying to start the game:

Error [mod0000_mergedfiles]game\player\r4player.ws(3493): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(6942): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(6956): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(8128): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(8129): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(9249): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(15230): Found unexpected '}'

My question is how do i resolve this? Which program do i need(to install) to solve it, for example notepad or something else?

Many thanks in advance.


here is my r4player.ws

https://pastebin.com/8ksgQhpR
Last edited by koekietje; Dec 30, 2019 @ 1:48pm
Originally posted by _⁧⁧i:
You should not modify the scripts yourself because that is the programming code that takes care of everything going on in the game and I doubt you have any clue what any of it does.

What you have to do is once you install the mods, first read if they're even compatible with X mods are some are not no matter what you do, then use script merger and merge them.

If you don't know exactly how things work then try and see this video:
https://www.youtube.com/watch?v=0JO9KuyGaeM&t=473s

It helped few folks, it might help you as well.
< >
Showing 1-2 of 2 comments
koekietje Dec 30, 2019 @ 3:44pm 
Alright so it wasnt the r4player.ws but the r4player that needed modifying. I deleted al '}' which gave me errors however i now have this error:

Error [mod0000_mergedfiles]game\player\r4player.ws(1821): syntax error, unexpected TOKEN_VAR, expecting TOKEN_FUNCTION, near 'var'
The author of this thread has indicated that this post answers the original topic.
_⁧⁧i Jan 2, 2020 @ 12:02pm 
You should not modify the scripts yourself because that is the programming code that takes care of everything going on in the game and I doubt you have any clue what any of it does.

What you have to do is once you install the mods, first read if they're even compatible with X mods are some are not no matter what you do, then use script merger and merge them.

If you don't know exactly how things work then try and see this video:
https://www.youtube.com/watch?v=0JO9KuyGaeM&t=473s

It helped few folks, it might help you as well.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Dec 30, 2019 @ 10:32am
Posts: 2