Blender personal chat room [ALPHA] [TEST BUILD AVAILABLE]

This is my first attempt to create a chat room using the socket module of python and blender to handle the gui. I think it worked pretty great. Use multitexture.

The chat is in an alpha state and has not been tested online yet.
YOU NEED TO PORT FORWARD THE PORT 25566 IF YOU WANT TO TEST IT ONLINE.

Readme.txt:

Blender chat room #ALPHA#

Hasn't tested it online yet... but it work perfectly offline.

There is no right or anything on these files, you can do what you want with them.
The font I used is completely free (http://www.dafont.com/dusthome.font)

SPECIAL KEY : ESC to loose mouse focus

OVERVIEW

In order to host you must START THE SERVER FIRST then start the client and select HOST.
Everything sent by the client must be validated by the server.

BINARY FOLDER : Hold the chat (executable) along with all the nessary file
SOURCE FOLDER : Holde the source (.blend) along with all the nessary file
font FOLDER : Hold the (unique) font file
screenshot FOLDER : screenshot taken with the screenshot command will be saved there 
server FOLDER : Hold the server files (see server files)
textures FOLDER : Hold the gui of the chat
servercommand.txt : Information about the 'hidden' freatures of the chat.

SERVER FILES:
Pyserver.py : The source of the server, need python 3.0 (at least) to run.
Server.exe : The server source compiled with cxfreeze
TestServer.py : The server with 3 'bot' to test the commands + you can log multiple time, need python 3.0 (at least) to run.
Settings.xml : Hold the information related to the server (user rights,banned ip,etc)

Commands.txt:


##############INFORMATION######################################################
Red name : Host (Have all rights)
Yellow name : Admin 
Green name : Moderator
white name : User

###############CHAT COMMANDS####################################################
right click on the username to show the user panel

All command must be entered in the textbox of the chat and must start with ':'.

red,blue,green,yellow,pink,cyan,white,black,grey,orange ; Change your message color.
screenshot ; create a screenshot in the screenshot folder
kick *USERNAME* ; kick somebody out the room , skick for 'silent kick'
ban *USERNAME* ; ban somebody from your server, sban for 'silent ban'
unban *IP* ; unban an ip
mute *USERNAME* ; stop someone from posting, smute for 'silent mute'.
unmute *USERNAME*  ; allow someone to post message
allow *IP* ; allow an IP to connect to your private server
unallow *IP* ; remove the ip from the allwed list
makeprivate ; make the server private
makepublic ; make the server public
makeadmin ; make an user or a mod admin
makemod ; make an user moderator (cannot downgrade an admin)
makeuser ; downgrade an admin or a mod to user
banned,allowed,muted ; print in the console the ip that are banned,allowed or muted
refresh : update the room (This is called every second)
setname *NEWUSERNAME* : Change your username


WORKING ON:
Making it work on local AND internet.
GUI (PyQT) for the server and a better server (Priority).
Fix lots of bugs

BUGS that I’m aware of:
1: Screenshot command does not work all the time.
2: Sometime the server can’t update directly after you sent a ‘POST’ command
3: The server might not be able to load settings from non windows os.

Download link 1 contain: Binary (exe) and the source (32 mb).
Download link 2 contain: Source (3 mb).

link 1 : http://ifile.it/1i3c9ht/Chat.zip
link 2 : http://ifile.it/z84krm3/Chat.zip

Cool porject!

Can’t wait till its finished!

Here’s the server gui.


Thanks for sharing!

New feature:

:foreveralone ON / :foreveralone OFF
Activate or deactivate a chat bot. (This feature will only be available when you are… alone)

I’m working on making it follow a conversation…

Edit: Screenshot:


Fixed the bot, it can now follow a conversation.