Jump to content


inventor2514's Content

There have been 28 items by inventor2514 (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#135686 Post Your Internet Speed!

Posted by inventor2514 on 24 July 2013 - 06:43 PM in General

Posted Image



#66355 GUI File Browser

Posted by inventor2514 on 30 December 2012 - 04:03 PM in Programs

View PostNDFJay, on 30 December 2012 - 03:15 PM, said:

Any chance of making it less text based and more graphical?

I'm working on that right now. Did you have anything specific in mind?



#66068 GUI File Browser

Posted by inventor2514 on 30 December 2012 - 04:29 AM in Programs

So, is anyone still using this? If so, are there any improvements you would like to see?



#54742 [CC: 1.48] CCLan 1.2, lan cables!

Posted by inventor2514 on 27 November 2012 - 01:40 PM in Peripherals and Turtle Upgrades

Here's a little unofficial documentation containing the basic info.

Spoiler



#53055 another OS (has video!) [CONTAINS INTERWEBS!][has themes][infinite us...

Posted by inventor2514 on 24 November 2012 - 05:14 AM in Programs

local function useColor()
if term.isColor then
  if term.isColor() then
   return true
  end
end
return false
end

if useColor() then
-- use color
else
-- don't use color
end

Works with old versions and non-advanced computers.



#47358 [1.46] Spamming children?

Posted by inventor2514 on 05 November 2012 - 11:27 AM in Bugs

I made it past 100 with no problems (other than getting tired of clicking).



#45440 [OS] SphinxOS [Beta]

Posted by inventor2514 on 29 October 2012 - 01:40 AM in Operating Systems

I would suggest some screenshots, and yes, pastebin.



#45434 LyqydOS Beta/Development

Posted by inventor2514 on 29 October 2012 - 01:20 AM in Operating Systems

Excellent OS! I did notice that the mouse_scroll event x and y values are not adjusted like they are with mouse_click when I was messing around with events.



#45304 GUI File Browser

Posted by inventor2514 on 28 October 2012 - 04:17 PM in Programs

v 1.4.0 is out and has been tested with CC 1.46, though it should also work with 1.45.
In addition, I think the next update will be a rewrite because the interface just doesn't feel as intuitive as I would like with the mouse and I want to make use of color.



#41059 GUI File Browser

Posted by inventor2514 on 16 October 2012 - 11:08 PM in Programs

v 1.4.0 PR2 for CC 1.45 PR3 is now available.



#39628 GUI File Browser

Posted by inventor2514 on 13 October 2012 - 02:29 AM in Programs

v 1.4.0 PR1 is available with mouse support. If you don't have an advanced computer, just keep using v 1.3.3.



#35802 [Lua][Question] arrays over rednet

Posted by inventor2514 on 30 September 2012 - 03:19 PM in Ask a Pro

You can convert a table to a string using textutils.serialize( table )



#35785 GUI File Browser

Posted by inventor2514 on 30 September 2012 - 02:50 PM in Programs

View Postmakerimages, on 26 September 2012 - 12:12 PM, said:

how do you distinguish between files and directorys?

I use fs.isDir() and store the results in a table for later reference.



#27605 [lua]HELP ASAP-EMERGENCY :P

Posted by inventor2514 on 24 August 2012 - 09:34 PM in Ask a Pro

You only shutdown the computer if the password check fails. The program just keeps running and ends if the username check fails.



#27495 GUI File Browser

Posted by inventor2514 on 20 August 2012 - 04:24 PM in Programs

View PostLaserman34170, on 20 August 2012 - 01:53 PM, said:

Yes, actually I'm thinking on finding a string inside the filename for an extension.
In that case, make the following changes to my functions; they should be around line 104. You should be able to check for file extensions and draw your custom icons.
-- Draws an icon at the specified position
local function drawIcon(x, y, tIcon, sName)
local tIcon = tIcon
for i, s in ipairs(tIcon) do
  output(x, y+i-1, s)
end
if sName then output(x, y+#tIcon, string.sub(sName, 1, 8)) end
end
-- Draws icons to represent file data
local function drawIcons()
local pos = 1 + maxCol*(row-1)
local limit = pos-1+maxCol*maxRow
if #tData < limit then limit = #tData end
local icon = 1
for i = pos, limit do
  local x, y, sName = tOrigins[icon][1], tOrigins[icon][2], tData[i][1]
  if tData[i][2] then
   drawIcon(x, y, tDirIcon, sName)
  else
   drawIcon(x, y, tFileIcon, sName) -- replace this with your code
  end
  icon = icon + 1
end
end



#26949 What is dan200 working on ?

Posted by inventor2514 on 17 August 2012 - 05:37 PM in General

Yeah, what's up with the lime green floppy disk? It could be a colored disk that is easier to recognize, or it could be something more.

EDIT: Also, does anyone else see the second slot on the disk drive texture?



#26943 GUI File Browser

Posted by inventor2514 on 17 August 2012 - 05:18 PM in Programs

View PostLaserman34170, on 17 August 2012 - 04:38 PM, said:

Where should I edit the code if I want to use mutiple icons?
Right now, I can only distinguish between files and directories, so I only have one icon for each. I declare them at lines 23&24. If you wanted to, you could declare your own icons in the same style and use them as arguments for drawIcon(), but you would need a way to recognize different types of files.

View Postcraniumkid22, on 17 August 2012 - 04:44 PM, said:

Wow, this is REALLY nice! I love it!
Thank you; I appreciate the appreciation.



#26924 Virus

Posted by inventor2514 on 17 August 2012 - 04:02 PM in Programs

Files may not be changed, but it still prevents the computer from being used. On a server that uses a custom shell, you might not even be able to disk boot around it. Thus, it is a form of malware.

Relevant Link:
http://en.wikipedia.org/wiki/Malware



#26790 Virus

Posted by inventor2514 on 17 August 2012 - 12:47 AM in Programs

So, if a program on your actual computer rendered it unusable, that wouldn't be malicious? I would certainly consider it to be.



#26455 Is it possible to open a "shell" on another computer via RedNet?

Posted by inventor2514 on 16 August 2012 - 04:02 AM in Programs

View Postmarumaru, on 16 August 2012 - 03:24 AM, said:

The key goal of remote administration tools is to be silent, if you're silent they will never suspect a thing. This is good for stealing software from rival companies in the game.

No, the key goal of remote administration tools is to allow legitimate users of a computer to control it without direct access. They shouldn't be used for malicious purposes. More on topic, a client-server system with a term redirect is good way to go. I'd also recommend an authentication system on the server if you're playing SMP.



#26453 [Error] Login Server Errors

Posted by inventor2514 on 16 August 2012 - 03:50 AM in Ask a Pro

Try adding quotes around the users and passwords table elements.
users = { "blackplage", "SwatChan", "Guest" }
passwords = { "blackplage", "SwatChan", "Guest" }



#26437 [Error] Login Server Errors

Posted by inventor2514 on 16 August 2012 - 02:12 AM in Ask a Pro

fuction bootUp() should be function bootUp(); just a simple typo.



#26435 [1.4/1.5] Pixel Manipulation

Posted by inventor2514 on 16 August 2012 - 01:38 AM in Suggestions

Personally, I would like to have pixel manipulation. I can't see it being a huge issue, but I haven't worked much with servers. Maybe the API could be optional, like the http API.



#25697 GUI File Browser

Posted by inventor2514 on 13 August 2012 - 12:44 PM in Programs

I use term.setCursorPos() and term.write() to draw the ASCII art. Take a look at the functions drawIcon() and drawBorder() in my code for more detail.



#24102 BankOS

Posted by inventor2514 on 06 August 2012 - 07:23 PM in Operating Systems

While an ASCII art GUI may not meet modern standards, it still qualifies as a GUI if the user interacts with graphics. Also, my application is below:


IGN: inventor2514
Age: 17
Email: [email protected]
Applying for: UI Designer
Experience: GUI File Browser
Other: Skype name is also inventor2514