This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
svdragster's profile picture

[Http] PSChat - Chat over the interwebs!

Started by svdragster, 09 June 2013 - 11:40 AM
svdragster #1
Posted 09 June 2013 - 01:40 PM
Chat over the interwebs in CC!

This is a simple chat which uses the Http Api!

Add a Noteblock behind the computer for notification sounds.


Download:
Version 2.0: pastebin get hyNxvCHZ InsertNameHere
Older version(s):
Spoiler1.5: pastebin get 927LzxZP InsertNameHere


Commands
Spoiler/me Example: *svdragster likes Cakes as much as Mudkip.
/nick change your nickname
/version to display version,
/update to update program,
/exit to exit the program.


Color codes:
Spoiler# For text colour,
$ for BG colour.



Picture
Spoiler
click to enlarge

Current Devs:
minizbot2012
MudKip
unobtanium #2
Posted 09 June 2013 - 02:20 PM
Oh wow! That's is crazy stuff. This doesnt even require the computer to be in the rednet range, do they? Because it doesnt even use rednet :P/>

Add an anti spam feature: if someone post 3 post in a short amount of time he has to wait 5 seconds.
svdragster #3
Posted 09 June 2013 - 03:03 PM
If anyone has version 1.5 to 1.53 please do /update

:(/>
MudkipTheEpic #4
Posted 09 June 2013 - 04:22 PM
I joined da dev team. :D/>

Expect more commands and color support!

Edit: Beta pastebin:

hyNxvCHZ
Zahlfire #5
Posted 10 June 2013 - 02:13 PM
Awesome program, just started using it today! Would it be ok if I handed it out to my players to use as communication?
MudkipTheEpic #6
Posted 10 June 2013 - 03:45 PM
Awesome program, just started using it today! Would it be ok if I handed it out to my players to use as communication?

Sure, as long as dragster here agrees. (He will)

BTW, I'm on the dev team, thats why im answering.
Zahlfire #7
Posted 10 June 2013 - 03:46 PM
I know you are on the dev team :P/> and he answered right after I posted that
minizbot2012 #8
Posted 10 June 2013 - 05:03 PM
umm, your account seems to have been suspended.
Zahlfire #9
Posted 10 June 2013 - 05:05 PM
umm, your account seems to have been suspended.
Yeah we just got a huge error stating it was suspended.
MudkipTheEpic #10
Posted 10 June 2013 - 06:56 PM
Oh noes!

This needs to be fixed. Sadly, sv is sleeping.
minizbot2012 #11
Posted 10 June 2013 - 07:09 PM
if only koding was responding faster…….

edit: got a prototype koding server for this running.
Edit2: also sv if you want a koding account i have invites.
MudkipTheEpic #12
Posted 10 June 2013 - 07:15 PM
if only koding was responding faster…….

edit: got a prototype koding server for this running.
Edit2: also sv if you want a koding account i have invites.

Whats the get and post urls?

I have invites too! :P/>
minizbot2012 #13
Posted 10 June 2013 - 07:16 PM
minizbot2012.koding.com/PSchatserv/get.php is the get, and yes remove the lines part.
minizbot2012.koding.com/PSchatserv/post.php is the post
and someone's posting massive amounts of null data
edit: added anti-spam of "".
MudkipTheEpic #14
Posted 10 June 2013 - 08:45 PM
minizbot2012.koding.com/PSchatserv/get.php is the get, and yes remove the lines part. minizbot2012.koding.com/PSchatserv/post.php is the post and someone's posting massive amounts of null data edit: added anti-spam of "".

Added as the official backup server! When sv's is down, it now tries yours.

/update to fix it!
svdragster #15
Posted 11 June 2013 - 11:45 AM
I like when I get no notification from host-ed.me when something happens….
Edit: Guess what they recently added to the ToS: No chats :)/> Thanks for notifying me for a change in the ToS, Host-ed!

Ill search a different one asap

Nope, I dont wanna work on this anymore.
By the way, the current version isnt working for me.
minizbot2012 #16
Posted 11 June 2013 - 01:37 PM
it needs to be updated in order to work on my server, mud who will take this over? okay now it fails to load without modification, so you need to take out your server stuff in order to work and it is a shame that you don't want to work on this anymore.
svdragster #17
Posted 11 June 2013 - 01:52 PM
I'm really busy in real life, and there isn't a free webserver allowing chats.
I could run it on my Linux server, but then everyone accesses to my network blah stuff. But I will work on a different program with http and php.

I can't get the php files from the server, yay!
minizbot2012 #18
Posted 11 June 2013 - 01:52 PM
but can i do it? also about the webserver use koding.com need an invite i have 2 more. Plus i have php files that work alright for the job (backup server)
I have done some serious work on anti-spam and now you cannot have user+colors+messages over 150 letters long.
TyDoesMC #19
Posted 15 June 2013 - 05:30 PM
How Would i Hook This Up To Rednet So When I Send A Message It Can Show Up On A Monitor Some Where Else
minizbot2012 #20
Posted 15 June 2013 - 06:51 PM
my koding is screwed up so i need to (try) and remake the server software.
well koding finally got off of their behind and fixed it, (had to use migration app) but will update with new locations in a little bit one i get it read
server is migrated use the /update command to use the new servers.
Need to run chmod on the folder to get it working will do tommorrow, typing on ipod.
after doing the chmod it started working, have any issues with the server tell me.
were building up for something very epic keep your eye peeled also /update if you will.
minizbot2012 #21
Posted 27 June 2013 - 03:10 PM
so after a few days/hours i have an update ready but it is mostly server sided. Let me present to you AUTH! It only has a server say command tho. And we are fully moved onto the new vm based koding. With a few upgrades ofc. Also sorry for double post.