You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lioncash edited this page Jun 30, 2011
·
8 revisions
Description:
Allowing chat in single player so your hooked mods for chat will still work!
How-To:
This is very easy, search for this code in Main.cs:
if (Main.keyState.IsKeyDown(Keys.Enter) && Main.netMode == 1 && !Main.keyState.IsKeyDown(Keys.LeftAlt) && !Main.keyState.IsKeyDown(Keys.RightAlt))
Now we have to get rid of the netmode check so it would be:
if (Main.keyState.IsKeyDown(Keys.Enter) && !Main.keyState.IsKeyDown(Keys.LeftAlt) && !Main.keyState.IsKeyDown(Keys.RightAlt))
1.02 (version of source provided from source page)
Instead of searching the above text, search for: if (keyState.IsKeyDown(Keys.Enter)) && (Main.netMode == 1))
and remove: && (Main.netMode == 1))
Posted by: Killergp123
1.05
Instead of searching for the above texts, search for:
if ((keyState.IsKeyDown(Keys.Enter) && (Main.netMode == 1)) && (!keyState.IsKeyDown(Keys.LeftAlt) && !keyState.IsKeyDown(Keys.RightAlt)))