AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Connecting Mutliple Servers? (https://forums.alliedmods.net/showthread.php?t=48307)

The Specialist 12-09-2006 17:18

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:)

SweatyBanana 12-09-2006 17:22

Re: Connecting Mutliple Servers?
 
sockets is the fastest way I would think.

The Specialist 12-09-2006 17:25

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.

Brad 12-09-2006 17:44

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.

The Specialist 12-09-2006 17:50

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:

MaximusBrood 12-10-2006 11:53

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.