This is a simple Blender script that exports the positions of an object's vertices to the format used by OGZ-Editor to generate .ogz (map) files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// base64 encoder/decoder, ported to cubescript by @SalatielSauer | |
// usage: /echo (base64 1 "Hello") // encode | |
// /echo (base64 0 "SGVsbG8") // decode | |
base64 = [ | |
local base64Chars base64CharAt encode decode isNaN | |
base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" | |
base64CharAt = [substr $base64Chars $arg1 1] | |
isNaN = [! (codestr $arg1)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FIXME hudgunorigin(), and shorten to maxrange | |
// projectile, cast on target | |
// only one in the air at once | |
//mpdir = vec(yaw*RAD, pitch*RAD); | |
// cast on self | |
// FIXME: make fast "give me all rpgobs in range R that are not X" function | |
// quick reject, for now | |
// cast on target | |
// alternative version of update() if this ent is the main player | |
//lastaction = lastmillis; |
OBR is a file format that holds presets of Sauerbraten map geometries.
This is an incomplete overview and may contain misinterpretations, feel free to correct or add more information. :)
Example of an uncompressed .obr file:
4f45 4252 0000 0000 f001 0000 1002 0000 0002 0000 // header
0100 0000 0100 0000 0100 0000 1000 0000 0000 0000 // selection setup
0000 8083 8043 5050 8080 8080 8080 0100 0100 0200 0300 0400 0500 // first "cube"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Algoritmo "Binario-Para-Decimal" | |
//Feito por Salatiel S. | |
//a lógica é simples: leia cada digito do binário individualmente da direita | |
//para a esquerda, se o digito for 1, o valor "imáginario" do digito atual será | |
//somado para o resultado final. | |
Var binarioInput: caractere //valor em binário | |
i: inteiro //digito indivudal do binário | |
valorImaginario: inteiro //valores de soma 1 2 4 8 16 32 64.. | |
binarioInvertido: caractere //binário invertido para a soma ficar coerente | |
valorDecimal: inteiro //resultado final |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_fs_debug = 0 | |
_fs_appendline = [ | |
if (!=s $arg1 "") [ | |
if $_fs_debug [echo (concat "^f0append ^f2" @arg1)] | |
append _fs_linesbuff (concatword "[" $arg1 "]") | |
] | |
] | |
_fs_open = [ | |
_fs_linesbuff = [] |
Data extracted with a slightly altered version of genserverogz to output the result in a json format.
sauer-mapvars-values.json
contains the values in the indexes that correspond to the items in sauer-mapvars-identifiers.json
.
The index value is null
if the map does not use a particular mapvar.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// organize tasks at equal intervals within a time range. | |
// receives two objects (start and end hours) and an integer (tasks) | |
function spreadTasks(start = {h: 0, m: 0}, end = {h: 23, m: 59}, tasks) { | |
let totalHour = end.h - start.h; | |
let totalMinute = end.m - start.m; | |
let totalTime = (totalHour*60)+totalMinute; | |
let taskTable = []; | |
for (let i = 0; i <= totalTime; i+=(totalTime/tasks)) { | |
let taskTime = ((start.h*60)+start.m)+i; | |
let taskHour = Math.floor(taskTime/60); |
- This kind of mining is not illegal.
- This is far from a "hacking script".
- Keys are valid for a few minutes after a user action, so the chances of getting a valid one are minimal.
- A key is generated every 2.5 seconds, it can not be less than this to avoid a "block" coming from discord api.
- Even with this delay, sometimes the block will happen ("You are being rate limited."), but it will only last a few seconds.
- Although not illegal, if you are lucky enough to get a valid key, be aware that someone else will have this key stolen if you claim it (and this is not cool xD).
- Everything was done for study proposals, use at your own risk!!1
NewerOlder