put a ring on bev already
Hybrid View
-
-
12-14-2019
maybe bev will play openslim with stevery. wwould you like that? if he won't play with me, maybe he'll add bev to his list of slimeworld female friends who he treats decently and doesn't get mad at
bev, get lisa to show you how to play openslime with stevery, he's a really nice guy
-
Unregisteredking steveyos12-14-2019
I'm setting up a wedding sim for you two I have a friend with a wedding spot set up already they'll give me the stuff and I'll make a more brown setup
-
12-15-2019
well i had some luc following this guy's project for building my minecrafts in the slimeworld overland, but it's unfinished. we'll see how it goes
steverey can probably give me some tips if he'll deign to talk to me in the slimeworld, maybe his friendgirls can help me instad
Code:import java.io.*; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; import com.mojang.nbt.*; import net.minecraft.world.level.chunk.storage.RegionFile; /** * Minecraft to OpenSim * - Linking Virtual Worlds * VRA 2012 Project * @author Michael Craft <mcraft@peak15.org> */ public class Mc2os { // Minecraft region file to read from public static final RegionFile REGION_FILE = new RegionFile(new File("/home/minecraft/minecraft_server/world/region/r.0.0.mca")); // Chunk we want from this region (chunk numbers are local to each region) public static final int[] CHUNK_POS = {0, 0}; // Section we want from this chunk (sections are 16 high and count from bedrock at 0) public static final int SECTION_NUMBER = 4; // 4 corresponds to the 5th chunk up, starting with y:65 // File to save output to public static final File output = new File("/home/michael/public_html/mc2os/output.txt"); // Block IDs public static final byte AIR = 0; public static final byte STONE = 1; public static final byte GRASS = 2; public static final byte DIRT = 3; public static final byte COBBLESTONE = 4; public static final byte WOOD = 5; public static final byte SAND = 12; public static final byte GRAVEL = 13; // Main public static void main(String[] args) { // Open the file at the chunk we want DataInputStream is = REGION_FILE.getChunkDataInputStream(CHUNK_POS[0], CHUNK_POS[1]); // Read the chunk into memory. CompoundTag chunkData = null; try { chunkData = NbtIo.read(is); // Close the file. is.close(); } catch (IOException e) { e.printStackTrace(); System.exit(1); } /* This object is the chunk we are working with * Chunks contain the following tags: * Biomes * Entities * xPos * LastUpdate * zPos * TerrainPopulated * TileEntities * HeightMap * Sections*/ CompoundTag chunk = chunkData.getCompound("Level"); // Get a list of all vertical sections in this chunk. ListTag<? extends Tag> sections = chunk.getList("Sections"); /* This object is a vertical slice of the chunk, a section. * Sections contain the following tags: * Data * SkyLight * BlockLight * Y * Blocks */ CompoundTag section = (CompoundTag) sections.get(SECTION_NUMBER); // And here's what we've been looking for, the actual block data! :D byte[] blocks = section.getByteArray("Blocks"); // Now we'll iterate through to find block types that we want and then add them to a big string // Each line of the string will be of the form "x z y blockId" // y and z are flipped since opensim and minecraft don't agree on which is the vertical axis String outputString = ""; for(int x=0; x < 10; x++) { for(int z=0; z < 10; z++) { for(int y=0; y < 8; y++) { // Get the block id at this address byte blockId = blocks[x + z*16 + y*256]; // Add block types we want to the string if(blockId == AIR || blockId == STONE || blockId == GRASS || blockId == DIRT || blockId == COBBLESTONE || blockId == WOOD || blockId == SAND || blockId == GRAVEL) { outputString += Integer.toString(x); outputString += " " + Integer.toString(z); outputString += " " + Integer.toString(y); outputString += " " + Integer.toString(blockId) + "\n"; } } } } // Now write the string out to a file try { FileOutputStream stream = new FileOutputStream(output); FileChannel fc = stream.getChannel(); ByteBuffer bb = Charset.forName("UTF-8").encode(outputString); fc.write(bb); stream.close(); } catch(IOException e) { e.printStackTrace(); } } }
HTML Code:<?php `java Mc2os`; echo `cat output.txt`; ?>
Code:// ------------------------ // Constants and Globals // ------------------------ // Block IDs integer AIR = 0; integer STONE = 1; integer GRASS = 2; integer DIRT = 3; integer COBBLESTONE = 4; integer WOOD = 5; integer SAND = 12; integer GRAVEL = 13; // Buttons integer pwrBtn; integer resetBtn; // Lookup table for blocks list blockPos; list blockNum; // is an operation currently in place? integer busy; // http key key http_request_id; // ------------------------ // Utility Functions // ------------------------ // gets a link number from a position integer getBlockNum(vector pos) { integer index = llListFindList(blockPos, [pos]); return llList2Integer(blockNum, index); } // set the blockid by position setBlockId(vector block, integer id) { integer bNum = getBlockNum(block); setBlockNumId(bNum, id); } // set the blockid by link number setBlockNumId(integer num, integer id) { if(id == AIR) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "00000000-0000-2222-3333-100000001007", <1,1,1>, ZERO_VECTOR, 0]); } else if(id == STONE) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "00000000-0000-2222-3333-100000001012", <1,1,1>, ZERO_VECTOR, 0]); } else if(id == GRASS) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "00000000-0000-2222-3333-100000001013", <1,1,1>, ZERO_VECTOR, 0]); } else if(id == DIRT) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "b8d3965a-ad78-bf43-699b-bff8eca6c975", <1,1,1>, ZERO_VECTOR, 0]); } else if(id == COBBLESTONE) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "00000000-0000-1111-9999-000000000003", <1,1,1>, ZERO_VECTOR, 0]); } else if(id == WOOD) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "00000000-0000-2222-3333-100000001018", <1,1,1>, ZERO_VECTOR, 0]); } else if(id == SAND) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "sand", <1,1,1>, ZERO_VECTOR, 0]); } else if(id == GRAVEL) { llSetLinkPrimitiveParamsFast(num, [PRIM_TEXTURE, ALL_SIDES, "00000000-0000-2222-3333-100000001014", <1,1,1>, ZERO_VECTOR, 0]); } } // sets all blocks to air clearBlocks() { integer len = llGetListLength(blockNum); integer n; for(n=0; n<len; n++) { setBlockNumId(llList2Integer(blockNum, n), AIR); } } // Set the busy state setBusy() { busy = 1; llSetLinkColor(pwrBtn, <1.0, 1.0, 0.0>, ALL_SIDES); } // clear the busy state clearBusyOn() { busy = 0; llSetLinkColor(pwrBtn, <0.0, 1.0, 0.0>, ALL_SIDES); } // clear the busy state to off clearBusyOff() { busy = 0; llSetLinkColor(pwrBtn, <1.0, 0.0, 0.0>, ALL_SIDES); } // ------------------------ // Main // ------------------------ default { state_entry() { llSay(0, "Initializing..."); // Add the root prim blockPos += ZERO_VECTOR; blockNum += LINK_ROOT; llSetAlpha(1.0, ALL_SIDES); // Parse all linked prims integer num = llGetNumberOfPrims(); integer n; for(n=2; n<=num; n++) { string name = llGetLinkName(n); if(name == "block") { // Find offset from the root block, this also happens to be the minecraft block position. vector pos = llList2Vector(llGetLinkPrimitiveParams(n, [PRIM_POSITION]), 0) - llGetPos(); blockPos += pos; blockNum += n; } else if(name == "Power Button") { pwrBtn = n; llSetLinkColor(pwrBtn, <1.0, 1.0, 0.0>, ALL_SIDES); } else if(name == "Reset Button") { resetBtn = n; } } state off; } } state on { state_entry() { llSay(0, "On."); llSetLinkColor(pwrBtn, <0.0, 1.0, 0.0>, ALL_SIDES); llSetTimerEvent(20); if(!busy) { http_request_id = llHTTPRequest("http://home.peak15.org/~michael/mc2os/output.php", [], ""); } } timer() { if(!busy) { http_request_id = llHTTPRequest("http://home.peak15.org/~michael/mc2os/output.php", [], ""); } } http_response(key request_id, integer status, list metadata, string body) { if (request_id == http_request_id) { setBusy(); llSay(0, "Refreshing..."); list lines = llParseString2List(body, ["\n"], [""]); integer len = llGetListLength(lines); integer n; for(n=0; n<len; n++) { string line = llList2String(lines, n); list parts = llParseString2List(line, [" "], [""]); vector target = ZERO_VECTOR; target.x = (float) llList2String(parts, 0); target.y = (float) llList2String(parts, 1); target.z = (float) llList2String(parts, 2); setBlockId(target, (integer) llList2String(parts, 3)); } clearBusyOn(); } } touch_start(integer total) { integer link = llDetectedLinkNumber(0); // Power button, toggle off. if(link == pwrBtn) { state off; } // Reset button, clear blocks. else if(link == resetBtn && !busy) { setBusy(); clearBlocks(); clearBusyOn(); } } } state off { state_entry() { llSay(0, "Off."); llSetLinkColor(pwrBtn, <1.0, 0.0, 0.0>, ALL_SIDES); } touch_start(integer total) { integer link = llDetectedLinkNumber(0); // Power button, toggle on. if(link == pwrBtn) { state on; } // Reset button, clear blocks. else if(link == resetBtn && !busy) { setBusy(); clearBlocks(); clearBusyOff(); } } }
-
-
12-15-2019
no, Lisa has to do that for Bev. May e you can help her
Last edited by m0nde; 12-15-2019 at 08:52 AM.
-
12-15-2019
this place is so negative, the only threads that arent like that are these casual pink forum threads. here we are, best buds sterey and mondr talking about a nonfirum technology and being civil to each other, even talking about inviting forum people to share in the joy of slime assembly and minecrafting
thanks for being such a great guy, stevery
-
Unregisteredking steveyos12-15-2019
yes I would love to see you all start being nice to females being in love is the greatest shit ever I got called kitty girl last night lmao ^_^
-
-
-
-
-
12-17-2019
this is my favorite thread on the whole forum
-
12-17-2019
stevey's legs are pretty fucked up
-
12-17-2019
I love his legs, they reflect the tough life he's led
I'm there for you, syevery's legs <3
-
12-17-2019
does stevey cut himself? his legs are mutilated
-
12-17-2019
Those holes and chunks of missing flesh aren't anything a cool pair of toe socks won't take care of
-
12-17-2019
hos legs are really fucked up though
-
-
-
Unregisteredking steveyos12-17-2019
btw idk why ruby didn't let me pay him back but he needs to tell the truth already
-
-
Unregisteredking steveyos12-18-2019
paypal sent me the money back after 30 days somebody has to actually accept the money for him
-
12-18-2019
He probably just wants you gone like everyone else does
-
-
12-18-2019
I'm 100% positive this story is true, that stevey had 5k and tried to send it to ruby. knowing what I do about stevey's financial situation that seems realistic.
-
12-18-2019
Stovey is the most honest and reliable person here
-
12-18-2019
I guess the paypal transaction to pay monde back was declined as well
-
-
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)