EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (47) admin (262) admins (14) advert (14) adverts (18) afk (14) alerts (12) ammo (23) anti (14) auth (16) automatic (12) awp (23) ban (18) ba_jail (17) bhop (18) block (17) bomb (39) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (63) chat (56) cheat (11) clan (16) classes (22) color (21) colors (18) command (19) commands (17) config (21) connect (41) CS:S (13) css (2428) Damage (35) database (11) dead (15) death (19) deathmatch (67) deathrun (12) disconnect (18) Dissolve (11) dm (19) dod:s (11) dods (386) easy (15) effects (120) English (15) entity (21) es_tools (11) Eventscript (12) flashbang (25) français (99) french (36) fun (283) funny (14) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (24) GunGame5 (11) guns (16) Hack (15) headshot (32) health (54) hegrenade (13) hl2dm (323) HP (13) info (48) information (16) jail (25) join (23) jump (12) kick (22) kill (44) kills (22) knife (56) leveling (34) management (14) mani (13) map (25) map-management (27) maps (15) match (16) menu (105) message (20) messaging (52) mod (108) model (14) models (32) money (40) motd (12) music (29) mute (18) nades (18) name (13) noblock (31) player (38) player-management (31) player-tracking (28) popup (55) props (21) protection (27) punishment (50) python (61) quake (17) radio (20) random (34) rank (34) rates (15) rcon (13) realism (21) respawn (57) restrict (36) round (19) rpg (22) rules (40) say (11) scout (18) Script (16) script-helper (25) scriptpack (33) sdk (149) server (37) server-tools (42) shop (12) silly (31) simple (26) skins (23) slay (13) soccer (11) sound (45) sounds (91) spawn (60) speed (25) statistics (13) stats (48) STEAMID (20) surf (31) Team (25) team-balance (14) teleport (11) text (14) TF2 (145) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (17) uses_auth (18) utility (11) vip (11) vote (36) voting (22) war (19) wcs (23) wcs:Python (32) weapon (75) weapons (110) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) Deathyy (15) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (6) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (5) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (8) M4rc3L-XCN (7) macshot (6) Matth (5) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mordavolt (5) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (6) Owned|Myself (8) P3N (7) pand3mic (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (7) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (16) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) shidobu (9) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (21) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (5) teowow (16) TheCheeTaH (18) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
User avatar
Mentat Philosopher
Mentat Philosopher
Profile

Posts: 5167
Location:
Kirkby, Nottinghamshire, United Kingdom
 
New postPosted: 2007-10-21, 6:21 am 
   Post subject: How to set up your own SRCDS console server. DETAILED!

How to install SRCDS

If this tutorial isn't everything you need, then you may be able to find out more help from http://forums.srcds.com

Okay, I'm sorry this isn't a tutorial for eventscripts, but I feel that getting your scripts to work can be a weary job. Setting up your own server enables just a selected few to be able to join to test your scripts, or if you wish it could save you a bit of dosh rather than buying from the internet.

SRCDS Stands for Source Dedicated Server. Instead of using the GUI Programme that comes with Steam, we will be using the console, as this is less performance hoar, and is easier to customize.

