If You Have a Bug Report, Error or Other Issue - Please Submit a Ticket Instead.

Command Line.

Hi-

I have several scripts that run through put the night, one rebooting servers that get hung processes.  With V1 of the game, I was able to have cron reboot and restart GNBot.  With the new version, is there a syntax that I can use to launch the game with a specific profile, such as: gnbots.exe -p default   etc??

Thanks!

Dub

0

Comments

4 comments
  • Hello, if you activate remote API, then you can do those things via requests. It is still a WIP, so we have not documented it publicly yet. This may change over the next couple weeks, but you can use the following:
    Check the port under settings inside the bot then
    start the gnbots.exe
    http://localhost:5508/settings/

    http://localhost:5508/settings/{confignameyouwishtoupdate}/update?val=profilename

    http://localhost:5508/start

    let me know if this is enough to tinker around. The next update also contains a simple -start argument for the gnbots.exe

    0
  • How are the updates coming along on API?  Is status on upcoming feature?  It would be nice to check and see what action on which castle is being performed.  Even a tail of the logfile to start.

    Could ultimately dump real-time to a channel.

    0
  • For now, you could use something like: http://localhost:5508/sessions or http://localhost:5508/sessions/1
    There is also a -start argument you can use now in the latest bot update. Just start it with gnbots.exe -start

     

    0
  • Hello,

    Is it possible to share the current documentation even while not officially supported? Would be great!

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post