50 posts
                
             
            
                Posted 28 April 2012 - 10:11 AM
                Hello everyone
This is my first peripheral
It can be used to interact with the minecrraft world
Features
type help op for all features
here are some pictures


the recipe

place the op panel like the wireless modem and it will work
in multiplayer you'll need to click the block to make sure you are an op (else this block has too mutch power on servers)
example videodownloads: please comment
universal
Operator Panel 1.4.6_r1Extract OPlua folder to mods
for players
last release
Controller_client 1.2.5_6.zipold releases
Controller_client 1.2.5_5.zipController_client 1.2.5_4.zipController_client 1.2.5_3.zipController_client 1.2.5_2.zipController_client 1.2.5_1.zipController_client 1.2.5_0.zipController_client 1.2.3_3.zipController_client 1.2.3_2.zipController_client 1.2.3_1.zipController_client 1.2.3_0.zipfor server admins
last release
Controller_server 1.2.5_6.zipold releases
Controller_server 1.2.5_5.zipController_server 1.2.5_4.zipController_server 1.2.5_3.zipController_server 1.2.5_2.zipController_server 1.2.5_1.zipController_server 1.2.5_0.zipController_server 1.2.3_3.zipController_server 1.2.3_2.zipController_server 1.2.3_1.zipController_server 1.2.3_0.zippaste folder in the zip in the mods folder to install
changelog
_0
_1
- added configurable blockID
 - made the recipe able to disable in config
 
_2
- temporary removed the config file
 - changed the recipe
 - made block textures update in SMP
 
_3
_4
- stopped 1.2.3 development
 - added sendMessageToPlayer() method
 - you can now send message to computers from chat (SMP) see help for more details
 
_5
- added configurable blockID
 - improved send from chat example "/cc0 example" to send "example" to computer 0 (see Controller/events)
 
_6
- added api "op"
 - added help topic type "help op"
 - added a few sample programs in "Controller" folder
 - improved send from chat now message,sender,side
 
 
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 28 April 2012 - 10:21 AM
                /
                
             
         
        
        
            
            
                
                    
                
                8 posts
                
             
            
                Posted 28 April 2012 - 10:31 PM
                Could you make a config, to turn this recipe off?
                
             
         
        
        
            
            
                
                    
                
                514 posts
                
                    
                        Location
                        Over there
                    
                
             
            
                Posted 28 April 2012 - 11:15 PM
                Recipe idea:
Stone    Modem    Stone
Stone   Bedrock   Stone
Stone    Modem    Stone
The bedrock is, so only operators can make it, for singleplayer it could be replaced with a diamond block.
                
             
         
        
        
            
            
                
                    
                
                10 posts
                
             
            
                Posted 29 April 2012 - 12:09 AM
                This doesnt even add anything. I looked and i installed it right and nothing apears to be added.
                
             
         
        
        
            
            
                
                    
                
                10 posts
                
             
            
                Posted 29 April 2012 - 12:30 AM
                nvm i installed it wrong
it works
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 29 April 2012 - 09:37 AM
                i don't know the block "stone modem stone" do you mean the wireless modem?
                
             
         
        
        
            
            
                
                    
                
                18 posts
                
             
            
                Posted 29 April 2012 - 09:55 AM
                He means if you layed it out on a crafting table, it would be:
Stone | Modem | Stone
—————————-
Stone | Bedrock | Stone
—————————–
Stone | Modem | Stone
EDIT: Oh, and this looks really good for what I want!
EDIT2: And the id config doesnt seem to work. Whatever I change it too, it still stays at id 210
                
             
         
        
        
            
            
                
                    
                
                146 posts
                
                    
                        Location
                        the Netherlands
                    
                
             
            
                Posted 29 April 2012 - 01:07 PM
                It doesn't read from the config file, it has a conflict with another mod and if i change the ID of the controller, it keeps crashing. You have to fix that. I changed the config of the other mod, but it's annoying.
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 29 April 2012 - 04:42 PM
                It doesn't read from the config file, it has a conflict with another mod and if i change the ID of the controller, it keeps crashing. You have to fix that. I changed the config of the other mod, but it's annoying.
i shall look at it when i am home again
 
                
             
         
        
        
            
            
                
                    
                
                266 posts
                
             
            
                Posted 29 April 2012 - 07:55 PM
                This literally took my peripheral.
                
             
         
        
        
            
            
                
                    
                
                266 posts
                
             
            
                Posted 29 April 2012 - 07:58 PM
                But, their are some security problems. People could walk into a server and grief the whole world.
