Skip to content

Instantly share code, notes, and snippets.

@gyunderscorebe
gyunderscorebe / hitmarkers.cfg
Last active October 28, 2017 10:37
Smooth hitmarkers
checkinit onHit ::hitmarkers::on_hit
check2init ::hitmarkers::base dot
::hitmarkers::fadeout_times = [300 300 300 300 150 300 150 150 300 150]
::hitmarkers::token = 0
::hitmarkers::num_steps = 10
::hitmarkers::set_crosshair = [
loadcrosshair (concatword "hitmarkers/" $::hitmarkers::base "_" $arg1 ".png")
]
@gyunderscorebe
gyunderscorebe / acsblparser.py
Created May 22, 2017 14:26
AssaultCube server blacklist parser
import re
__all__ = ["Header", "IPParseError", "IPRange", "IPRecord", "Report", "ServerBlacklist"]
class Header(object):
def __init__(self, text, indent=" "):
self.text = text
self.indent = indent
@gyunderscorebe
gyunderscorebe / query.py
Last active May 24, 2017 00:30
AssaultCube server query
#!/usr/bin/env python
from __future__ import print_function
import argparse
import re
import socket
class InvalidData(Exception):
pass
@gyunderscorebe
gyunderscorebe / atools.cfg
Last active September 10, 2017 19:38
Admin tools for AssaultCube by gy_be
// ATTENTION! New versions of atools are now in a github repo: https://github.com/gyunderscorebe/atools
//
// Admin tools by gy_be (version 0.3.0)
//
// How to install: download this file and put it into `config/` directory
// as `atools.cfg` and add `exec config/atools.cfg` to `autoexec.cfg`.
//
// How to configure: press `X` to open admin tools menu,
// there you can set some settings and list servers you have admin on.
// Servers are organized into groups that share same password.