Jump to content


PossieTV's Content

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


By content type

See this member's


Sort by                Order  

#257452 ComputerCraft App Market

Posted by PossieTV on 03 August 2016 - 05:16 PM in Programs

Screenshot?



#257085 IPv2 | InZernet Protocol Version 2 BETA | RFC

Posted by PossieTV on 30 July 2016 - 12:32 AM in General

I don't really have any ideas right now, although I'm sure I will once the first version is released and I've played around with it a little while, I'm excited to see what you come up with though



#257053 IPv2 | InZernet Protocol Version 2 BETA | RFC

Posted by PossieTV on 29 July 2016 - 06:05 AM in General

I like this idea alot (networking is my favorite part of cc) although this post should go in general no? Or at least until you have some code to share



#256992 Cobalt - a callback wrapper for ComputerCraft

Posted by PossieTV on 28 July 2016 - 03:05 AM in Programs

Amazing program! It makes it super easy for the graphically challenged (which I am) and lazy (which I also am) to focus on functionality instead of nice graphics. With that said, there are a few notes that I have.

1.) The key event doesn't support the fn key and the command key, not on my mac anyway. It was an easy fix though. I just added a check in the event handling part of the cobalt program.
2.) It would be nice to have each object have a "visible" attribute that would allow me to hide and show an object without changing cobalt.state
3.) While the graphics are impressive, it is really only useful for creating basic things like menus and log in screens. Now don't get me wrong, those things are useful, it would just be nice for it to be able to handle more challenging graphical problems. For example, if you could remove buttons from a panel, or draw them directly to the screen.

I really do like the callback feature though. I think that's the best thing about cobalt. Not only does it makes graphics super easy, it makes the actual programming easier too. It's less typing and less headaches for me XD. Overall, well done. I don't download programs from the forums that often, let alone use them, let alone take the time to give feedback (I usually prefer to build all of my own tools). So again, good job!



#256791 ICBM Mod Help

Posted by PossieTV on 24 July 2016 - 08:50 PM in Ask a Pro

Ohhhh, that's good to know cause the 1.6.4 ICBM is so much better than the 1.7.10.



#256706 ICBM Mod Help

Posted by PossieTV on 23 July 2016 - 06:39 PM in Ask a Pro

What version of ICBM are you using? Cause I didn't know that the 1.7.10 ICBM even had support for CC



#255842 Idea Exchange

Posted by PossieTV on 09 July 2016 - 07:19 PM in General

View PostSquidDev, on 09 July 2016 - 01:43 PM, said:

View PostCrazyPyroEagle, on 09 July 2016 - 10:07 AM, said:

Monoalphabetical ciphers are very easy to break using frequency analysis, and even the Vigenere cipher can easily be broken with a long enough ciphertext. Frequency analysis is not easy to have a computer automatically do because of how it requires you to know whether a substitution will be valid or not. For example, you might know that "creebers" is not a valid word, but the frequency analysis program won't. As such, it will substitute the ciphertext into "creebers" due to the whichever character the ciphertext uses having the same frequency as "b" in an unencrypted message.

Cracking monoalphabetical substitution isn't that bad to do automatically: instead of looking at individual letters you look at groups of letters (such as 4 successive letters) and math their frequency. The practical cryptography website (http://practicalcryp.../cryptanalysis/) has some pretty great docs on how to cracking ciphers through code.

The national cipher challenge in the UK (http://www.cipher.maths.soton.ac.uk) does many of the the things the OP discusses and may be worth checking out.

Yeah, I actually wrote one a while ago for CS class that did just that. It would look for single letters and judging on the frequency would assign it to either "i" or "a". And because "e" is rarely mis-assigned. You can go through and find the three letter word with the highest frequency ending in the letter assumed to be "e" and assign the first two letters to "t" and "h". I just used a bunch of little stuff like that along with the frequency analysis and it worked pretty good. I mean of course it's not perfect, but it was able to crack a lot of the ciphers I gave it.


//More on topic
I think it would be col to have a pastebin program that stores in a server somewhere how many times people download your program. Kinda like a nelson box for CC.



#255811 How can I create a progress bar?

Posted by PossieTV on 09 July 2016 - 06:01 AM in Ask a Pro

Glad I could help! Your implementation seems right so just let me know if you have any problems with it



#255804 How can I create a progress bar?

Posted by PossieTV on 09 July 2016 - 03:35 AM in Ask a Pro

I like to use a for loop for stuff like this. However you can use paintutils if you redirect to the monitor.

Like this
mon = peripheral.wrap(monSide) --Wraps the peripheral
oldTerm = term.redirect(mon) --Redirects the term while storing the old term in a variable named oldTerm
coloredPortion = math.floor((currentPower/maxPower) * width) --Calculates the width of the colored portion
paintutils.drawLine(startX, y, startX + width, y, barColor) --Draws the bar
paintutils.drawLine(startX,y,startX + coloredPortion, coloredPart) --Draws the colored portion over the bar
term.redirect(oldTerm) --Sets the term back to normal


However if you have an irrational aversion to paintutils like myself or you don't want to redirect the term, you can create your own draw line method like this

function drawLine(x,y,length,color) --Defines the function
  oldBgColor = term.getBackgroundColor() --Gets the current background color
  for i = x, (length + x) do --Starts a for loop starting at x and ending when x gets to x + length
	term.setCursorPos(i,y) --Set the cursor position to i,y
	term.setBackgroundColor(color) --Set the background color to the color
	term.write(" ") --Write that color to the screen
  end
  term.setBackgroundColor(oldBgColor) --Reset the background color
end


Of course should you decide to use this function you would have to tweak the first block of code. Just change the paintutils.drawLine() functions to this.

drawLine(startX, y, width, barColor) --Draws the bar
drawLine(startX, y, coloredPortion, coloredPart) --Draws the colored part over the bar

There you go, hope I could help.



#255792 GoldSlide V1.0 (Keynote/Powerpoint in Minecraft) [WIP]

Posted by PossieTV on 08 July 2016 - 11:07 PM in Programs

View PostLupus590, on 08 July 2016 - 10:45 PM, said:

View PostxXdab0mbXx, on 08 July 2016 - 10:28 PM, said:

It doesn't work anymore. Running latest ComputerCraft.

Describe "doesn't work", is there an error message? If so, then what is the message? If not then describe what happens.

No I know what he's talking about, it's a problem with the event handling. When I made it, there was no "key_release" event. It's an easy fix, I've just been busy with my server project. I'll update it though if there is people who want it updated.



#255073 Server Project Idea- Capture the Base (POC)

Posted by PossieTV on 29 June 2016 - 05:12 AM in General

View Postlutherwenxu, on 28 June 2016 - 10:37 AM, said:

Hi, may I help with this project? It seems quite interesting... I'll start working on the code and see what I can work out... :)

We aren't really looking for any more team members at the moment, but help/support is always appreciated! If you wish to help, we are thinking of adding an arcade at spawn and we need games/game ideas for it. Thank you so much though for your support!



#254823 What happens when one boots a CC computer?

Posted by PossieTV on 26 June 2016 - 05:35 AM in Media

Wait, so theoretically, could one change the bios.lua to make regular computers the same as advanced computers? Or is there something in the java code that says that non-advanced computers can't have color.



#254742 Server Project Idea- Capture the Base (POC)

Posted by PossieTV on 24 June 2016 - 09:16 PM in General

View PostMumbaiHHS, on 24 June 2016 - 01:55 PM, said:

lol May I join? Be fun to help. Better than sitting around doing nothing
I think we can add one more to our little group
What experience do you have with building and coding?



#254659 Crate API - Summon chests with items!

Posted by PossieTV on 23 June 2016 - 08:57 PM in Command Programs

This is really well done, do you mind if I use this on a server I'm trying to put together?



#254441 Server Project Idea- Capture the Base (POC)

Posted by PossieTV on 21 June 2016 - 08:41 PM in General

View PostCreator, on 21 June 2016 - 08:05 PM, said:

View PostPossieTV, on 21 June 2016 - 07:49 PM, said:

View PostCreator, on 21 June 2016 - 09:56 AM, said:

The video is impressive! I would love to help you out.

I would love your help! I took a look at your programs and your gui skills are impressive (which is pretty much all that is left on the programming side). What api did you use for FileX? Also what are your building skills like?

FileX ==> some on the go framework that is hardcoded in the program. I was writing Pixel at some point, but lost interest and a lack of time.

Building skill ==> I love it!

Sweet, then your in! I'm still working out details with Danny but once I get them I'll PM you and we can start building and set a open date.



#254433 Server Project Idea- Capture the Base (POC)

Posted by PossieTV on 21 June 2016 - 07:49 PM in General

View PostCreator, on 21 June 2016 - 09:56 AM, said:

The video is impressive! I would love to help you out.

I would love your help! I took a look at your programs and your gui skills are impressive (which is pretty much all that is left on the programming side). What api did you use for FileX? Also what are your building skills like?



#254366 Tornado Alert System

Posted by PossieTV on 21 June 2016 - 05:30 AM in Programs

A few suggestions:

A.) Indent your code- This won't change the function of the program but it will make you seem more experienced as this is a common practice amongst professional programmers
B.) Don't use shell.run('clear')- Again, this won't change the function of the program but will make you seem more experienced
C.) Add a variable at the beginning for the input side so people can change it easier.
D.) Put your code in a while true loop that way you don't have to reset the program after every tornado.
E.) Add support for monitors. For example, when a tornado warning is issued, the computer would put the message on all the monitors it is connected to.

Other than that, good program!



#254340 Server Project Idea- Capture the Base (POC)

