Jump to content


Xemiru's Content

There have been 35 items by Xemiru (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#55330 xIRC v0.2 - Rednet Chatting made easy.

Posted by Xemiru on 29 November 2012 - 06:02 PM in Programs

View Postrussjr08, on 29 November 2012 - 04:46 PM, said:

View PostXemiru, on 29 November 2012 - 04:05 PM, said:

View Postrussjr08, on 29 November 2012 - 01:50 PM, said:

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.





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.



#55314 xIRC v0.2 - Rednet Chatting made easy.

Posted by Xemiru on 29 November 2012 - 04:30 PM in Programs

Screenshots added.

-[MAJOR GLITCH]-
- Attempting to connect to a server while others are online seem to interfere with the broadcasting system.



#55309 xIRC v0.2 - Rednet Chatting made easy.

Posted by Xemiru on 29 November 2012 - 04:05 PM in Programs

View Postrussjr08, on 29 November 2012 - 01:50 PM, said:

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.



#55229 xIRC v0.2 - Rednet Chatting made easy.

Posted by Xemiru on 29 November 2012 - 11:17 AM in Programs

View PostLOLerul, on 27 November 2012 - 08:27 AM, said:

When Connecting to the server it says "Failed to connect. Read timed out."

fixed. [C-rev160]



#54444 [WIP] Navy [MMORPG] - very much work in progress

Posted by Xemiru on 26 November 2012 - 05:22 PM in Programs

Instead of making the modem required to be on the right, you could use rs.getSides().
for k,v in ipairs(rs.getSides()) do
rednet.open(v)
end



#54372 xIRC v0.2 - Rednet Chatting made easy.

Posted by Xemiru on 26 November 2012 - 01:46 PM in Programs

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!
Spoiler

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.



#53309 FileSystem, fs.write/writeLine() - Error

Posted by Xemiru on 24 November 2012 - 03:12 PM in Ask a Pro

And it still doesn't work.



#53306 FileSystem, fs.write/writeLine() - Error

Posted by Xemiru on 24 November 2012 - 03:09 PM in Ask a Pro

The io.read() is to read the input from the user, not to read from the file.
Yes, I've tested both file:function and file.function.



#53300 FileSystem, fs.write/writeLine() - Error

Posted by Xemiru on 24 November 2012 - 02:56 PM in Ask a Pro

I've been working on fixing this glitch long enough, I can't figure this out. Every time, it makes the non-sensible error (to me) that I'm attempting to index a nil value.
   datafile = fs.open("xirc/settings.xicfg", "w")
   print("Enter your name for this computer.")
   cx,cy = term.getCursorPos()
   write(">> ")
   local nameinput = io.read()
   datafile:write("name="..nameinput.."\n") --error
It's one of the two LAST GLITCHES in my code.



#52551 [Error] attempt to perform arithmetic add

Posted by Xemiru on 22 November 2012 - 09:02 PM in Ask a Pro

I just realized how stupid I was at that moment.
First time I've ever confused Java with LUA in strings.



#52493 [Error] attempt to perform arithmetic add

Posted by Xemiru on 22 November 2012 - 03:37 PM in Ask a Pro

svr:150: attempt to perform arithmetic__add on table and string
--Line 150
	 sendMessage(ssender, v + ", ", true)
--The function
local function sendMessage(target, message, noprint)
if connected[target].name ~= nil then
  if noprint == nil or noprint == true then
   rednet.send(connected[target].id, "{msg-write} {"..message.."}")
  else
   rednet.send(connected[target].id, "{msg-print} {"..message.."}")
  end
end
end

I have no idea what this means.
Notes:
- Table connected was initialized.
- The value of [target] is initialized before this as a table.



#16898 Better Terminal Management, Client and Server.

Posted by Xemiru on 26 June 2012 - 11:09 PM in Suggestions

You know how many folders are created, and it's always so irritating and confusing, at least for me, to manage those and sort those out? Well, I kinda have an idea to fix that.

Client:
Allow choosing terminal numbers for a computer.

Server:
Allow choosing terminal numbers for a computer, then setting a password for that terminal number in the matter that someone tries to access it with a new computer.

This'll help on being able to manage files better, because it's always so annoying for me to destroy a computer and lose all the files accessible in-game, having to transfer it via a disk or a file transfer from the world/server directory.

I'm really hoping this gets implemented.

- Xemiru "Scarlet" Sanzenin



#16845 [1.31+] NeXuS Command Prompt (NOW RUNS .BAT FILES)

Posted by Xemiru on 26 June 2012 - 08:36 AM in Programs

Now why do I feel like this can be more of a danger to CC servers, being able to excecute BATCH files from a virtual computer inside a game.



#16566 [Text Utility] Scroll-able Selections

Posted by Xemiru on 23 June 2012 - 11:44 AM in APIs and Utilities

:failing so much on this atm:



#16562 [1.31] Small Monitor API v1.2

Posted by Xemiru on 23 June 2012 - 09:29 AM in APIs and Utilities

For the marquee, try
x,y = term.getSize()
function marqueeRight(text,ypos)
  val = 1
  while true do
    term.clear()
    term.setCursorPos(val,ypos)
    write(text)
    if val == x then
	  val = 1
    else
	  val = val + 1
    end
    sleep(0.5)
  end
end

It failed when I tested it, but maybe you can build something off of it.



#16560 [Text Utility] Scroll-able Selections

Posted by Xemiru on 23 June 2012 - 08:48 AM in APIs and Utilities

--*requests thread deletion*--

API Code:
--*requests thread deletion*--


Usage:
--*requests thread deletion*--

--*requests thread deletion*--

Project closed from public until further notice.



#16559 Advanced Variables

Posted by Xemiru on 23 June 2012 - 08:35 AM in Ask a Pro

Solved.

Nevermind, I found something that I can use for this.



#16558 Advanced Variables

Posted by Xemiru on 23 June 2012 - 07:41 AM in Ask a Pro

For some of you, this might not be advanced.
But for me, it is. I'm asking about being able to add a variable via code, instead of coding the variable itself manually.
I'm looking through the LUA docs right now, but no avail.



#16472 Encryptions

Posted by Xemiru on 22 June 2012 - 11:35 AM in Ask a Pro

Possible to encrypt a string into a human-unreadable language/characters?



#12707 Dependent Turtle moving API

Posted by Xemiru on 17 May 2012 - 12:45 AM in APIs and Utilities

View PostTeraminer, on 17 April 2012 - 07:32 PM, said:

Move left makes the turtle turn or just go left?
Both.



#12698 [CC 1.33] [Beta 1.8.1] CCInput 0.27 (Big update!) - Play games on your gi...

Posted by Xemiru on 16 May 2012 - 11:56 PM in Peripherals and Turtle Upgrades

Multiplayer support?



#622 Error : Multiple Points

Posted by Xemiru on 16 February 2012 - 02:11 PM in Ask a Pro

My 12 year old brain has been filled with complication. Lol. I'll take a look into it.

EDIT:
After school, that is.



#598 Error : Multiple Points

Posted by Xemiru on 16 February 2012 - 04:29 AM in Ask a Pro

Aaaaaand a new problem occurs.

attempt to call nil

-___-

Really...

I'll pastebin the code.

startup
http://pastebin.com/MepkrXBb

installAPI
http://pastebin.com/XytZAYUW



#597 Error : Multiple Points

Posted by Xemiru on 16 February 2012 - 04:19 AM in Ask a Pro

Mhm. I put a note on my computer saying "Don't be an idiot."



#590 Error : Multiple Points

Posted by Xemiru on 15 February 2012 - 11:11 PM in Ask a Pro

...Kill me.

This whole time, I was storing the wrong API in the file folder.

Well, thanks for all the help, I guess. :D/>