Script Compilation Error with modded game

+
Hello all, i have also a problem, after remerge my mod files, i have this...
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(1201): syntax error, unexpected TOKEN_VAR, near 'var'

Can someone help me please ? Thanks in advance
Post automatically merged:

Okay no... Stupied problem.... Just not merge....
 
Last edited:
Hello everyone,

Error [mod0000_mergedfiles]game\player\playerwitcher.ws(6303): Function 'LogWithValueStr' does not take 2 param(s)

Error [content0]game\gameplay\ability\playerabilitymanager.ws(618): Function 'LogWithValueStr' does not take 2 param(s)

Error [content0]game\gameplay\ability\playerabilitymanager.ws(1620): Function 'LogWithValueStr' does not take 2 param(s)

Error [content0]game\player\states\vehicles\usevehicle.ws(1601): Function 'LogWithValueStr' does not take 2 param(s)



Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.

Warning [content0]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.

Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.



Any idea how to fix this ? (already tried script merger or Unification patch). I don't think this is a mod problem since i've always played with these. This problem appeared when i tried to install and outdated mod then deleting it.
 
I've just gone through merging a bunch of mods, really taking my time, and I've only got one script compilation error left after fixing a couple myself. Not sure what to do about it. Any help would be much appreciated!

Error [mod0000_mergedfiles]game\gui\hud\modules\hudmoduleenemyfocus.ws(1103): Found unexpected '}'

https://pastebin.com/aCPZ4VT5
 
Hello, i have this issue:
Error [mod0000_mergedfiles]game\player\r4player.ws(15661): Found unexpected '}'

Can someone help me with fixing that? This is the only code that i have problem with.

1626811252908.png
 
I've just gone through merging a bunch of mods, really taking my time, and I've only got one script compilation error left after fixing a couple myself. Not sure what to do about it. Any help would be much appreciated!

Error [mod0000_mergedfiles]game\gui\hud\modules\hudmoduleenemyfocus.ws(1103): Found unexpected '}'

https://pastebin.com/aCPZ4VT5


Try getting rid of the } on line 402
 
I have this problem with Primal Needs merging. Please help!

Error [mod0000_mergedfiles]game\gui\inventorycontext.ws(740): Unexpected end of file found after '{' at line 92

 
hey guys please help me i have this error and i only have 3 mods ive got this error 'Error [mod0000_mergedfiles]game\actor.ws(3066): syntax error, unexpected TOKEN_IDENT, expecting TOKEN_FUNCTION, near 'lastWasHitTime',any solution pls help ive spent 10 days on this,https://pastebin.com/2JU4Av81
 
Hi, just added merged files, had 4 errors, managed to get rid of 2, but my skills in programming are limited, anyone knows what should I do?
 

Attachments

  • Zrzut ekranu 2021-07-31 170759.png
    Zrzut ekranu 2021-07-31 170759.png
    11.5 KB · Views: 76
Error [modnewlightningeffect]local\lightnings.ws(8): 'vLight' is not a member of 'handle:CR4Player'

Warning [modenablemimics_blinking]game\actor.ws(246): Native function 'IsPlayingChatScene' was not exported from class 'CActor' in C++ code.
Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [content0]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.
 
Because I can't make a new post here is what I can provide, I'd love any help cause I'm at my wits end and about to just trash my modding project and attempts and play something else:


Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11887): Exec function 'fuqfep1' cannot be declared inside a class.

Warning [mod0000_mergedfiles]game\actor.ws(243): Native function 'IsPlayingChatScene' was not exported from class 'CActor' in C++ code.
Warning [modsharedimports]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [modsharedimports]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.

Here is my playerwitcher.ws file aswell:https://pastebin.com/EcQDSYsi

Please any help would be nice. Or what to edit or change! Thank you!! :D
 
Looking for some help to fix this error:

