Jump to content


unstopablekk's Content

There have been 18 items by unstopablekk (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#95057 [Open-Source] V-Slot Machine

Posted by unstopablekk on 09 March 2013 - 02:36 PM in Programs

Hello there! Well the title says it all so.. here ya' go!
oh, the're a few things. Works for all computers.. I think.

1. You need to edit some parts or maybe most since it is not made for CC specifically as it was made for lua in general.
2. The sleep function and clear function should work for CC since it has these in the API. If not then you guys can figure it out ;D
3. This is all virtual money (Hence the name v-slot machine), if you'd like it to dispense money then I think you know what to add.
4. This code is completely open source since I have no clue what to do with it... have fun! :D
5. Give credit where credit is due, if you wish.
6. Don't tell me whats wrong with the code if you're using it for CC since I didn't make this in a CC emulator, I made this using TouchLua for the iPhone so don't be too harsh... it was made on a tiny screen.

Also, feel free to enhance it. I encourage it.

http://pastebin.com/sbmNZLXW



#86232 [psst, help] Rednet not send/receive?

Posted by unstopablekk on 11 February 2013 - 11:47 AM in Ask a Pro

Thanks, it kinda sorta works. I get the messages but the redstone doesn't seem to be going through, I also tried changing redstone.setOutput to rs.setOutput and I still get no result. I do however receive the message saying Hormones: Restocking Hormones but I only receive the message once and then when I reboot and it does it again it skips the Hormones: Restocking Hormones message and goes to Hormones: Hormones Done and it just keeps cycling through the messages and also doesn't give me the redstone action I was expecting.
pc sending messages on progress: http://puu.sh/20z9q
pc receiving messages on progress: http://puu.sh/20zd6



#86217 [psst, help] Rednet not send/receive?

Posted by unstopablekk on 11 February 2013 - 11:21 AM in Ask a Pro

I may refer to the top room as the central computer room and the bottom room as the multiple computer storage room.

Okay, so me and my friend are trying to make a factory. I setup multiple computers with programs on each and a wireless redstone behind it so it sends the signal (http://puu.sh/20zg7) and it seems to work fine. I wanted to have this central computer (http://puu.sh/20zgI) to send commands to the computers you saw. My plan was to have the central computer broadcast a command to one of the individual computers at the bottom room (Room with all the computers).

When I tested this out this is what I got.
This is a setup to see how it would work: http://puu.sh/20zeR At first I thought it was the wireless redstone but it cant because these work just fine: http://puu.sh/20zfG

Now this computer is #14 (http://puu.sh/20zc4) and has this code: http://puu.sh/20z9q -- this computer is acting as the bottom room

Now this computer is #13 (http://puu.sh/20zdy) and has this code: http://puu.sh/20zd6 -- this computer is acting as the central computer

when I start them I notice that computer #14 seems to receive the message but does no actions.
I tried to use the os.reboot() function because computer #14 needs it so after the actions are complete then it will reboot and wait for another message from #13. I added the reboot command to pc #13 as-well to see what happens and still nothing. I then try both without the reboot function and still get the same results.

What am I doing wrong?



#74912 eMeter - count your energy Business

Posted by unstopablekk on 15 January 2013 - 06:37 PM in Programs

I really like this idea, it's funny because I was thinking of setting up a server (in-game) using computers as data storage units. I an currently working on using these data centers to receive user login throughout the town. I also wanted to send the data this receives to the data center, But the rednet only receives at a 64 block radius. So this would be useless unless there was some sort of network tower for computercraft since my town will be very large.
-edit: sorry for the horrible grammer and spelling. I'm on an iphone and it's extremely difficult to type on it.-



#74480 disk instaler

Posted by unstopablekk on 14 January 2013 - 07:02 PM in Programs

Damn, why is everyone so rude and disrespectful on the forums. I understand the whole "Criticism" thing but some of you are taking it too far. I'm new at this as well and i'm afraid to even post my work on here which is a loss to the community as a whole. I want you to look at a Lua Pro's profile and show me the work they did when they first joined. Granted, the code may not serve a purpose but it was something to show, something of pride. The best way to criticize is with respect, and if this community looses all sence of respect then I see little of this community as a whole.
Anyway...
Great work rick3333. Take the advice but keep in mind that whatever you do, and where ever you do it, you will have ass-holes like these criticize your work when this may be exactly how they started.



#74475 [peripheral] Suggestion - Servers

Posted by unstopablekk on 14 January 2013 - 06:46 PM in Suggestions

@Orwell
Thanks for an apporpriate and respectful response.
I've decided to just change the textures of the original computer and give it a server tower look.
I have already started on the programming portion and if I need any help i'll be sure to ask the pro's.
And sorry, I didn't know that asking for a program would generate such aggressive responses, lol.
A video and file should be up on the forums withing the next few days if i'm not too busy, for anyone that cares.



#74150 [CC 1.48 - 1.5] ccDB - Connect With Real Databases

Posted by unstopablekk on 14 January 2013 - 05:27 AM in Peripherals and Turtle Upgrades

@Espen Thanks for your reply, im extremely interested and will definitely look into MySQL setting up databases since this looks very promising.



#73903 [peripheral] Suggestion - Servers

Posted by unstopablekk on 13 January 2013 - 06:13 PM in Suggestions

Like I said, Im a noob. I don't know how to script it all myself. This is just a suggestion for anyone who'd like to take up the project. I'm not forcing anyone to take this burden upon them but just to consider it if they have a good sense of scripting.



#73899 [peripheral] Suggestion - Servers

Posted by unstopablekk on 13 January 2013 - 05:58 PM in Suggestions

Before you rant: Yes, Yes. I know there is a peripheral called ccMySQL by Espen (His profile here, ccMySQL here). But what about something more nub friendly? I know nothing about setting up a MySQL Database, nor do I want feel entitled to learning MySQL and getting one setup for the minor task I request.

What are you asking of?
I am asking of a simple addition to computercraft (not implemented in the actual modification itself) where I can connect computers to this small server, all in-game, and have a main terminal connect to the servers.

Example: Here I have a picture of a mock database center that does absolutely nothing but give the room appeal. I would like to have a new block, as some may call it, and have it connect to a computer using rednet or using Xfel's Peripheral Cables to send and receive data or lines of code/text.
Lets say that Advanced computer in the picture is the main terminal and it would use rednet to add text to the servers. Servers can be setup in a line and connected via cable and given an ID such as computers. The main terminal (advanced computer) runs a program and connects to one which may(not) be connected to another server. The main Terminal (ComputerA) can be used to setup new "Profiles/accounts" for users. I would then use a command to receive/send the rednet message via rednet.send(ServerID,message).

Here's a video of the idea behind this suggestion.
As you can see in the video this is pretty much what I want to use these "servers" for. Also to create accounts via main terminal with a friendly UI such as this and this2 with this2 image UI option 1 Create Username & Pass account, Option 2 Create Password/phrase (each creates new file inbedded into the servers. In which you can receive via computer via rednet)
At 3:40 of the video you can see the code. This will be what it looks like, it would just insert the data of what you'd like without the typing of the code. These can be considered presets which is what the options are, presets.

Other things to add/suggestions:
rednet.serverconnect(etc, etc) | idk something like that.
rednet.servergetpass(filename) | Gets the pass allowing the program to match the users os.read() with the pass made from the file created.
Turn servers on and off using main terminal if connected via Xfel's Peripheral Cables. Ex: Server.power(ServerID,On/Off)
if >1 Computers connect to main terminal then < 1 must use Cables to connect to main terminal or other servers.
Servers can connect to other servers via cable.
Servers can interact with other servers via cable.

Feel free to question and comment with additional suggestions about this suggestion below.



#73887 [CC 1.48 - 1.5] ccDB - Connect With Real Databases

Posted by unstopablekk on 13 January 2013 - 05:13 PM in Peripherals and Turtle Upgrades

---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!
Time: 1/12/13 10:59 PM
Description: Failed to start game
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: espen/ccMySQL/connectorBlock/BlockMySQLConnector
at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:658)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)
at net.minecraft.client.Minecraft.a(Minecraft.java:456)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: espen/ccMySQL/connectorBlock/BlockMySQLConnector
at espen.ccMySQL.shared.ccMySQLProxyCommon.registerBlocks(ccMySQLProxyCommon.java:27)
at espen.ccMySQL.shared.ccMySQLProxyCommon.load(ccMySQLProxyCommon.java:16)
at espen.ccMySQL.server.ccMySQLProxyServer.load(ccMySQLProxyServer.java:9)
at espen.ccMySQL.client.ccMySQLProxyClient.load(ccMySQLProxyClient.java:14)
at espen.ccMySQL.ccMySQL.load(ccMySQL.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
... 5 more
Caused by: java.lang.ClassNotFoundException: espen.ccMySQL.connectorBlock.BlockMySQLConnector
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 35 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: aiq
at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:158)
at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
... 37 more
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: aiq
at codechicken.core.asm.ClassHeirachyManager.classExtends(ClassHeirachyManager.java:65)
at codechicken.core.asm.ClassHeirachyManager.classExtends(ClassHeirachyManager.java:71)
at codechicken.core.asm.ClassHeirachyManager.classExtends(ClassHeirachyManager.java:29)
at codechicken.nei.asm.NEITransformer.transformer001(NEITransformer.java:34)
at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:150)
... 39 more
Caused by: java.lang.ClassNotFoundException: aiq
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:89)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at codechicken.core.asm.ClassHeirachyManager.classExtends(ClassHeirachyManager.java:56)
... 43 more
Im getting that error when running tekkit lite MC 1.4.7 and did not extract anything besides the java thing... Help?
I am also new at MySQL. How would this work? Can I use it locally like computerA requesting password information from computerB (This ccMySQL being computerB)
I have no clue on how to setup MySQL and I only want to use it like this:
Can I set it up like the video above but without a REAL MySQL server? If not then how can I set it up with a MySQL server?



