PureTryOut 0 Report post Posted November 5, 2014 I've noticed that I get lots of errors in my console: ******* script runtime error ******* cannot cast undefined to bool: (file 'maps/mp/gametypes/_globallogic.gsc', line 5133) if ( !self.cancelKillcam && doKillcam && level.killcam ) * called from: (file 'maps/mp/gametypes/_callbacksetup.gsc', line 69) [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration); * started from: (file 'maps/mp/gametypes/_globallogic.gsc', line 5215) wait desiredDelay - waitedTime; * ************************************ Looking at it, it looks like it happens whenever a killcam plays. This is not a problem as it does not seem to do anything in-game, but I would like to clear up the console. What is happening, and am I somehow the only one? EDIT: Solved it, I messaged the original creator and he created a patch for me which fixed it. Share this post Link to post Share on other sites
Guest Ares Report post Posted November 5, 2014 I believe that it means that one of those three variables (self.cancelKillcam, doKillcam, level.killcam) isn't defined as a boolean. Share this post Link to post Share on other sites
PureTryOut 0 Report post Posted November 5, 2014 Well yeah I understand that The thing is though, it's stock Cod4 code, I haven't changed anything here. So how can I fix it or is it something that I can not fix? I rather not mess with source code when not needed... Share this post Link to post Share on other sites
Guest Ares Report post Posted November 5, 2014 Do you have any modified files? Share this post Link to post Share on other sites
PureTryOut 0 Report post Posted November 5, 2014 I do have the following files modified: localized_english_iw07.iwd maps mp gametypes dm.gsc dom.gsc sd.gsc war.gsc _dBots.gsc _finalkillcam.gsc _killcam.gsc _rank.gsc _teams.gsc So yes I do have some files changed talking about killcam, but they add a final killcam, and have (as far as I know) nothing to do with the regular killcams... Share this post Link to post Share on other sites
Guest Ares Report post Posted November 5, 2014 I'm just guessing here, but maybe the final killcam is modifying one of those variables. Could you try disabling it and see if the error continues to pop up? Share this post Link to post Share on other sites
TheKelm 6 Report post Posted November 5, 2014 The way I'd try finding the issue would be reverting the changes one file at a time and checking when the issue disappears. You might want to make a back up earlier of course Share this post Link to post Share on other sites
SkillzZz 2 Report post Posted November 26, 2015 Hmm i also have the same problem but it's ok cuz it won't make server lag cuz its per round so ... but if u found out how to solve can u share it Thanks Share this post Link to post Share on other sites
{cool.G} ingre 1 Report post Posted December 1, 2015 hello all normally FC work good with the game type multi round ( SB & SD ) better without slow final killcam because give LAGs and some time down server Share this post Link to post Share on other sites