Author Topic: Chat Error  (Read 762 times)

This errors comes up in the console every time there is a chat message in any server. I want to know how to fix this.

getSubStr(...): error, starting position and desired length must be >= 0: ("My $Pref::Chat::CurseList Here",757, -758)
BackTrace: ->[muteChat]clientCmdChatMessage->[ID_Logger]clientCmdChatMessage->[MathBot]clientCmdChatMessage->[MutePackage]clientCmdChatMessage->[CompassClient]clientCmdChatMessage->clientCmdChatMessage->onChatMessage->newChatHud_AddLine->censorString

muteChat
ID_Logger
MathBot
MutePackage
CompassClient

One of those mess it up

muteChat
ID_Logger
MathBot
MutePackage
CompassClient
getSubStr isn't even in any of these except for MathBot and the one in that isn't even the problem.

getSubStr isn't even in any of these except for MathBot and the one in that isn't even the problem.
Does one of those modify the string?

Whenever I disable all those package it says this:
getSubStr(...): error, starting position and desired length must be >= 0: ("My $Pref::Chat::CurseList Here",757, -758)
BackTrace: ->clientCmdServerMessage->defaultMessageCallback->onServerMessage->newChatHud_AddLine->censorString

post your $pref::Chat::Curselist

post your $pref::Chat::Curselist
$Pref::Chat::CurseList = "forgeter, forgeters, forgetface, forgetfaces, forgetnut, forgetnuts, forgetwad, forgetwads, stuff, stuffs, whore, whores, bitch, bitches, ass , asses , snake, snakees, rooster , roosters , richard , richards , asshat, asshats, starfish, starfishs, asstard, asstards, roosterforgeter, roosterforgeters, roosternose, roosternoses, cunt, cunts, richardbag, richardbags, richardhead, richardheads, richardwad, richardwads, douchebag, douchebags, dumbforget, dumbforgets, cigarette, cigarettes, cigaretteert, cigaretteerts, friend, friends, cigarettetard, cigarettetards, gaytard, gaytards, motherforgeter, motherforgeters, brotherr, brotherrs, niglet, niglets, nignog, nignogs, nignogger, nignoggers, sandnig, sandnigs, sandbrother, sandbrothers, sandmonday, sandmondays, stuffbag, stuffbags, stuffstain, stuffstains, thundercunt, thundercunts, vagina, vaginas, research, research, love";



Whenever I disable all those package it says this:
getSubStr(...): error, starting position and desired length must be >= 0: ("My $Pref::Chat::CurseList Here",757, -758)

I wonder where it's getting that -758 from. Seems to be a problem on Badspot's end.

Haha. Found out that it just needed a comma at the end.