#13937 Tekkit server IDEA CC help!

Posted by unstopablekk on 30 May 2012 - 07:18 PM in Suggestions

I would measure it by filling up 1 batbox and let them drain the energy from that once the batbox is full.



#13882 Tekkit server IDEA CC help!

Posted by unstopablekk on 30 May 2012 - 01:57 AM in Suggestions

I own a 24/7 server and Know a quite a bit about tekkit.
I already know about FTP Etc. I just need help and want to know if it is possible.
Im busy a bit this week and will need about 2 weeks to get all the files set up since I wont be home as much.



#13881 Tekkit server IDEA CC help!

Posted by unstopablekk on 30 May 2012 - 01:55 AM in Suggestions

I’ve had this idea for a while and thought I should share it. This would be a tekkit server that has a small city. This city consists of rows and streets of houses that are all very similar but not the same some big some small and use residence, which is a plugin that lets you purchase land which would be the houses, and setup a life sim play by making a power plant and have every house wired up to a batbox in the house that the owner of the house can feed from in order to fuel things like electric furnaces etc. And charge the player for that energy. We cut off their power supply by simply breaking the cable on our end if they don’t pay etc.


I also want to have computers in every house but... This would be tricky since I want to be able to prevent someone from going on the computer in general if they don’t pay. Somewhat of a login and registering system for computer craft that sends the username and passwords to a main computercraft computer. The players go to spawn and sign up for internet there and pay then they go up to computers at spawn and create there user/pass and the main computer gives them access to use their computers at home. They just simply go on to their computer and login and depending on if they paid then it will let them use anything on the computer.


