Absurd Minds
http://forums.absurdminds.net/

"Master" (or "Global") Server .RES File?
http://forums.absurdminds.net/viewtopic.php?f=18&t=1719
Page 1 of 1

Author:  Rich Nagel [ 07 Feb 2013 02:02 ]
Post subject:  "Master" (or "Global") Server .RES File?

As some of you know, I run a measly "listen" server (when I'm playing any of the GoldSource games).

I've set up a "fast download URL" that seems to be working just fine for all of the custom maps and their resource files, but the "WeedsBot" (my little CZ bot hack for CS) hostage resource models and sound effects don't seem to be transfered from the web server when I'm playing regular Counter-Strike, when someone connects to me.

EVERYTHING else seems to work just fine (the custom map resource files)... being downloaded form the fast download URL.

Anyhow, is there some way to create a "master" .RES file somehow that would force a client to download all of the non-map resources (models and sound effects), that aren't normally used for any given custom map?

The .RES files that I created for the specific custom maps work fine... but I'd just as soon not have to edit them all again, adding all of the WeedsBot related stuff to each and every single one of them (not to mention, I'm not sure how that would work for the stock maps that come with CS).

Anyways, I guess what I'm asking is, does the GoldSource engine support some sort of "master" (or "global") .RES file that will force the clients to download all of the non-map resources from the fast download url?

Author:  Amaroq [ 07 Feb 2013 07:29 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

Hmmm... Plugins like GunGame automatically force the client to download associated sounds. I wonder why the sounds aren't being downloaded for your bots.

Author:  Rich Nagel [ 07 Feb 2013 11:30 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

Yeah. And the weird thing is that it appears that only the hostage stuff is affected.

You prolly already know this, but the way it works is like this:

1) Player connects to my listen server.

2) Listen server BZips all of the required resources (usually based upon the specific map's ".RES" file), to a bunch of seperate ".ZTMP" files.

3) Listen server uploads/transfers these ".ZTMP" files to the client.

4) Client decompresses the ".ZTMP" files back to their original files.

Now, that being said, what I have noticed is that the ONLY files that are being BZipped and sent are the hostage models and sound effects (as I can see be the newly created ".ZTMP" files in my CS directories, when a player connects to my listen server).

But, the regular bot "Radio" sound effects are NOT being BZipped. Meaning, either they are being transfered to the client via my fast download web server, OR they are not being transfered at all (I don't really know).

Really a weird thing, but I'm hoping to find some way to force them to be downloaded from the web server (maybe with some kind of '".RES" file, or maybe some sort of "Precache.lst" file, or something like that).

P.S. BTW, just to clarify:

The hostage sound effects and models ARE actually being sent to the client... BUT, from my PC (listen server) and NOT the fast download web server. Which, of course, is miserably slow for the client.

As you prolly know, even though the client is supposedly "downloading" the files; in _actuality_, I'm *uploading* the files to them with the listen server... and on my DSL connection, my average upload throughput is about 85kbs at best. Pretty painful for quite a few megs of files to be sent to the client.

Hmmm... I'm now also wondering as well if any of the gun game (or AMXModX plugin 'Unreal Tourny'; e.g. "Headshot!", "Dominated!", etc...) sound effects would be sent from the web server, or if it would be BZipped and sent from my PC.

Author:  Rich Nagel [ 07 Feb 2013 12:12 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

BTW, maybe if someone has a little time they could help me with testing this (to determine exactly what is, and what is not actually being transfered from the fast download URL).

Preferably someone with a bit of 'Windows Explorer' knowledge/savy, and knowing the basic directory structure of their CStrike folder.

That way I could have someone connect to my listen server, allow all of the files to be transfered; and then ask them what file is where in their CStrike directory.

Comparing what files have actually been transfered to the client, to the numerous ".ZTMP" files that will be generated on my PC, will help me determine what is being sent from the fast download URL, and what is not (as well as if everything is ACTUALLY being sent to them).

Any takers? :) I'm free most of the time, so if someone has a specific time that they could help me test this mess, I'll be there :)

Author:  Amaroq [ 07 Feb 2013 14:08 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

I can probably help tonight.

Author:  Rich Nagel [ 07 Feb 2013 14:15 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

Quote:
I can probably help tonight.
That would be super, many thanks! :) If you see me on Steam, and the time is convenient for ya, gimme a holler :)

Author:  serialp0rt [ 07 Feb 2013 18:29 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

I could help too, anubis can let me know.

Author:  Rich Nagel [ 07 Feb 2013 22:39 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

A-OK :)

Author:  Amaroq [ 08 Feb 2013 07:29 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

I'll try to catch you today. I think I ended up signing off before you even got on.

Author:  Rich Nagel [ 08 Feb 2013 13:09 ]
Post subject:  Re: "Master" (or "Global") Server .RES File?

Sounds good :)

I would have been on earlier last night, but we were having some bad thunderstorms (I power down The Homestead when the lightning is flashing <grin>).

I'll hook up with you later this evening, if y'all see me on Steam, just gimme a holler.

Thanks again! :)

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/