CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

[Release] MasterServer (win32/linux)
http://cs.rin.ru/forum/viewtopic.php?f=15&t=53996
Page 22 of 29

Author:  manefesto [ Thursday, 01 Mar 2012, 06:26 ]
Post subject:  Re: MasterServer (win32/linux)

use sqlite3

Author:  illpillow [ Thursday, 01 Mar 2012, 18:51 ]
Post subject:  Re: MasterServer (win32/linux)

manefesto wrote:
You can limit the list of addresses that have access to masterserver, but this restriction is for servers and clients.
Connecting the client and the server connection is on the same port
Mh okay, the only thing that comes to my mind is to write some custom code that periodically clears out all entries from the database except specific ones.

Author:  manefesto [ Friday, 02 Mar 2012, 11:14 ]
Post subject:  Re: MasterServer (win32/linux)

so,it's solution,but ugly solution

Author:  viktor6 [ Saturday, 03 Mar 2012, 14:58 ]
Post subject:  Re: MasterServer (win32/linux)

Как сделать чтобы сервера не могли добавляться в бд а вручную вносить в бд

How to make to the server could not be added to the database and manually make to the database

Author:  Sava_Nis [ Wednesday, 07 Mar 2012, 05:38 ]
Post subject:  Re: MasterServer (win32/linux)

  1. ;MasterServer - by SteamCooker
  2.  
  3. [Servers]
  4. HLMasterServer=127.0.0.1:27010
  5. SourceMasterServer=127.0.0.1:27011
  6. RDKFMasterServer=127.0.0.1:27012
  7.  
  8. [Access]
  9.  
  10. ;; static deny/allow list
  11. ;deny=127.0.0.1 192.168.1.1
  12. ;allow=127.0.0.2 192.168.1.2
  13.  
  14. ;; or dynamic access management database
  15. ;db=access.db
  16.  
  17. [Database]
  18. HLMasterServer=HLMasterServer.db
  19. ;SourceMasterServer=SourceMasterServer.db
  20. ;RDKFMasterServer=RDKFMasterServer.db
  21.  
  22. [Options]
  23. disableJoin=true
  24. enableRating=true
  25. traceProtocol=true
  26. customDatabase=MasterServerCustomDB.dll
  27.  
  28. [Logs]
  29. trace = 0, debug = 1, info = 2, warn = 3, error = 4, fatal = 5, off = 6
  30. Level=(int32)2
  31. LogFile=MasterServer.log
  32.  
  33. ;Static manualy defined game servers, challenge must be configured as %u
  34.  
  35. ;[HLMasterServer]
  36. ;default server info
  37. ;info=\protocol\47\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_nuke\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  38. ;ranking=(int32)0
  39. ;serversDb=servers.db
  40.  
  41. ;[HLMasterServer/192.168.24.103:27015]
  42. sample CS server
  43. info=\protocol\48\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_nuke\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  44.  
  45. ;[SourceMasterServer/127.0.0.1:27015]
  46. ;sample L4D2 server
  47. ;info=\protocol\7\challenge\%u\players\0\max\4\bots\0\gamedir\left4dead2\map\c2m4_barns\password\0\os\w\lan\0\region\255\gameport\27015\specport\0\dedicated\1\gametype\coop,empty\appid\550\type\d\secure\1\version\2.0.1.1\product\left4dead2
  48. ;gamedata=\protocol\7\challenge\%u\region\255\gamedata\g:l4d2,coop,realism,survival,versus,teamversus,scavenge,teamscavenge,key:2011\gdversion\1
  49. ;ranking=(int32)0
  50.  
  51. ;[RDKFMasterServer]
  52.  


The server is not visible on the CS internet tab.

my MasterServers.vdf
  1. "MasterServers"
  2. {
  3.     "hl1"
  4.     {
  5.         "0"
  6.         {
  7.             "addr"      "192.168.24.103:27011"
  8.         }
  9.  
  10.     }
  11.     "hl2"
  12.     {
  13.         "0"
  14.         {
  15.             "addr"      "192.168.24.103:27010"
  16.         }
  17.  
  18.     }
  19.  
  20. }
  21.  


