SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Mods

Reply
 
Thread Tools
SRB2Chat - Somewhat revamped chat system & more Details »»
SRB2Chat - Somewhat revamped chat system & more
Version: 1.0, by "Lat'" (Stop it) "Lat'" is offline
Developer Last Online: May 2018

Category: Version: SRB2 Rating:
Released: 04-19-2018 Last Update: Never Installs: 0
Re-Useable Content Code Changes

Does anyone remember chatmanager? No? Well whatever!

Introducing SRB2Chat, an exe mod that attempts to make your netgame experience better by giving you a slightly better chat
So what does it do?
Spoiler: cool features

-Chat system is now separate from the console!
-Press the talk key to open the Chat Log, you can then press UP or DOWN arrow keys to scroll up or down recent messages.
-Capslock now actually works, because it didn't before for whatever reason (this also applies to the console.)
-You can use left and right arrow keys to go back and edit some stuff you've typed rather than deleting the entire thing, just like the console!
-Also like the console, you can now paste stuff into the chat! (selection and copy aren't avaiable since they aren't really useful in this context.)

-A bunch of cool cvars accessible from GAME OPTIONS.../CHAT OPTIONS...
chatwidth <64-150>: allows to change the width of the chat box.
chatheight <6-24>: allows to change the amount of lines that can be displayed on the log.
chatnotifications <On/Off>: change if you want to hear or not the chat beep when you recieve a message.
chatspamprotection <On/Off>: EXPERIMENTAL: Blocks messages from a node if they are sent too quickly. This may also happen because of lag spikes, hence the ability to turn it off.
consolechat <On/Off>: Revert everything back to the old chat system. Mostly exists so that playing with Terminal and the likes of it doesn't look too weird.

-Some cool Lua support:
chatprint(string): Prints something in the chat. Or in the console if the chat is disabled or if you're not in a netgame.
chatprintf(player_t, string): Does the same, but only for the specified player. (Think CONS_Printf)
PlayerMsg hook small update: It can now have a 5th argument which is a boolean that is set to true if the message was meant to be deleted because of spam. (The Hook takes priority over spam deletion)

All of the above can allow you to modify your PlayerMsg hooks to support this exe if you want to!

And stuff that has nothing to do with chatting:
-Ping on scoreboard! Now you can be reminded that I have 800 ping in every netgame I'm in by simply holding Tab!
-Scoreboard goes compact if there's 20 or more players so they can all be displayed. You can force this behavior by using compactscoreboard On or setting it On from the GAME OPTIONS... menu.
-master branch OpenGL. If somehow you haven't updated it, it makes openGL treat HUDs like software.

Spoiler: screenshots





This EXE is experimental, and I'm a newbie to source code modding, so report any error/crash by sending the eip found in the RPT file for the latter.

Also included with the download is a dll file. It is required to run the EXE if you don't have it already. Drop it in your SRB2 folder.
And because rules are rules, here's the source code!

Download Now

File Type: zip srb2chat.zip (1.70 MB, 176 views)

Screenshots

Click image for larger version

Name:	srb20257.png
Views:	1171
Size:	190.9 KB
ID:	12564   Click image for larger version

Name:	srb20271.jpg
Views:	1113
Size:	161.9 KB
ID:	12565   Click image for larger version

Name:	srb20141.gif
Views:	229
Size:	142.4 KB
ID:	12566  

Supporters / CoAuthors

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 3 Weeks Ago   #2
Prime 2.0
Grape flavored
Administrator
 
Prime 2.0's Avatar
Default

Welcome to Releases!

Chatspamprotection did not appear to work during testing.
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Old 2 Weeks Ago   #3
Elyos03
 
Elyos03's Avatar
Default

This needs to be in 2.2.

Seriously, this looks awesome!
__________________
2.2 is the REAL 2.1. at least for me
Elyos03 is offline   Reply With Quote
Old 2 Weeks Ago   #4
RomioTheBadass
PK3 Fetishist
 
RomioTheBadass's Avatar
Default

Look at that Scoreboard, Fantastic, love it, Just needs token indicator to tell if a player got a token in current stage and we're set.
__________________
Sonic 3D Ass : Horrible camera island.
RomioTheBadass is offline   Reply With Quote
Old 1 Week Ago   #5
Biielz
My name on srb2 is Queijo
 
Biielz's Avatar
Default

you should add some commands like if you dont wanna someone messages appears just for you
Quote:
Cheese's god is not yellow, but it is green

(Biielz received a warning for this post: Use correct grammar and spelling.)

Last edited by Biielz; 6 Days Ago at 11:43 AM.
Biielz is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.