Error [modamm]local\amm.ws(6259): Could not find function 'getAMM'
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(393): syntax error, unexpected TOKEN_TIMER, near 'timer'
Error [modamm]game\gameplay\items\throwables\throwable.ws(86): Could not find function 'getAMM'
Error [modamm]game\gameplay\items\throwables\throwable.ws(100): Could not find function 'getAMM'
Error [modamm]game\vehicles\horse\horsemanager.ws(123): Could not find function 'getAMM'
Error [modamm]game\gameplay\items\swords\witchersword.ws(102): Could not find function 'getAMM'
Error [modamm]game\player\states\combatsword.ws(57): Could not find function 'getAMM'

Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [content0]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.

Below you can find my mods list (ma is the shields mod) and I have also attached my playerwitcher.ws file as well: https://pastebin.com/s49dFKaG

Any help would greatly be appreciated!
 

Attachments

  • Capture.PNG
    Capture.PNG
    151 KB · Views: 53
Looking for some help to fix this error:

Error [mod0000_mergedfiles]game\player\r4player.ws(3186): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(9906): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(13650): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(13651): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(14067): Found unexpected '}'
Error [mod0000_mergedfiles]game\player\r4player.ws(15074): Found unexpected '}'

file r4player.ws: https://pastebin.com/HwUrGAmc

Thanks!
 
Hey, I'm having this error:
Error [mod0000_mergedfiles]game\player\playerinput.ws(3624): Unexpected end of file found after '{' at line 10
- https://pastebin.com/TyVvb5SG

I tried finding solutions everywhere, but no chance. Some one on reddit said I should find the missing '}' or somthing, but I looked through the entire playerinput.ws file using Notepad++ and script merger four times each already and couldn't find anything wrong. I'm also very new to modding The Witcher, so I might be missing something here.

Thank you soooo much for anyone who can help. <3
 
Just merged a bunch of my mods, I have spent days and hours trying to mod this game but it either doesn't launch but shows up in task manager or I get continious errors like these and don't know how to fix them.

If someone's able to help me out here, that'd be greatly appreciated.

"
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(4595): Found unexpected '}'
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(4596): Found unexpected '}'
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(4598): Found unexpected '}'
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(4654): Found unexpected '}'
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(4656): Found unexpected '}'
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(4852): Found unexpected '}'
Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(5957): Found unexpected '}'
Error [mod0000_mergedfiles]game\gameplay\focus\focus.ws(644): Unexpected end of file found after '{' at line 381
Error [mod0000_mergedfiles]game\player\r4player.ws(15230): Unexpected end of file found after '{' at line 11214
"

( r4Player.ws )

( focus.ws )

( inventorycomponent.ws )


It'd be greatly appreciated if I could end up getting my issues fixed. Is there perhaps a discord anywhere where people actively help with such issues? I have 111 minutes on this game and I haven't even played a single second of it, it's all been trying to mod it with just there 50-60 ish mods, not even. So, it sucks failing over and over again.
 
Error [mod0000_mergedfiles]game\gui\menus\inventorymenu.ws(4342): syntax error, unexpected TOKEN_FUNCTION, expecting '{' or ';', near 'function'

help!



Starting at line 4339 is the following code

//mod__hoods++ eNoodles
function HoodsAnim()
//TKMC++ eNoodles
function TKMCAnim()
{
PlayPaperdollAnimation('armor');
}
//--mod_hoods
//--TKMC

Line 4340 is 'function HoodsAnim()' which declares a function has no body it, the body would be inside of braces so things go sideways from there. There's a few ways to fix this, since this is the only place HoodsAnim() appears in your file one way is to comment out line 4340 by changing it to

// function HoodsAnim()

See if that helps.
 
Last edited:
Hello First time modding the witcher 3 and i have this problem that when i start the game i get

Error [mod0000_mergedfiles]game\r4game.ws(2361): Unexpected end of file found after '{' at line 37

Now i have used script merger after instaling every mod. by reading through this board i understand that it means that there is missing a { somewhere in the file. I have no ideer how to found out where it is missing. Hope someone can help me with this.


I will answer any questions.
 
Top Bottom