[IW5 error] BG_IndexForString: unknown token 'throwingknife': (mp/playeranim.script, line 210)
-
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];
-
I got this error randomly and now I can't even play anymore
-
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:
Everything worked ok before the update.
-
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. -
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 -