Author Topic: Locking; Looking for any last bugs then posting in Add-ons. SfBl Client: V1.9  (Read 5168 times)

Features:

  • Joining people though chat.   - Just click on a users name when you're not in a server to instantly join the server they are in, provided it's not password locked or full.


  • Sorting places by type.   - Server super admins and the host of servers that have this mod can set a one two or three letter type code for their server, which users looking to join servers can sort by. Such as 'TDM' for team death match, or 'CRP' for CityRP.

  • Chat rooms.   - You can create your own chat rooms to talk in, just type /join <name> to join a room, and /return to go back to the main chat room.

  • Linking server's chat to chat rooms and other servers.   - If a server has this mod, super admins or the host can type /connecttochatroom <room> to link their server's chat with a chat room, so all things said in the chat are said to the server, and vise versa.

  • Other stuff   - You can PM other users use /ping to get their ping time from the server and a bunch of other stuff.

So I have made my own chat server, and my own Blockland mod to go with it. Now I realize we already have the RTB IRC, but this is different. It is not an IRC or HTTP based server, the server application is one that I have programmed my self (in C++ with winsock) and is hosted on my own VPS. What's important about this is I have to think that this gives it much greater flexibility than any strictly IRC server can do, because I can control every aspect about the Server Application and the computer that it runs on.

Currently this mod isn't much, but it's not about what it is now but what I'm going to do with it, but I don't want to get to far without finding out about basic problems first. I have tested this mod myself and it seems to work fine, but one person at a time testing won't tell me everything I want and need to know, so I'm asking for people to download this mod and open up the chatting GUI and just say something to let me know you're there and it works.

To use just download this:
http://www.filefront.com/17099471/DrenDran_Chat.zip
And put it in your add-ons folder.
To chat, just click the new button at the bottom center of the main menu, enter things in the chat bar below and press enter to submit.

More information coming real soon. If you have any questions I'll be up the rest of the night working on the mod adding features, just PM me your questions or post them here, thanks!

The chat servers are:
-img snip-

EDIT: It works! :D  (Me and chrono had a conversation over it.)
EDIT EDIT: Servers will be online from now own, only down for a minute max while being updated.

Screen shot example of place types mod:




Client Changelog:

V 0.2 : Basic starter version.
V 0.21 : Vertical scroller added.
V 0.22 : Vertical scroller removed, gui elements made to allow some scaleing.
V 0.23 : Scaling fixed completely.
V 0.25 : It now makes a sound if you get a chat message while the chat window is closed. Also a pref to enable/disable that feature.
V 0.27 : Now automatically connects by default. But there is a pref to make it so it won't and you'll have to open the chat GUI to connect.
V 0.3 : Now has a keybind to open the chat GUI.
V 0.35 : New player connect and dissconnect messages. Welcome message added.  
V 0.4 : Now has a prefs window so you can change settings in game.
V 0.5 : New authentication method.
V 0.6 : PMing ability added, commands system in place.
V 0.63 : Can close windows by pressing 'escape' button now, pming bug fix.
V 0.7 : User list added.
V 0.8 : /ping command added along with /ddpm
V 0.83 : Color coding added, pm's are red, server messages blue, chat is black.
V 0.85 : Able to send and receive location
v 0.9 : On location lookup, location 'local', now says player is in server.Logging of chat and packets added. Stores multiple passwords at one time, not just one anymore.

V 0.95 : You can join a person in a server by simply clicking their username in the user list.
V 0.96 : Typing /version in chat shows your version. Passwords echo'd during authentication.
V 1 : Tom's great new GUI swapped in for the GUI.
V 1.2 : Can create chat rooms with /createchatroom <name> and join with /join <name> and /return
V 1.3 : Commands for moderators, /kick and /shout also remove the popups on successful authentication on startup.
V 1.35 : Fixed closing chat window with escape button.
V 1.5 : Shows pms to you when you send them, escape bug fix, can use /connecttochatroom <room> in servers now
V 1.53 : Now you must /killchatroomconnection before you can reuse /connecttochatroom again, also it no longer redisplays in server chats.
V 1.7 : You can choose a place type for your place, and sort servers by their place type
V 1.75 : Let's you disable the changes to the Join Server GUI.
V 1.78 : Server.cs file fixes regarding place type feature.
V 1.89 : More epic GUI updates from Tom/Polymer.
V 1.9 : Escape closes the chat GUI again, clicking the options text in the chat GUI brings up the prefs window again.
« Last Edit: July 17, 2010, 06:33:01 PM by DrenDran »

Sounds cool! Downloading...

How do I make the text edit gui, or any gui for that matter stay a certain distance away from the bottom position of the window, instead of a fixed y position?

Change the vertsizing property on it from bottom to top.

I maximized the chat GUI.
And it forgeted up.

I maximized the chat GUI.
And it forgeted up.
Heh, V 0.23 only made it better I guess, trying again.

Well the gui looks a little glitchy but its nice.

Okay I just woke up, but I got this first update added.

I have the modified GUI done. Let me get on my computer and upload it.

Nevermind, didn't know about the new version, I'll have to edit mine lol

I'm back, I was away on a day-trip IRL.
Come on chat, anyone who can.

Once Chrono gives me the GUI modifications and I can get a sort of userlist added, I think this will on par with the RTB IRC, considering PMing works now and such.

I like. But whats wrong with IRC?

Pretty cool. But when you chat, Your message appears at the top, not the bottom. Make an option to switch that.

I like. But whats wrong with IRC?
The IRC uses IRC.
EDIT: When people get the mod, do they keep it, or are you guys trying it out and deleting it? :/