for x = 0, 5000 do
 for z = 0, 5000 do
  for y = 0, 256 do
   –Place Bedrock or Air Here
  end
 end
end
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 29 April 2012 - 09:03 PM
                is that true?
when people click the controller on server the controller remebers their name and checks if they are op at the moment they want to modify the world
if the same person clicks back the block will forget his name and won't do anything. only information from the world will be given.
                
             
         
        
        
            
            
                
                    
                
                36 posts
                
             
            
                Posted 01 May 2012 - 03:06 AM
                I have this installed, but I'm not sure how you use it. How do I call the routines? An example would really help.
Never mind I got it. You need to use "peripheral.call" for thoughs people not sure.
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 01 May 2012 - 09:57 AM
                yes you could also use
handle=peripheral.wrap(side)
handle.MethodName()
 
                
             
         
        
        
            
            
                
                    
                
                18 posts
                
             
            
                Posted 01 May 2012 - 09:51 PM
                I refuse to download until id config is in place :)/>/>
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 02 May 2012 - 11:23 AM
                whats wrong with the id?
                
             
         
        
        
            
            
                
                    
                
                6 posts
                
             
            
                Posted 04 May 2012 - 03:12 AM
                dude. Two things: minecraft 1.2.5 forge isnt compatible with modloadermp. SECOND: you dont even give ANY of the commands you can use so nobody can even use it. I mean, could you at LEAST post how you USE the thing? I mean seriously nobody will even use this because you didnt give any commands you can use and I cant even believe that you didnt even give any info on how to use it, how its used, the only thing you gave is what it is used FOR. I dont even understand how people even use this with no info on HOW!
                
             
         
        
        
            
            
                
                    
                
                6 posts
                
             
            
                Posted 04 May 2012 - 03:14 AM
                oh nvm sorry i just realiazed that there is a help file DERP for me:)
                
             
         
        
        
            
            
                
                    
                
                6 posts
                
             
            
                Posted 04 May 2012 - 05:34 AM
                wait a minute where exactly IS the help file?
                
             
         
        
        
            
            
                
                    
                
                6 posts
                
             
            
                Posted 04 May 2012 - 05:40 AM
                oh mah goahd i cant believe that I had an outdated version without the help file SO SOZ!
                
             
         
        
        
            
            
                
                    
                
                6 posts
                
             
            
                Posted 04 May 2012 - 05:53 AM
                oh but also none of the commands work can you helpz? I tryed going to the 'Controller' directory but nothing still!
oh wait forgot to read the previous posts but if they dont help then idk what
                
             
         
        
        
            
            
                
                    
                
                6 posts
                
             
            
                Posted 04 May 2012 - 05:59 AM
                Ok they didnt workiez how do you call them because i keep getting errors and mostly attempt to call nils which means ME NO ABLE TO USIEZ! I NEED HELP! sorry for yelling but I am getting a little annoyed and none of hte commands work so you have to give us an example PROGRAM not video with only a demonstration and no tutorials ok?
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 04 May 2012 - 02:27 PM
                if the peripheral is attached there is a folder "Controller" in the root of the computer type "list Controller" to list help files
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 05 May 2012 - 12:28 PM
                ok here is a little sample program for SSP
survivalmode must be on
w=peripheral.wrap("side")
while true do
x,y,z=w.getPlayerPos()
w.spawnCreatureAtPos(x,y,z,"Creeper")
sleep(3)
end
for SMP
player="playername"
w=peripheral.wrap("side")
while true do
x,y,z=w.getPlayerPos(player)
w.executeCommand("gamemode "..player.." 0")
w.spawnCreatureAtPos(x,y,z,"Creeper")
sleep(3)
end
now gues what it does
function parameters are explained in Controller/help
 
                
             
         
        
        
            
            
                
                    
                
                14 posts
                
             
            
                Posted 31 May 2012 - 12:10 PM
                Could you make it if we spawn item at position where chest or large chest is located, it'll add item to chest's inventory instead of spawning it in world? Also with stack making, so for example if we have blue wool in chestes and we spawn another blue wool into it, it'll add it to stack (unless stack is maxed out)?
Also, could you make config file for server owners so they can enable/disable certain functionalities for normal players, e.g. forbiding block deletion/addition, but allowing of getting player's/block's position?
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 31 May 2012 - 06:04 PM
                1 i'am sorry i forgot to add op.open(side) to help file
