TrafficCop00 Posted June 19, 2016 Share Posted June 19, 2016 (edited) Every time I try to launch the game I keep getting Script Compilation Errors. I had 2 more but I edited the file to remove the problem but I don't know what to change in the GetCriticalHitChance line. The line for the Ciri file is the same The line is: "function GetCriticalHitChance( isLightAttack : bool, isHeavyAttack : bool, target : CActor, victimMonsterCategory : EMonsterCategory, isBolt : bool ) : float" and I would need to remove two of the parameters. Any help would be greatly appreciated Logs: Error [content0]game\replacers\ciri.ws(327): Function 'GetCriticalHitChance' takes 5 parameter(s) which is inconsistent with base function (3).Error [content0]game\player\playerwitcher.ws(2039): Function 'GetCriticalHitChance' takes 5 parameter(s) which is inconsistent with base function (3). 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. Edited June 19, 2016 by TrafficCop00 Link to comment Share on other sites More sharing options...
delVi Posted June 22, 2016 Share Posted June 22, 2016 same here... Link to comment Share on other sites More sharing options...
Demoniko Posted June 22, 2016 Share Posted June 22, 2016 CPlayerWitcher::GetCriticalHitChance`5 is derived from CR4Player::GetCriticalHitChance`5, which is defined in scripts/game/player/r4player.ws, probably signature of this function was changed in some version and you have outdated mod that changes r4player.ws file. Link to comment Share on other sites More sharing options...
Recommended Posts