Posted by PossieTV on 20 June 2016 - 07:07 PM in General

View PostDannySMc, on 20 June 2016 - 05:38 PM, said:

If anyone is actually wanting to do this? I would love to host the server for it? And then you can work on it :D

Awesome! I've worked on it a little bit more since that video. Everything works, it just needs to be polished a little bit. If you want to meet me on a server some time to work out everything I'm free pretty much any time. I would love to see this project up and running and I think it would be a lot of fun.



#254123 Krist betting?

Posted by PossieTV on 18 June 2016 - 07:12 AM in General

View PostJiloacom, on 18 June 2016 - 01:20 AM, said:

View PostPossieTV, on 18 June 2016 - 12:35 AM, said:

Exactly! Just as with the American dollar (or any currency really), it becomes more and more valuable as people start to offer goods in exchange for it (like logos or server store or anything like that). And when someone offers a service on the forums (say a server hosting service or something like that) that charges Krist and peaks your interest, you will more than likely find Krist useful then.

When and if the day comes that people actually start accepting Krist in place of USD or any other official currency, I will be very excited and will probably jump on the Krist train as quickly as possible. However, until that day comes, my point still stands that there's no practical use to the currency. You guys can boast about the fact that you're trading Krist for small things that would otherwise be free (like Logan's logos), but trying to argue that this currency is more than just a fun little game is stretching it.

Again, making it clear, I mean no offense to the creator or any users of Krist, I don't dislike the currency or the people who use it, I just dislike the fact that people think it's valuable.

Right, and I don't think it was ever meant to be something serious. I think it was meant to just be a fun game for people to play around with as well as an impressive bit of code. All I'm saying is that the value is not inherit in the Krist, it's whatever people give it, which right now, is very little.



#254083 Krist betting?

Posted by PossieTV on 18 June 2016 - 12:35 AM in General

View PostCloud Ninja, on 18 June 2016 - 12:31 AM, said:

View PostJiloacom, on 18 June 2016 - 12:02 AM, said:

View PostPossieTV, on 17 June 2016 - 09:37 PM, said:

Yeah and besides, any type of currency we use really only has value because we arbitrarily decided it did. Paper money is just tree bark painted green and is only worth something because people will accept it as valuable.

That and the fact that there are useful things you can do with the tree bark painted green, such as buying food or paying bills. You can't do that with Krist.
Not to you. There are services (someone's making logos in exchange for krist) that take it, and it can only grow from there.

Exactly! Just as with the American dollar (or any currency really), it becomes more and more valuable as people start to offer goods in exchange for it (like logos or server store or anything like that). And when someone offers a service on the forums (say a server hosting service or something like that) that charges Krist and peaks your interest, you will more than likely find Krist useful then.



#254056 How do i stop people from looking at my code?

Posted by PossieTV on 17 June 2016 - 09:54 PM in Ask a Pro

View PostKingofGamesYami, on 17 June 2016 - 09:53 PM, said:

View PostPossieTV, on 17 June 2016 - 09:51 PM, said:

Why isn't it allowed?

So the moderators can be sure you aren't posting malicious code.

Ahhh, gotcha



#254054 How do i stop people from looking at my code?

Posted by PossieTV on 17 June 2016 - 09:51 PM in Ask a Pro

View PostCrazedProgrammer, on 17 June 2016 - 09:32 PM, said:

You can encrypt the code, but you'll have to convert it back to Lua or bytecode to run it.
Also, obfuscating code on the forums is not allowed, so you're out of luck.

Why isn't it allowed?



#254053 Computercraft companys

Posted by PossieTV on 17 June 2016 - 09:49 PM in General

View Postvalithor, on 17 June 2016 - 09:42 PM, said:

View PostPossieTV, on 17 June 2016 - 09:39 PM, said:

View PostCrazedProgrammer, on 17 June 2016 - 09:31 PM, said:

This has to be a joke, right?

Why would it be a joke? Companies are just an organization of people working towards a common goal. In this case, that goal is creating CC programs

The idea of creating programs in a group is completely okay. Whenever it comes to "selling" these programs that it becomes funny. This is CC we are talking about here... It is meant to be a place where people can come and learn how to program, not where programs that could help someone learn must be bought with a worthless currency.

Oh I see well that makes sense, I don't really care about that though, I gave up on krist a while ago, I just like making group programs.



#254050 Computercraft companys

Posted by PossieTV on 17 June 2016 - 09:39 PM in General

View PostCrazedProgrammer, on 17 June 2016 - 09:31 PM, said:

This has to be a joke, right?

Why would it be a joke? Companies are just an organization of people working towards a common goal. In this case, that goal is creating CC programs



#254048 Krist betting?

Posted by PossieTV on 17 June 2016 - 09:37 PM in General

Yeah and besides, any type of currency we use really only has value because we arbitrarily decided it did. Paper money is just tree bark painted green and is only worth something because people will accept it as valuable.