Toribash
Prev Previous Post   Next Post Next
Original Post
4.92 anti-crash solution!
Hi guys, since 4.9 came we had this trouble with !000 character and people finding it funny to crash rooms with it. In short, displaying "!000" in chat makes 4.9x versions of TB crash. Before this is fixed, there's a small and easy fix that will protect you from the crashes on 4.9 version.

The solution:
Download both files in the attachments (anticrash.lua and crashwords.txt). Put them in:
YourTBdirectory\data\script

or for steam users:
YourSteamDirectory\steamapps\common\Toribash\data\ script

For additional tweaking, you can open "crashwords" and words (e.g. <WORD>) that you don't want displayed in format: <WORD> ^01.
Therefore, crashwords.txt includes
!000 ^01

and thus the script prevents !000 from being displayed in the chat. More words can be added if you need them e.g. they crash you or you really don't like mistyping your nick, I could add jtamk ^01 and "jtamk" will never be displayed in my chat when script runs.
After downloading the two files and putting them into right folder, whenever playing TB make sure you run them. You can run scripts via MAIN MENU > SETUP > UTILS > SCRIPTS and selecting anticrash.lua.

The script is basically a modified HL script by Daanando. Please don't comment on how the script is written, I made it without any coding/LUA knowledge. It's not meant to look pretty, it's meant to temporarily prevent crashes. And it works.


Use /opt shout 0 command for additional safety.
Attached Files
anticrash.lua (1.6 KB, 34 views)
crashwords.txt (10 Bytes, 27 views)
Last edited by JtanK; Jan 30, 2015 at 05:05 AM.

[re] | #Polska
qui hic minxerit aut cacaverit, habeat deos superos et inferos iratos