Connecting Mutliple Servers?
ive been reading tutorials on how to connect to online servers using mysql or dbi and sql and sqlx . I was wondering what the best way would be to connect multiple game servers , and pass information between them . For instance i make a plugin , put it on 2 servers , cz or cs game servers , and pass info back and forth between the 2 gameservers usign the 1 plugin. What would be the best route to use ?
Thank You:) |
Re: Connecting Mutliple Servers?
sockets is the fastest way I would think.
|
Re: Connecting Mutliple Servers?
i was thinking about that also , but i didnt know if it would be a good way to connect to a game server. It seems really good for webservers.
|
Re: Connecting Mutliple Servers?
what kind of info? there are existing plugins that, for example, retrieve info from other servers and let you chat between servers.
|
Re: Connecting Mutliple Servers?
well , i want to get a players health , ammo , weapons , kills , and deaths , maybee even stats , steam id , and send them to the other server , to be stored.
EDIT : i think ill use sockets . i found some good examples of approved plugins which use this . Thanks Guys :up: |
Re: Connecting Mutliple Servers?
Since you can't make a socket that will listen for connections, you can't use sockets to share information between servers directly.
I would suggest a SQL server, thats what I've been doing for a long time (http://www.gotjuice.nl/stats) |
| All times are GMT -4. The time now is 06:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.