• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

THW Chat Client

Status
Not open for further replies.
GitHub - source code

This program can be used as an alternative way to connect to the chatroom. Typically it should use less memory than your browser so it's useful if you want to idle in the chat while playing games or something. It can also be minimized to the system tray to keep it hidden if having a browser open bothers you.

The following features have been implemented.
  1. Chat logging.
  2. Private messaging
  3. Change chat icons or colors.
  4. Style configurable + theme support.
  5. In-client option configuration.
  6. Statuses
If you want to create a custom icon place it in the themes icon folder (extension .png) with a username as the filename. For example:

"themes\default\icons\people\TriggerHappy.png"
"themes\default\icons\user.png"
"themes\default\icons\moderator.png"

To make a custom theme copy the "default" folder under the "themes" directory and rename default.css to whatever you renamed the copied folder. Then in the main directory edit "config.ini" and change the "STYLE" parameter.
I realize this is a lot of work but these things will be supported in the client later on.

If the program doesn't run try downloading .NET Framework 2.0 (x86, x64)

Changelog - Latest (11/29/2013)
 

Attachments

  • thwcc.png
    thwcc.png
    80.8 KB · Views: 350
  • Untitled99.png
    Untitled99.png
    95.5 KB · Views: 257
  • THWCC.zip
    20.8 KB · Views: 109
Last edited:
Thank you all for the feedback.

Download - Screenshot

Update - 10/29/2013

-Mods at top of lobby.
-Messages now sent in new thread (lag fix).
-Your own messages are shown as a different color.
-Statuses can be removed now.
-Autoscroll is on (still needs some improvement).
-Various code improvements.

Update - 10/28/2013

-Password now hashed with MD5 for security.
-Commands implemented.
Whisper (/w)
Change Status (/@)
 
Last edited:

Roland

R

Roland

For the First time, I'm there!
Thank you TriggerHappy for makingthis tool! :D
 
This tool has a lot of potential, but still needs a bit of work.
Here's what i "discovered" from my little time using it:

Suggestions:
-Be able to change only your own chat icon, and see the custom chat icons of the others using this program.
-Be able to change the color of your text (like a color code in the settings.ini file)
-Be able to change the width and/or heigth of the chat panel, widen the users panel or the input panel (where you write)
-Be able to use emoticons (basic emoticons) and make them changeable by the used theme.
-Make a few basic themes for future themes to be based on (or request some from a texture maker)
-Put a warcraft 3 sound when someone chats and the window is not open (and make it changeable by the theme)
-Make a setting "Window always stays in taskbar".

Bugs:
-You can open multiple chats with the same account, but nothing really happens, you just have multiple hive chats in your taskbar.
-Icons for names which include a space (like Blood Raven) are not working.

It really doesn't offer much more than what the original offers. Make it worth downloading :)
Looking forward to it.
 
This is incredible, very much useful for an upcoming future! say Triggy do you already told this to Ralle?

I'm not sure he will care, I mean he did create the original chat which is more impressive than this tool, so far. :p
He may want the ability to define user icons and colors gone, though.

Be able to change only your own chat icon, and see the custom chat icons of the others using this program.

It's already possible?

Be able to change the color of your text (like a color code in the settings.ini file)

You can edit the theme for this.

Currently it's not user friendly, but I will add in client configuration soon.

-Be able to change the width and/or heigth of the chat panel, widen the users panel or the input panel (where you write)
-Be able to use emoticons (basic emoticons) and make them changeable by the used theme.

Will be available later.

-Make a few basic themes for future themes to be based on (or request some from a texture maker)

Low priority, feel free to make your own theme.

-Put a warcraft 3 sound when someone chats and the window is not open (and make it changeable by the theme)
-Make a setting "Window always stays in taskbar".

I can make those options.

Bugs:
-You can open multiple chats with the same account, but nothing really happens, you just have multiple hive chats in your taskbar.
-Icons for names which include a space (like Blood Raven) are not working.

