How to avoid crashes? (string overflow, etc)
-
I'm in need of advice and information regarding common crashes such as the G_FindConfigStringIndex overflow. I've reduced my Hud SetText() usage by using SetValue() wherever possible but I'm still concerned that I'll hit some kind of limit. Any and all information related to this issue and other issues like it would be immensely helpful, thank you!
-
cowboymode Whenever settext() or .label is used it caches that string on the server forever.
Its an optimization the developers did to save bandwidth by making it so if the string was reused it wouldn't need to be sent over the network.So you cannot use settext with unique strings, unless you use an overflow fix gsc system.
-
JezuzLizard Thanks for the response, that makes a lot of sense. Do you know where I can find a working "overflow fix" for BO1? I've seen some code snippets for BO2, and I've also tried to implement my own but it didn't seem to make a difference.
-
cowboymode A BO2 overflow fix should still be applicable.
I've personally never needed to use an overflow fix, so I don't have an example on hand unfortunately.