View Single Post
jeremyvillanueva
AlliedModders Donor
Join Date: Jan 2021
Location: dcord:Jeremy333#7632
Old 01-21-2021 , 08:48   Re: [ANY?] Simple Filters 1.0.4 (Sourcebans++ support)
Reply With Quote #20

Hi, FAQU, so much thanks for your work,
I'm using but I have more than 100 words on my banned words list

This is the error in the log:
L 01/21/2021 - 04:10:06: [SM] Exception reported: Array index out-of-bounds (index 100, limit 100)
L 01/21/2021 - 04:10:06: [SM] Blaming: simple-filters.smx
L 01/21/2021 - 04:10:06: [SM] Call stack trace:
L 01/21/2021 - 04:10:06: [SM] [1] Line 542, D:\plugins by FAQU\learning\Simple-Filters\pentru alliedmods si github\scripting\simple-filters.sp::GetFilters
L 01/21/2021 - 04:10:06: [SM] [2] Line 118, D:\plugins by FAQU\learning\Simple-Filters\pentru alliedmods si github\scripting\simple-filters.sp::OnConfigsExecuted

I want to ask, may you help me, is 100 the limit?
I traced to this function:
else BreakString(line, chatfilters[i], sizeof(chatfilters[]));

I was trying to fix it, but I want to know more about that constant number 100,
and how does BreakString works

Thanks
jeremyvillanueva is offline