Author Topic: Co-op Server browser  (Read 63626 times)

bzt

  • Member
  • Posts: 1144
  • Iím a liar-entertained.
    • View Profile
Re: Co-op Server browser
« Reply #15 on: 19 May, 2013, 05:55:44 AM »
Anyone can try this to see if it's working, doesn't need any code or anything. So go ahead and try it!

Keep up with the comments, you're doing great!

Thanks!

I was looking into the files, this is what I found about

Quote

NAME
       hlmaster.gameserver  - How to configure your gameserver to
       send heartbeats to hlmaster.


DESCRIPTION
       If  you  want   to   get   your   gameserver   dynamically
       added/removed  from your master-server, you'll have to add
       an entry into the file woncomm.lst.  This file is  located
       within  the gameservers mod directory (eg. valve, cstrike,
       tfc...).
       There might be no woncomm.lst in  a  mods  directory,  but
       that  doesnt  really  matter.  You can either copy the one
       found in the valve directory, or just leave it  there  and
       edit  it.  If Half-Life does not find a woncomm.lst in the
       mod's directory, it defaults to using the one found in the
       valve directory.

       After  editing  your woncomm.lst, it's required to restart
       your gameserver for the changes to take effect. To verify,
       your  gameserver is really sending heartbeats to your mas-
       ter, you can go to the Half-Life console and  enter  'set-
       master' - respectivly 'rcon setmaster'.
       You  should  now  get  a lists of the currently configured
       master-servers. You can also add  a  master-server,  while
       half-life  is  running.  This is performed with 'setmaster
       add ip port' - where ip is your master server's ip-address
       (eg.  194.209.69.205)  and  port is it's port-number (nor-
       mally 27010).

       NOTE: Configuration changes made with the  setmaster  com-
       mand  only  remain  active  till next gameserver shutdown.
       Therefore, you'll have to edit your woncomm.lst anyway.

EXAMPLES
       An example woncomm.lst is  provided  within  the  examples
       directory  of  the  source distribution. However, here's a
       short example of the master section:

            Master
            {
                 your.server.com:27010
                 half-life.east.won.net:27010
                 half-life.west.won.net:27010
                 half-life.central.won.net:27010
            }

This is the "woncomm.lst"

Quote
// Server Lists
//
Titan
{
   half-life.east.won.net:6003
   half-life.west.won.net:6003
   half-life.central.won.net:6003
}

Auth
{
   half-life.east.won.net:7002
   half-life.west.won.net:7002
   half-life.central.won.net:7002
}

Master
{
//  your own master-server
   your.server.com:27010

   half-life.east.won.net:27010
   half-life.west.won.net:27010
   half-life.central.won.net:27010   
}

ModServer
{
   half-life.east.won.net:27011
   half-life.west.won.net:27011
   half-life.central.won.net:27011
}
« Last Edit: 19 May, 2013, 06:00:27 AM by Vengeance »
Nope.

mrpeanut188

  • Donator
  • Member
  • *
  • Posts: 803
    • View Profile
    • Email
Re: Co-op Server browser
« Reply #16 on: 19 May, 2013, 09:18:50 AM »
[Edit]
Runs on

    Linux (recommended)
    FreeBSD (read the special note)
    Windows 95/98/ME
    Windows NT/2000

And it's designed to be compiled per-system. I'll get my Linux and do this later.
Oh, ruMple this does deal with code. A lot of it.

[Edit2]
I have a great idea...
Since it IS Half-Life, we could piggyback off of the Steam game listings. I think that's what Valve told you to do.
« Last Edit: 19 May, 2013, 09:55:59 AM by mrpeanut188 »
You should've stopped when you lost the advantage.


ruMpel

  • Lead & Level/General Artist
  • CoF Team
  • Member
  • *
  • Posts: 1162
    • View Profile
    • Cry of Fear
    • Email
Re: Co-op Server browser
« Reply #17 on: 19 May, 2013, 09:54:21 AM »
[Edit]
Runs on

    Linux (recommended)
    FreeBSD (read the special note)
    Windows 95/98/ME
    Windows NT/2000

And it's designed to be compiled per-system. I'll get my Linux and do this later.
Oh, ruMple this does deal with code. A lot of it.

Well I meant it doesn't need the Cry of Fear source code.

And awesome if you're gonna try it out!

Any luck from you others?

mrpeanut188

  • Donator
  • Member
  • *
  • Posts: 803
    • View Profile
    • Email
Re: Co-op Server browser
« Reply #18 on: 19 May, 2013, 09:56:45 AM »
Well I meant it doesn't need the Cry of Fear source code.

And awesome if you're gonna try it out!

Any luck from you others?
Ok, I updated the post.
Anyways, we could piggy valve's servers like they intended for you to do. I can test it.
You should've stopped when you lost the advantage.


John Flleming

  • Member
  • Posts: 8
    • View Profile
    • Email
Re: Co-op Server browser
« Reply #19 on: 20 May, 2013, 05:20:11 AM »
Well I meant it doesn't need the Cry of Fear source code.

And awesome if you're gonna try it out!

Any luck from you others?

http://cs.rin.ru/forum/viewtopic.php?f=29&t=53996

1.You have to register your master
2.create fake servers where the client get packet from your master (Needed HLServer1.7 or any program which creates fake server)

WORKED FOR  ME.

ruMpel

  • Lead & Level/General Artist
  • CoF Team
  • Member
  • *
  • Posts: 1162
    • View Profile
    • Cry of Fear
    • Email
Re: Co-op Server browser
« Reply #20 on: 20 May, 2013, 05:25:56 AM »
http://cs.rin.ru/forum/viewtopic.php?f=29&t=53996

1.You have to register your master
2.create fake servers where the client get packet from your master (Needed HLServer1.7 or any program which creates fake server)

WORKED FOR  ME.

Really? Can you create one and then send me all necessary files/info please?

Kael - Alucard

  • Member
  • Posts: 454
  • Currently in Hiatus
    • View Profile
Re: Co-op Server browser
« Reply #21 on: 20 May, 2013, 12:09:42 PM »
I'll have a look into this when I get home but how did anyone not speak about this earlier?
I kind of assumed the Staff knew that there was no Master server.
Then again all of you only just started creating a multiplayer game so maybe I should've thought about that but oh well.
But yeah what I suggest to do is what someone previously said; piggyback on the Valve servers.
Currently Playing: Thomas Was Alone

Boomsicle

  • Donator
  • Member
  • *
  • Posts: 2222
  • Avatar and signature can get old, so why bother?
    • View Profile
    • Steam (Boomsicle)
Re: Co-op Server browser
« Reply #22 on: 20 May, 2013, 12:14:08 PM »
I'll have a look into this when I get home but how did anyone not speak about this earlier?
I kind of assumed the Staff knew that there was no Master server.
Then again all of you only just started creating a multiplayer game so maybe I should've thought about that but oh well.
I think the problem behind CoF not receiving servers on the server list is because it lacks a master server?

http://hlmaster.sourceforge.net/
:slower3:

bzt

  • Member
  • Posts: 1144
  • Iím a liar-entertained.
    • View Profile
Re: Co-op Server browser
« Reply #23 on: 20 May, 2013, 12:22:24 PM »


I really think that is the problem, you can look my post on the top
Nope.

Purple "Porygon" Towel

  • Donator
  • Member
  • *
  • Posts: 518
  • Currently Playing: Skyrim, Watching: Soul Eater
    • View Profile
    • My Steam Page...
    • Email
Re: Co-op Server browser
« Reply #24 on: 20 May, 2013, 12:47:58 PM »
where are the servers on game moniter?i enter cry of fear servers and it show all games  :stig:

What? This thread is for people trying to get the servers to show up in the client, and frankly, your post makes absolutely no sense at all.
In between disappearing off to RPG gaming sessions and KAWAII DESU BULLSHIT ANIME binges, I tend to log in once in a while...

Dieboy

  • Fresh One
  • Posts: 3
  • Life:horse shit
    • View Profile
    • Email
Re: Co-op Server browser
« Reply #25 on: 20 May, 2013, 12:53:18 PM »
What? This thread is for people trying to get the servers to show up in the client, and frankly, your post makes absolutely no sense at all.
ok sorry  :(
Add me if ya want :yow:

mrpeanut188

  • Donator
  • Member
  • *
  • Posts: 803
    • View Profile
    • Email
Re: Co-op Server browser
« Reply #26 on: 20 May, 2013, 03:30:00 PM »
This been solved ruMple?
Great find BTW John.
Now we just need to rent a server out.
You should've stopped when you lost the advantage.


Purple "Porygon" Towel

  • Donator
  • Member
  • *
  • Posts: 518
  • Currently Playing: Skyrim, Watching: Soul Eater
    • View Profile
    • My Steam Page...
    • Email
Re: Co-op Server browser
« Reply #27 on: 20 May, 2013, 04:01:12 PM »
Now we just need to rent a server out.

If that master server sinks within a year, I'll be pissed off. Fortunately, this is one of the reasons I donated. To afford the multiplayer upkeep.
In between disappearing off to RPG gaming sessions and KAWAII DESU BULLSHIT ANIME binges, I tend to log in once in a while...

Kael - Alucard

  • Member
  • Posts: 454
  • Currently in Hiatus
    • View Profile
Re: Co-op Server browser
« Reply #28 on: 20 May, 2013, 05:44:57 PM »
Boomsicle, Oops that's what I get for searching for keywords.
Plus I thought it was rather recent but obviously not.
Currently Playing: Thomas Was Alone

John Flleming

  • Member
  • Posts: 8
    • View Profile
    • Email
Re: Co-op Server browser
« Reply #29 on: 21 May, 2013, 02:37:59 AM »
Really? Can you create one and then send me all necessary files/info please?


Inbox me your skype, I'll tell you what to do due to me not having the specific MP Cry of Fear source files.