Closed licen150 closed 2 years ago
Feels like an addon conflict with most likely some shitty "library" addon unrelated to EasyChat and StarfallEx overwriting string.find, because that error is not something seen from the game normally, as Lua patterns and regular expression are not the same thing.
Would be nice to also have a way to replicate.
Install StarfallEX and EasyChat and and I think you can repeat
Also, follow-up messages from Starfall are sent. It is with the first message that something is wrong
I still won't be able to reproduce it because starfall is a lua sandbox, so I need the lua code that causes this to replicate it.
Also follow-up: Regex is too complex!
is not an error from either EasyChat or the vanilla game, so I can say first-hand that its very unlikely that EasyChat has anything to do with this.
For some reason he cannot send this message: "Starfall HUD enabled by licen777. NOTE: Type 'sf_hud_unlink' in the console to disconnect yourself from all HUDs." Here is the lua code: https://pastebin.com/F5n12QF1
Who's "he" and also I dont see anything related to adding text to the chat in the code you sent?
StarFallEX trying to send first message about StarFall HUD but he cant
I ran
local owner = LocalPlayer()
local enabledBy = owner and owner:IsValid() and (" by ".. owner:Nick()) or ""
LocalPlayer():ChatPrint("Starfall HUD enabled"..enabledBy..". NOTE: Type 'sf_hud_unlink' in the console to disconnect yourself from all HUDs.")
Which is the equivalent of what is being ran when starfall runs the hud thing you have there. There is no error at all when I run it. However when I use a starfall chip with your code it does happen.
Either way the problem isnt coming from EasyChat.
This is not an EasyChat problem, it's a starfall problem at most. Their repository is there: https://github.com/thegrb93/StarfallEx
Hello, when i trying to spawn a starfall chip he spawns but in console i see this error: addons/easychat/lua/easychat/easychat.lua:755: Regex is too complex! 2 ext search length too long (500 max) Starfall HUD enabled by licen777. NOTE: Type 'sf_hud_unlink' in the console to disconnect yourself from all HUDs.
Can you fix this please?