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

PixelPi

Members
  • Content Count

    20
  • Joined

  • Last visited

1 Follower

About PixelPi

  • Rank
    Junior Member
  • Birthday 01/01/1974

Profile Information

  • Gender
    Male
  • Location
    Germany

Recent Profile Visitors

1495 profile views
  1. I actually found it in my archives. Sent you a message. On the occasion: you had also designed lamps for the data center. You can see them here: https://i.imgur.com/i44xZv8.png I just can't find the 3d model anymore. I'm sure you posted it once. Sorry if I'm a pain, but there's no rush. I actually work with the data center all the time and the lamps would fit very well. I'm trying to do something in MagicaVoxel myself right now, but I'm not very talented. Your lamps look pretty cool.
  2. What happened to this script? "404 (Page Not Found)" Altogether simply great work. Even after almost 5 years the Data Center is still one of my favourite Minecraft models. I've built it many times. It's a great base that everyone can set up according to their own needs. You should have won a design award for it.
  3. I regularly work with MySQL databases. Mainly I operate with self-written Perl scripts on them. If I could help in any way, I would be happy to do so.
  4. 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
  5. Like this drawing. Do you have it in a higher resolution (1920x1280)?
  6. 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.
  7. 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!
  8. Slighty OT: Do you know if 1.5 will appear for MInecraft 1.9?
  9. 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
  10. 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.
  11. 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.
  12. 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; } }
  13. 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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.