I started this week developing a simple but powerfull project, called Tronsole.
It's a bash script that must be run by terminal (linux), and allows to do some useful things with my/your server:
-start/stop or monitoring the server
-start/stop map rotation
-add/remove items to map list
-activate/deactivate player enter password (for matches or else)
-send direct commands to server easily
-load/rotate settings
-do any interactions with players by chat commands (e.g. voting to increase CYCLE_SPEED)
-allow a remote admin with restricted rights to do commands
-anything else my/your mind will generate
I have tested on my server a first simple version of the script (previous name was HAL-9001 )
I made it to test online different maps with other players fastly, just typing "/msg hoop map load <map name>", and shared it with Xian (which used it on Immortal Dinasty - Duel Nano server).
And it worked funny (HAL said "WELCOME <nick>" to every new player, or answered to chats msg like "lag", "hi hal", "lol", etc.).
I restarted to write it from beginning, to make it better organized and to implement server test/start-stop code, but I found a trouble starting armagetronad-dedicated binary:
using something like:
Code: Select all
while true
do
read command
if [ $command == "start" ] then
$arma_bin --options > $log_file &
fi
done
The matter is that I felt strange behaviors with my pc:
e.g. Sometimes (not always ) if I start a client and join the server, the screen freeze a frame for about 50 msec every regular interval (1-2 seconds).
After that, the same happens if I join another online server, even restarting the client.
Then, rebooting linux and starting the server again, this bug won't happen. If I restart the server, sometimes the bug comes back, sometimes not.
Other starange things happens with the video device, showing me red pixels in wrong places. But I'm not sure it's not my pc's fault
So, the 1,000,000 $ question:
Is there something wrong in the bin launch code, or may be there a bug in arma?
I'd make a debug if anybody wants to tell me how.
(I'm running Ubuntu 6.06 LTS Dapper Drake, for clarity)
thanks for reading
-hoop