Is this possible and how would it be done? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is this possible and how would it be done? (
/showthread.php?tid=262456)
Is this possible and how would it be done? -
pagie1111 - 18.06.2011
Hello, I am thinking of something in my head. Is it possible to send Integers, floats and strings across different servers? Like if I have multiple implementations of my server script, on different servers and say I have linked the weathers with this idea, is it possible to send the integer of my weatherid to one of my other servers?
If yes, then what would be needed to make this possible?
Btw this is all a hypothetical scenario.
Thanks - BockScar
Re: Is this possible and how would it be done? -
leong124 - 18.06.2011
If the servers are at the same host server, then it could be linked by reading/writing files(but it's slow).
Re: Is this possible and how would it be done? -
VivianKris - 18.06.2011
may mysql can do it
Re: Is this possible and how would it be done? -
Lorenc_ - 18.06.2011
Quote:
Originally Posted by VivianKris
may mysql can do it
|
Mysql could do it, save the Integer inside the database then load it...
Thats a unique idea i gotta say
Re: Is this possible and how would it be done? -
pagie1111 - 18.06.2011
What about strikenkids Sockets plugin? How exactly does that work?
Re: Is this possible and how would it be done? -
Sascha - 18.06.2011
you can also use the HTTP function and link all the servers to a "base website" from which they read it
Re: Is this possible and how would it be done? -
pagie1111 - 18.06.2011
Hmm yeh, but I don't want to have a website to send the data, I want server to server data. Any server infact with the correct tools.