• How to: Listen Server
    201 replies, posted
[img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] [highlight]Getting Started[/highlight] [img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] First, look around and see if you have a router. A router is a small, usually blue, box connected to a internet modem. If you have a modem do this: Go to the start menu and find the run button. When the prompt comes up type 'command' (without the 's), then click OK. Now type ipconfig and hit enter. Several lines of text come up. Look for the line that has 'Default Gateway' and copy what it says next to it into a new Internet Explorer (or, if you want, Fire Fox) window. Once the page loads look for a 'Virtual Servers' or 'Port Forwarding' link. Once the new page loads type 27016 (UDP) then press apply. Now you will need to restart your router by either unplugging it for 60 seconds or finding a small 'Reset' button usually found on the back of the router. Also, you may need to disable your windows firewall / any other firewalls you have running at this time. [img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] [highlight]Starting the Server[/highlight] [img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] Now that you have your computer set up to handle the listen server, start up Garry's Mod and click on the 'Create Server' button on the front menu. After the game has loaded you may need to type this in the console: [code]sv_lan 0[/code] [img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] [highlight]Usefull Commands[/highlight] [img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] Now that you have your listen server set up and online you will need how to control it and it's players. The following are some good commands to remember. Remember, // means a comment. [code]kick <username> // Kicks whoever's username you type in[/code] [code]addip <time> <ip> // This adds the IP address you entered to the ban list for the time you gave in minutes. // To find the IP address type 'status' in the console to find the user's IP.[/code] [code]status // Displays all users on your server, they UserID, SteamID, and IP address.[/code] [code]sv_cheats 1/0 // Either turns cheats on or off. Cheats enable ent_fire commandd, noclip, ect.[/code] [code]gm_sv_clientlimit_props <number> // Changes the number of allowed things. In this case, props. // Props can be replaced with effects, spirites, ragdolls, ect.[/code] [code]gm_sv_allownoclip 1/0 // Either makes it so noclip is disabled or enabled while cheats are off.[/code] [code]heartbeat // Gets your server on the server list instantly. It usually takes around 5 minutes.[/code] [img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] [highlight]Admin Scripts[/highlight] [img]http://newforums.facepunchstudios.com/images/smilies/emot-siren.gif[/img] If you are like most people, you can always just use a handy admin script to memorize all these scripts for you. Here are a few scripts that I recommend. [b][url=http://forum.facepunchstudios.com/showthread.php?t=71420]Ulysses Mod[/url][/b] - An excellent mod that allows you to do anything from freeze players to stop players spawning props. This is the most powerful admin mod out there due to it's ability to give players a certain level of 'access'. [b][url=http://forum.facepunchstudios.com/showthread.php?t=127356]Hunt's Mod Revamped[/url][/b] - A simpler admin-menu to use than ULX, but with much less features. This mod only allows the host (you) to admin your server with just a click of the mouse.
This should be stickie'd!
Thanks! This helped me a ton. I can finally ban those people who purposely change their name to Mingebag and spawn huge chimneys.
Yay, a list a common knowledge! The only thing helpful on this list was the port forwarding. It's faster to type cmd instead of command in the Run box, though.
I shall now forward every port on my computer.
Aaron, that isn't very smart because it's like opening a door to hackers.
I love you!!!
My router says it requires a password, but no-one in my family knows what it is. Is there some default password to use? Or am I doomed for all eternity? EDIT: Nevermind. Figured out the password. For all you Linksys users, the default username and password is admin admin. So anyway, I found the Port Forwarding link, but I don't know what to type and where. Help? EDIT AGAIN: There's a button that sayd Port Triggering, and it has a chart thing like this : Application Name Trigger Port Range Incoming Port Range 1: ____________ etc. etc. I tried typing 27016 under Application Name and nothing happened.
Pretty useless too me. I can play my listen server fine without doing anything. But good for those who can't.
The password thing comes up for me, but the username and pass is NOT admin admin. Would anyone know how to hack into that?
I have the same problem... What is the password or need I to do it on the admin computer?
Well, you guys set the password when you set up the router, so I guess your outa luck for now until you either find a way around it, or find out how to reset it (perhaps reinstall the drivers?).
Nice tutorial huntskikbut, but I also got the same problem as Subhazardman. I have not set up a password for my router, but something weird happen'd. I can make listen server without Portforwarding. I don't know what, but one day I pressed create server and I see somone connects and I was like :O But I need the password for another game. Edit: NeverMind I found it out :D
[QUOTE=Shadow_Neo]My router says it requires a password, but no-one in my family knows what it is. Is there some default password to use? Or am I doomed for all eternity? EDIT: Nevermind. Figured out the password. For all you Linksys users, the default username and password is admin admin. So anyway, I found the Port Forwarding link, but I don't know what to type and where. Help? EDIT AGAIN: There's a button that sayd Port Triggering, and it has a chart thing like this : Application Name Trigger Port Range Incoming Port Range 1: ____________ etc. etc. I tried typing 27016 under Application Name and nothing happened.[/QUOTE] Okay i just got a linksys and bypassed it so i will walk you throught the steps. Ok first you hit Applications & Gaming.Then you hit Port Range Forward. Now it will be bars like App:Type The name(ex:gmod9server) Then it will say Start in that box put 27016 and then End:Put 27016 Protocol:Hit the arrow and go down to UDP click it. Now for your IP if you have a static then enter it or your normal ip. I hope this was helpful!
[QUOTE=huntskikbut]Aaron, that isn't very smart because it's like opening a door to hackers.[/QUOTE] I know. EDIT: I just made your thanks red. :lol:
:-D Thanks aaron lol
Sometimes when a password thing comes up the username is admin and pass is blank. Other times username:nothing pass:admin.
[QUOTE=Shadow_Neo]My router says it requires a password, but no-one in my family knows what it is. Is there some default password to use? Or am I doomed for all eternity? EDIT: Nevermind. Figured out the password. For all you Linksys users, the default username and password is admin admin. So anyway, I found the Port Forwarding link, but I don't know what to type and where. Help? EDIT AGAIN: There's a button that sayd Port Triggering, and it has a chart thing like this : Application Name Trigger Port Range Incoming Port Range 1: ____________ etc. etc. I tried typing 27016 under Application Name and nothing happened.[/QUOTE] its usualy Default, admin, or the name of the router such as, linksys, or dlink.
I unblocked the ports and tried to make my server, but it still wil not appear on the sever list. All my firewalls are off and I did the sv_lan thing. Nothing seems to be working, and I've been trying this for months.
Nice tutorial. If anyone is having trouble forwarding port 27016 for UDP, go to [url]http://www.portforward.com/routers.htm[/url] . It has tutorials for how to port forward for most routers.
Thanks Hunt /=0 But my wireless don't support port forwarding =O
sv_cheats is not a useful command! It let's people do so much to your computer.
Actually, sv_cheats can't mess with your computer. It can mess with your server, but it can't mess with your computer. But lua on the other hand...
The default login information for linksys routers is: USERNAME: "" (leave the username blank) PASSWORD: admin Also, for linksys routers, you have to use "Port Range Forward". This can usually be found under the "Applications and Gaming" tab if you have the latest firmware. The latest firmware for linksys routers can be found here: [url]http://www.linksys.com/servlet/Satellite?c=L_Content_C1&childpagename=US%2FLayout&cid=1115416835852&pagename=Linksys%2FCommon%2FVisitorWrapper[/url]. Hope that helps.
My default for linksys was Admin Admin.
hi this i very hard i have tryed this for over 2 months now i have a linksys rouder and i disabled and added the application and ports given here and at portforward.com neither have done anything accept to fustrate me and now all i get for a create server is a lan or steam id invalid which suchs, plz help my friend has the same rouder and he can do it but i cant. i went into the command prompt and typed in heartbeat sv_lan 0 nothin i even looked at the start up sequence were it sometimes says connection to steam servers succesful or failed to connect to steam servers this rely bothers me any help plz im not going to mess with my router that does not work!!!!!!!!!!! i just need to find our how to make the game accepted onto the server list not the lan list and no sv_lan 0 does not work
Wow, you win the award for most smartness lost on accident ever.
[QUOTE=WaRxHeAd]Okay i just got a linksys and bypassed it so i will walk you throught the steps. Ok first you hit Applications & Gaming.Then you hit Port Range Forward. Now it will be bars like App:Type The name(ex:gmod9server) Then it will say Start in that box put 27016 and then End:Put 27016 Protocol:Hit the arrow and go down to UDP click it. Now for your IP if you have a static then enter it or your normal ip. I hope this was helpful![/QUOTE] Ehh, well i sure hope you come back to reply but it said it can`t have charicters so on ex:gmod9server i guess the : is a charicter, i`m trying it with out the ex: part but i`m not sure how its going to work, i just click apply and it`s loading something and after about 4 minutes now its only half way and seems to be frozen but i`ll let it sit for a bit more, please help me of you can. EDIT: well, it didn`t work but then again i got NetGear.
This would remove anything stoping hackers from getting at my comp right?
Still not working for me. Turned off firewall, opened the ports, added sv_lan 1 to game.cfg then typed sv_lan 0 when server starts, typed heartbeat in console, but it still won't show up. So, what am I doing wrong?
Sorry, you need to Log In to post a reply to this thread.