Start of by downloading the latest HLDSupdatetool (half-life dedicated server update tool) from this link here. Save it to a temporary location then open the installation wizard and run through the options. When it asks you to save it to a location, I highly recommend you use your secondary partition if you have one (in this case I'll be using D:.) On that partition, install it to a folder called SRCDS. Go to Notepad and copy and paste this command into notepad (obviously changing the directories to your own needs). For example if you put it on drive E:/Srcds then change the D: to E:). If you have it on C drive (your local drive) you do not need the first line. The first line only tells the command prompt to change the directory to a different directory. If you are already in drive C, you obviously do not need to change.

Code:
D:
cd srcds
hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir D:\srcds
PAUSE


Go to file -> Save as ->
“File Name -> Update.Bat”
“Save As Type -> All Files”

Go to where you saved it, and double click the file, it should bring up Command Prompt, and begin downloading lots of files. After it's finished, it should look something like this:

Code:
Checking bootstrapper version . . .
Updating Installation

Checking/Installing 'Counter-Strike Source Shared Content' version 68

Checking/Installing 'Base Source Shared Models' version 4

Checking/Installing 'Base Source Shared Sounds' version 4

Checking/Installing 'Base Source Shared Materials' version 8

Checking/Installing 'Source Dedicated Server' version 93


If it doesn't, restart the Update.bat until you have it looking like the example above.

After these files have downloaded, you'll need to go into your directory (e.g. D:\SRCDS) to see if your files have downloaded correctly. The main file is <directory>/cstrike/. You have downloaded all the files necessary for running a server onto your PC.

Open up notepad, and copy and paste this inside it.

Code:
D:
cd srcds
srcds.exe -console -game cstrike +map cs_office -port 27015 -maxplayers 16 -autoupdate


As we stated, if you are doing this on your C drive, you do not need the first line. An example of a C drive example is as follows:

Code:
cd \SRCDS
srcds.exec -console -game cstrike -maxplayers 16 -port 27015 +map cs_office -autoupdate
(Note, on your C drive the \ before SRCDS is required as that tells it to start from the beggining of the directory; i.e. C:\ rather than C:\Users\<username>)

You can change the map to any map you'd like, but keep the port the same as Vista / Windows 7 do not like many ports; also change the maxplayers to the amount that you want. Do the exact same as what you did before, but call it server.bat, and make sure you save it as file type “All Files.” Execute that file, and a console should appear, at the bottom of the list it should say,

Console wrote:
Adding master server (IP)
Adding master server (IP)
Connection to Steam Servers Successful
VAC Secure is activated.


Proceed to right click Steam click servers, go to the LAN tab, and you should see "Counter-Strike Source" sitting there with 0/maxplayers in. If you don't, ensure you followed the guide properly. If it still isn't working, ask a question below. You can now go inside the server, however, it is just a plain server with nothing on so we want to change that :).

The most important configuration file is the server.cfg. This is the barebones to any server, hosting all your settings of the server. I am going to give you my server.cfg, and you can change it to any settings you'd like. First, again, open notepad. Copy and paste all of this inside, and change to your preference.

Code:
Server.cfg
// ***************
// GENERAL SETTINGS
// ***************

hostport 27015                       // The port of the server (default is 27015)
hostname "Your hostname here"        // Name of server
sv_lan 0                             // Change it to 1 if you want a LAN only Server
sv_region 3                          // Europe
rcon_password "pass"                 // Password for most things
// sv_password "password"            // To make a private server
sv_contact email@address.com        // The contacts email address

// ***************
// GAME SETTINGS, YOU CAN CHANGE THESE THE WAY YOU LIKE IT
// ***************

mp_buytime 3            // Sets the amount of minutes players are able to buy
mp_startmoney 2000      // Sets the amount of starting money, max=16000
mp_c4timer 35           // Sets the amount of secs before C4 explodes
mp_flashlight 1         // 1 enables flashlight, 0 disables it
mp_footsteps 1          // 1 enables hearing footsteps, 0 disables it
mp_falldamage 1         // Falling damage, || 1 = enable 0 = disable
mp_hostagepenalty 0     // Sets the number of hostages a player can kill before they are booted from the server. || 0 is disabled
mp_freezetime 2         // Sets the seconds before players can move in the beginning of a round
sv_maxspeed 320         // Max speed users can run at || Default = 320
sv_gravity 800          // Server gravity, less = higher jumping. || Default = 800
sv_maxvelocity 3500     // Maximum velocity an object can have ingame || Default= 3500
sv_turbophysics 1       // Mow you can stand on barrels, tables, and push/pull them by +use
phys_pushscale 3        // changes gravity physics when shooting something as it blows back X times further
sv_pushaway_force 30000 // 30000 is the default value, Lower= harder to move Higher= easier to move) 

