Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • Announcements

    • Lizzy Trickster

      Latest Stable OpenComputers Version   11/26/16

      The latest released version of OpenComputers is version 1.7.1 for MC 1.7.10, 1.10.2, 1.11.2 & 1.12.1. See more information here! Beta/Dev builds can be found at the Jenkins Build Server (ci.cil.li)

PixelPi

Members
  • Content count

    17
  • Joined

  • Last visited

1 Follower

About PixelPi

  • Rank
    Junior Member
  • Birthday 01/01/74

Profile Information

  • Gender
    Male
  • Location
    Germany

Recent Profile Visitors

563 profile views
  1. OpenComputers v1.6.1 (+ hotfix)

    Hi! Are there plans to make a stable release for 1.12 any time soon? Found this on Jenkins: http://ci.cil.li/job/OpenComputers-dev-MC1.12/ Will it be possible to upgrade from the 1.10.2 version directly to 1.12.1? Regards Oliver
  2. Drawing: Robot with slaves

    Like this drawing. Do you have it in a higher resolution (1920x1280)?
  3. Of the little that I have understood the main motivation for Eris was persistence: https://github.com/fnuecke/eris From my personal view this is one of the coolest features of OpenComputers.
  4. Hi jhagrid! There are a lot good introductions in Lua: https://www.lua.org/pil/p1.html But is this really fun? What do you think about an OpenComputers/Lua based live stream at Twitch programming: https://www.twitch.tv/directory/game/Creative/programming We could use my Linux streaming infrastructure. I can synchronously stream to YouTube or record the stream. If things go well, we have automatically a video tutorial or can cut one. We have to try it first and gain experience. It will certainly take time until we are good. But it would be fun, I think. EDIT: Nevertheless, writing your own tutorial is a great idea. Go on with it!
  5. When Will We Get OC 1.6?

    Slighty OT: Do you know if 1.5 will appear for MInecraft 1.9?
  6. OpenComputers v1.5.20

    Does it supports Minecraft Version 1.8.8 (Forge 11.14.4.1576 and above)? Because Curseforge only mentioned 1.8: http://minecraft.curseforge.com/projects/opencomputers/files/2267429
  7. Building - OC Data-Center (screenshots)

    Thank you. That seems to work. Your program is great. A note on the screens in general: It is tricky to place them with the desired alignment. A screen can facing north, south, west, east, bottom or up. North should be alignment number 8 for example. So I think your idea to use different colors should work. But what I want to say: Screens are a burden on the client site even if they are turned off. I personally create them, therefore, only by hand and when I need them. Align the screens correctly goes very quickly. Much more important for me is that you have implemented a structured cabling. This is really time consuming when you have to do it by hand. And the time I need to completely illuminate the data center. Maybe some placeholder blocks for the lamps would be nice. But I do not want to hold you back to find a solution for the screens. If I have an idea, I let you know.
  8. Building - OC Data-Center (screenshots)

    I've posted my script above. I use two simple hashes (block_val2id and opencomputers_val2id) to map everything to block IDs. Krutoy is using the block values instead of the block IDs. That's all so far as I understand it. Or do I miss something? With the mapped IDs I can simply use Minecrafts fill command. You need Minecraft 1.8 or later in order to use it. But it works under vanilla. I had some stability problems with Forge. Also on my internet server I can't use OpenComputers at the moment, because of an outdated remote Mac OS/Java Client which must be updated first. In the script you can see my substitutions for OpenComputers. Okay, I have a special situation. But maybe it's also useful to others.
  9. Building - OC Data-Center (screenshots)

    I'm using Ubuntu 14.04 too. Open a terminal. 1. sudo apt-get install dh-make-perl 2. dh-make-perl --cpan Minecraft::RCON 3. sudo dpkg -i libminecraft-rcon-perl_0.1.4-1_all.deb 4. Fetch Krutoy's data center lua table and save it to a file. 5. Set up a local minecraft server (with rcon turned on) on your local machine (localhost). 6. Start your minecraft client and connect to your local server. 7. Save the following script to a file, customize it and run it: #!/usr/bin/perl -w use strict; use Minecraft::RCON; # Your credentials here: my $mc_server = 'YourServer'; my $mc_rcon_port = 'YourPort'; my $mc_rcon_password = 'YourPassword'; # Mapping value => block id my %block_val2id = (0 => 'air', 1 => 'stone', 2 => 'grass', 3 => 'dirt', 4 => 'cobblestone', 5 => 'planks', 6 => 'sapling', 7 => 'bedrock', 8 => 'flowing_water', 9 => 'water', 10 => 'flowing_lava', 11 => 'lava', 12 => 'sand', 13 => 'gravel', 14 => 'gold_ore', 15 => 'iron_ore', 16 => 'coal_ore', 11 => 'log', 12 => 'leaves', 19 => 'sponge', 20 => 'glass', 21 => 'lapis_ore', 22 => 'lapis_block', 23 => 'dispenser', 24 => 'sandstone', 25 => 'noteblock', 26 => 'bed', 27 => 'golden_rail', 28 => 'detector_rail', 29 => 'sticky_piston', 30 => 'web', 31 => 'tallgrass', 32 => 'deadbush', 33 => 'piston', 34 => 'piston_head', 35 => 'wool', 36 => 'piston_extension', 37 => 'yellow_flower', 38 => 'red_flower', 39 => 'brown_mushroom', 40 => 'red_mushroom', 41 => 'gold_block', 42 => 'iron_block', 43 => 'double_stone_slab', 44 => 'stone_slab', 45 => 'brick_block', 46 => 'tnt', 47 => 'bookshelf', 48 => 'mossy_cobblestone', 49 => 'obsidian', 50 => 'torch', 51 => 'fire', 52 => 'mob_spawner', 53 => 'oak_stairs', 54 => 'chest', 55 => 'redstone_wire', 56 => 'diamond_ore', 57 => 'diamond_block', 58 => 'crafting_table', 59 => 'wheat', 60 => 'farmland', 61 => 'furnace', 62 => 'lit_furnace', 63 => 'standing_sign', 64 => 'wooden_door', 65 => 'ladder', 66 => 'rail', 67 => 'stone_stairs', 68 => 'wall_sign', 69 => 'lever', 70 => 'stone_pressure_plate', 71 => 'iron_door', 72 => 'wooden_pressure_plate', 73 => 'redstone_ore', 74 => 'lit_redstone_ore', 75 => 'unlit_redstone_torch', 76 => 'redstone_torch', 77 => 'stone_button', 78 => 'snow_layer', 79 => 'ice', 80 => 'snow', 81 => 'cactus', 82 => 'clay', 83 => 'reeds', 84 => 'jukebox', 85 => 'fence', 86 => 'pumpkin', 87 => 'netherrack', 88 => 'soul_sand', 89 => 'glowstone', 90 => 'portal', 91 => 'lit_pumpkin', 92 => 'cake', 93 => 'unpowered_repeater', 94 => 'powered_repeater', 95 => 'stained_glass', 96 => 'trapdoor', 97 => 'monster_egg', 98 => 'stonebrick', 99 => 'brown_mushroom_block', 100 => 'red_mushroom_block', 101 => 'iron_bars', 102 => 'glass_pane', 103 => 'melon_block', 104 => 'pumpkin_stem', 105 => 'melon_stem', 106 => 'vine', 107 => 'fence_gate', 108 => 'brick_stairs', 109 => 'stone_brick_stairs', 110 => 'mycelium', 111 => 'waterlily', 112 => 'nether_brick', 113 => 'nether_brick_fence', 114 => 'nether_brick_stairs', 115 => 'nether_wart', 116 => 'enchanting_table', 117 => 'brewing_stand', 118 => 'cauldron', 119 => 'end_portal', 120 => 'end_portal_frame', 121 => 'end_stone', 122 => 'dragon_egg', 123 => 'redstone_lamp', 124 => 'lit_redstone_lamp', 125 => 'double_wooden_slab', 126 => 'wooden_slab', 127 => 'cocoa', 128 => 'sandstone_stairs', 129 => 'emerald_ore', 130 => 'ender_chest', 131 => 'tripwire_hook', 132 => 'tripwire', 133 => 'emerald_block', 134 => 'spruce_stairs', 135 => 'birch_stairs', 136 => 'jungle_stairs', 137 => 'command_block', 138 => 'beacon', 139 => 'cobblestone_wall', 140 => 'flower_pot', 141 => 'carrots', 142 => 'potatoes', 143 => 'wooden_button', 144 => 'skull', 145 => 'anvil', 146 => 'trapped_chest', 147 => 'light_weighted_pressure_plate', 148 => 'heavy_weighted_pressure_plate', 149 => 'unpowered_comparator', 150 => 'powered_comparator', 151 => 'daylight_detector', 152 => 'redstone_block', 153 => 'quartz_ore', 154 => 'hopper', 155 => 'quartz_block', 156 => 'quartz_stairs', 157 => 'activator_rail', 158 => 'dropper', 159 => 'stained_hardened_clay', 160 => 'stained_glass_pane', 161 => 'leaves2', 162 => 'log2', 163 => 'acacia_stairs', 164 => 'dark_oak_stairs', 165 => 'slime', 166 => 'barrier', 167 => 'iron_trapdoor', 168 => 'prismarine', 169 => 'sea_lantern', 170 => 'hay_block', 171 => 'carpet', 172 => 'hardened_clay', 173 => 'coal_block', 174 => 'packed_ice', 175 => 'double_plant', 176 => 'standing_banner', 177 => 'wall_banner', 178 => 'daylight_detector_inverted', 179 => 'red_sandstone', 180 => 'red_sandstone_stairs', 181 => 'double_stone_slab2', 182 => 'stone_slab2', 183 => 'spruce_fence_gate', 184 => 'birch_fence_gate', 185 => 'jungle_fence_gate', 186 => 'dark_oak_fence_gate', 187 => 'acacia_fence_gate', 188 => 'spruce_fence', 189 => 'birch_fence', 190 => 'jungle_fence', 191 => 'dark_oak_fence', 192 => 'acacia_fence', 193 => 'spruce_door', 194 => 'birch_door', 195 => 'jungle_door', 196 => 'acacia_door', 197 => 'dark_oak_door', 198 => 'end_rod', 199 => 'chorus_plant', 200 => 'chorus_flower', 201 => 'purpur_block', 202 => 'purpur_pillar', 203 => 'purpur_stairs', 204 => 'purpur_double_slab', 205 => 'purpur_slab', 206 => 'end_bricks', 207 => 'beetroots', 208 => 'grass_path', 209 => 'end_gateway', 210 => 'repeating_command_block', 211 => 'chain_command_block', 212 => 'frosted_ice', 255 => 'structure_block'); # OpenComputers Components # # Mod: # my %opencomputers_val2id = (533 => 'opencomputers:case3', 531 => 'opencomputers:screen3', 513 => 'opencomputers:cable', 4229 => 'air'); # Vanilla: my %opencomputers_val2id = (533 => 'redstone_block', 531 => 'redstone_block', 513 => 'nether_brick_fence', 4229 => 'air'); # Join all block IDs my %all_val2id = (%block_val2id, %opencomputers_val2id); # Corner coords my $x = 0; my $y = 0; my $z = 0; my $prepress_file = shift; die "Missing prepress file!\n" if(!$prepress_file); open (PREPRESS,"<$prepress_file") or die "Can't open $prepress_file\n"; my $i; while(<PREPRESS>) { chomp(); my $line = $_; if ($line !~/^\{ \d+,\d+,\d+,\d+,\d+,\d+, (\d+|\d+,\d+) \},$/) { print "Skipping: $line\n"; next; } $line =~ s/[{}\s]//g; $line =~ s/,$//; my @data = split(',', $line); $data[7] = "0" if(!$data[7]); # Set coordinates $data[0]+=$x; $data[1]+=$y; $data[2]+=$z; $data[3]+=$x; $data[4]+=$y; $data[5]+=$z; # Set block ID my $blockid = $all_val2id{$data[6]}; # COMMENT IN for setting everything to air # my $blockid = 'air'; next if (!$blockid); $i++; my $fill = "fill $data[0] $data[1] $data[2] $data[3] $data[4] $data[5] $blockid $data[7] replace"; # COMMENT IN for set only Mod blocks # next if($data[6]<255); # Print next fill command to execute print "$i\t$fill\n"; # COMMENT OUT for disable DRY RUN next; # my $rcon = Minecraft::RCON->new( { address => $mc_server, port => $mc_rcon_port, password => $mc_rcon_password, strip_color => 1, convert_color => 1} ); if ($rcon->connect) { print $rcon->command($fill)."\n"; $rcon->disconnect; } else { print "Connection to $mc_server failed!\n"; sleep 1; # COMMENT IN to capitulate ... # last; } }
  10. Building - OC Data-Center (screenshots)

    Which IDs are wrong? I've wrote a little convert perl-script for vanilla minecraft. Should I share it with you? And yes. Another file for the smaller building would be cool.
  11. Building - OC Data-Center (screenshots)

    Hi Krutoy, I've tested your converter with this set of skeleton characters: https://voxeltiles.wordpress.com/2015/02/25/voxel-skeleton-set-v-1/ It works, but the colors are mapped almost wrong and the figures appear in Minecraft flipped on the X-axis. I have not had time to look at your code in more detail. Maybe there is also a problem with the VOX-files. Perhaps you have an idea. By the way: With the right mappings this skeletons looks pretty cool in Minecraft.
  12. Building - OC Data-Center (screenshots)

    Yes it does. I've made this little video: deleted
  13. Building - OC Data-Center (screenshots)

    Yes. I did it vanilla style with fill commands via RCON. Thanks for the clarification.
×