Starfox64 / FoxedBot

FoxedBot - The SteamBot for Garry's Mod
GNU General Public License v2.0
16 stars 7 forks source link

Long announce messages crashes clients #10

Closed zambony closed 9 years ago

zambony commented 9 years ago

I decided to check out what would happen if I typed out a full message (whether it would wrap or not) and.. well... it crashed my game. I tried editing the code to wrap the text to the panel, but then I realized you overwrote PANEL:SetText() to just draw text, so I wasn't sure how to get that to wrap.

zambony commented 9 years ago

Wow, that fixed it for sure this time, and on top of that, announcements and chat messages arrive at nearly the speed of light, hehe. Awesome.

Starfox64 commented 9 years ago

Yeah I just noticed the speed boost.

zambony commented 9 years ago

One last thing, after I do 'foxedbot_reload', most of the time it says it failed to listen on the port. Sometimes it works, sometimes it doesn't.

Starfox64 commented 9 years ago

Yeah I'll clean this up soon, it shouldn't cause any problems though.

Can we finally close this?

zambony commented 9 years ago

Yes, haha, thank you very much for your support and I really do appreciate you taking the time to help.