Forum

> > CS2D > Servers > Keeping a Online serverinfo!
Forums overviewCS2D overview Servers overviewLog in to reply

English Keeping a Online serverinfo!

23 replies
Page
To the start Previous 1 2 Next To the start

old Re: Keeping a Online serverinfo!

_Yank
User Off Offline

Quote
I'm not sure and I don't want to make you bother people but there were a guy called deathmask or something and he seemed to be experienced on this field.
You could try to search for threads about dynamic libraries (such as LuaSQL, Lua Socket, etc)

old Re: Keeping a Online serverinfo!

Milontoo7
User Off Offline

Quote
Create a script it doesn't have to be Lua that would point to place where you would be uploading your serverinfo (I suggest your own hosting). When you're done with editing the server info just upload the file in your hosting website and the script would automatically download it (wget http://example.com/serverinfo.txt) and then after the download let the program download it in the right directory and replace the original

old Re: Keeping a Online serverinfo!

VaiN
User Off Offline

Quote
I'd assume that if you are lazy, then you probably don't want to have to create a script or jump through hoops to get it working. The ultimate lazy option would just be to use remote file sync like Dropbox/Copy/ect. This would require some additional RAM of course. Then you can just modify the file locally.

Or you could make a cron script like others have suggested:
More >

The sync option would allow you to not make the files publicly accessable, but would require more memory and bandwidth usage. There are certainly other (more efficient) ways too, such as rsync via ssh, but that's going to require more effort than it sounds like you are looking for.

Honestly, creating a cron script is extremely useful for many situations, so it's definitely good to be familiar with.

Regardless of the method you choose, you'll still have to reload the map/server on each running CS2D instance for it to reflect the change.
To the start Previous 1 2 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview