Skip to content

Instantly share code, notes, and snippets.

View Trinick's full-sized avatar

Bill Fallon Trinick

  • Corelation, Inc.
  • San Diego, California, USA
View GitHub Profile
function serverCmdloadme(%client, %save)
{
%player = %client.player;
%BLID = %client.bl_id;
if(!isFile("config/server/FalloutRPG/" @ %BLID @ ".txt"))
{
messageClient(%client, '', "<color:FFFFFF>Load was <color:FF0000>unsuccessful<color:FFFFFF>.");
return;
}
Jailbot - RIP HPRC: like my voice cracked instantly and i said the first half of her name in like my fellatio register
Peruvian Schoolgirl: i think i've been front row at enough EDM shows to speak normally when i can't hear myself
Peruvian Schoolgirl: lmfao
Peruvian Schoolgirl: FELLATIO REGISTER?
Peruvian Schoolgirl: rofl
Jailbot - RIP HPRC: ROFL
Peruvian Schoolgirl: is that like
Jailbot - RIP HPRC: i thought you missed it
Peruvian Schoolgirl: the grunt exhale you make when getting head?
Peruvian Schoolgirl: like
@Trinick
Trinick / gist:6228338
Last active December 21, 2015 01:29
Jail.cs
datablock fxDTSBrickData (brickJailSpawnData)
{
brickFile = "./spawnPoint.blb";
category = "Special";
subCategory = "Interactive";
uiName = "Jail Spawn";
iconName = "base/client/ui/brickIcons/Spawn Point";
};
package brickJail {
function linkify(%string) {
%string = strReplace(%string, "https://", "http://");
%last = 0;
for(%i = 0; %i < 5 && striPos(%string, "http://", %last) >= 0; %i++) {
%pos = striPos(%string, "http://", %last)+7;
%space = strPos(%string, " ", %pos);
if(%space == -1)
%space = strLen(%string);
%link = getSubStr(%string, %pos, %space-%pos);
%string = strReplace(%string, "http://" @ %link,
0.900 0.000 0.000 1.000
245 205 47 255
0.000 0.500 0.250 1.000
43 78 255 255
0.900 0.900 0.900 1.000
0.750 0.750 0.750 1.000
0.500 0.500 0.500 1.000
0.200 0.200 0.200 1.000
100 50 0 255
DIV:Standard
//- Centhra Engine -
#include <CE/AppFrontend.h>
#include <CE/Base.h>
#include <CE/Canvas.h>
#include <CE/Game2D/Plane.h>
#include <CE/Game2D/ZoneEntity.h>
#include <CE/Game2D/ZoneCamera.h>
#include <CE/UI/GameView2DCtrl.h>
#include <CE/Thread.h>
#include <CE/Socket.h>
This is a Blockland save file. You probably shouldn't modify it cause you'll screw it up.
1
canals
0.898039 0.000000 0.000000 1.000000
0.898039 0.898039 0.000000 1.000000
0.000000 0.498039 0.247059 1.000000
0.200000 0.000000 0.800000 1.000000
0.898039 0.898039 0.898039 1.000000
0.749020 0.749020 0.749020 1.000000
0.498039 0.498039 0.498039 1.000000
function buildTerrain(%x,%y,%m,%b)
{
for(%i=0;%i<%x;%i++)
{
for(%j=0;%j<%y;%j++)
{
%tile[%i,%j] = getRandom(-1,1);
}
}
traceroute to ny04.returntoblockland.com (192.241.71.218), 30 hops max, 60 byte packets
1 homeportal (192.168.1.254) 2.316 ms 21.341 ms 21.620 ms
2 99-74-216-2.lightspeed.sndgca.sbcglobal.net (99.74.216.2) 45.830 ms 47.972 ms 48.330 ms
3 * * *
4 12.83.70.137 (12.83.70.137) 51.913 ms 51.072 ms 52.252 ms
5 ggr2.la2ca.ip.att.net (12.122.129.97) 52.837 ms 53.188 ms 56.125 ms
6 las-bb1-link.telia.net (80.239.193.213) 54.872 ms 32.839 ms 42.876 ms
7 nyk-bb1-link.telia.net (213.155.135.116) 131.237 ms 122.748 ms 125.030 ms
8 buf-b1-link.telia.net (80.91.246.36) 133.018 ms 133.357 ms 133.358 ms
9 giglinx-ic-302533-buff-b1.c.telia.net (62.115.34.138) 117.543 ms 140.408 ms 140.396 ms
use std::hashmap::*;
type MasterMap = HashMap<(int, int, int), @mut MasterZone>;
static size: int = 16;
struct Voxel {
x: int,
y: int,
z: int,