logfile

  1. 2012/03/07 02:51:44 -  INFO : HL Master Server started
  2. 2012/03/07 02:51:44 -  INFO : Source Master Server started
  3. 2012/03/07 02:51:44 -  INFO : RDKF Master Server started
  4. 2012/03/07 02:51:44 -  INFO : -----------------------------
  5. 2012/03/07 02:51:44 -  INFO : Server status :
  6. 2012/03/07 02:51:44 -  INFO :  HL Master Server (0.0.0.0:27010) : Online
  7. 2012/03/07 02:51:44 -  INFO :  Source Master Server (0.0.0.0:27011) : Online
  8. 2012/03/07 02:51:44 -  INFO :  RDKF Master Server (0.0.0.0:27012) : Online
  9. 2012/03/07 02:52:39 - ERROR : Source Master Server - Unknown service requested : '1' - parameters :
  10. 00000000 | ff 30 2e 30 2e 30 2e 30  3a 30 00 5c 67 61 6d 65 | ÿ0.0.0.0:0.\game
  11. 00000010 | 64 69 72 5c 63 73 74 72  69 6b 65 5c 6e 61 70 5c | dir\cstrike\nap\
  12. 00000020 | 31 30 00                                         | 10.            
  13.  
  14. 2012/03/07 02:52:39 - ERROR : Source Master Server - Unknown service requested : '1' - parameters :
  15. 00000000 | ff 30 2e 30 2e 30 2e 30  3a 30 00 5c 67 61 6d 65 | ÿ0.0.0.0:0.\game
  16. 00000010 | 64 69 72 5c 63 73 74 72  69 6b 65 5c 6e 61 70 5c | dir\cstrike\nap\
  17. 00000020 | 31 30 00                                         | 10.            
  18.  
  19. 2012/03/07 02:52:39 - ERROR : Source Master Server - Unknown service requested : '1' - parameters :
  20. 00000000 | ff 30 2e 30 2e 30 2e 30  3a 30 00 5c 67 61 6d 65 | ÿ0.0.0.0:0.\game
  21. 00000010 | 64 69 72 5c 63 73 74 72  69 6b 65 5c 6e 61 70 5c | dir\cstrike\nap\
  22. 00000020 | 31 30 00                                         | 10.            
  23.  
  24. 2012/03/07 02:52:39 - ERROR : Source Master Server - Unknown service requested : '1' - parameters :
  25. 00000000 | ff 30 2e 30 2e 30 2e 30  3a 30 00 5c 67 61 6d 65 | ÿ0.0.0.0:0.\game


Please help me, on which Linux distribution you tried to run masterserver and how to insert the IP:port in masterserver?


Thanks!

Author:  steamCooker [ Thursday, 08 Mar 2012, 00:15 ]
Post subject:  Re: MasterServer (win32/linux)

  1. [Options]
  2. disableJoin=true  < you may consider setting this to false
  3. enableRating=true
  4. traceProtocol=true
  5. customDatabase=MasterServerCustomDB.dll < and comment this which is just a dummy dll
  6.  


also,


  1. ;[HLMasterServer/192.168.24.103:27015] << remove the comment here if you want to register this server manually (but be sure it's alive or it wont be displayed in steam)
  2. sample CS server
  3. info=\protocol\48\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_nuke\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  4.  

Author:  Sava_Nis [ Thursday, 08 Mar 2012, 04:07 ]
Post subject:  Re: MasterServer (win32/linux)

What is the best os to run the script. it requirest glibc 2.7?

Author:  steamCooker [ Thursday, 08 Mar 2012, 10:21 ]
Post subject:  Re: MasterServer (win32/linux)

was coded on win xp , and compiled on ubuntu 10, don't remember the glibc version ...

Author:  Sava_Nis [ Thursday, 08 Mar 2012, 16:36 ]
Post subject:  Re: MasterServer (win32/linux)

Work :)))
How to manually enter the server on masterserver?
I dont want to have hm master server public (setmaster add ip:27010 on server.cfg)
I want private masterserver, manual insert cs server on masterserver.ini and those servers to be visible on internet tab.