// ***************
// Advanced RCON
// ***************

sv_rcon_banpenalty 10
sv_rcon_maxfailures 10
sv_rcon_minfailures 5
sv_rcon_minfailuretime 30

// ***************
// TIME, WIN & ROUND SETTINGS
// ***************

mp_timelimit 40  // Timelimit is how many minutes for a map.
mp_winlimit 0    // When a team reaches this amount of wins it has won the map. || 0=disabled
mp_maxrounds 0   // When two teams finish playing this amount of rounds the map ends || 0=disabled
mp_roundtime 5   // Round time, in minutes. After this amount of minutes has passed || a scenario win is awarded. Min 1, Max 9

// ***************
// TEAMBALANCING
// ***************

mp_autoteambalance 0 // Toggles the forcing of clients to join teams to make it balanced. 1=on and 0=off
mp_limitteams 0      // There can be a tolerance of 1 person more on 1 team before autoteambalance kicks in

// ***************
// FF & TEAMKILL & IDLE
// ***************

mp_friendlyfire 0        // Toggles friendly fire 1=on and 0=off
mp_tkpunish 1            // Toggles the forcing of a player to sit out the next round if he has tked
mp_autokick 1            // Kick idle team-killing players. 1=on and 0=off
mp_spawnprotectiontime 5 // Kick players who team-kill within this many seconds of a round restart.
sv_timeout 40            // After this many seconds without a message from a client, the client is dropped

// ***************
// SPECTATORS
// ***************

mp_allowspectators 1 // toggles whether the server allows spectator mode or not. 1=on and 0=off
mp_forcecamera 0     // Restricts spectatorcamera view for dead players. 1=on and 0=off

// ***************
// SET RATES
// ***************

sv_maxrate 9999              // Max bandwidth rate allowed on server, 0=unlimited, max=20000
sv_minrate 5000             // Min bandwidth rate allowed on server, 0=unlimited, 4000=good to keep dialup gamers off the server
sv_maxupdaterate 100        // Maximum updates per second that the server will allow, increasing this will take more cpu power, 100 is max
sv_minupdaterate 10         // Minimum updates per second that the server will allow, increasing this will take more CPU power
decalfrequency 60           // The user can only spray their spray every x seconds
fps_max 500                 // Frame rate limiter
sv_unlag 1                  // Enable lag compensation
sv_maxunlag 1                    // Maximum lag compensation
sv_logsdir D:\SRCDS\cstrike\logs // The directory where the logs will be saved

// ***************
// DOWNLOAD
// ***************

sv_downloadurl ""                                 // Your download host...
sv_allowdownload 1                                      // Allow clients to download files
sv_allowupload 1                                        // Allow clients to upload customizations files like logospray files
net_maxfilesize 100                                     // Max size for users to download is 100MB

// ***************
// LOGGING
// ***************

log on           // SERVER LOGGING, creates a logfile (needed for statsprograms), "log off" to turn off logging
sv_logbans 1     // Log server bans in server logs
sv_logecho 0     // Echo log information to the consol (makes lots of spam)
sv_logfile 1     // Log server information to a log file
sv_log_onefile 1 // Log everything in one file


// ***************
// CHEATS & PAUSE
// ***************

sv_cheats 1   //Enable cheats || 1 = on 0 = off
sv_pausable 0 // disable clients' ability to pause the server

// ***************
// OTHER SETTINGS
// ***************

mp_chattime 5    // Amount of seconds players can chat after the game is over
sv_voiceenable 1 // VOICE disabled, if you want VOICE enabled then change 0 into 1
sv_consistency 0 // Enables users to pass certain conistency byass ceck (eg. Scope overaly) || 1 = on 0 = off
sv_alltalk 1     // Enables talking to Live people when Dead

// ***************
// Ammo
// ***************

