FOnline Development > Questions and Answers
Remote Admin
GecKoTDF:
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
Wipe:
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 :)
Navigation
[0] Message Index
[*] Previous page
Go to full version