2 i'll make it so you can enable/disable functions on servers
                
             
         
        
        
            
            
                
                    
                
                11 posts
                
             
            
                Posted 31 May 2012 - 06:41 PM
                This peripheral is great, but the recipe seems to be off by default and the configuration file it generates doesn't include the option to turn it on, making it impossible to obtain unless I spawn it in.
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 31 May 2012 - 07:10 PM
                are you sure the disk drives id is default the recipe depends on that
                
             
         
        
        
            
            
                
                    
                
                25 posts
                
             
            
                Posted 03 June 2012 - 05:06 PM
                This doesn't appear to do anything when installed on a Tekkit server.
I extracted the zip directly into the mods folder, which gave me a ClassNotFound error.
I moved the mod_Controller.class from the Controller folder to the mods folder above, and I don't get any errors, but it doesn't seem to add anything.
What gives?
                
             
         
        
        
            
            
                
                    
                
                510 posts
                
             
            
                Posted 03 June 2012 - 05:08 PM
                The tekkit server runs on bukkit. Non-ported mods are not compatible.
                
             
         
        
        
            
            
                
                    
                
                25 posts
                
             
            
                Posted 03 June 2012 - 05:16 PM
                The tekkit server runs on bukkit. Non-ported mods are not compatible.
I've noticed that there are no mods marked ported or unported; that's why I'm trying them.
Ones that aren't ported I've noticed will still add items, they are just impossible to obtain.
EDIT: Installing this on a Tekkit server makes any wood-based crafting recipes just make grass.
 
                
                    Edited on 03 June 2012 - 05:20 PM
                
             
         
        
        
            
            
                
                    
                
                5 posts
                
             
            
                Posted 18 June 2012 - 02:26 AM
                The tekkit server runs on bukkit. Non-ported mods are not compatible.
