It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I've been merging scripts and fixing conflicts and everything else seems to be working well except for the following script compilation error when trying to load the game:

Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(6344): Unexpected end of file found after '{' at line 54

Looking at the file I thought it was just a syntax error but what I thought was a fix didn't work (though I'm far from an expert), here's what I've got, any help would be much appreciated:

{
import const var itemName : name;
import const var quantity : int;
import const var informGui : bool;
import const var ids : array< SItemUniqueId >;
};

import class CInventoryComponent extends CComponent
{ <<<<<<<<<<<<*line 54*
editable var priceMult : float;
editable var priceRepairMult : float;
editable var priceRepair : float;
editable var fundsType : EInventoryFundsType;

private var recentlyAddedItems : array<SItemUniqueId>;
private var fundsMax : int;
private var daysToIncreaseFunds : int;

// FCR3 --
private var enemies : array<CGameplayEntity>;
private var highestEnemyLevel : int;
private var lastEnemyCount : int;
private var lvlCheck1,lvlCheck2 : bool;
private var emptyCheck,mapCheck : bool;
private var empty : bool;
// -- FCR3

default priceMult = 1.0;
default priceRepairMult = 1.0;
default priceRepair = 10.0;
default fundsType = EInventoryFunds_Avg;
default daysToIncreaseFunds = 5;




public function GetFundsType() : EInventoryFundsType
{
return fundsType;
}
No posts in this topic were marked as the solution yet. If you can help, add your reply
avatar
Reibusu: I've been merging scripts and fixing conflicts and everything else seems to be working well except for the following script compilation error when trying to load the game:

Error [mod0000_mergedfiles]game\components\inventorycomponent.ws(6344): Unexpected end of file found after '{' at line 54

Looking at the file I thought it was just a syntax error but what I thought was a fix didn't work (though I'm far from an expert), here's what I've got, any help would be much appreciated:
The error is not in the part you have pasted here. There is a bad merge down the line and it has happened before the line 5549.

Try to locate what mod does this by merging one mod at a time which affects the invertorycomponent.ws