• 0

    posted a message on [Addon for OpenComputers] Powerful Modules now with IC2 item charger!
    Fixed MCPC crash, now build 3
    Posted in: Minecraft Mods
  • 1

    posted a message on [Addon for OpenComputers] Powerful Modules now with IC2 item charger!
    This mod now provides some complitability things for OpenComputers

    ThermalExpansion - Embadded Tesseracts
    Yes, we added upgrade for robot. It's Tesseract upgrade and Energy Tesseract Upgrade


    It's a Tesseract upgrade, it can be installed to Slot Tier 3 in robot
    When it installed, there is new component available
    component.tesseract

    It has some methods to allow you work with it.
    --Work with mode
    component.tesseract.setSendMode():boolean,string(failreason) -- Sets tesseract to send mode, returns success(Consumes energy)
    
    component.tesseract.setReceiveMode():boolean,string(failreason) -- Sets tesseract to receive mode, returns success(Consumes energy)
    
    component.tesseract.isMode(receive:boolean or nil):boolean --return receive==isReceiveMode
    
    component.tesseract.setMode(receive:boolean):boolean,string(failreason) -- Sets tesseract to receive or send mode, returns success(Consumes energy)
    --Work with activate and frequncy
    component.tesseract.setFrequency(freq:number):boolean,string(failreason) -- Sets the frequency of Tesseract and activating it, returns success(Consumes energy)
    
    component.tesseract.deactivate():boolean -- Resets the frequency of tesseract and deactivating it, returns success
    
    component.tesseract.isActive():boolean -- returns whatever tesseract active or not
    --Sending items and private mode
    component.tesseract.sendItems([count:number]):boolean,(number or string failreason) -- (Send mode) Sends item in selected slot to tesseract, returns success and number of NOT sended items(Consumes energy)
    
    component.tesseract.setPrivate(isPrivate:boolean):void -- Sets tesseract's private mode to given value and deactivating tesseract(If in private mode items will be sended and received to tesseracts that owned by robot owner)

    When tesseract receiving items it consums energy too.
    Received items will be added to first matching or free slot


    Energy tesseract can charge robot by remote sending energy:

    It has different component
    component.etesseract
    And it has some methods, but they little bit different from item tesseract
    --Work with active
    component.etesseract.activate():void -- Activating tesseract
    
    component.etesseract.deactivate():void -- Deactivating tesseract
    
    component.etesseract.isActive():boolean -- returns whatever tesseract active or not
    --Work with frequency and private mode
    component.etesseract.setFrequency(freq:number):boolean,(string fail) -- Sets the frequency of Tesseract and activating it, returns success
    
    component.etesseract.resetFrequency():boolean -- Resets tesseract's frequncy, and deactivating it, returns success
    
    component.etesseract.setPrivate(isPrivate:boolean):void -- Sets tesseract's private mode to given value and deactivating tesseract


    IC2 - Item charger
    It a way to charge IC2 items in robot

    Component name:
    component.itemcharger
    And methods to work with:
    --Its methods
    component.itemcharger.getIsElectricItem():boolean,(string fail) -- Returns whatever item in selected slot is IC2 electric or not
    
    component.itemcharger.getCharge():boolean,(string fail)/number -- Returns success, charge of item in currently select slot
    
    component.itemcharger.getEquippedCharge():boolean,(string fail)/number -- (Needs inventory controller)Returns success, charge of item that currently equipped
    
    component.itemcharger.rechargeItem(fromSlot:number,[count:number]):boolean,(string fail)/number -- Charges item in currently selected slot using energy from item in fromSlot, returns success, count of energy transferred
    
    component.itemcharger.rechargeEquippedItem(fromSlot:number,[count:number]):boolean,(string fail)/number -- (Needs inventory controller)Charges item in currently equipped using energy from item in fromSlot, returns success, count of energy transferred

    And here a have small example for charging:
    --Example to charge item in slot 1 using battary in slot 2
    
    robot.select(1)
    local ch=component.itemcharger
    repeat
     local res=ch.rechargeItem(2)
    until not res[1] or res[2]>0

    We will add new features, we have many ideas what to do, but not all at one time

    Downloads:

    Our main thread: oc.cil.li

    Sorry, if my english not perfect
    If you found a bug, or have some nice idea, please replay this thread
    Posted in: Minecraft Mods
  • 0

    posted a message on ComputerCraft Program Library
    Can you help me with global functions?
    Posted in: Mods Discussion
  • 0

    posted a message on ComputerCraft Program Library
    Sorry Inverse in Password not work =(
    Posted in: Mods Discussion
  • 0

    posted a message on ComputerCraft Program Library
    In these programs, there are arguments
    My Os lock
    local tArgs = { ... }
    local First = tArgs[1]
    if not First then
      error("Usage: BlockPC <First pass> <Second pass>")
    end
    
    local Second = tArgs[2] or "000"
    
    print("Yor PC block now for exit enter First or Second pass")
    repeat
    local inp=io.read()
    if inp==First or inp==Second then
    else
    print("Invalid password")
    end
    until inp==First or inp==Second
    print("Yor computer unblock now")

    Download

    My redstone password program
    local tArgs = { ... }
    local sSide = tArgs[1]
    if not sSide then
      error("Usage: Password <side> <First Pass> <Second Pass> <Delay> <Inverse>")
    end
    
    local First = tArgs[2]
    local Second = tArgs[3]
    local Del=tonumber(tArgs[4]) or 5
    local Inv=tArgs[5]
    local Inv1=true
    local Inv2=false
    
    if Inv==true or Inv==1 then
    local Inv1=false
    local Inv2=true
    else
    local Inv1=true
    local Inv2=false
    end
    
    print("Start Pass program for use enter right First pass")
    print("For off enter Second Pass")
    repeat
    print("Enter password")
    local inp=io.read()
    if inp==First then
    	redstone.setOutput( sSide, Inv1 )	
    	sleep(Del)
    	redstone.setOutput( sSide, Inv2 )
    end
    term.clear()
    term.setCursorPos( 1, 1 )
    until inp==Second

    Download
    Posted in: Mods Discussion
  • 0

    posted a message on ModDownloaderMP
    Two steps are completed.
    Thank you.
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on ModDownloaderMP
    _EDITED_
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on ModDownloaderMP
    This mod is addition for ModLoaderMp and ModLoader.It downloads from the server mods, and allows you to not setting the fashion of this server to play on it.
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on ModDownloaderMP
    Short map of working this mod.

    The development started.
    Thank you for your consideration and any support.
    I have two solutions of the download sistem.
    Selection is complete.





    What remains to be done.
    Сomplete the selection.
    Free Ftp server and client found.
    Write a personal letter to Risugami.
    Write classes start downloading.
    Come up with a password.
    Сompile.
    Test.
    Correct the errors.
    Spoon.
    Be happy creeper.
    Make a new version.
    Gain a reputation.
    Posted in: Requests / Ideas For Mods
  • To post a comment, please .