This file contains hidden or 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
-- 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 |
This file contains hidden or 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
#!/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) |