Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. MW3 Client Support
  3. [IW5 error] BG_IndexForString: unknown token 'throwingknife': (mp/playeranim.script, line 210)

[IW5 error] BG_IndexForString: unknown token 'throwingknife': (mp/playeranim.script, line 210)

Scheduled Pinned Locked Moved MW3 Client Support
5 Posts 5 Posters 223 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • LastDemon99undefined Offline
    LastDemon99undefined Offline
    LastDemon99
    wrote on last edited by LastDemon99
    #1

    Regarding the error that is appearing in mw3, I was making a script and it appeared, so I know a way to replicate it... well, I don't know if it will help, and I don't know where to report it, so I'll comment here.

    One way to replicate the error is to use the function givePerk( perkName, useSlot )
    works correctly unless you send it an object property as an argument Example:

    [Works]

    player givePerk("specialty_quickdraw", false);
    
    test = "specialty_quickdraw";
    player givePerk(test, false);
    

    [Com_ERROR: §BG_IndexForString: unknown token 'throwingknife': (mp/playeranim.script, line 210)]

    player givePerk(self.customStreak, false);
    
    test = self.customStreak;
    player givePerk(test, false);
    

    [Works]

    player givePerk(self.customStreak + "", false);
    
    test = self.customStreak + "";
    player givePerk(test, false);
    

    [Post Update]

    When executed directly as a string in a for loop also crash

    [Com_ERROR: §BG_IndexForString: unknown token 'throwingknife': (mp/playeranim.script, line 210)]

    perk = "";		
    for (i = 0; i < self.customStreak.size - 3; i++)
    	perk += self.customStreak[i];
    

    [Works]

    _perk = self.customStreak;
    perk = "";		
    for (i = 0; i < _perk.size - 3; i++)
    	perk += _perk[i];
    
    1 Reply Last reply
    3
    • Setrayedundefined Offline
      Setrayedundefined Offline
      Setrayed
      wrote on last edited by
      #2

      I got this error randomly and now I can't even play anymore

      1 Reply Last reply
      3
      • onefourkrpmundefined Offline
        onefourkrpmundefined Offline
        onefourkrpm
        wrote on last edited by onefourkrpm
        #3

        Same here, since an update a few days ago I get this exact error whenever I start a private game. The map loading screen will appear then it crashes back to the menu with the error:

        alt text

        Everything worked ok before the update.

        1 Reply Last reply
        1
        • Cowtasticundefined Offline
          Cowtasticundefined Offline
          Cowtastic
          wrote on last edited by
          #4

          Getting this bug as well, is it anything to do with https://github.com/ineedbots/piw5_bot_warfare ?
          Didn't happen until I updated my client.

          1 Reply Last reply
          0
          • FutureRaveundefined Offline
            FutureRaveundefined Offline
            FutureRave VIP
            wrote on last edited by
            #5

            The issue has been fixed by us and the next Plutonium update will include this fix.
            There is no ETA on the update release date, but it's going to be soon™

            1 Reply Last reply
            1
            • FutureRaveundefined FutureRave locked this topic on

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate