Jump to content


HPWebcamAble's Content

There have been 735 items by HPWebcamAble (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#249139 Windows 10 venting

Posted by HPWebcamAble on 29 March 2016 - 10:06 PM in General

Wanted to add my two cents...

I installed windows 10 on my new PC, and it works well. Far from perfect, but good enough that I like it.

First, I'd highly advise that you DO NOT upgrade a PC to 10 from a computer that has been used. Too many things can go wrong.
On the other hand, a fresh install (or an update to 10 from a fresh install of 7, 8, or 8.1) rarely, if ever, has issues with the install.

The search (from the start menu) is a bit lacking;
It finds things like Google Chrome and most settings very well, but Minecraft? Feed the Beast? No.
In fact, it can't find files at all really. (MC and FTB aren't officially 'installed' programs)

File explorer works as it should, for me at least.

View PostBomb Bloke, on 29 March 2016 - 09:50 PM, said:

Oh, they've done some work on Calculator? I'll have to look into that, see whether it's improved back up to its glory days in XP.

Paint's another app which has seriously devolved under later versions of Windows. It's been outright bug-ridden since 7 (didn't try it in Vista), and the UI has taken a big step backwards.
Yep, calculator has gotten an upgrade. It actually surprised me, the old one worked so.. I didn't see an incentive to change it... I feel like that's not a good thing to immediately think.

Paint? I have no idea, I actually haven't even used it in 10. paint.net is a great, free alternative to the built-in paint and is similar to Photoshop.
Notepad still sucks too, but I use Notepad++ so it doesn't really matter to me.


View PostLDDestroier, on 28 March 2016 - 12:55 AM, said:

  • Windows 10 broke the MBR, again. I duel-boot Ubuntu with Windows.
It.. did? Do you mean when you updated, it broke your MBR?
Who needs that dated tech anyway, all the kool kids use GPT



#249045 [1.8.9][CC 1.78][SMP] Computers/Turtles do not boot when chunks load

Posted by HPWebcamAble on 28 March 2016 - 09:25 PM in Bugs

View PostLupus590, on 28 March 2016 - 03:45 PM, said:

This is a known long-standing issue, I've found that creating a new world sometimes fixes it.

To add onto this, there's no sure way to fix it.

OP, it's possibly related to incorrectly closing the game, did you, perhaps, stop the server by forcing it to stop instead of typing '/stop' (if you have control of the server)?



#248402 [1.7.10] [CC1.73] Placing 2 advanced mons next to each other crashes

Posted by HPWebcamAble on 18 March 2016 - 12:53 AM in Bugs

We can't help if you don't post the crash log you got without CustomNPCs



#247482 Uncopiable disks

Posted by HPWebcamAble on 07 March 2016 - 01:39 AM in Suggestions

View Postwilcomega, on 06 March 2016 - 09:43 PM, said:

Totally missed that, but still, i would like to make stuff read only

You could always modify the FS API



#247436 Graphical user interface computer

Posted by HPWebcamAble on 06 March 2016 - 06:03 PM in Suggestions

There are plenty of GUI based OS's in the Operating System section of the forums

One (no pun intended) example is OneOS



#247434 Pausing the execution of a program

Posted by HPWebcamAble on 06 March 2016 - 06:01 PM in Ask a Pro

In this specific example, no, not without the Lua debug API (which is disabled in CC)

But in a program that calls os.pullEvent (like it should ;) ), you can make a program that manages what events get passed to program b. See the parallel API for an example.



#247349 Advanced Paint

Posted by HPWebcamAble on 05 March 2016 - 07:36 PM in Programs

View Postry00000, on 05 March 2016 - 07:03 PM, said:

THIS is my current AP3 monitor setup.

Glad to see you're getting some good use out of it :)



#247333 Issue With Rendering Text On Screen (No texture packs) (Only Mod: Computercra...

Posted by HPWebcamAble on 05 March 2016 - 05:37 PM in Bugs

View PostSilver07, on 04 March 2016 - 05:55 AM, said:

EDIT *Unable to get a screenshot with the pack on ( causes game crash ) Doesn't make a crash report IDK why, it just closes*

Your crash report should be in the minecraft folder, in the crash-reports folder.
The location of the MC folder depends on how you're running it. Default minecraft is (on windows) in %appdata% / .minecraft

Also, I believe we determined the text issue is due to your older GPU.



#247291 Proper 24-hour time format.

Posted by HPWebcamAble on 04 March 2016 - 10:43 PM in Suggestions

A quick search on Google Images for military time turns up results that mostly add the 0 before times like 1:00

But it is technically still 'correct' with or without the zero, since adding a zero simply changes the look, not the time shown.


View PostNothy, on 04 March 2016 - 11:11 AM, said:

And google does not agree, I guess it is based on time zones. http://i.imgur.com/hb6WiQo.png

Um.. what? PixelToast was showing that Google doesn't add the 0, that time would never have a 0 at the beginning anyway.



#247252 Broken and replaced

Posted by HPWebcamAble on 03 March 2016 - 11:41 PM in Ask a Pro

View PostBomb Bloke, on 03 March 2016 - 04:23 AM, said:

I mean, real computers don't know when the power's about to be cut (or why)

But IRL computers don't cease to exist temporarily when you walk away from them :P
95% of the time or more, a real computer is shut down by the user, properly.

In Minecraft however, I'd guess that a computer will almost never be shutdown using os.shutdown, but instead by their chunk unloading

Just out of curiosity, anyone know how OpenComputer handles it?

View PostBomb Bloke, on 03 March 2016 - 04:23 AM, said:

What's wrong with coding a decent reset mechanism?

Many programs can be coded to assume they will be stopped at any moment. However, every so often I think of a program I'd like to make that can't get around this fact.


Like I said, I doubt dan will implement any type of work around, such as an event being fired. But if he did, I don't think anyone would complain.



#247205 Broken and replaced

Posted by HPWebcamAble on 03 March 2016 - 03:57 AM in Ask a Pro

View PostSebra, on 02 March 2016 - 06:52 PM, said:

I try not to make several suggestions at once.

It's fine to. But I doubt dan would implement it.

In the past, for suggestions regarding a 'shutdown' event or something similar, he maintains that it breaks the fourth wall a bit.
Which is true, but I don't think its a good reason not to implement it. Whats wrong with breaking the forth wall in Minecraft once in a while ;) ?



#247114 Need help... window:150 string expected got nil

Posted by HPWebcamAble on 02 March 2016 - 12:48 AM in Ask a Pro

View PostKingofGamesYami, on 01 March 2016 - 10:38 PM, said:

Since the only term functions that require a string are term.write and term.blit, I would guess you are passing nil as the first value to one of those two functions

View PostBomb Bloke, on 01 March 2016 - 11:05 PM, said:

It may also mean you set an invalid colour and then later tried to write with it.

Actually, since line 150 of the window API has to do with the text color of a line, I'd suspect term.setTextColor()



#247113 possible to do os.pullevent with metadata?

Posted by HPWebcamAble on 02 March 2016 - 12:34 AM in Ask a Pro

You never actually said so, but I assume you want to the computer to wait for the plant to grow.

You'd use a loop and sleep
while true do

  local success,t = turtle.inspectDown()

  if t.metaData == 7 then --# This is probably not correct, I assume you know what index the plant's growth is stored in
    break
  end

  sleep(5)

end

It continuously loops, checking the block below it each time.
When the metadata is 7, it breaks the loop
If the loop hasn't been broken at that point (meaning the plant isn't ready), it simply sleeps for 5 seconds.



#246864 Variable Size Quarry (now with Super Ore Quarryâ„¢)

Posted by HPWebcamAble on 28 February 2016 - 04:44 PM in Turtle Programs

View PostRancordian, on 28 February 2016 - 02:50 AM, said:

Hello, i have a problem with this programm.
First: I'm running a server with Tekkit Legends and deletet ComputercraftEdu and changed it with Computercraft 1.75,

But i didn't get any of the version running. Every version i'm getting a error:

Here's line 18:
civilTable = nil; _G.civilTable = {}; setmetatable(civilTable, {__index = getfenv()}); setfenv(1,civilTable)

My guess is that you have Lua 5.1 features disabled in your config
Separate it into two lines, like this:
civilTable = nil; _G.civilTable = {}; setmetatable(civilTable, {__index =
getfenv()}); setfenv(1,civilTable)

If the new error is on line 19, then we'll know for sure



#246860 Screen API

Posted by HPWebcamAble on 28 February 2016 - 04:15 PM in APIs and Utilities

View PostX3ME, on 28 February 2016 - 10:11 AM, said:

Where is the documentation ( Yes i decided to use your api mate! :) )

In the file on pastebin, below the version history ;)
(Starts at line 97)



#246825 Troubles with GUI reactor managemente program

Posted by HPWebcamAble on 28 February 2016 - 01:09 AM in Ask a Pro

