diff --git a/server/bin/game2006service/game2006service b/server/bin/game2006service/game2006service new file mode 100755 index 00000000..60c7b232 --- /dev/null +++ b/server/bin/game2006service/game2006service @@ -0,0 +1,3 @@ +#!/bin/bash + +node ../../game2006service/app.js diff --git a/server/bin/game2006service/gm b/server/bin/game2006service/gm new file mode 100755 index 00000000..e80963f2 --- /dev/null +++ b/server/bin/game2006service/gm @@ -0,0 +1,8 @@ +#!/bin/bash + +while true +do + read -p '> ' cmd + curl "http://127.0.0.1:7691/webapp/index.php?c=GM&a=execCmd&cmd=${cmd}" |jq . + echo "" +done