1. Not a bug at all.
2. Nice find, I will fix that.
 
Fantastic work!
My only gripe is with md5 - it's supposed to be (relatively) easy to brute-force, due to its fast computation, is it not?

That doesn't really matter, I just didn't want the users password to be in plain text in the config file.

Also, THWs forum software can only read md5 and text (without some external plugin).
 
Last edited:
Hmm, while chatting with you (lol), i discovered some new issues:
-When someone says your name, it won't be highlighted as it normally would.
-Clicking on people's names won't place them in your chat window (actually the people's names are just text, no links or effect on clicking them whatsoever)
-Clicking on links opens them in Internet Explorer (argh!) instead of your default browser.
-After a few minimizes and maximizes of the window, my text panel (where you enter your text) disappeared o_O
-When someone joins it displays <b>Name</b> has joined (BB code fail :D)

Also consider the possibility that my framework is bugged and not functioning properly (though it is a small chance)
Keep up the good work :)
 
-When someone says your name, it won't be highlighted as it normally would.
-Clicking on people's names won't place them in your chat window (actually the people's names are just text, no links or effect on clicking them whatsoever)

Will be coming soon.

Most features I haven't "forgot", I just haven't gotten around to them yet.

-Clicking on links opens them in Internet Explorer (argh!) instead of your default browser.

I know, I don't understand why.
Try clicking a members icon, it will open your default browser. I'm using the same method for links too but it opens in IE..
 
Last edited:
There is something weird in the new update.
Every time i click on settings or write a name in the settings it displays me a longass error and asks me if i wish to continue. If i click continue nothing really happens.
Also the colors seem to have stopped working.
4BMO355.png

Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at THWC.SettingsForm.SettingsForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
THWC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/Warcraft%20III/THW%20Chat/THWC.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


EDIT: Ignore what i just said. Did it on a clean install and it works like a charm :)
 
Level 34
Joined
Sep 6, 2006
Messages
8,873
purplepoot made a chat client once. Someone may have it still if you wanted to compare them. Maybe get some ideas.
 
Cool update but some problems still persist.
1) After minimizing the window then maximizing it, the scroll function is screwed and the chat box disappears.
2) You are unable to click on people's names to refer to them, you have to write the full name.
3) When someone is referring to you or has your name in his message it isn't highlighted.
EDIT: 4) i am unable to find the log from tonight's chat. The log folder is just empty, looks like it didn't create the file.

Everything else is fine :)
Had a nice chat tonight while testing this out :D
Keep up the good work :)

EDIT: 600th post yayz :D
 
Source now available on github.
https://github.com/ashinnblunts/THW-Chat-Client

Updated with some minor bug fixed and code improvements.

EDIT: Updated again with element resizing fixed.

Cool update but some problems still persist.
1) After minimizing the window then maximizing it, the scroll function is screwed and the chat box disappears.

I can't replicate that error but I'll handle element re-sizing better in an upcoming version, so that should solve it.

2) You are unable to click on people's names to refer to them, you have to write the full name.
3) When someone is referring to you or has your name in his message it isn't highlighted.

I'm aware of this and I'll get around to implementing it lol

EDIT: 4) i am unable to find the log from tonight's chat. The log folder is just empty, looks like it didn't create the file.

Do you have logs enabled in the settings menu?
 
Last edited:
Download

Updates
  • Chat line is now highlighted when it includes your name (aliases will be added later).
  • You can now click usernames to insert their name into the textbox.
  • Double click to whisper.
  • Type "/r" to quickly whisper back to somebody
  • Desyncs have been fixed.
  • Pending chat message handling improved.
  • Added commands: /raw, /usercount, and /me.
  • Correct color on "user has left the channel" message.
 

Attachments

  • highlight.png
    highlight.png
    45 KB · Views: 97
Last edited:
Status
Not open for further replies.
Top