Ok, a few things:
  • I'm not sure if it's the forum software, but your indenting is strange, I've fixed it for you and uploaded it to pastebin here: http://pastebin.com/AjmGJPsN (Note I didn't change how it works, just the spacing and such)
  • You CAN use the numerical color values, but using the Colors API is much easier
  • Your 'event if-statement' (we'll call it that) has three options: mouse_click, rednet_message, and an else for all other events. But within your mouse_click statement, you check again that the event was a mouse click. You don't need to.
  • I'd recommend using a button API, so that you don't have to check 4 values to see what button was clicked. You could use my Simple Screen Maker to create it with an interface, or Lyqyd's Touchpoint API (there are others too)
Finally, I didn't check to see what causes the menu to disappear. Take another look, perhaps change a few of the things I mentioned, and you might find it.



#246815 Troubles with GUI reactor managemente program

Posted by HPWebcamAble on 27 February 2016 - 11:29 PM in Ask a Pro

View PostX3ME, on 27 February 2016 - 10:48 PM, said:

Thanks! Then how do I do what I want to?

In your main loop, you should have one call to os.pullEvent() (usually the first line of the loop)

Below it, you check what event was pulled, and handle it accordingly:
while true do

  local event, p1, p2, p3, p4 = os.pullEvent() --# I use the variable names because you don't know for sure what each variable contains yet.

  if event == "mouse_click" then
    --# The mouse was clicked, do stuff with the parameters (that's our variables p1, p2, ...)
  elseif event == "rednet_message" then
    --# Recieved a rednet message
 end --# You can check other events if you need to, but those you don't handle will simple by discarded, which is fine

end



#246807 Im having trouble

Posted by HPWebcamAble on 27 February 2016 - 10:33 PM in Ask a Pro

View PostJames20256, on 27 February 2016 - 03:45 PM, said:

this is the cleverbot pastebin site
http://www.computerc...lua-up-to-date/

That program is a bit unique; it's a program that you can run, and also an API that can be loaded and used in another program.
Most APIs won't do anything if you run them.

If you want to use it like a program, run these commands:
> pastebin get Dv9x1ppc cleverbot
> cleverbot

Or, if you want to use it in one of your programs:
Download it, with the same pastebin command.
Add os.loadAPI("cleverbot") into your program. The post you linked has a small example on how to use it.



#246806 Shell.run

Posted by HPWebcamAble on 27 February 2016 - 10:26 PM in Ask a Pro

View PostRoberto80, on 27 February 2016 - 11:36 AM, said:

Hello. I use "Shell.run" in order to open some program from my program . However, it bothers me that is constantly being written messages that speak as a program is executed . For example, I do so to carry out a program with arguments pastebin get 44hfhroe3 test123. In my program written message "Connecting to pastebin ... Sucess ... Saved as test123" How to make sure that these messages were not? That they did not write and do not interfere with the implementation of the program ?

shell.run(), as you probably know, runs a program as if you had typed it into the command line. Which includes printing text to the screen.

You can redirect the terminal to an invisible window, but that isn't the 'proper' way.


You can look into the pastebin program to see how it works. For convince, here's a link to it.
Try to implement it into your program, without the prints or shell.run. Feel free to ask if you aren't sure where to start!



#246804 ICBM mod launcher as Peripheral

Posted by HPWebcamAble on 27 February 2016 - 10:19 PM in Ask a Pro

I assume the error has a '3' in there somewhere too. That's the line number.

You would get that error if there isn't actually a peripheral on the right.



#246802 Using peripheral methods via wireless modem

Posted by HPWebcamAble on 27 February 2016 - 09:35 PM in Ask a Pro

You can do it like this:
modem.transmit( 1,2, {"setActive",true} )

local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")

reactor[ message[1] ]( message[2] )

You'd send a table containing the method to call (as a string), and the value to pass it.

On the other end you index the method name in the reactor table, calling the function with the value specified in the message.



#246727 Im having trouble

Posted by HPWebcamAble on 27 February 2016 - 07:43 AM in Ask a Pro

Usually, APIs and programs go in the root directory.

For a program on pastebin, you'd run this command in a computer:
pastebin get <pastebin code> <file path>
Replacing <pastebin code> and <file path> with the appropriate values, of course.
Simply putting a name for <file path> automatically puts in the root directory.

If you give us a link to the program and API, we can give you more specific commands.



#246698 modify each computer disk space ?

Posted by HPWebcamAble on 27 February 2016 - 12:07 AM in Ask a Pro

View PostSoftNougat, on 26 February 2016 - 08:50 AM, said:

I presume also that it is not attainable .Setting a custom disks spaces to a computer would likely affect the others.

Well, its not just 'likely'. Changing the value in the config will affect all computers. It might be nice to have the ability to expand individual computers, but why not just expend them all?
If giving ever computer more space is an issue, you can always create a resource pack with a (relatively) simple file to make any specific computer think it has less space.



#246688 CCEmuRedux - ComputerCraft Emulator Redux

Posted by HPWebcamAble on 26 February 2016 - 11:08 PM in General

View PostSelim, on 26 February 2016 - 01:42 PM, said:

I am running it on my Chromebook my battery usage rate at least doubles.

You can run Java apps on a chromebook? Interesting. I assume you can't run full fledged minecraft though. (If you could it would kill your battery 10x as fast as CCEmuRedux :P )



#246631 SIM of sorts

Posted by HPWebcamAble on 25 February 2016 - 11:25 PM in Suggestions

View Postwilcomega, on 25 February 2016 - 09:18 PM, said:

I must have missed ender modems, but this would have 10x range of that AND it would be super cheap, just a redstone maybe?

Well, Ender modems have a range of over 2 billion blocks, while the maximum size for a world is 60,000,000 (30 million from 0,0 in each direction)
So it wouldn't make sense to give them 10 times the range. If it were even technically possible in Java (the ender modem's range is actually the max value for an int)

It's an interesting idea but I don't think it makes sense for ComputerCraft, which generally focuses on programming and not limitations of components.