View unanswered posts | View active topics
|
Page 19 of 29
|
[ 432 posts ] |
|
| Author |
Message |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Friday, 08 Jul 2011, 23:07 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
MasterServer is generic, i don't see what info i could add 
|
|
| Top |
|
 |
|
Alfred
|
Post subject: Re: MasterServer (win32/linux) Posted: Thursday, 14 Jul 2011, 01:41 |
|
Joined: Thursday, 14 Jul 2011, 01:33 Posts: 3
|
|
hi guys
i have dedicated server and i want to make all my servers have players Master server Program can make them full or what is doing this Program???
|
|
| Top |
|
 |
|
arez
|
Post subject: Re: MasterServer (win32/linux) Posted: Thursday, 14 Jul 2011, 03:01 |
|
| Super flooder Почетный графоман |
 |
Joined: Monday, 03 Nov 2008, 00:57 Posts: 990
|
|
| Top |
|
 |
|
Alfred
|
Post subject: Re: MasterServer (win32/linux) Posted: Thursday, 14 Jul 2011, 05:25 |
|
Joined: Thursday, 14 Jul 2011, 01:33 Posts: 3
|
arez wrote: no, this tool cant generate friends to play on your server. then what it do this tool??
|
|
| Top |
|
 |
|
illpillow
|
Post subject: Re: MasterServer (win32/linux) Posted: Thursday, 14 Jul 2011, 13:17 |
|
| I live here Три раза сломал клаву :) |
Joined: Friday, 24 Jun 2005, 18:42 Posts: 3140
|
|
You may look up what a MasterServer is.
_________________ ~
|
|
| Top |
|
 |
|
Alfred
|
Post subject: Re: MasterServer (win32/linux) Posted: Saturday, 16 Jul 2011, 08:02 |
|
Joined: Thursday, 14 Jul 2011, 01:33 Posts: 3
|
|
i still dont know for what this tool i mean what it do???
|
|
| Top |
|
 |
|
illpillow
|
Post subject: Re: MasterServer (win32/linux) Posted: Saturday, 16 Jul 2011, 20:16 |
|
| I live here Три раза сломал клаву :) |
Joined: Friday, 24 Jun 2005, 18:42 Posts: 3140
|
|
It allows you to create a MasterServer, that handles server and game-requests; you can add servers to it and clients can get these list.
_________________ ~
|
|
| Top |
|
 |
|
bytza
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 08 Aug 2011, 19:41 |
|
Joined: Wednesday, 20 Apr 2011, 18:42 Posts: 12
|
|
Hi steamCooker
Im still working on the php script thats allow mw to add manualy some servers. Im using the data base created by master server (servers.db). Ive made the insert script (is checking the server to if its online) and query (generate server list).
But the problem is that the master server needs to be restarted in order to load all added servers.
Is there a chance to synchronize the master server with the updated data base without restarting the server.
Best regards and respect for your work.
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 08 Aug 2011, 21:05 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
yup, u're using the wrong way. adding servers in servers.db allows to load these servers on startup. you have 2 ways to do what you want to do : 1 - configure a file name for the database -
- [Database]
- HLMasterServer=HLMasterServer.db
- SourceMasterServer=SourceMasterServer.db
- RDKFMasterServer=RDKFMasterServer.db
and insert directly in this "live" database. 2 - code a CustomGameServersDirectory dll using the provided code sample that will requests in your own database. (more complex to do than the 1rst way)
|
|
| Top |
|
 |
|
bytza
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 08 Aug 2011, 22:43 |
|
Joined: Wednesday, 20 Apr 2011, 18:42 Posts: 12
|
|
I know that im using servers.db, but i dot want to use HLMasterServer.db because all servers will be added manualy, not with "setmaster add".
If i will use "HLMasterServer.db", put "disableJoin=false" and add in "HLMasterServer.db" the ip, port and rank, will work ? The added server will apear in game server list or i will need to restart the server?
_________________ SteamX Romania Server - ROU Server 24/7
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Tuesday, 09 Aug 2011, 00:04 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
|
yes, but u will need to set the server info (metadata) too else u won't be able to find it, and u must not forget to sent a "last heartbeat" far in the futur so the server won't be dropped by the master server
|
|
| Top |
|
 |
|
bytza
|
Post subject: Re: MasterServer (win32/linux) Posted: Tuesday, 09 Aug 2011, 17:37 |
|
Joined: Wednesday, 20 Apr 2011, 18:42 Posts: 12
|
|
Thankyou steamCooker. Can you plese send me a PM with your Y!Mess ID or msn, something. I have more question to ask you, and it be more easy on messenger.
_________________ SteamX Romania Server - ROU Server 24/7
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Tuesday, 09 Aug 2011, 21:36 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
I have no IM account, i used to spend muuuuch time onit, but haven't time for it anymore 
|
|
| Top |
|
 |
|
bytza
|
Post subject: Re: MasterServer (win32/linux) Posted: Tuesday, 09 Aug 2011, 23:38 |
|
Joined: Wednesday, 20 Apr 2011, 18:42 Posts: 12
|
|
I see.
steamCooker Is there any chance to make me a small update to MS source? All that i need is to read servers.db (ip, port, rank) every 10 - 30 minutes (meybe interval can be defined in MasterServer.ini).
Im from Romania, and here all server owners have like 20 admin that opens 9 redirects (fake servers) each. I dont want to know how mutch redirects are opend.
On my MS, servers are added manualy but with an invitation code. Code that will get only from me. Im tryng to keep the server list as cleen as posible.
_________________ SteamX Romania Server - ROU Server 24/7
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Wednesday, 10 Aug 2011, 23:55 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
|
woudln't it be cleaner to : - disable join on the master server, - insert in the live database so the server are immediatly available - insert in the startup database too so the servers are kept after restart
cause i find reloading the whole base every X minutes a bit ugly
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: Exabot [Bot] and 3 guests |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|