Jump to content




GChat - chat with all your friends (in-game)


  • You cannot reply to this topic
24 replies to this topic

#1 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 04 April 2012 - 10:09 PM

Hello everyone!
This is a little program I made when I decided to take a little break from working on my OS (wich will be updated soon). It's a chat program that let's you chat (obviously) with everyone who are connected. It doesn't require a server, it connects to everyone in range.

Features:
* Easy to use and configure.
* Easy to add functionality.
* Works with modems and bundled cable (although not recomended).
* Opens connection on every side so you don't have to choose wich one to use.
* Chat history (with configurable maximum size).

How to use:
Just install the program and run it. It will ask your name, and when you enter a valid name it connects to let you chat. Just type any message and press enter to send it. You can go through the chat history with the up/down arrow keys to see messages out of the screen. When you want to exit, just press Ctrl to open the menu and press enter (Exit is the only menu option).

How to Install:
- Get the code at the end of the post or from pastebin (you can use the pastebin program, code: q13Pv8JD)
- Save it to a file on the computer.
- Change any configuration options you want (at the start of the file)
- That's it, enjoy :D/>

Feel free to modify it in any way, just don't forget to give credit :)/>
It's very easy to add menu functions, the code has comments to help you know where to add the code.
If you make some modification you can post it here if you want.

Any feedback and suggestions are welcome.

Spoiler

Edit: just fixed a little error (calling Ping before connecting)

Edited by MysticT, 05 April 2012 - 01:29 AM.


#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 09 April 2012 - 12:24 AM

I know it's not a big project (took less than 3 hours to make), but some feedback would be nice, even if you don't like it, you can say why.
I won't update this unless someone asks for some feature or there's a bug.

#3 tazyload

  • New Members
  • 1 posts

Posted 12 April 2012 - 11:27 PM

Great work, I'm putting it on a server to see what people think and have added your name to the welcome screen. If we come up with any ideas for features we will be sure to let you know.

#4 EmTeaKay

  • Members
  • 115 posts

Posted 13 April 2012 - 12:27 AM

This is good for CC/RP/BC/IC2 servers as this will let factory managers talk to their workers with out clogging up the chat. How would I get this on my server without having to type 100+ lines of code?

#5 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 13 April 2012 - 12:37 AM

View Posttazyload, on 12 April 2012 - 11:27 PM, said:

Great work, I'm putting it on a server to see what people think and have added your name to the welcome screen. If we come up with any ideas for features we will be sure to let you know.
Thanks, i'll try to add any idea posted here.

View PostEmTeaKay, on 13 April 2012 - 12:27 AM, said:

This is good for CC/RP/BC/IC2 servers as this will let factory managers talk to their workers with out clogging up the chat. How would I get this on my server without having to type 100+ lines of code?
You can use the pastebin program if the http api is enabled, otherwise you'll have to ask someone with access to the server to copy the file.

#6 mister_s

  • New Members
  • 17 posts

Posted 11 July 2012 - 10:17 PM

It's good, but couldn't you just press T in a server to chat?
I don't quite understand the difference...nice work though! :)/>

#7 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 11 July 2012 - 10:33 PM

View Postmister_s, on 11 July 2012 - 10:17 PM, said:

It's good, but couldn't you just press T in a server to chat?
I don't quite understand the difference...nice work though! B)/>
lol, yes, but now you can do it on your CC computer :)/>

#8 mister_s

  • New Members
  • 17 posts

Posted 11 July 2012 - 10:47 PM

Quote

lol, yes, but now you can do it on your CC computer :)/>
True, and it could make it more private! I downloaded it, (or pasted it, whatever.) works well!

#9 ParanoidPlayer1

  • New Members
  • 4 posts
  • LocationMars

Posted 15 July 2012 - 05:34 AM

Next step: encryption? or somehow make it private :P/>

#10 AKman1984

  • Members
  • 33 posts

Posted 15 July 2012 - 04:46 PM

Hello MysticT awesome code I have an idea for you. Have the chat be displayed on to a monitor so that others can see. I wanted to ask you if I could feature your program on my youtube channel. I would obviously give you all the credit and tell people about your work. Anyways let me know.

