Sign in to follow this  
warl0ck99

I need help from and Expert!

Recommended Posts

This is a mod with some scripts like final kill cam + music + welcome + top spawn etc etc Click Here

I have this problem, when the last player in a team of S&D dies by falling from a high place... or he got shot and drops from lower place but still dies by falling because of low heath. The server lags for 25 to 30 seconds   and in this time I keep seeing this error in cod4x console. And after 30 seconds I see in final kill cam the players kills him self by drooping to death and the next round starts normally .

 

Here is the error. Full mod link given on top. I've also attached _globallogic.gsc and _callbacksetup.gsc in the bottom side so you guys can take a quick look.

Thank you :) 

 

called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
 [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
         *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2582)
 self finishPlayerDamage(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2508)
   self finishPlayerDamageWrapper(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 63)
 [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
         *
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 60)
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
*
************************************

******* script runtime error *******
pair 'undefined' and 'none' has unmatching types 'undefined' and 'string': (file 'maps/mp/gametypes/_globallogic.gsc', line 2798)
 if(isDefined(level.scorebot)&&level.scorebot&&!level.rdyup)game["promod_scorebot_ticker_buffer"]+="kill"+lpattackname+""+scWeapon+""+self.name+""+sHeadshot;logPrint("K;"+self getGuid()+";"+self getEntityNumber()+";"+self.pers["team"]+";"+self.name+";"+lpattackguid+";"+lpattacknum+";"+lpattackerteam+";"+lpattackname+";"+sWeapon+";"+iDamage+";"+sMeansOfDeath+";"+sHitLoc+"\n");
                                                                                                                                                                                                                                                                                                                                                                                *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
 [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
         *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2582)
 self finishPlayerDamage(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2508)
   self finishPlayerDamageWrapper(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 63)
 [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
         *
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 60)
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
*
************************************

******* script runtime error *******
pair 'undefined' and '
' has unmatching types 'undefined' and 'string': (file 'maps/mp/gametypes/_globallogic.gsc', line 2798)
 if(isDefined(level.scorebot)&&level.scorebot&&!level.rdyup)game["promod_scorebot_ticker_buffer"]+="kill"+lpattackname+""+scWeapon+""+self.name+""+sHeadshot;logPrint("K;"+self getGuid()+";"+self getEntityNumber()+";"+self.pers["team"]+";"+self.name+";"+lpattackguid+";"+lpattacknum+";"+lpattackerteam+";"+lpattackname+";"+sWeapon+";"+iDamage+";"+sMeansOfDeath+";"+sHitLoc+"\n");
                                                                                                                                                                                                                                                                                                                                                                                        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
 [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
         *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2582)
 self finishPlayerDamage(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2508)
   self finishPlayerDamageWrapper(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 63)
 [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
         *
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 60)
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
*
************************************

******* script runtime error *******
cannot cast undefined to string: (file 'maps/mp/gametypes/_globallogic.gsc', line 2798)
 if(isDefined(level.scorebot)&&level.scorebot&&!level.rdyup)game["promod_scorebot_ticker_buffer"]+="kill"+lpattackname+""+scWeapon+""+self.name+""+sHeadshot;logPrint("K;"+self getGuid()+";"+self getEntityNumber()+";"+self.pers["team"]+";"+self.name+";"+lpattackguid+";"+lpattacknum+";"+lpattackerteam+";"+lpattackname+";"+sWeapon+";"+iDamage+";"+sMeansOfDeath+";"+sHitLoc+"\n");
                                                                                                                                                                                                                                                                                                                                                                                        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
 [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
         *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2582)
 self finishPlayerDamage(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2508)
   self finishPlayerDamageWrapper(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 63)
 [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
         *
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 60)
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
*
************************************

******* script runtime error *******
++ must be applied to an int (applied to undefined): (file 'maps/mp/gametypes/_globallogic.gsc', line 2801)
 if(isDefined(attacker)) attacker.cur_kill_streak++;  
                                  *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
 [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
         *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2582)
 self finishPlayerDamage(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2508)
   self finishPlayerDamageWrapper(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 63)
 [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
         *
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 60)
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
*
************************************

******* script runtime error *******
setstat: entity must be a player entity: (file 'maps/mp/gametypes/_persistence.gsc', line 76)
 self setStat( int(tableLookup( "mp/playerStatsTable.csv", 1, dataName, 0 )), value ); 
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2802)
 attacker maps\mp\gametypes\_persistence::statSet( "kill_streak", attacker.cur_kill_streak );
          *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
 [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
         *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2582)
 self finishPlayerDamage(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2508)
   self finishPlayerDamageWrapper(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 63)
 [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
         *
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 60)
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
*
************************************

******* script runtime error *******
getstat: entity must be a player entity: (file 'maps/mp/gametypes/_persistence.gsc', line 61)
 return self getStat( int(tableLookup( "mp/playerStatsTable.csv", 1, dataName, 0 )) );
             *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2803)
 attacker maps\mp\gametypes\_persistence::statGet( "kill_streak" );
          *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 69)
 [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
         *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 66)
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
*
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2582)
 self finishPlayerDamage(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
      *
called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 2508)
   self finishPlayerDamageWrapper(eInflictor,eAttacker,iDamage,iDFlags,sMeansOfDeath,sWeapon,vPoint,vDir,sHitLoc,psOffsetTime);
        *
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 63)
 [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
         *
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 60)
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
*
************************************
Hitch warning: 20860 msec frame time

   

_callbacksetup.gsc

_globallogic.gsc

Share this post


Link to post
Share on other sites

3 errors are clearly shown. what is it you dont understand about them?

Share this post


Link to post
Share on other sites
8 hours ago, dpj said:

3 errors are clearly shown. what is it you dont understand about them?

Sorry, I really don't have any knowledge about scripting. All I can do is replace the script's line with new code if you suggest any. Can you please help a noob ?

Edited by warl0ck99

Share this post


Link to post
Share on other sites

Dear @warl0ck99

Best way to learn something in modding. Download a clean promodlive 220 from here Promodlive 220 EU.

Now learn how to compile mod.ff

1. Download this Modtools and extract him on desktop in new folder with name modtools. 

2.Copy your cod4 files from Program Files,/Activision/Call of Duty Modern Warfare/ then paste them into /modtools/ folder

3.Now download a promodlive220 and extract him in /modtools/mods/yournewmod/

4. Now learn how to thread scripts and how scripts work. You cant add 10 script in same time and think they will work. Add one script go compile mod. ff and test,if script work add another new then go compile mod. ff again and test. You need time if you want to modding or scripting. 

Its not full explain but i dont know better write english. 

Using a custom mods from internet is so bad.You can create your own mod in 1 hour. 

If you need some help i am free to help you. Just contact me on forum. 

Best regards, 

@CGCNight

Share this post


Link to post
Share on other sites
12 minutes ago, CGCNight said:

4. Now learn how to thread scripts and how scripts work. You cant add 10 script in same time and think they will work. Add one script go compile mod. ff and test,if script work add another new then go compile mod. ff again and test. You need time if you want to modding or scripting. 

If I could then I wouldn't have to embarrass myself here. I just need a little help to modify the script to fix the error. Do you know which part is causing it and how to fix?

Share this post


Link to post
Share on other sites

You need to share your currently mod if you want help,cuz you have a lot of problems in mod. You paste only 3 problems but i am sure in that you have more then 3.I cant help you if i cant work and test that mod or scripts on pc. Maybe you will get more errors when you fix those errors.

Share this post


Link to post
Share on other sites
21 minutes ago, CGCNight said:

You need to share your currently mod if you want help,cuz you have a lot of problems in mod. You paste only 3 problems but i am sure in that you have more then 3.I cant help you if i cant work and test that mod or scripts on pc. Maybe you will get more errors when you fix those errors.

Full mod link given on top

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this