ammo_338mag_max 100     // awp
ammo_357sig_max 5000    // p228
ammo_45acp_max 5000     // ump45, mac10, usp
ammo_50AE_max 5000      // deagle
ammo_556mm_box_max 1000 // m249
ammo_556mm_max 600      // galil, sg552, famas, m4a1, sg550
ammo_57mm_max 5000      // p90, fiveseven
ammo_762mm_max 600      // scout, ak47, g3sg1, aug
ammo_9mm_max 5000       // mp5navy, tmp, glock, elite
ammo_buckshot_max 1280  // m3, xm1014

// ***************
// EXEC FILES
// ***************

exec banned_user.cfg

echo ***************
echo ***************
echo SERVER.CFG LOADED
echo ***************
echo ***************

// ***************
// END OF FILE
// ***************


Save this as server.cfg and as file type as “all files”. Save it to <SRCDS directory>/cstrike/cfg/.
Load up your server.bat again, and you should see in the console that the server.cfg has been loaded. If not, then you need to make sure that it's saved in the right location, and isn't saved as server.cfg.txt.

So you've got the main part of you server working, but now you want admin access to your server. So download this file here and right click, extract to -> <SRCDS Directory>/cstrike and hit unzip. It should say "some of these files already exist, do you wish to overwrite?"; hit yes to all. Go to <SRCDS Directory>/cstrike/addons and there should be a file inside called CreateVDF.exe. Run that file, and it'll ask you what game you want to install it for, obviously if your running a Counter-Strike Source server click that and click Create VDF. Okay, Nearly done. Open up your server.cfg once again, and at the bottom of the file, just underneath exec banned_user.cfg type this..

exec mani_server.cfg

Hit save and that's done :). Go to <SRCDS Directory>/cstrike/cfg/mani_server.cfg and open it up. Change all those settings to how you desire and it will be fine. Next, what you need to do is make yourself an admin. Go into any game on CSS, and access the console by hitting the ~ button (for UK users it's the button under escape.) It should bring up a black box with lots of text inside. If not, then go to options -> keyboard -> advance -> enable developers console and hit enter. Inside the console type status. Lots of text will come up and one of the lines will say # (number) “Your username” “STEAM_0:x:xxxxxxxxx 59:58 etc etc” The important bit is the STEAM number. Copy that number (an example steam number would be STEAM_0:1:17190298.) Open up notepad (yes, again.) This bit can be quite annoying, but if you follow my details hopefully you wont go wrong. Copy and paste this in.

NB: If you don't want to create your own clients.txt, There is a tool that can automatically create the clients.txt find it here (Note. Requires you to have an account to download the file, It's free to register)

