Author Topic: Admin Panel?  (Read 42 times)

Admin Panel?
« on: February 13, 2019, 02:32:29 pm »

i viewed FOnlineServer.exe. Here is link to "Admin Panel". How to use it? Or exist any app to use admin panel functions? I have S2 Reloaded server.

Thanks for reply.
I am working on private server at: All CZ/SK players are welcome.
Warning: Translation to Czech in progress! All other languages, except Czech or Slovak, are unsupported.

Offline Wipe

  • Rotator
  • Random is god
Re: Admin Panel?
« Reply #1 on: February 13, 2019, 03:27:30 pm »
Code: (Server.cfg) [Select]
# Admin panel listening port
# 0 to disable

# Keys for accesses
# Aviable four access mode: client (default on login), tester, moder, admin

Telnet to server using AdminPanelPort you set, enter VerySecretPassword, enjoy. You'd have (limited) access to hardcoded ~commands, mostly those which does not need Critter object to run.

AdminPanel is pretty meh, and most servers (if not all) don't use it, even on dev machine. And if you like to check server log often, you'll see lot of spam comming from it. Bigger issues was the fact that scripts have zero control over connected user, and if you want to use most important ~run command, you have to be pretty careful what functions you call - Critter& argument is null (sic!) when executed from AdminPanel :D

There's .dll version of similiar functionality in 2238 sources (DevConnect.cpp, devconnect.fos) which moved most of logic into scripts, and enabled two-way interaction. It's stuck in eternal Proof-Of-Concept stage but maybe will give you some ideas.
« Last Edit: February 13, 2019, 03:30:25 pm by Wipe »
Games are meant to be created, not played...