SRCDS Steam group


How Would I Put Files On A Webserver? [RESOLVED]
#1
Hey, my friends tried to join my server and it wokred but the only thing is, is that they have to download a lot of sounds (This is for my GunGame Server) and I am wondering how I would put the sound files and the maps on a webserver so the downloads would be fast. I am using Ubuntu for my server and I have Apache2 in it so I can run my website. Also I haev a website for my clan, can I just put the sounds and maps on my website so it will download from there when they connect so its not the slow client download?

Also Here is my server.cfg, just incase if I need to add anything.
Code:
// Server Name
hostname ">SOM<REVERSE Turbo GunGame Server"

// Rcon & Server passswords
rcon_password "********"
sv_password ""

// Server Cvars
mp_friendlyfire "0"
mp_footsteps "1"
mp_autoteambalance "0"
mp_autokick "0"
mp_flashlight "1"
mp_tkpunish "1"
mp_forcecamera "0"
mp_limitteams "2"
mp_hostagepenalty "4"
mp_allowspectators "1"
mp_timelimit "25"
mp_chattime "20"
sv_cheats "0"
sv_gravity "800"
sv_allowupload "1"
sv_allowdownload "1"
sv_maxspeed "320"
pausable "0"

// Round Cvars
mp_freezetime "2"
mp_roundtime "6"
mp_startmoney ""
mp_c4timer ""
mp_fraglimit "0"
mp_maxrounds "0"
mp_winlimit "0"

// Bandwidth Rates
sv_rate "6500"
sv_minrate "2000"
sv_maxrate "6000"
sv_maxupdaterate "60"
sv_minupdaterate "10"
decalfrequency "60"

// Server logging
log "on"
sv_logbans "0"
sv_logecho "1"
sv_logfile "1"
sv_log_onefile "0"

// Internet Settings
sv_lan "0"
sv_region "255"
sv_contact ""

// Mani-Admin-Plugin
exec mani_server.cfg
Reply
#2
Code:
sv_downloadurl "http://YOURWEBSITE.com/cstrike"

If you own a website you can use that.
Reply
#3
Ok, cool thanks. When I get the website I'll need to do http://YOURWEBSITE.com/cstrike/maps ans http://YOURWEBSITE.com/cstrike/sounds Folders, Right? Or can I just put the maps and the sounds into one folder? Also What about the Dropbox program, can I use that too?
Reply
#4
I don't know what a Dropbox program are.

But you will have to make identical folders on the webserver as looking in a mirror.

http://YOURWEBSITE.com/cstrike/maps
http://YOURWEBSITE.com/cstrike/materials
http://YOURWEBSITE.com/cstrike/models
http://YOURWEBSITE.com/cstrike/sound

And with this:
Code:
sv_downloadurl "http://YOURWEBSITE.com/cstrike"
Reply
#5
OK, Thanks
Reply
#6
Oh and also do I need to zip the maps in a certain way? or no just create a mirror of my original cstrike folder for the webserver
Reply
#7
You will need to bz2 zip them.

And create a mirror of your original cstrike folder for the webserver.
Reply
#8
OK, thanks
Reply
#9
Also I have a map with the map folder Toungue, materials , resource and a script folder... So all of these folders need to go into one .bz2 zip file? then that one zipped folder go into hrrp://www.mydomain.com/cstrike/maps ?


And Can I use the same Web server for 2 servers?
Reply
#10
No bz2 zip EACH individually map.

As de_season.bsp --> de_season.bsp.bz2

And then de_season.bsp.bz2 goes in the webserver and the normal file on your server.
Reply
#11
Ah, ok I got it now. Thank you! So I bz2 zip the .res, .bsp, .whatever? So its like de_season.res.bz2, de_season.bsp.bz2 and de_season.vmt.bz2 and so on I take it.
Reply
#12
Yes. The .bz2 zipped files is for your webserver and the normal file is for your game server Smile
Reply
#13
Thank You! I added Resolved because I think my problem is solved Big Grin
Reply
#14
okay thank you Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)