• 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from pokeman2010 »
    Quote from darkwalker247 »
    I have a good suggestion:
    Make a block that acts like a redstone torch and produces a current. With that feature, the CPU could easily control circuits with BlockPos!

    or make a "redstone()" which creates a current from the cpu but yeah i think there need to be a way to link cpus

    btw biohazard i barely read the docs for fscript but the discussion on this thread is helping me understand fscript and java
    im guessing a variable is like "any number" and a loop is a "repeating function"

    loops are loops and variables can be a string or a integer
    string a = "my string"
    or
    int a = 93
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from pokeman2010 »
    Quote from Biohazard »
    FIXED THE GUI ISSUE, HORRAY! Enjoy!

    lez celebratez i hope the next update has bpu (squeals with excitement)

    :biggrin.gif: i hope too! Anyways, the BPU will spawn a blocky entity over the BPU and the BPU's code controls the Blocky entity :biggrin.gif:
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    FIXED THE GUI ISSUE, HORRAY! Enjoy!
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.3.2] AdventureCraft - NPC Pathing Blocks [R1095]
    Release Updated Sourcecode?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from Darchiv »
    Yay, it works! I didn't think that redstone activates it.
    But witch script will start if there are many, maybe all will launch in one time?
    So I don't have problem. Thanks :-)

    Right click a CPU to select the script for the CPU.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from gurkenmaster »
    i have a question Biohazard is this how the GUI should look like?

    btw why is the cpu block dropping sugar? 97(CPU Block ID)+256(omg wtf is this?)=353(id for sugar)

    The GUI should look like that (HOW DID YOU DO THAT?) and yes, it drops sugar, but the dropping issue is fixed (New release soon if i can see how to fix the GUI)
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.1_0][SSP & SMP]◄The Community Book Mod►
    What's the 'Book Images' Folder for?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from Luka4ever »
    First of all great mod i just have some questions.
    All the functions Ive seen for this mod have had 5 parameters are these all the function can retrieve?
    Is it possible to get information aside from the position of the CPU that ran the function?

    I shall add more parameters, soon, when i fixed the GUI Bug.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from gurkenmaster »
    Quote from evdude100 »
    Does this language support variables and integers?
    If not you should probably rewrite everything for LUA.
    Still if they are supported I'm advising you to switch to LUA which is a more popular laungue.
    You will have more foot traffic on the thread, people wont have to learn an odd language they have never heard before, etc.
    Kudos on this however.


    http://fscript.sourceforge.net/fscript/index.html

    Read the OP :Skeleton:
    But I think the LUA idea is pretty nice. Rewriting this Mod won't take too much time anyway cause it doesn't have a lot of functions to port.

    Yes, LUA Could be cool (as an alternate block :biggrin.gif:)

    To everyone: The GUI Bug wasnt my fault, it was MCP, which obfuscated or compiled the code wrong :sad.gif: Still finding an alternate GUI, thats better (Swing GUI, anyone?)
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from gurkenmaster »
    Dude your CPU Block has enough functions to make a snake game inside minecraft but there is a problem. HOW THE HELL DO I CONTROL THE SNAKE? The CPU Block needs more inputs or a way to get the IDs of the Blocks.

    for example:getBlockID(x ,y ,z) returns the block id at those coordinates

    maybe even metadata? :biggrin.gif: (these thingys that make the wool coloured and the redstone red(metadata is only 4 bit(a number between 0 and 15 could be stored with it(0 means unpowered and metadata > 0 means powered(actually i'm just guessing)))))

    and add to BlockPos(int X, int Y, int Z, int BlockID)
    a version that let's you change the metadata of blocks to make coloured wool

    I should really add Metadata adding into the block :biggrin.gif: and the getBlockID :biggrin.gif:
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    I shall check the code for errors, and recompile the whole project.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from Xstubborn »

    Thats strage, because it works when i run with Eclipse.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from mercilesshound »
    I have to say, this is an amazing mod
    :VV: :Red: I Shall make a video displaying the mod for you :Red: :VV:

    Yes yes do it.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from pokeman2010 »
    Quote from StrykDem »
    Quote from pokeman2010 »
    ok there r things missing on how to use this such as wut file type the scripts use or if we need fscript and such

    btw r u going to make ingame script editing and a tool for coordinates


    Save it as a .txt file in .minecraft/saves/<savename>/cpu/saves

    You do not need FScript...

    He might... I doubt it... Unless...

    Books...

    ok i saved it as a .txt but the gui for it doesn't appear
    i used the exact code for the floodgate example

    Actually save your script in
    .minecraft/saves/<savename>/cpu/script
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5_01]Programmable CPU (Version 2.2) GUI BUGFIX!
    Quote from StrykDem »
    Quote from winkleson »
    You stated the wrong version of minecraft in the title.


    Umm... It works fine...

    Also I keep getting this error:
    (CPU)ENGINE ERROR: null


    My code:
    func onTrigger(int global, int x, int y, int z, int random)
    	ChatMessage("Hello World!")
                    return 0
    endfunc

    I Fixed your code :biggrin.gif:
    Posted in: Minecraft Mods
  • To post a comment, please .