#11 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 15 July 2012 - 07:28 PM

View PostAKman1984, on 15 July 2012 - 04:46 PM, said:

Hello MysticT awesome code I have an idea for you. Have the chat be displayed on to a monitor so that others can see.
Well, you could use the monitor program to run it on the monitor, but it would be hard to write. If I make a version for my os, this could be really easy, since it has synchronized output.

View PostAKman1984, on 15 July 2012 - 04:46 PM, said:

I wanted to ask you if I could feature your program on my youtube channel. I would obviously give you all the credit and tell people about your work. Anyways let me know.
Sure, no problem. Some publicity is always good :P/>

#12 AKman1984

  • Members
  • 33 posts

Posted 17 July 2012 - 03:31 AM

Here you go hop you like it


https://www.youtube....c0&feature=plcp

#13 UrASmurf

  • New Members
  • 13 posts

Posted 18 July 2012 - 03:26 AM

I can see a lot of forever alone moments arising from this.

Self: Hey
Selfonothercomputer: Hey man, hows it going.
Self: You are my best friend.

#14 koslas

  • Members
  • 62 posts
  • LocationChristchurch, New Zealand

Posted 21 July 2012 - 12:19 AM

so we could just put this on a disk, and copy it onto the computer?
came from AKman1982's Video, May I ask how he installed it, onto a server?
Edit: Don't worry, figured it out

#15 ExtraRandom

  • Members
  • 17 posts

Posted 02 September 2012 - 06:06 PM

Hi there, awesome program, i was wondering can you have one which acts like a monitor but doesn't chat so its like a overview one and doubles up as a log for admins or something

#16 RockLegend2

  • Members
  • 16 posts
  • LocationOviedo, Florida

Posted 22 September 2012 - 09:18 PM

Hey, MysticT.
Like a bunch of other requests on here, I was wondering if this could be made private. I am currently creating a world with a gigantic tower right in the center of the map. It utilizes GChat now, thanks to you, but I want it set up somehow so the GChat in that building is separate from any other buildings using GChat across the world. I thought about using bundled cables, since cables don't transmit outside of the building's walls, though modems will. And if I was to put another GChat-using building next to it, it'd be strange to have both on the same signal. Anyway, if there is any way to make it more private, or if bundled cables are the obvious answer, and I'm just rambling, either way, I would love to know.
Thanks!

#17 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 22 September 2012 - 09:22 PM

View PostRockLegend2, on 22 September 2012 - 09:18 PM, said:

Hey, MysticT.
Like a bunch of other requests on here, I was wondering if this could be made private. I am currently creating a world with a gigantic tower right in the center of the map. It utilizes GChat now, thanks to you, but I want it set up somehow so the GChat in that building is separate from any other buildings using GChat across the world. I thought about using bundled cables, since cables don't transmit outside of the building's walls, though modems will. And if I was to put another GChat-using building next to it, it'd be strange to have both on the same signal. Anyway, if there is any way to make it more private, or if bundled cables are the obvious answer, and I'm just rambling, either way, I would love to know.
Thanks!
I was thinking about making a new version of this, but with a server, that should make it more private. I'll update when it's done.

#18 RockLegend2

  • Members
  • 16 posts
  • LocationOviedo, Florida

Posted 22 September 2012 - 09:34 PM

View PostMysticT, on 22 September 2012 - 09:22 PM, said:

I was thinking about making a new version of this, but with a server, that should make it more private. I'll update when it's done.

Awesome! Thank you!

#19 musicgack

  • New Members
  • 14 posts

Posted 25 September 2012 - 08:48 PM

Can I Put This In A Simple Operating System? I Will Put Your Name With The Program... I'm Making.... A Operating System With Apps!

#20 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 25 September 2012 - 09:40 PM

View Postmusicgack, on 25 September 2012 - 08:48 PM, said:

Can I Put This In A Simple Operating System? I Will Put Your Name With The Program... I'm Making.... A Operating System With Apps!
Sure, no problem.
I'm almost done with the new version, it now uses a server and has some features like ban, whitelist, ops and more. I can't work on it now, so I think it will be ready for the next week.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users