my masterserver.ini
  1. ;MasterServer - by SteamCooker
  2.  
  3. [Servers]
  4. HLMasterServer=46.37.160.121:27010
  5. ;SourceMasterServer=0.0.0.0:27011
  6. ;RDKFMasterServer=0.0.0.0:27012
  7.  
  8. [Access]
  9.  
  10. ;; static deny/allow list
  11. ;deny=127.0.0.1 192.168.1.1
  12. ;allow=193.104.68.81 193.104.68.82
  13.  
  14. ;; or dynamic access management database
  15. ;db=access.db
  16.  
  17. [Database]
  18. HLMasterServer=HLMasterServer.db
  19. ;SourceMasterServer=SourceMasterServer.db
  20. ;RDKFMasterServer=RDKFMasterServer.db
  21.  
  22. [Options]
  23. disableJoin=false
  24. enableRating=true
  25. traceProtocol=true
  26. ;customDatabase=./MasterServerCustomDB.so
  27.  


When in server.cfg insert set master add myIP:PORT this server is automatic visible on internet tab.
I want to insert myself cs 1.6 server (IP:PORT) and they to be visible on internet tab.
Please give me masterserver.ini or explaine it to me how to do that.

Author:  illpillow [ Thursday, 08 Mar 2012, 17:56 ]
Post subject:  Re: MasterServer (win32/linux)

I guess steamCooker gave you the code already:
steamCooker wrote:
  1. ;[HLMasterServer/192.168.24.103:27015] << remove the comment here if you want to register this server manually (but be sure it's alive or it wont be displayed in steam)
  2. sample CS server
  3. info=\protocol\48\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_nuke\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  4.  

Author:  Sava_Nis [ Thursday, 08 Mar 2012, 20:04 ]
Post subject:  Re: MasterServer (win32/linux)

But that is only for one server.
Is this correctly entered?
  1. [HLMasterServer/193.104.68.81:27015] /eps-alpha
  2. [HLMasterServer/193.104.68.81:27018] /Constantine The Great [Surf]
  3. [HLMasterServer/193.104.68.81:27025] /Constantine The Great [PaintBall]
  4. [HLMasterServer/193.104.68.81:27029] /Constantine The Great [Zombie]
  5. [HLMasterServer/193.104.68.81:27060] /Best Of The Best* [PUB]
  6. [HLMasterServer/193.104.68.81:27063] /Nishville [Pub] by eps-hosting.com
  7. [HLMasterServer/193.104.68.81:27068] /Serbian HQ [PUB]
  8. sample CS server
  9. info=\protocol\48\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_nuke\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  10. ranking=(int32)0
  11.  


How do I set it to every server to be visible no matter how Graco is and that is a map?
How should this line look?

  1. info=\protocol\48\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_nuke\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  2. ranking=(int32)0

Author:  steamCooker [ Thursday, 08 Mar 2012, 21:14 ]
Post subject:  Re: MasterServer (win32/linux)

no it's not u must do it like this :
  1.  
  2. [HLMasterServer]
  3. ;default server info to be used for servers if not specificly configued for the server
  4. info=\protocol\47\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_nuke\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  5.  
  6. [HLMasterServer/192.168.24.101:27015]
  7. ; this server info will be the default one
  8.  
  9. [HLMasterServer/192.168.24.102:27015]
  10. ; this server info will be the default one
  11.  
  12. [HLMasterServer/192.168.24.103:27015]
  13. ; this will be a custom info server
  14. info=\protocol\48\challenge\%u\players\0\max\24\bots\0\gamedir\cstrike\map\de_wtf\type\d\password\0\os\w\secure\0\lan\0\version\1.1.2.5\region\255\product\cstrike
  15.  

Author:  Valera1111 [ Friday, 09 Mar 2012, 03:51 ]
Post subject:  Re: MasterServer (win32/linux)

steamCooker, tell me please, I want to do two things:
1) I wish that would be issued in the first ip address, subnet, which I will point out.
2) I wish that it were possible in the configuration file you can specify the ip: port address, which will be issued first.
How do I do?

Author:  steamCooker [ Friday, 09 Mar 2012, 09:18 ]
Post subject:  Re: MasterServer (win32/linux)

Hi, well to be honest, i haven't understood what u want to do , but i think it's not possible

Author:  Valera1111 [ Friday, 09 Mar 2012, 16:14 ]
Post subject:  Re: MasterServer (win32/linux)

steamCooker, sorry for my bad language.
I wait add any possibility to manipulate with rating of servers from .ini config file, please...

Page 22 of 29 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/