Skip to content

Instantly share code, notes, and snippets.

@stefanbeller
stefanbeller / LPC-2013
Last active December 11, 2015 16:08
Ideas summarized for LPC-2013
Submission format for LPC-2
========================================================================
* enforce public version controled hosting.
using git/svn/cvs/bzr/hg whatever you like and
host it at github/sourceforge/bitbucket/launchpad etc
* Handing in an installscript which must run on a provided free distro vm.
It should not contain a 'wget my-executable' or such, but actually
- install deps
@bjorn
bjorn / createupdates.lua
Created July 14, 2012 21:01
Scripts around manaserv
#!/usr/bin/env lua
local function checkenv(varname)
local value = os.getenv(varname)
if not value then
print(varname .. ' not set')
os.exit(1)
end
return value
end
@jurkan
jurkan / manademo
Created July 3, 2012 20:02
Manaclientautoupdate
#!/bin/bash
case $1 in
start)
cd /srv/manademo/
rm ./manaserv-game.log
rm ./manaserv-account.log
su manademo -c "HOME=\"/srv/manademo\" ./start-server.sh 2>/dev/null" > /dev/null &
;;
stop)
@Ablu
Ablu / debugger.lua
Last active September 28, 2015 19:48
Helpscript to debug manaserv map scripts without need of a server
-- Use:
-- lua debugger.lua <mapfile to debug>
-- e = exit
-- t = talk to npc
-- tr = trigger a trigger
-- cp = create player
-- in = info about npc
-- it = info about trigger
-- ip = info about player