• 1

    posted a message on [1.4.7] Power Craft factory mod
    Quote from MightyPork

    1.7 will have advanced parser for programs, together with copy and paste buttons. However, only whole-text copying will be possible.

    I have also added system of exceptions, so it won't crash on illegal programs anymore, but you will get a short message about the error.

    So i guess there will be a fix to the "bug" that the miners store the coal and power dust thing when you tell them "q" or (store)


    I just looked at your auto branch mining program

    (loop 30: (m) 2 L 30R2R30R (!m) 64 (store) RR 64)
    Its obviously going to ruin the pattern of the branches once it hits a cave or somthing or open space after trying to create another branch mine

    thats the reason variables will be able to do it 100% perfect
    somthing like this

    "s"=0 (loop30: (m) ("s"="s"+2) "s"F L 30R2R30R (!m) "s" (store) RR "s")
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.6.2] [SMP] [Forge] Better Farming [v3.4.0]
    Quote from fouwii

    I myself enjoy this mod. I think it has a lot of potential as a mod.I would enjoy if you added citrus trees and added more ''ground plants''. I like the rake and the fact that bonemeal isn't ''allowed''.

    I hope it will stay like this since i pretty mush hate bone meal and the fast growth things.

    Its too much unrealitic even for mincraft and i think you shouldnt add the option to use bonemeal on your plants.

    I also think you should only get the first apple/watermellon/coco beans from dungeons and chest and only then you can plant them and make farms and not with the rake
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.0.0] Poltergeist - A Haunting of Horror
    Quote from OddnAnswers

    Interesting mod. You could probably implement a special vacuum that could suck up ghosts and receive items from them/tame them, though it would make things seem less scarier.


    Yes, that or building blessed swords or water which will be expensive and will keep ghost away from your house.

    maybe adding vampires and garlic aswell
    Posted in: Minecraft Mods
  • 1

    posted a message on ComputerCraft Program Library
    A new program i created is a program to tell the computer which redpower wire to activate / deactivate trough bundled wire.

    for example you write red then the red wire which connects to the bundled wire which connects to the computer will be on. Write red again and it is off

    commands:
    colors such as : red,cyan,blue,lightgray,yellow etc.
    reset- turn all the wires off
    all - turn all the wires on

    Note: the output is only to the back of the computer

    function light(color,j)
    if color=="red" then
    return colors.red,1,"Red"
    end
    if color=="white" then
    return colors.white,2,"White"
    end
    if color=="blue" then
    return colors.blue,3,"Blue"
    end
    if color=="green" then
    return colors.green,4,"Green"
    end
    if color=="pink" then
    return colors.pink,5,"Pink"
    end
    if color=="orange" then
    return colors.orange,6,"Orange"
    end
    if color=="magenta" then
    return colors.magenta,7,"Magenta"
    end
    if color=="lightblue" then
    return 8,8,"Light Blue"
    end
    if color=="yellow" then
    return colors.yellow,9,"Yellow"
    end
    if color=="lime" then
    return colors.lime,10,"Lime"
    end
    if color=="gray" then
    return colors.gray,11,"Gray"
    end
    if color=="break" then
    j=1
    return (redstone.getBundledOutput("back")*(-1)),1,"Error",j
    end
    if color=="lightgray" then
    return 256,12,"Light Gray"
    end
    if color=="cyan" then
    return colors.cyan,13,"Cyan"
    end
    if color=="purple" then
    return colors.purple,14,"Purple"
    end
    if color=="brown" then
    return colors.brown,15,"Brown"
    end
    if color=="black" then
    return colors.black,16,"Black"
    end
    if color=="reset" then
    return (redstone.getBundledOutput("back")*(-1))
    end
    if color=="all" then
    return (65535)
    end
    return 0
    end




    l={}
    for i=1, 16 do
    l[i]=0
    end

    term.clear()
    term.setCursorPos(1,1)
    write("All Colors Are Off")
    print(newline)
    write("------------")
    print(newline)
    j=nill
    while j==nill do
    write("Enter Color ")
    a=read()
    num,place,b,j=light(a,l)

    if num==redstone.getBundledOutput("back")*(-1) then
    redstone.setBundledOutput("back", 0)
    term.clear()
    term.setCursorPos(1,1)
    print("All The Colors Are Off")
    write("------------")
    print(newline)
    for i=1, 16 do
    l[i]=0
    end
    else
    if num==65535 then
    redstone.setBundledOutput("back", 65535)
    term.clear()
    term.setCursorPos(1,1)
    print("All The Colors Are On")
    write("------------")
    print(newline)
    for i=1, 16 do
    l[i]=1
    end
    else

    if num~=0 then
    if l[place]==0 then
    l[place]=1
    else
    l[place]=0
    end
    if l[place]==0 then
    redstone.setBundledOutput("back", redstone.getBundledOutput("back")-num)
    term.clear()
    term.setCursorPos(1,1)
    print(b.." Is Off")
    write("------------")
    print(newline)
    else
    redstone.setBundledOutput("back", redstone.getBundledOutput("back")+num)
    term.clear()
    term.setCursorPos(1,1)
    print(b.." Is On")
    write("------------")
    print(newline)
    end
    else
    term.clear()
    term.setCursorPos(1,1)
    write("Wrong Color ")
    print(newline)
    write("------------")
    print(newline)
    end
    end
    end
    end
    term.clear()
    term.setCursorPos(1,1)
    write("CraftOS 1.1")
    print(newline)





    Edit:

    Fixed a the lightgray + gray lights which didnt work properly togheter
    Posted in: Mods Discussion
  • 1

    posted a message on ComputerCraft
    Ok programmed item counter for BC/RP

    How to use:
    1.Choose how many counts you want which will be 'x'
    2.Write which side you want the pulse to be made after x counts has been made
    3.Choose how much time the pulse will last

    Example
    lets say i will do it like that
    1. 100 counts
    2.front
    3. 5

    After the counter counts 100 pulses from its back it will send a pulse to its front for 5 seconds and it will start to count again as soon as 100 pulses has been counted (It is used with the Item Detector of RP2)

    you can use it for other things aswell so its up to you

    function Check(way)
    if way~="left" then
    if way~="right" then
    if way~="top" then
    if way~="button" then
    if way~="front" then
    if way~="back" then
    return true
    end
    end
    end
    end
    end
    end
    return false
    end

    function check(nus)
    if nus==nill then
    return true
    end
    return false
    end


    term.clear()
    term.setCursorPos(1,1)
    write("Enter How Many Times To Count")
    print(newline)
    num=read()
    while check(tonumber(num)) do
    write("Write a number")
    print(newline)
    num=read()
    end
    write("Enter The Side The Pulse Will Be Sended After "..num.." Counts Has been Made")
    print(newline)
    Side=read()
    while Check(Side) do
    write("Side Doesn't Exitst , Write Again")
    print(newline)
    Side = read()
    end
    write("Enter How Long The Pulse Will Be In Seconds")
    print(newline)
    delay=tonumber(read())
    while check(delay) do
    write("Write a number")
    print(newline)
    delay=read()
    delay = tonumber(delay)
    end
    write ("Automate Counting Started- Now Executing ")
    print(newline)
    num=tonumber(num)
    Counter=0
    while true do
    while Counter<num do
    sleep(0.01)
    if redstone.getInput("back") then
    j = 0
    while j==0 do
    sleep(0.05)
    if redstone.getInput("back")==false then
    Counter = Counter + 1
    a = tostring(Counter)
    print("Pulse " .. a .. " ")
    j=1
    end
    end
    end
    end
    Counter=0
    redstone.setOutput(Side, true)
    sleep(delay)
    redstone.setOutput(Side, false)
    end



    If you just want to count pulses without reseting the counter just choose a really high number for the counts like 9999999999 and it will count the pulses
    Posted in: Minecraft Mods
  • 1

    posted a message on ComputerCraft
    Quote from Casper7526

    Well Dan told me he's going to take away my ability to do the things I'm doing in his next versions.
    Claiming that it would enable people to hurt others through his code. I believe this is a very stretched idea, and personally I hope that you all will agree with me. It's not like you can't see what is running on your computer and look at the code.

    And why do I want this ability to stay?
    You should know me enough by now to know I hate videos and that I'm not going to post "fake" stuff. So check this out.


    Which means if someone knows unblock the global variables and wants to be amazed, I can talk to you INGAME on single player :wink.gif:

    And like I told him, sorry but I'm not sure if I'm willing to download new versions unless I can have access to trully create what I want. So you guys might lose me as soon as he updates.

    You actually mean you can do a chat which connects to the internet and we can talk? .....O_O

    im with you
    for more creativity and less restrains
    Posted in: Minecraft Mods
  • 2

    posted a message on ComputerCraft
    Quote from xXRaz0rBlad3Xx

    Nope, not working:
    m1 = 1
    m2 = 2
    m3 = 3
    
    write ("Which Machine ? ")
    machine = read ()
    	if machine == m1
    		then print("Machine 1")
    		redstone.setOutput("back", true)
    		sleep(1)
    		redstone.setOutput("back", false)
    		sleep(1) 
    end



    It seems like when you write somthing it is string and not numbers so

    m1 = ("1")
    m2 = 2
    m3 = 3
    
    write ("Which Machine ? ")
    machine = read ()
    	if machine == m1
    		then print("Machine 1")
    		redstone.setOutput("back", true)
    		sleep(1)
    		redstone.setOutput("back", false)
    		sleep(1) 
    end


    Now it works
    Posted in: Minecraft Mods
  • To post a comment, please .