Code:
"clients.txt"
{
  // This key group lists all your client players
  "players"
  {
  // This must be a unique client name
  "freddukes"
  {
    // Client real name
    "name"   "YOUR REAL NAME"
    // Steam ID for client
    “steam"   "YOUR STEAM ID"
    "groups"
    {
      "Admin"   "Serveradmin"
      “Immunity"   "Serveradmin"
    }
  }
  // These are global groups of flags that can be assigned to   clients
  "groups"
  {
    “Immunity"
    {
      "Clanmember"   "a b c k n p autojoin grav ping"
      "No Kick Ban"   "b k"
      "NoFun"   "d f g i l t"
      "Serveradmin"   "a b c d e f g h i k l m n o p q r s t u v x y afk autojoin"
      "Serveradmin"   "grav ping"
      "Teamadmin"   "b k n ping"
    }
    "Admin"
    {
      "Clanmember"   "p s t v w y admin pban"
      "Level 2 Access"   "f g i k l m o p q r s t v w z admin spray grav pban client"
      "Serveradmin"   "e f g i k l m o p q r s t v w x y z q2 q3 admin      spray grav"
      "Serveradmin"   "pban client"
      "Teamadmin"   "I O V a b k l o p v w admin"
    }
  }
}


Okay... Copy and paste all of that into notepad... change the Real Name and SteamID and save it as clients.txt in D:/SRCDS/cstrike/cfg/mani_admin_plugin/ Okay.. Hopefully that'll be it. Load up your server. It should now look something similar to this.

Image
Image

go in game and to test if your admin, go into your console again (hit the ~ button or the button under escape for UK users.) Now type this exactly.

Code:
bind v “admin”


Hit enter and go back into game. If you press v it should say 1 of 2 things. 1, a popup menu comes up and says things like 1. Player management etc. This means that you have installed it correctly and you are an admin. On the other hand, it could say “You are not authorised to run this command.” If this happens, it means Mani admin installed correctly, but your clients.txt is wrong. Please run through my tutorial again to make sure you did it correctly. If it says nothing at all it means you've either bound the key wrongly in the console, or mani admin is not installed correctly. Please, go back and take a closer look.

So now your server is perfect, you want to get people to join? Okay, here's where it can get confusing. Are you being a router? If not then ctrl + f and type --non-router.

Okay, if you're reading this you're behind a router. A little bit of advise before we begin. Routers protect incoming traffic, and prevents people from accessing the internal network, so we open special doorways called ports, for the traffic to get through.

However, first priority is to get a static internal IP, so the routers ports stay assigned to your PC. Click "Start" and go to "Run" (On windows 7, Run is the simple bar at the bottom of the Start menu). Type in ncpa.cpl which will bring up your PC network “Local Area Connection”. Right click that, and select properties. Once inside properties, select “internet Protocol version 4 (TCP/IPv4)" and click properties. Once Inside that new popup You'll face a popup that asks you for options of:

Network Settings wrote:
IP Address:
Subnet Mask:
Default Gateway:

Preferred DNS server:
Alternate DNS Server:


Go to Command Prompt once again (run -> cmd), type ipconfig /all and hit enter. Read down till you find “Ipv4 Address,” “Default Gateway” “Subnet Mask” and “DNS Server.” Okay, write them all down, and simply insert them into the correct places inside the Internet Protocol version 4 (TCP/Ipv4) settings. Hit enter, and attempt to connect to the internet. If you can, then everything is fine. If not, just go back into your settings, and select Obtain IP address automatically and re-try again later.

So now that you have a static internal IP address, go to portforward and select your router. Click games and go to Counter-Strike. So say your router page is http://192.168.2.1 go to that and go to your ports page. Now, don't listen to Port Forwards port, I'll tell you the correct ports to open.

Code:
UDP 1200 – 1200
TCP 27015 – 27030
UDP 27000 – 27039


That's it. Save changes. Now, go to this link, and at the top-right of the page will be your external IP. Copy that and go back into your server.cfg. Above the "hostport" line at the top of the page add this. IP <your ip here> so for me the code would be.

Code:
Server.cfg
// ********************
// DEFAULT SETTINGS
// ********************

IP 81.108.194.81
Hostport 27015


But obviously your IP would be there instead.

*Tip for advanced users. Sign up an account at http://www.no-ip.org and then put your IP in and choose your domain name. So if you want your IP to be myclanserver.no-ip.org then put in myclanserver. Now instead of putting IP 81.108.194.81 in put IP myclanserver.no-ip.org in or whatever you put in as your name. All this does is make sure that if your IP changes, your friends will still connect to the same IP, rather than having to put in a different IP.

If you are behind a --non-router setup start here. If you are then go back up and do the steps above if not already done. So know you have your ports open, you now only have one more thing to do. This step is how to customize your Windows Firewall. (If you are running a different firewall such as ZoneAlarm, you'll have to figure out how to configure it on your own; I'm only explaining how to configure Windows Firewall.) Hit start for the last time, and in the "run" box, type in firewall.cpl. On the left hand side will be an option to “Allow a programme through Windows Firewall.” Click that and view the window. At the bottom of that window will be a button that says “Add a port” so click that. For the name call it CSS1 and add port 27015 to UDP. Okay, now click The “Open Port” button 1 more time, and call it CSS2, and add port 27015 to TCP. Now click finish. Close everything, and finally you are done. Load up your server, and to get your friends to connect, just tell them to add yourIP:27015 to their favourites. So if your IP is 81.108.194.81 then tell them to add 81.108.194.81:27015 to their favourite. If you used the no-ip service then tell them to add myclanserver.no-ip.org:27015 to their favourites, or whatever it is.

NOTE! You connect on your INTERNAL IP (it'll be something like 192.168.2.65:27015, and it'll be on your LAN tab) however, your friends will connect on your WAN IP (The 81.108.194:27015 IP or whatever it is). They can't right click you in friends, and click 'Join Game.' It will not work that way, they must add your IP to favourites and connect to it that way for it to work.

------------------------------------------------------------------------------
FAQ list!
------------------------------------------------------------------------------

Question
I get a winstock error when running the update tool. It downloads all the maps, then it says there is an error connecting.
Any idea's?

Answer:
1. delete InstallRecord.blob found in ./srcds
2. add -verify_all to the command line of the update.bat
3. run it until srcds.exe shows up

------------------------------------------------------------------------------

Question

I keep getting the error "Couldn't allocate dedicated UDP port" when I try to start my server. How can I fix that?


Answer:

When the server cannot allocate a dedicated UDP port, generally it is trying to load up the server via an external IP, however, it's on a local machine. The most common reason for this is if you've added your external IP onto your command line (server.bat) Now, the easy way to fix this is to delete the +IP command from the server.bat, it is not even mandatory that it is there.

------------------------------------------------------------------------------

Question

I did everything the guide told me to about PortForwarding, yet when I insert my server's IP into my favourites, it says <not responding>, and it doesn't even show up on the LAN tab, but the console initiates and says that Connection to VAC Servers Successful.

Answer:

Have you got any firewalls running? I've noticed an error that's happening with Vista's version of ZoneAlarm. When running the server, everything looks fine and dandy, but ZA is secretly blocking this. To fix this, just right click zone alarm and switch it to 'Game Mode'. If you've opened the exact right ports as me, and you're still having problems, please post a couple of screen shots (if you can) and I will try my best. But first, please attempt to shut down all firewalls, and other things that maybe blocking. If this still persists, PM me and I will teach you how to DMZ for a short time only (however, again, this problem is only for a short fix, it is not recommended as a long-term fix.)

_________________
Image
|--------------------------------------------------------|
| SourceRPG | AdMail | Comments | VoteMap | SpawnProp |
|--------------------------------------------------------|
IRC wrote:
<SuperDave|away> Common sense is overrated


Last edited by freddukes on 2010-07-18, 5:27 am, edited 21 times in total.




User avatar
Power User
Profile

Posts: 584
Location:
#root
 
New postPosted: 2007-10-21, 6:51 am 

I get a winstock error when running the update tool. It downloads all the maps, then it says there is an error connecting.
Any idea's?

_________________
Image
[syntax="es"]if (server_var(time) = server_var(money)) then server_var(time) = 0[/syntax] - Note: This tag cannot be used in signatures.
My addons


User avatar
Mentat Philosopher
Mentat Philosopher
Profile

Posts: 5167
Location:
Kirkby, Nottinghamshire, United Kingdom
 
New postPosted: 2007-10-21, 7:51 am 

1. delete InstallRecord.blob found in ./srcds
2. add -verify_all to the command line of the update.bat
3. run it untill srcds.exe shows up

_________________
Image
|--------------------------------------------------------|
| SourceRPG | AdMail | Comments | VoteMap | SpawnProp |
|--------------------------------------------------------|
IRC wrote:
<SuperDave|away> Common sense is overrated


User avatar
Power User
Profile

Posts: 584
Location:
#root
 
New postPosted: 2007-10-21, 8:03 am 

Thanks!
+w00t

_________________
Image
[syntax="es"]if (server_var(time) = server_var(money)) then server_var(time) = 0[/syntax] - Note: This tag cannot be used in signatures.
My addons


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 6656
Location:
The Valley of The Dolls
 
New postPosted: 2007-10-21, 9:33 am 

Nice tut freddukes! Don't forget to give the link to http://www.srcds.com/ for a little extra help.

_________________
The day Microsoft starts making vacuums is the day they make something that doesn't suck!
----------------------------------------------------------------------------
"Government is not the solution to our problems, Government IS the problem."
-Ronald Reagan
----------------------------------------------------------------------------
"Be who you are and say what you mean because those who matter don't mind and those who mind don't matter."
...-Dr. Seuss
----------------------------------------------------------------------------


User avatar
Mentat Philosopher
Mentat Philosopher
Profile

Posts: 5167
Location:
Kirkby, Nottinghamshire, United Kingdom
 
New postPosted: 2007-10-22, 1:45 pm 

Has anyone else tried this?

_________________
Image
|--------------------------------------------------------|
| SourceRPG | AdMail | Comments | VoteMap | SpawnProp |
|--------------------------------------------------------|
IRC wrote:
<SuperDave|away> Common sense is overrated


User avatar
Helper
Profile

Posts: 225
 
New postPosted: 2007-10-22, 3:31 pm 

Make a note about the drive letter. Some people mainly use C: and such.


User avatar
New User
Profile

Posts: 21
 
New postPosted: 2007-10-29, 4:03 am 

Hi there,
of couse nice tutorial, but I have coded a tool in DOS which helps you to update and start servers. It is called: ServerControl. It is very easy and small.

_________________
O_o


Last edited by illpillow on 2010-04-10, 6:35 pm, edited 1 time in total.

User avatar
New User
Profile

Posts: 5
 
New postPosted: 2007-11-08, 1:05 am 

i keep getting the error "Couldn't allocate dedicated SourceTV UDP port" when i try to start my server. how can i fix that?


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3080
Location:
UK
 
New postPosted: 2007-11-08, 9:08 am 

Nice Tut! :)

As a comment - when trying to run the HLDSUpdateTool.exe from the bat file you may have to try running it a few times before it starts properly if you run Windows OneCare (or windows firewall).

It keeps asking to connect and if it can't connect it closes :)
Just persevere :)

_________________
Cheers,
Tom
Image
NCS: kill chat spam dead! - | - Get Live IRC help - | - Addon Utils - View and manage addons in game
(No IRC client? Use this sites simple online version [Requires Java])

eXtensible Admin: the #1 open source admin tool

Addons: Uptime; server uptime logger - loglib; logging utility - Block Chat; limit chat to teamonlly - Last Five; view the last few players to leave the server, with ban opts - Backup; coming SOON

My startup: social network v3.0!!


User avatar
New User
Profile

Posts: 5
 
New postPosted: 2007-11-08, 11:03 pm 

i dont know what my username or password is for 2wire how to find out what it is?


User avatar
New User
Profile

Posts: 5
 
New postPosted: 2007-11-10, 5:21 pm 

i did everything you told me for port forwarding and it says server is not responding. Also the server doesn't show up in the LAN tab. i have done everything the guide says.


User avatar
Site Administrator
Site Administrator
Profile

Posts: 5528
Location:
File not found.
 
New postPosted: 2007-11-12, 10:14 am 

Nice tut - it's stickied.

_________________
Code:
10 print "I'm a noob. I want code in my sig like everyone else!"
20 goto 10


User avatar
Mentat Philosopher
Mentat Philosopher
Profile

Posts: 5167
Location:
Kirkby, Nottinghamshire, United Kingdom
 
New postPosted: 2007-11-12, 3:24 pm 

Flippy wrote:
i keep getting the error "Couldn't allocate dedicated SourceTV UDP port" when i try to start my server. how can i fix that?


Hmmm SourceTV UDP port? Usually if that error comes up it's because you've gave your External IP in the command line... Try deleteing "+ip [external IP]" from your command line and run it again.

Flippy wrote:
i dont know what my username or password is for 2wire how to find out what it is?


Well I can't really help you with this... Generally the username is admin or username or blank and the password is generally 'admin' or blank.... If none work, then the only thing I could try is asking someone who would know (eg. If you're parents set it up or something) or if you set it up and forgot the password, if you're really that desperate, you could attempt to reset to factory defaults and set the router up again. However, this is not recomended.

Flippy wrote:
i did everything you told me for port forwarding and it says server is not responding. Also the server doesn't show up in the LAN tab. i have done everything the guide says.


Have you got any firewalls running? I've noticed an error that's happening with Vista's version of ZoneAlarm. When running the server, everything looks fine and dandy, but ZA is secretly blocking this. To fix this, just right click zone alarm and switch it to 'Game Mode'. If you've opened the EXACT right ports as me, and you're still having problems, please post a couple of screen shots (if you can) and I will try my best. But first, please attempt to shut down all firewalls, and other things that maybe blocking. If this still persists, I will teach you how to DMZ for a short time only (however, again, this problem is only for a short fix, it is not recommended as a long-term fix.)