I've noticed that there are no mods marked ported or unported; that's why I'm trying them.
Ones that aren't ported I've noticed will still add items, they are just impossible to obtain.
EDIT: Installing this on a Tekkit server makes any wood-based crafting recipes just make grass.
Really? :(/>/> That's not good, I just wanted to try this on my Tekkit installation. Thanks for the warning.
 
                
             
         
        
        
            
            
                
                    
                
                286 posts
                
                    
                        Location
                        Bonn Germany
                    
                
             
            
                Posted 01 July 2012 - 11:29 AM
                Maybe you can add a config file where you can block commands for some users. So that you not only have the OP with access to every command the not OP with access to no commands.
                
             
         
        
        
            
            
                
                    
                
                50 posts
                
             
            
                Posted 01 July 2012 - 05:55 PM
                Maybe you can add a config file where you can block commands for some users. So that you not only have the OP with access to every command the not OP with access to no commands.
ops have access to all commands others.
only informative like getBlockID commands will work for other users
 
                
             
         
        
        
            
            
                
                    
                
                286 posts
                
                    
                        Location
                        Bonn Germany
                    
                
             
            
                Posted 01 July 2012 - 08:13 PM
                Right! My main focus is on the getPlayerPos() is it or is there a way to make this usable by everyone?
Why not have config where you can set a list of users that have acces to a command:
[command()]
user123
Notch
direwolf20
[command2()]
Nerd
user123
theADMIN
 
                
             
         
        
        
            
            
                
                    
                
                34 posts
                
             
            
                Posted 07 July 2012 - 10:36 AM
                wow what a nicce addon!
Could you maybe add support for ic2? Creating Blocks and Items could cost energy.
Anyway i just try to programme a holo deck :P/>/>
short video of it:
http://www.youtube.com/watch?v=7Ko7ryW6hjw&feature=youtu.be 
                
             
         
        
        
            
            
                
                    
                
                11 posts
                
             
            
                Posted 09 July 2012 - 07:13 PM
                Although I feel kinda bad, I do have some ideas (just throwing them out there) if you're interested:
Detecting number of hostile/nonhostile mobs within a region and remove mobs over a certain number (good for creating "safety" zones, like an area near spawn, also could be used to create really fun dungeons)
Checking on/off state of blocks, not just redstone states but maybe even door states as well.
Healing/damaging a player
Feeding/un-feeding a player
Giving/taking experience from a player
Turning players around, changing the yaw/pitch/angle of their view, and/or teleporting them to a location or to a player (SUPER good for a more detailed version of allquan's holo-deck setup. Virtual Reality WITHIN Mine Craft :)/>/> )
Edit: Thought of a few more-
Direct inventory controls (Wiping a player's inventory, searching a player's inventory for items, giving items directly to a specific inventory location. Don't think you said this was implemented, but it would be nice to do it without server commands.)
                
             
         
        
        
            
            
                
                    
                
                378 posts
                
                    
                        Location
                        In the TARDIS
                    
                
             
            
                Posted 10 July 2012 - 11:22 AM
                @Mr909 I think you can already give/take experience for example. There is a server command you can use for that. just use OP-Panels executeCommand function
                
             
         
        
        
            
            
                
                    
                
                11 posts
                
             
            
                Posted 10 July 2012 - 07:23 PM
                Yes, but the advantage of doing it automatically has some very interesting applications. You could, for example, design a program that can turn items into experience using inventory reading mechanics and a lava-pit. Most of what this is best at, from what I see, is automating or truncating server commands.
I want to make a Virtual Reality game, is that so wrong? D:
Just messing.
EDIT: Oh, wait, now I understand what you're saying. I haven't been able to look at it yet and I was only looking at the functions listed. Thank you. That clears up quite a few of them.
                
             
         
        
        
            
            
                
                    
                
                24 posts
                
             
            
                Posted 16 July 2012 - 10:19 AM
                i have a problem with a small program
os.loadAPI("/rom/apis/op")
op.open(op.getSide())
local gen=math.random(1,37)
if gen=="1" then op.spawnItemAtPos(-134,66,797,125)
elseif gen=="2" then op.spawnItemAtPos(-134,66,797,125:1)
elseif gen=="3" then op.spawnItemAtPos(-134,66,797,125:2)
elseif gen=="4" then op.spawnItemAtPos(-134,66,797,125:4)
elseif gen=="5" then op.spawnItemAtPos(-134,66,797,125:5)
and i always get 
bios:206: [string "random"] 5: ")" expected
could the program spawn blocks like 125:9 or like so ??
 
                
             
         
        
        
            
            
                
                    
                
                286 posts
                
                    
                        Location
                        Bonn Germany
                    
                
             
            
                Posted 16 July 2012 - 11:36 AM
                Gen is never a string 
if gen=="1" then [...]
remove the "
 
                
             
         
        
        
            
            
                
                    
                
                24 posts
                
             
            
                Posted 16 July 2012 - 01:03 PM
                ok but this don't change anything i still get the same error D:
                
             
         
        
        
            
            
                
                    
                
                24 posts
                
             
            
                Posted 17 July 2012 - 10:32 AM
                what i can do to solve this problem ???
                
             
         
        
        
            
            
                
                    
                
                286 posts
                
                    
                        Location
                        Bonn Germany
                    
                
             
            
                Posted 17 July 2012 - 01:31 PM
                Unless your program is called bios the problem is not on your side. AT least not directly.
Try replacing the line 
local gen=math.random(1,37)
 with 
local gen = 3
Do you sill get an error?
YES –> Then the problem seems to be in a wrong call of function
sop.spawnItemAtPos()or in the code of these functions (Error not on your side) NO –> Then the problem seems to be in a wrong call of functions
 math.random(1,37)or in the code of these functions (Error not on your side) 
                
             
         
        
        
            
            
                
                    
                
                1604 posts
                
             
            
                Posted 17 July 2012 - 05:40 PM
                The error is really obvious:
op.spawnItemAtPos(-134, 66, 797, 125:1)
Why did you put a colon there? It should be:
op.spawnItemAtPos(-134, 66, 797, 125, 1)
 
                
             
         
        
        
            
            
                
                    
                
                286 posts
                
                    
                        Location
                        Bonn Germany
                    
                
             
            
                Posted 17 July 2012 - 07:56 PM
                Well sometime you cannot see the wood for the trees. :P/>/>
                
             
         
        
        
            
            
                
                    
                
                24 posts
                
             
            
                Posted 23 July 2012 - 01:17 PM
                	MysticT i love you xD :)/>/> 
                
             
         
        
        
            
            
                
                    
                
                34 posts
                
             
            
                Posted 24 July 2012 - 12:51 PM
                here is something more, that you can do with this addon :)/>/>
http://www.youtube.com/watch?v=TnHJvDdkCpw&feature=youtu.be 
                
             
         
        
        
            
            
                
                    
                
                19 posts
                
             
            
                Posted 06 August 2012 - 03:42 AM
                Nevermind, I see what's going on, now. I thought you were using the OP to sense something then display the results with something like the GL monitors.. I see that you are using it to replace the blocks in the display with blocks with another texture.
                
             
         
        
        
            
            
                
                    
                
                173 posts
                
             
            
                Posted 23 September 2012 - 08:49 AM
                AMAZING can't wait to finish normal computercraft ideas then ill be able to have a changeable arena, insta refilling spleef, easy randomly generated maze, you could also build a random ore generator and have fun excavating, and have it place in spawners if u want a non pvp arena SO AWESOME great add-on!!!!!
                
             
         
        
        
            
            
                
                    
                
                55 posts
                
             
            
                Posted 14 October 2012 - 04:27 PM
                Is this going to be updated at some point?
Because this is awesome, and I would really love to use it on a server I host
                
             
         
        
        
            
            
                
                    
                
                19 posts
                
             
            
                Posted 25 January 2013 - 05:37 PM
                thank you for the peripheral :-)
Just found a bug.. if any player wrote something that begin with a single c on his chat line.
This mod create a out of stream.
 
23:35:44
 CONSOLE:
[INFO] java.lang.StringIndexOutOfBoundsException: String index out of range: 2
23:35:44
 CONSOLE:
[INFO] at java.lang.String.substring(Unknown Source)
23:35:44
 CONSOLE:
[INFO] at louitzie.OP.OP.serverChat(OP.java:70)
23:35:44
 CONSOLE:
[INFO] at cpw.mods.fml.common.network.NetworkRegistry.handleChat(NetworkRegistry.java:327)
23:35:44
 CONSOLE:
[INFO] at cpw.mods.fml.common.network.FMLNetworkHandler.handleChatMessage(FMLNetworkHandler.java:400)
23:35:44
 CONSOLE:
[INFO] at iv.a(NetServerHandler.java:706)
23:35:44
 CONSOLE:
[INFO] at cu.a(SourceFile:44)
23:35:44
 CONSOLE:
[INFO] at cg.i(TcpConnection.java:347)
23:35:44
 CONSOLE:
[INFO] at cg.c(TcpConnection.java:544)
23:35:44
 CONSOLE:
[INFO] at ch.run(SourceFile:93)
23:35:44
 CONSOLE:
Dralic has left.
23:35:44
 CONSOLE:
[INFO] Dralic lost connection: disconnect.genericReason
23:35:44
 CONSOLE:
[INFO] Unloading Player: Dralic
                
             
         
        
        
            
            
                
                    
                
                451 posts
                
                    
                        Location
                        The left part of this post
                    
                
             
            
                Posted 08 February 2013 - 06:23 AM
                ID conflict within IC2 and the config dont change the id, no apand no help file when installed SSP 1.46 CC 1.481
                
             
         
        
        
            
            
                
                    
                
                34 posts
                
             
            
                Posted 08 February 2013 - 10:06 PM
                Yes finaly! Now i can use my Holodeck again :)/> Thank you
Suggestion: Could it be possible to teleport a player to another Dimension?
                
             
         
        
        
            
            
                
                    
                
                36 posts
                
             
            
                Posted 09 February 2013 - 05:20 PM
                Hey, I like this mod heaps but I haven't been able to get it working in MC147 yet. I have tried everything, I think its conflicting with ic2's id's. You need to add a config file or change the id. I would realy like to get it working.
Keep it coming.
Bobster71
                
             
         
        
        
            
            
                
                    
                
                266 posts
                
             
            
                Posted 09 March 2013 - 09:06 AM
                
                
             
         
        
        
            
            
                
                    
                
                1 posts
                
             
            
                Posted 12 March 2013 - 10:06 AM
                bukkit porting is not needed anymore just download the mcpc realse and place the mod in the mods folder
                
             
         
        
        
            
            
                
                    
                
                1852 posts
                
                    
                        Location
                        Sweden
                    
                
             
            
                Posted 23 March 2013 - 04:07 PM
                Will this work on CC versions higher than 1.48?
                
             
         
        
        
            
            
                
                    
                
                1852 posts
                
                    
                        Location
                        Sweden
                    
                
             
            
                Posted 23 March 2013 - 04:12 PM
                Apparently not.. Since my MC crashed..
                
             
         
        
        
            
            
                
                    
                
                7 posts
                
             
            
                Posted 24 August 2015 - 01:21 PM
                is it available for forge 1.7.10? :o/> pls say yes or im doomed