Hello good people of Face Punch,
I'm wondering if it is possible (and if so, how) to link a number of different servers together by hosting the Addons folder on a separate server to the game server (or doing something similar) so more than one server can read and write to these files.
Example: I can give money to a player using my point store Addon it would be the same value on my other servers. Or: I rank someone to a moderator one one server and their rank would be the same on another. I believe I've seen it done before with some Bhop servers.
Thanks,
Andrew.
Message to moderators/admins: I'm new here. Please inform me that I've posted in the wrong section of the forums if I have.
Why not just use MySQL? No need to all access one addons/data folder.
[QUOTE=Bo98;40205250]Why not just use MySQL? No need to all access one addons/data folder.[/QUOTE]
I was thinking about this but how would I get the ULX and PointShop files linked to the database?
I'm sure theres addons for both ULX and Pointshop that lets you upload data to a database rather than local files, if not, make a request for such.
Even though, if the files are on the same physical machine you can create symlinks (symbolic links), but I haven't tested this.
I guess you could junction the data folders but then you could run into concurrency problems
Socket communication or an external MySQL server are really a better option
As for linked chat, I think you could manage something with the http library.
[QUOTE=CrashLemon;40209788]As for linked chat, I think you could manage something with the http library.[/QUOTE]
No, I'm not really looking for linked chat. I mainly want to link my PointShop and ULX to every server that I would own.
Just run GMod using the same srcds.exe directory, just different command line params.
Make it all redirect to a web database, so the points can be synced to a universal database.
[QUOTE=natiscool;40213713]Make it all redirect to a web database, so the points can be synced to a universal database.[/QUOTE]
Too much work to convert everything over to a new data storage protocol when you can just stick with text based saving with very little work.
If anyone could help me, I'd be happy to pay. Just send me a pm.
Well I know that if you using undefined's pointshop it can use a mysql method.
all you got to do is configure it to work and just copy the addon to the other server, since they both connect to the same mysql the data will be exactly the same.
[QUOTE=Crapy;40215996]Well I know that if you using undefined's pointshop it can use a mysql method.
all you got to do is configure it to work and just copy the addon to the other server, since they both connect to the same mysql the data will be exactly the same.[/QUOTE]
Yes, I just saw that you could do that with the help of another addon. I'll try it soon.
Sorry, you need to Log In to post a reply to this thread.