Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 12:43

English | Русский




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 432 posts ] 
Author Message

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Friday, 08 Jul 2011, 23:07   
Cooking Steam for CS RIN!
User avatar
Joined: Monday, 16 Oct 2006, 18:52
Posts: 2933
MasterServer is generic, i don't see what info i could add :?


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Thursday, 14 Jul 2011, 01:41   
Beginner Без звания
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Thursday, 14 Jul 2011, 03:01   
Super flooder Почетный графоман
User avatar
Joined: Monday, 03 Nov 2008, 00:57
Posts: 990
no, this tool cant generate friends to play on your server.

_________________
.. can i has updates?
nicest retired admin ever!


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Thursday, 14 Jul 2011, 05:25   
Beginner Без звания
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
 Profile  

Post 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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Saturday, 16 Jul 2011, 08:02   
Beginner Без звания
Joined: Thursday, 14 Jul 2011, 01:33
Posts: 3
i still dont know for what this tool i mean what it do???


Top
 Profile  

Post 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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Monday, 08 Aug 2011, 19:41   
Beginner Без звания
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Monday, 08 Aug 2011, 21:05   
Cooking Steam for CS RIN!
User avatar
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
  1.  
  2. [Database]
  3. HLMasterServer=HLMasterServer.db
  4. SourceMasterServer=SourceMasterServer.db
  5. 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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Monday, 08 Aug 2011, 22:43   
Beginner Без звания
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
Image


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Tuesday, 09 Aug 2011, 00:04   
Cooking Steam for CS RIN!
User avatar
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Tuesday, 09 Aug 2011, 17:37   
Beginner Без звания
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
Image


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Tuesday, 09 Aug 2011, 21:36   
Cooking Steam for CS RIN!
User avatar
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Tuesday, 09 Aug 2011, 23:38   
Beginner Без звания
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
Image


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Wednesday, 10 Aug 2011, 23:55   
Cooking Steam for CS RIN!
User avatar
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
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 432 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22 ... 29  Next


Who is online

Users browsing this forum: Exabot [Bot] and 3 guests


Jump to:  
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




Powered by phpBB® Forum Software © phpBB Group