Jump to content




OurChat - Chat with other people as if they're there!


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

#1 PixelFox

  • Members
  • 106 posts

Posted 11 October 2015 - 08:16 PM

Imagine a world where people can talk in the minecraft chat, and have everyone on every world can hear them?
Well that's the idea here. Type anything that you want in the chat, and it will go over the internet, and others will hear you clearly!

WARNING: Requires Moarperipherals' Chatbox!

ARE YOU READY TO CHAT WITH ANYONE ON MINECRAFT? WELL GO DO IT!!!!!!!!!

pastebin get 7RppEbTW OurChat


Enjoy!

#2 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 12 October 2015 - 03:33 AM

Really cool idea. I tried doing something like this with some success by routing chatboxes into minizbot's PSChat, but it would sometimes repeat.

#3 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 14 October 2015 - 08:36 PM

I made a read() version of OurChat, for servers that don't have MoarPeripherals.
pastebin get zvV7Le0F ourchat

EDIT: Just added command support, ripped from the default chat program.

Edited by LDDestroier, 14 October 2015 - 10:15 PM.


#4 FUNCTION MAN!

  • Members
  • 292 posts

Posted 14 October 2015 - 11:57 PM

  • "USERNAME's programming skills rival that of the Software Toolworks.",
I believe that's what they call a 'sick burn'

Edited by DemHydraz, 14 October 2015 - 11:58 PM.


#5 クデル

  • Members
  • 349 posts

Posted 15 October 2015 - 12:39 AM

This is neat, but I would add the colon server side instead, and enter two arguments into the request.

#6 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 15 October 2015 - 03:11 AM

I fixed the broken commands in the text version. Now /insult works just fine!

EDIT: Just fixed the text scrolling, so that text that exceeds one or two lines does not go in the text input, while still being fully visible.
EDIT 2: Added extra insults and a /kill command.

Edited by LDDestroier, 15 October 2015 - 02:33 PM.


#7 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 15 October 2015 - 04:18 PM

I tried upgrading your basic program even more! Here's what I got. May have errors (it's untested as of yet cos' I'm at school).
pastebin get NQVPiSWZ ourchat-rl
std pb NQVPiSWZ ourchat-rl

Here are the changes:
+Added commands! Use :help to get the list.
+One of those commands is :nick which will change your nickname so that everyone else thinks you are someone else.
However, nicknames have '' around them to help differentiate.
+Lists all people who have used the chat locally (on the same server you are on).
It is now my first use of a function (sprint()) that I made a long time ago.

Edited by LDDestroier, 15 October 2015 - 04:19 PM.


#8 minizbot2012

  • Members
  • 122 posts
  • LocationPalm Bay, Florida

Posted 16 October 2015 - 07:54 PM

//Offtopic//
It would repeat because you're receiving the message you sent, to prevent it you would need to do a bit of filtering on what you sent and received, which is outside of the scope of my project. I have no idea on how this one works as I don't have access to the server source.
//ontopic//
Nice job on this program, however I do have a bit of a question, why exactly do you have "?true=true" on the line to do the http.get request, when omitted it says that a "file" has been written. I would think that if it had the words parameter in the request, that it would send, and if it had nothing it would receive.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users