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

xIRC v0.2 - Rednet Chatting made easy.

Started by Xemiru, 26 November 2012 - 12:46 PM
Xemiru #1
Posted 26 November 2012 - 01:46 PM
A new IRC client in ComputerCraft!

Note: xIRC is under a complete rewrite of both server and client in attempt to squash all bugs currently active.

Screenies!
SpoilerServer-Side, when the server is detectable and online.


Client-side, a server list.


Client-side, in chat. User has executed a few commands. [/help, /poke, /login]

Downloads
Client http://pastebin.com/mEwBM590 or https://dl.dropbox.c...%20LUA/xIRC/irc
Server http://pastebin.com/ipMQc7Hf or https://dl.dropbox.c.../xIRC/ircserver

Notes:
- Please refrain from using CTRL+T client-side. It works on server-side, but clients will glitch out and will not be able to connect to the server they left with CTRL+T. They will need to be kicked by an operator to rejoin.
- Found bugs? Got suggestions? Send them over on this forum!


[TODO List]
-[v0.3]-
- Improved display for Advanced Computers
- Logging on server computer instead of requiring a monitor
- /poke command outputs a redstone signal through a side, if allowed.


[Features]
-[v0.2]-
- Command System
> Division between Primary and Minor Operators.
- Chat System
- Easy operation.
- Spam Filter [Repetitive Message]


[Changelog]
-[C-rev160]-
- Fixed the "Read timed out" bug where it wouldn't allow any connections to be sent.
-[v0.2]-
- Initial Release
-[v0.1]-
- N/A

–All code by Xemiru.
LOLerul #2
Posted 27 November 2012 - 08:27 AM
When Connecting to the server it says "Failed to connect. Read timed out."
tom2018 #3
Posted 28 November 2012 - 12:20 PM
1.use pastebin
2.noone is gonna click adfly links.
Tiin57 #4
Posted 28 November 2012 - 12:57 PM
The ctrl-t bug is an easy fix. Just override os.pullEventRaw() and add a disconnect in between the terminate event and the exit.
Edit: Also, NO ADF.LY! Just use pastebin; this makes me want to repost it under pastebin, as it's a program written in an interpreted language with an adf.ly link. Silly.
Cranium #5
Posted 28 November 2012 - 01:01 PM
Please post some screenshots. I want to know what I am apparently funding with ridiculous adf.ly links.
Xemiru #6
Posted 29 November 2012 - 11:17 AM
When Connecting to the server it says "Failed to connect. Read timed out."

fixed. [C-rev160]
russjr08 #7
Posted 29 November 2012 - 01:50 PM
Actually, I'm still getting "[Sys> Failed to connect. Read time out"
Xemiru #8
Posted 29 November 2012 - 04:05 PM
Actually, I'm still getting "[Sys> Failed to connect. Read time out"

Are you sure you typed in the ID right?
It requests the individual ID#, not the ID encased in brackets.
I'll test it and snoop around the code to check out for input glitches, I was mainly using ccEmu.
Xemiru #9
Posted 29 November 2012 - 04:30 PM
Screenshots added.

-[MAJOR GLITCH]-
- Attempting to connect to a server while others are online seem to interfere with the broadcasting system.
russjr08 #10
Posted 29 November 2012 - 04:46 PM
Actually, I'm still getting "[Sys> Failed to connect. Read time out"

Are you sure you typed in the ID right?
It requests the individual ID#, not the ID encased in brackets.
I'll test it and snoop around the code to check out for input glitches, I was mainly using ccEmu.
Ah, I'll go try that again. :)/>

Edit: Still not working, here's what I did.

[attachment=718:2012-11-28_21.45.49.png]
[attachment=719:2012-11-28_21.46.00.png]
[attachment=720:2012-11-28_21.46.13.png]

The ID in brackets appears to be the computer id
Xemiru #11
Posted 29 November 2012 - 06:02 PM
Actually, I'm still getting "[Sys> Failed to connect. Read time out"

Are you sure you typed in the ID right?
It requests the individual ID#, not the ID encased in brackets.
I'll test it and snoop around the code to check out for input glitches, I was mainly using ccEmu.
Ah, I'll go try that again. :)/>

Edit: Still not working, here's what I did.

[attachment=718:2012-11-28_21.45.49.png]
[attachment=719:2012-11-28_21.46.00.png]
[attachment=720:2012-11-28_21.46.13.png]

The ID in brackets appears to be the computer id

- Make sure you have the most updated version. [Client rev160, Server rev130]
- Try it in a new world where there aren't many computers activated.
? Wait for the update where it fixes that one major glitch.

I'll try and fix it tomorrow, gotta go sleep.
russjr08 #12
Posted 29 November 2012 - 06:07 PM
- Make sure you have the most updated version. [Client rev160, Server rev130]
- Try it in a new world where there aren't many computers activated.
? Wait for the update where it fixes that one major glitch.

I'll try and fix it tomorrow, gotta go sleep.

Good night!
atomhell #13
Posted 02 January 2013 - 03:19 PM
- Make sure you have the most updated version. [Client rev160, Server rev130]
- Try it in a new world where there aren't many computers activated.
? Wait for the update where it fixes that one major glitch.

I'll try and fix it tomorrow, gotta go sleep.

I just tried the latest version, and I got the error with "connection timed out" just like the above. We used the latest versions.

Hope to see a working version released, this appears to be the most promising chat scripts on this forum!