General > Developers Corner

Querying Server information

(1/1)

suicide bomber:
I'm trying to script something which would require specific server data (client total / client max, and servername) to be somehow transfered from one server to another. I don't care how its done(central DB or direct) but somehow the data needs to get from one machine to the other. I was wondering if there was already a method of doing this, and if not, what would be the best route to choose?

JamminR:
Hi SB.
 Have you looked into the sockets (one UDP, one TCP/IP) located on the FacePunch Lua releases/binary modules sub board?
http://forums.facepunchstudios.com/forumdisplay.php?s=6fb5e9488c2b60897e9a45083f71a7e4&f=70

There's also an SQL query module there.
I think Megiddo used it for Uban.

I don't know the protocols, but the sockets modules could probably be used to grab players just like the master server does.

Hope that gets you started.
Love your work.

suicide bomber:

--- Quote from: JamminR on August 10, 2007, 07:08:14 PM ---Hi SB.
 Have you looked into the sockets (one UDP, one TCP/IP) located on the FacePunch Lua releases/binary modules sub board?
http://forums.facepunchstudios.com/forumdisplay.php?s=6fb5e9488c2b60897e9a45083f71a7e4&f=70

There's also an SQL query module there.
I think Megiddo used it for Uban.

I don't know the protocols, but the sockets modules could probably be used to grab players just like the master server does.

Hope that gets you started.
Love your work.

--- End quote ---

Thanks for the help, I have looked into this, and was just hoping there was a simpler way before spending some time on that.

Navigation

[0] Message Index

Go to full version