Raised This Month: $ Target: $400
 0% 

Connecting Mutliple Servers?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Specialist
BANNED
Join Date: Nov 2006
Old 12-09-2006 , 17:18   Connecting Mutliple Servers?
Reply With Quote #1

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
The Specialist is offline
Send a message via AIM to The Specialist
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 12-09-2006 , 17:22   Re: Connecting Mutliple Servers?
Reply With Quote #2

sockets is the fastest way I would think.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
The Specialist
BANNED
Join Date: Nov 2006
Old 12-09-2006 , 17:25   Re: Connecting Mutliple Servers?
Reply With Quote #3

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.
The Specialist is offline
Send a message via AIM to The Specialist
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 12-09-2006 , 17:44   Re: Connecting Mutliple Servers?
Reply With Quote #4

what kind of info? there are existing plugins that, for example, retrieve info from other servers and let you chat between servers.
__________________
Brad is offline
The Specialist
BANNED
Join Date: Nov 2006
Old 12-09-2006 , 17:50   Re: Connecting Mutliple Servers?
Reply With Quote #5

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

Last edited by The Specialist; 12-09-2006 at 18:30.
The Specialist is offline
Send a message via AIM to The Specialist
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 12-10-2006 , 11:53   Re: Connecting Mutliple Servers?
Reply With Quote #6

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)
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode