Collapse column

 Main Menu -


 Links -


 Personal Menu -

Hi, Guest
avatar


 Calendar -

July 2022
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

Author Topic: CS Beta 5.2 dedicated server  (Read 680 times)

[CKV]The Specialist

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
CS Beta 5.2 dedicated server
« on: 11. January 2022, 14:48:58 »
Hi all,

recently I tried to reactivate my CS Beta5.2 server (already had one active years ago), but I am always running into following error:

Fatal error: glibc detected an invalid stdio handle

As this error suggests I am running a linux machine (Debian buster currently) and I am using the correct HLDS versions for CS 5.2.
I assume the old HLDS version is just incompatible with the current libraries installed. Can someone give a hint how to solve that? Following ideas came up for me
- maybe I just need to install/download a specific additional lib or glibc version? If so, which one?
- run an older debian version within a virtual machine to host the gameserver. Which release is needed here?

Maybe someone of the other server-admins can give a clue about their setup :-)


Kind regards

Cnegurozka

  • Administrator
  • Uber-Pro
  • *****
  • Posts: 412
  • Karma: +0/-0
Re: CS Beta 5.2 dedicated server
« Reply #1 on: 12. January 2022, 15:57:41 »
Hi,
I'm running my CS server on a VERY old linux system (debian etch). But at that time it was already not compatible, CS 5.2 is from 1999 or 2000 ...

This ENV settings are from my start script:
export LD_LIBRARY_PATH=/server/half-life/libs:$LD_LIBRARY_PATH
LD_ASSUME_KERNEL=2.4.1

In my "/server/half-life/libs" folder I just have 1 file:
libhlwon.so

Hope this helps!
I'm running:
Gameservers: HL Deathmatch | Firearms 1.2a | CS 6.1 | CS 5.2
And Teamspeak 3
... also BetaStrike.Net in general ;)

[CKV]The Specialist

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: CS Beta 5.2 dedicated server
« Reply #2 on: 12. January 2022, 16:10:42 »
Hi,

thanks very much for your reply (didn't even dare to hope for that fast response!).
In the meantime I realized this game is no longer compatible with up to date hardware and more important software / operating systems. So I spent very much time to setup virtualbox - was a hassle on a headless server without knowing all die vboxmanage commands - and installed Debian 6 (Squeeze) in a virtual machine.
The gameserver seems to be running now, I am just fighting with network-settings and vm port-forwarding to make it available on WAN.

Kind regards

Cnegurozka

  • Administrator
  • Uber-Pro
  • *****
  • Posts: 412
  • Karma: +0/-0
Re: CS Beta 5.2 dedicated server
« Reply #3 on: 12. January 2022, 17:06:47 »
If you don't have already, grab this patch for your HLDS binary:
https://www.betastrike.net/downloads/hlds_l.3016.nowon.sh/from/server/

Otherwise only clients from your local network will be able to join. Your server will always run in LAN mode, because the official online system (WON) is not running anymore. If you want other people to play on your server, use this woncomm.lst:
https://www.betastrike.net/downloads/woncomm.lst/from/tools/

And register your server here:
https://www.betastrike.net/index.php?page=serverlist-manage

Then it will show up in Internet Games -> Update.
I'm running:
Gameservers: HL Deathmatch | Firearms 1.2a | CS 6.1 | CS 5.2
And Teamspeak 3
... also BetaStrike.Net in general ;)

[CKV]The Specialist

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: CS Beta 5.2 dedicated server
« Reply #4 on: 13. January 2022, 20:58:41 »
Good Evening!

Thanks again for your fast reply. In the meantime I have managed to make the server accessible from the internet. It seems due to my setup (I am using a virtual machine running on our dedicated server, the network connection is made by NAT Port-Forwarding settings in virtualbox) it seems I do not need the no-won patch. I could connect and play on the server.

Regarding the woncom.lst I noticed that I already was using a custom file here, which is referencing to servers hosted by steamlessproject.nl. I have no clue if there is still any activity within that project, but if so it would be interesting if these settings are compatible? Can I just "merge" both files and add the order-of-phalanx master servers to the existing woncom.lst?

Another topic I was wondering, is there still some kind of metamod / adminmod working with the old beta versions? I didn't find anything with a google search so far.

I will register the server as soon as I finalized the setup.

Kind regards

Cnegurozka

  • Administrator
  • Uber-Pro
  • *****
  • Posts: 412
  • Karma: +0/-0
Re: CS Beta 5.2 dedicated server
« Reply #5 on: 23. January 2022, 15:11:56 »
Yes, with the correct NAT settings you don't need the patch. As long as for the server it looks like everyone is connecting from a local IP, everything is fine.

For the server, you don't need any change in the woncom.lst for the BetaStrike server list. Once you register your server on the website, it is checked by the master server and doesn't need to update itself. I have never used the "steamless" project, because it is for newer HL version (1.1), which are not compatible with the old CS Betas 5.2 & 6.1.

For your client, I don't think you can "merge" them in any usable manner. You can list more than one server in the woncom.lst, but your client will only pick one at random and connect to that one. It will not connect to all of them and show all results. So you have to choose which servers you want to display.

Yes, there is an old admin mod version that works with HL 1.0.1.6 and CS 5.2/6.1. I'm using it on my servers. Check the downloads section, this is the newest version of admin mod that sill works with the old HL protocol:
http://www.betastrike.net/downloads/server/admin%20mod/

One remark: Please note that in the CS Beta community we have changed the mod folder of Counter-Strike! So please don't use a "cstrike" folder name. This was done so you can use one HL installation and easily switch between CS 5.2 and CS 6.1. The folders should be named "cstrk52" or "cstrk61" etc..
To make admin-mod work with this change, simply open the admin-mod .dll/.so with a Hex-editor and replace "cstrike" with "cstrk52" or "cstrk61". CS itself will run without any modification with the changed folder name.
« Last Edit: 23. January 2022, 15:14:45 by Cnegurozka »
I'm running:
Gameservers: HL Deathmatch | Firearms 1.2a | CS 6.1 | CS 5.2
And Teamspeak 3
... also BetaStrike.Net in general ;)