Skip to content

Instantly share code, notes, and snippets.

@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