Hi there. Yes, sorry was too tired to bother earlier. ZZzzz.

(Aside: I am still having trouble with mapcycle.txt seemingly being ignored, 
but will look into that later. I took out all the standard maps and have just 
one custom one. However it still seems to end up back on the standard maps!?)

Anyway, with regards to the problems you folks helped me with yesterday:
The upshot was, as suggested by many, I should NOT use the GUI!! I know, I was 
told, but I am a Windows man! The GUI told me how many players, CPU use etc... 
Sigh
What really threw me was that it (Half-Life) was just simply missing from the 
GUI options. That combined with the 'fail to start' of the command line server 
(without start-up map!) made me think that there was some corruption in my 
Valve directory somewhere.

Also being a noob, I did not realize I had to have the 'map <whatever>' entry 
in server.cfg. I assumed it would just automatically use mapcycle.txt and start 
at the beginning.

I am currently using a batch file to start the server. It just contains: 
S:\HLServer\hlds.exe -console -game valve. I read somewhere it can be run as a 
Windows service? I am not really keen on having an 'oops-I-closed-it' server 
window that at a glance looks like a command window. May look into writing a 
Windows Service wrapper for it in VB.NET.

Once I had got the server up and running I spent an age trying to get 
'sv_downloadurl' to work, in order to have custom maps etc. download at a 
decent speed.
It turns out Microsoft IIS gives a 404 error for file types which are not in 
its known MIME type list.
In the end I just added a new MIME type with: Extension '*' - type 
'application/octet-stream'.
Took me a while to realize this issue was IIS, I just assumed I had done 
something wrong in the HLDS server config.
I think at some point I also had a missing trailing / on the url in the 
server.cfg file. This MAY have also stopped it working. Hard to remember with 
so many 'edit-try-edit-try' recursions!

Then, before I could leave it and go to bed, I just had to fiddle a bit more. 
Here is the final server.cfg I ended up with. Any comments welcome :)

(Q. There was an RCON password setting in the GUI. Am I supposed to have this 
set in the server.cfg now instead?)

//BEGIN
sv_aim 0
sv_clienttrace 3.5
pausable 0
sv_maxspeed 320
exec listip.cfg
exec banned.cfg
maxplayers 32
ip 91.235.58.128
map ag_crossfirexM
sv_cheats 0
hostname "BanzaiBob's Half-Life Server"
net_maxfilesize 99999
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://www.pencoedfarm.co.uk/hlserver/valve/";
sys_ticrate 800
sv_contact banzai...@live.co.uk
sv_maxrate 0
sv_region 3
hpk_maxsize 0
sv_send_logos 1
sv_filetransfercompression 1
sv_send_resources 1
//END

Cheers folks!

From: hlds-boun...@list.valvesoftware.com 
[mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Ook
Sent: 14 October 2012 16:31
To: Half-Life dedicated Win32 server mailing list
Subject: Re: [hlds] Dah! No Half-Life / Valve

When you get up this morning (I finally did, how can it be so late?) be sure to 
tell us what you did to fix it, what kept it from working. This way future 
generations can benefit from your experiences. Getting a half-life server 
running can be intimidating if you have never done it, and sometimes it takes 
just one simple thing to keep it from working. Us old timers take all this for 
granted, but there are young pups out there that have never done this before 
that might want to take a shot at it.

On 10/13/2012 10:51 PM, Paul Williams wrote:
Thanks all. Think I finally got it working! I think I even got my web server to 
act as a fast map downloader too!

Cheers again. Must sleep now...

Check it out if you can spare the time.  Should show up as "BanzaiBob's 
Half-Life Server" IP Address:  91.235.58.128:27015


From: 
hlds-boun...@list.valvesoftware.com<mailto:hlds-boun...@list.valvesoftware.com> 
[mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Ook
Sent: 14 October 2012 03:50
To: Half-Life dedicated Win32 server mailing list
Subject: Re: [hlds] Dah! No Half-Life / Valve

Have you configured your server.cfg and autoexec.cfg and mapcycle.txt? You have 
to at least specify a starting map, or no one will be able to connect.

Seriously, don't waste your time with the gui. Just start it -console

hlds.exe -game valve -map subtransit -port 27015



On 10/13/2012 07:47 PM, Paul Williams wrote:
Sorry, should have mentioned that I did try that. It ran without error, but 
could not be connected to.
Thanks everyone, I think I will give this up as a lost cause now.
Thanks for trying to help me out though.

Regards,
Paul

From: 
hlds-boun...@list.valvesoftware.com<mailto:hlds-boun...@list.valvesoftware.com> 
[mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Claudio Beretta
Sent: 14 October 2012 03:41
To: Half-Life dedicated Win32 server mailing list
Subject: Re: [hlds] Dah! No Half-Life / Valve

take his suggestion, and launch the server from the command line

On Sat, Oct 13, 2012 at 10:17 PM, Ook 
<ooksser...@zootal.com<mailto:ooksser...@zootal.com>> wrote:
I strongly recommend using -console flag when starting the server and 
dispensing with the worthless gui.

On Sat, Oct 13, 2012 at 10:36 PM, Paul Williams 
<p...@pencoedfarm.co.uk<mailto:p...@pencoedfarm.co.uk>> wrote:
[cid:image001.png@01CDAA2A.24CC75A0]

I have done 'HldsUpdateTool.exe -command update -game valve -dir .' more than 
once. Valve folder exists. Think I am gonna give up soon. Doing my head in this.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds






_______________________________________________

To unsubscribe, edit your list preferences, or view the list archives, please 
visit:

https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds





_______________________________________________

To unsubscribe, edit your list preferences, or view the list archives, please 
visit:

https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

<<inline: image001.png>>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

Reply via email to