Author Topic: Remote Admin  (Read 3825 times)

Re: Remote Admin
« Reply #15 on: September 04, 2016, 05:31:18 pm »
Hell Yeah! work like a charm - Thank you very much Mr. Wipe! - Now understand a bit more the lenguage of the motor.-

Now another question about the server admin - For example when you launch FOnlineServer.exe you can create a batch who clear the temporary files, and with -start open the .exe and do a automatic start of the server.-

But looking at the lenguage, its possible to create a script with a 24 timer for example or at certain hour of the actual day - Do this:

- Save WorldMap
- Execute a .bat file ?

Because it's this is posible when you call the msg 0 0 1 check a .txt file, see the information in line 1 and thats the message - This give you the chance to change the message without restart the server

« Last Edit: September 04, 2016, 05:41:12 pm by GecKoTDF »

Offline Wipe

  • Rotator
  • Random is god
Re: Remote Admin
« Reply #16 on: September 08, 2016, 12:47:17 am »
You could, i guess. It really sounds like reverse of our solution to redirect +requesthelp messages to IRC channel.

Basic idea is to store each message somewhere in server folder and frequently checking them. That's where  you need AS extension to collect filenames in given directory, pass a list back to scripts, open and process messages and back dll which deletes processed files. Easy.

Here you can read about how to add new functions to scripts, and i'm sure there are some examples on creating own dlls somewhere in SDK. Remember to keep server<->outside communication as fast as possible or you will end with pretty lagging server :)
Games are meant to be created, not played...