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 23 of 29

Author:  manefesto [ Tuesday, 13 Mar 2012, 09:00 ]
Post subject:  Re: MasterServer (win32/linux)

im try write ms from perl
but every server send 4dff for joim, in spec write send 71
wrong spec?

Author:  steamCooker [ Saturday, 24 Mar 2012, 17:21 ]
Post subject:  Re: MasterServer (win32/linux)

Noticed i never uploaded the latest version, so here it is

Author:  arnux [ Sunday, 25 Mar 2012, 08:07 ]
Post subject:  Re: MasterServer (win32/linux)

steamCooker wrote:
Noticed i never uploaded the latest version, so here it is


Hello steamCooker,

First of all thanks for MS. Could you please tell me what structure must be servers.db? or it should be automaticly created? or can u upload servers.db ?

Author:  steamCooker [ Sunday, 25 Mar 2012, 10:25 ]
Post subject:  Re: MasterServer (win32/linux)

it will create it if u uncomment these:

  1. [HLMasterServer]
  2. ;default server info
  3. 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
  4.  
  5. \version\1.1.2.5\region\255\product\cstrike
  6. ranking=(int32)0
  7. serversDb=servers.db
  8.  

Author:  arnux [ Sunday, 25 Mar 2012, 13:19 ]
Post subject:  Re: MasterServer (win32/linux)

steamCooker wrote:
it will create it if u uncomment these:

  1. [HLMasterServer]
  2. ;default server info
  3. 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
  4.  
  5. \version\1.1.2.5\region\255\product\cstrike
  6. ranking=(int32)0
  7. serversDb=servers.db
  8.  


hmm... I uncommented that line, chmod'ed that dir to 777 and no files are created except of *.log and HLMasterServer.db

Author:  steamCooker [ Sunday, 25 Mar 2012, 13:55 ]
Post subject:  Re: MasterServer (win32/linux)

that or these ?

Author:  arnux [ Sunday, 25 Mar 2012, 17:15 ]
Post subject:  Re: MasterServer (win32/linux)

steamCooker wrote:
that or these ?


here is my MasterServer.ini
  1. ;MasterServer - by SteamCooker
  2.  
  3. [Servers]
  4. HLMasterServer=myip: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=82.135.231.165 84.201.199.11 82.135.228.234 85.159.44.133 78.47.162.97 82.135.228.234 46.237.120.6 95.169.195.181 85.239.158.77 178.63.174.135 193.46.83.84 82.135.231.175 82.135.231.190 82.135.230.56 82.135.231.175 91.224.92.66 82.135.230.228 82.135.230.226 193.46.83.51 212.59.26.152 78.46.123.229 193.46.83.119 84.46.246.182 82.135.230.232 84.46.239.116 82.162.211.142 79.122.250.38 91.224.92.67 193.46.83.118 94.19.225.20 188.254.243.235 213.130.89.87 79.135.220.14 91.92.157.148 93.155.246.81 77.241.199.133
  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.so
  27. threadpool=30
  28.  
  29. [Logs]
  30. ;trace = 0, debug = 1, info = 2, warn = 3, error = 4, fatal = 5, off = 6
  31. Level=(int32)2
  32. LogFile=MasterServer.log
  33.  
  34. ;Static manualy defined game servers, challenge must be configured as %u
  35.  
  36. ;[HLMasterServer]
  37. ;default server info
  38. 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
  39. ranking=(int32)0
  40. serversDb=server.db
  41.  
  42. ;[HLMasterServer/127.0.0.1:27015]
  43. ;sample CS server
  44. ;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
  45. ;ranking=(int32)0
  46.  
  47. ;[SourceMasterServer/127.0.0.1:27015]
  48. ;sample L4D2 server
  49. ;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
  50. ;gamedata=\protocol\7\challenge\%u\region\255\gamedata\g:l4d2,coop,realism,survival,versus,teamversus,scavenge,teamscavenge,key:2011\gdversion\1
  51. ;ranking=(int32)0
  52.  
  53. ;[RDKFMasterServer]


Do you see any errors?

Author:  steamCooker [ Sunday, 25 Mar 2012, 17:21 ]
Post subject:  Re: MasterServer (win32/linux)

yes, u kept the comment on
;[HLMasterServer]