A final note from me:
Sorry for not taking notice of this thread, I haven't been on tutorials in ages lol, I was surprised to see this with so much interest and have it stickied. Thank you again, and I will make sure I will update this as much as possible. I am now going to update the FAQ section, to provide possible fixes for people. Thank you again.

-Freddukes


User avatar
New User
Profile

Posts: 5
 
New postPosted: 2007-11-12, 10:38 pm 

ive got no clue what ZoneAlarm is. if its already downloaded whats its root directory. the first two problems i was able to fix btw.


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12794
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-11-12, 10:45 pm 

http://en.wikipedia.org/wiki/ZoneAlarm

I would highly recommend against it :wink:

_________________
Image
EventScripts Wiki --- #eventscripts --- Python.org --- es_install FAQ


User avatar
Mentat Philosopher
Mentat Philosopher
Profile

Posts: 5167
Location:
Kirkby, Nottinghamshire, United Kingdom
 
New postPosted: 2007-11-13, 5:25 pm 

Flippy wrote:
ive got no clue what ZoneAlarm is. if its already downloaded whats its root directory. the first two problems i was able to fix btw.


Zone alarm is a free firewall, it's the most popular choice for a free firewall, and although SD doesn't advise using it, in my opinion, it used to be the best one on the net, until that is, they went so-called Vista Compatible. But if you don't know what it is then most likely you not have it... Hmm... What firewall have you got on? Norton's? Windows? Bull guard? ZoneAlarm? etc... If you have Windows firewall on are you sure you customized it like mine? Note... Is this an XP or A Vista's server? This is meant for a Vista tutorial, my friend couldn't open port 27030 under XP, but I couldn't open port 27015 under Vista... So I had to swap, however, if you are under XP, you will need to change the Ports to 27015... Please can I have more help about the problems you're facing? The more I know, the Higher chance you have of me helping you :)


User avatar
New User
Profile

Posts: 5
 
New postPosted: 2007-11-15, 9:53 pm 

freddukes wrote:
Flippy wrote:
ive got no clue what ZoneAlarm is. if its already downloaded whats its root directory. the first two problems i was able to fix btw.


Zone alarm is a free firewall, it's the most popular choice for a free firewall, and although SD doesn't advise using it, in my opinion, it used to be the best one on the net, until that is, they went so-called Vista Compatible. But if you don't know what it is then most likely you not have it... Hmm... What firewall have you got on? Norton's? Windows? Bull guard? ZoneAlarm? etc... If you have Windows firewall on are you sure you customized it like mine? Note... Is this an XP or A Vista's server? This is meant for a Vista tutorial, my friend couldn't open port 27030 under XP, but I couldn't open port 27015 under Vista... So I had to swap, however, if you are under XP, you will need to change the Ports to 27015... Please can I have more help about the problems you're facing? The more I know, the Higher chance you have of me helping you :)

ive got nortons firewall. ive tried disabling it then running the server but it dosent help. yes i do have vista


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 100 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group