Jump to content

Weird script compiling issue


Gambit77

Recommended Posts

When I try launching the game I'm getting an error at the Compiling Scripts file parsing 1347/1388 mark.

This is the error message I'm getting, and I'm not sure why because the file doesn't end at line 8.

 

Error [mod0000_mergedfiles]game\player\playerwitcher.ws(7901): Unexpected end of file found after '{' at line 8v

 

Here's the text from that file

 

  Reveal hidden contents

 

 

 

Link to comment
Share on other sites

Hello,

 

Did you merged the playerwitcher.ws file with the Script Merger? Was there any unresolvable conflicts that was done by manually merging?

It seems you lost a }

Try to open the merged version of the script (Wither 3 directory\mods\mod_000merged\content\scripts\game\player\playerwitcher.ws or something like this) in notepad and add the } bracket at the end. something like this (the red one is the newly added):

 

function Debug_FocusBoyFocusGain()
{
var focusGain : float;
focusGain = FactsQuerySum("debug_fact_focus_boy") ;
GainStat(BCS_Focus, focusGain );
}
}
}
exec function fuqfep1()
{
theGame.GetJournalManager().ForceUntrackingQuestForEP1Savegame();
}
///////////////////////////////////////////////////////////////////////
// HACKS! DO NOT USE THIS!!! IF IT IS REAAALY NEEDED ASK BEFORE USING!!!! - MAREK
///////////////////////////////////////////////////////////////////////
function GetWitcherPlayer() : W3PlayerWitcher
{
return (W3PlayerWitcher)thePlayer;
}
I'm unable to test it for you now, but maybe it solves your issue.
Link to comment
Share on other sites

  • 3 months later...

i had the same error, which i resolved in closing the file with }. now i get a new error:

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

 

can anyone help? please?

Link to comment
Share on other sites

  • 6 months later...
  • 1 year later...
  • 2 months later...

//---=== modPreparations ===---

 

statemachine class W3PlayerWitcher extends CR4Player

} <<Anyone can help me with this? Error [mod0000_mergedfiles]game\player\playerwitcher.ws(66): Found unexpected '}'

//---=== modPreparations ===---

var foundOpenFire : bool;

var openFireEnt : CGameplayEntity;

var spawnedCampFire : W3Campfire;

var prepConfig : CModPreparationsConfig;

var prepError : EPrepError;

//---=== modPreparations ===---

//modSOR_Speed++

private var cSpeedMult : float; default cSpeedMult = 1.0f;

 

 

//modSOR_Speed--

//modSOR_Bolts++

private saved var BoltsOff :int; default BoltsOff = 0;

private var noBoltsArmors : array<name>;

 

//modSOR_Bolts--

//modSOR_Cloak++

private saved var CloakOff :int; default CloakOff = 0;

 

 

Anyone can help me with this?

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

Edited by Atilla2281
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

Error [mod0000_mergedfiles]game\player\playerinput.ws(3476): Unexpected end of file found after '{' at line 9

 

Yeah i'm having the same problem but with line 9 and have no idea and have looked for a solution and can't seem to find one some help or a clue would be very helpful thanks

Link to comment
Share on other sites

  • 5 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...