so it means that the serversDB config is in the [Logs] section instead of the [HLMasterServer] section, so of course it wont enable the servers.db

Author:  arnux [ Sunday, 25 Mar 2012, 22:54 ]
Post subject:  Re: MasterServer (win32/linux)

steamCooker wrote:
yes, u kept the comment on
;[HLMasterServer]

so it means that the serversDB config is in the [Logs] section instead of the [HLMasterServer] section, so of course it wont enable the servers.db



Oh, such a dumb mistake.... well, thanks anyway steamCooker, and once again, thank you for the great app :)

Author:  coolman [ Wednesday, 28 Mar 2012, 21:17 ]
Post subject:  Re: MasterServer (win32/linux)

2012/03/28 21:18:53 - ERROR : HL Master Server - IOException (0) : Insufficient data in stream to read a String
2012/03/28 21:23:04 - ERROR : HL Master Server - IOException (0) : Insufficient data in stream to read a String
2012/03/28 21:36:39 - ERROR : HL Master Server - IOException (0) : Insufficient data in stream to read a String
2012/03/28 21:37:18 - ERROR : HL Master Server - IOException (0) : Insufficient data in stream to read a String
2012/03/28 22:35:01 - ERROR : HL Master Server - IOException (0) : Insufficient data in stream to read a String
2012/03/28 22:37:34 - ERROR : HL Master Server - IOException (0) : Insufficient data in stream to read a String

Author:  steamCooker [ Wednesday, 28 Mar 2012, 21:33 ]
Post subject:  Re: MasterServer (win32/linux)

enable protocol logging and post it here, but either the protocol changed (doubt it) or something doesn't connect where it should

Author:  coolman [ Sunday, 01 Apr 2012, 12:42 ]
Post subject:  Re: MasterServer (win32/linux)

к сожалению ни чего долго не было я выключил логи ибо много место стали занимать и пошли снова ошибки:

2012/03/31 23:41:33 - ERROR : HL Master Server - Exception (0) : Invalid challenge info format
2012/03/31 23:44:38 - ERROR : HL Master Server - Unknown service requested : 's' - parameters :
00000000 | 00 00 | ..

2012/03/31 23:44:39 - ERROR : HL Master Server - Unknown service requested : 's' - parameters :
00000000 | 00 00 | ..

2012/03/31 23:44:41 - ERROR : HL Master Server - Unknown service requested : 's' - parameters :
00000000 | 00 00 | ..

2012/03/31 23:45:08 - ERROR : HL Master Server - Unknown service requested : 's' - parameters :
00000000 | 00 00 | ..

2012/03/31 23:45:09 - ERROR : HL Master Server - Unknown service requested : 's' - parameters :
00000000 | 00 00 | ..

2012/03/31 23:45:11 - ERROR : HL Master Server - Unknown service requested : 's' - parameters :
00000000 | 00 00

-- Edit --

Most requested to implement the possibility of issuing ip addresses and subnets in any case the first
Tipo as follows:
deny = 127.0.0.1 192.168.1.1
allow = 127.0.0.2 192.168.1.2
boost = 127.0.0.3 192.168.0.1/24
and that would have betrayed it first "boost"

Author:  cs-monitor [ Monday, 02 Apr 2012, 17:34 ]
Post subject:  Re: MasterServer (win32/linux)

steamCooker wrote:
enable protocol logging and post it here, but either the protocol changed (doubt it) or something doesn't connect where it should

All hello. To steamCooker, it is possible the short instruction how to make a question base for MasterServera?
Than to open the file MasterServerCustomDB.dll?
It is possible to contact you icq or skype?

Author:  steamCooker [ Monday, 02 Apr 2012, 21:49 ]
Post subject:  Re: MasterServer (win32/linux)

i have no icq or skype sorry.

i guess u want to know how to code a custom database dll ?

well u should implement a dll for the provided .h/.def interface

how u code it is up to u.
if u enable trace logs on master servers, u can see what sql requests i use in my own.

Author:  mihaigsm2003 [ Thursday, 12 Apr 2012, 22:37 ]
Post subject:  Re: MasterServer (win32/linux)

For me work very good, i create server in drupal for add servers, and i use lgsl for list of servers. Thks steamCooker!
http://www.lgsl.mastersetti.ro/

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