Ideas?
or
Want to help out?




#10066 Password Protected Door

Posted by unstopablekk on 21 April 2012 - 02:10 PM in Programs

Im good with that script thankyou! Im on a tekkit server and people freaked out when I got the computer to say "Rawr" lol (noobs)



#9949 Password Protected Door

Posted by unstopablekk on 20 April 2012 - 01:46 AM in Programs

An actual real one. I havent played minecraft with cc in a long time since I had to run my server for 100 players :)/> I just let a moderator take over for a while and joined a tekkit server. I just want a password door. I have the redstone setup to the back of the computer and all i need is the script. Too re-research computercraft.
Thanks Much appreciated!



#6928 Please reply asap! I need cc ported to bukkit. HELP

Posted by unstopablekk on 30 March 2012 - 04:32 PM in Ask a Pro

I found it in the forums lol



#6927 Computercraft For Bukkit [Updated for 1.2.5]

Posted by unstopablekk on 30 March 2012 - 04:32 PM in Tutorials

1.2.4?



#6925 Please reply asap! I need cc ported to bukkit. HELP

Posted by unstopablekk on 30 March 2012 - 04:27 PM in Ask a Pro

This is what I would like (I am not asking for minecraft jars just some help).
I want to start a computercraft server (i already have a paid server) that uses bukkit and computercraft so i can protect computers from breaking and other plugins i would like to add.

How do i get bukkit with computercraft? any links would be much appreciated along with a detailed response.