Script Compilation Error with modded game

+
Good morning,

Can someone help me with the following error please:

Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11128): Found unexpected '}'

I could be wrong, but it seem to me that the } at the line 11128 shouldn't be there.
So try to simply delete it.
 
I could be wrong, but it seem to me that the } at the line 11128 shouldn't be there.
So try to simply delete it.

After doing as you told me here is what I got:
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(3499): syntax error, unexpected TOKEN_VAR, expecting TOKEN_FUNCTION, near 'var'
 
After doing as you told me here is what I got:
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(3499): syntax error, unexpected TOKEN_VAR, expecting TOKEN_FUNCTION, near 'var'
Ok, so I guess, it should be "missplaced", but I don't really know where it should be :(
 
Could someone help me with this errors?
  1. Error [mod0000_mergedfiles]game\player\playerwitcher.ws(388): syntax error, unexpected TOKEN_IDENT, expecting TOKEN_FUNCTION, near 'AddTimer'
  2. Error [mod0000_mergedfiles]game\player\r4player.ws(15105): Found unexpected '}'
  3. Mods
    mods.PNG
 
Hello. Could anyone help me? I have no idea why this keeps happening after I uninstalled a mod. I know this is a difficult task knowing how many mods I use but before it worked perfectly. Mainly this error keeps happening:
Error [mod0000_mergedfiles]game\player\playerinput.ws(3347): Unexpected bracket '}', expected ')' to match '(' on line 3338
Error [mod0000_mergedfiles]game\player\playerinput.ws(3384): Unexpected bracket '}', expected ')' to match '(' on line 3338
Error [mod0000_mergedfiles]game\player\playerinput.ws(3385): Unexpected end of file found after '(' at line 3338
I tried fixing it by myself but it made it even worse.
Here's the pastebin for the playerinput.ws: https://pastebin.com/tsd0z0Gb . I will be more than thankful if anyone could help me.
Note: I am using 4.03 version of the game if that matters by any means
 
Last edited:
Hey,
can someone help me with this one?

Error [content0]game\gameplay\effects\effects\damageovertime\bleedingeffect.ws(47): Unable to parse value
Error [content0]game\gameplay\effects\effects\damageovertime\bleedingeffect.ws(80): Unable to parse value
Error [content0]game\gameplay\effects\effects\damageovertime\bleedingeffect.ws(113): Unable to parse value
Error [content0]game\gameplay\effects\effects\potion\reinaldphiltre.ws(12): Unable to parse value

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.


playerWitcher.ws : https://pastebin.com/k0Df6qZC
inventoryComponent.ws : https://pastebin.com/1xgBgkyG
 
Hi, I have been facing error "Error [mod0000_mergedfiles]game\player\playerwitcher.ws(387): syntax error, unexpected TOKEN_IDENT, expecting TOKEN_FUNCTION, near 'ManageSetBonusesSoundbanks'" while scripting the mods. The changes i have made was in line 392 and 11263 by removing the unexpected "}".
I dont know what to do now. The code is below in a txt format.
 

Attachments

  • doc.txt
    319.6 KB · Views: 17
Hello guys,
can you help me with this pls?
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11767): syntax error, unexpected TOKEN_EVENT, expecting '{' or ';', near 'event'

I've already fixed it, removed the mod that caused this error, reinstalled it and it works.
 
Last edited:
Hello guys,
I really need help. I messed up by installing some mods and changing some files.

Now if i start the game with REDlauncher over Steam i get this Error:

Error [mod0000_mergedfiles]game\npc\npc.ws(384): Could not find function 'activateMimicsAndHiResShadows'
Error [mod0000_mergedfiles]game\npc\npc.ws(456): Could not find function 'modDuplicateEntitiesCheck'
Error [content0]game\vehicles\horse\horsecomponent.ws(247): Function 'IsMountedByPlayer' does not take 1 param(s)
Error [content0]game\vehicles\horse\horsecomponent.ws(360): Function 'IsMountedByPlayer' does not take 1 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.

I would thank u 1000 times if some genius can help me :)

Some info:
- GOTY
- Mod Manager
- Script Merger
1703697805629.png
 
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11914): Function 'ToggleRadialMenuInput' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11930): Function 'EnableRadialInput' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11936): Function 'EnableRadialMenuInput' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11941): Function 'DrinkRadialPotionUpper' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11947): Function 'DrinkRadialPotionLower' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11953): Function 'GetRadialPopupShown' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11958): Function 'PotionSelectionPopup' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11979): Function 'OilSelectionPopup' is already defined in class 'W3PlayerWitcher'.
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(12009): Function 'CheckRadialMenu' is already defined in class 'W3PlayerWitcher'.

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.

A little help please?
 
Top Bottom