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.
  • undefined Offline
    undefined Offline
    LastDemon99
    wrote on Jul 25, 2023, 1:10 PM last edited by LastDemon99 Jul 25, 2023, 5:05 PM
    #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
    • undefined Offline
      undefined Offline
      Setrayed
      wrote on Jul 25, 2023, 6:32 PM last edited by
      #2

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

      1 Reply Last reply
      3
      • undefined Offline
        undefined Offline
        onefourkrpm
        wrote on Jul 26, 2023, 9:34 PM last edited by onefourkrpm Jul 27, 2023, 12:36 AM
        #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
        • undefined Offline
          undefined Offline
          Cowtastic
          wrote on Jul 27, 2023, 4:02 PM 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
          • undefined Offline
            undefined Offline
            FutureRave VIP
            wrote on Jul 27, 2023, 4:55 PM 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
            • undefined FutureRave locked this topic on Jul 27, 2023, 4:55 PM

            4/5

            Jul 27, 2023, 4:02 PM

            • Login

            • Don't have an account? Register

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