How to change listen server port?

Rick90Rick90 Sweden Join Date: 2014-03-16 Member: 194774Members, Reinforced - Supporter Posts: 6
edited April 2014 in Server Discussion
Hi,

is there anyway to change the port number when running a listen server?
-port 27017 in SET LAUNCH OPTIONS won't change it, still 27015.
Would like to change it since it's already in use of another server I have. Fun to play bots vs players sometimes.

Comments

  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts Posts: 2,831 admin
    Using -port int in the start parameters is the only way to change the port. How did you set the param?
    Developer, Modder and Server Admin of Survival of the Fattest - Ingame Nick: Ghoul
  • Rick90Rick90 Sweden Join Date: 2014-03-16 Member: 194774Members, Reinforced - Supporter Posts: 6
    Using -port int in the start parameters is the only way to change the port. How did you set the param?
    Already mentioned in my first post.
    ns2_port.jpg
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts Posts: 2,831 admin
    edited April 2014
    Rick90 wrote: »
    Using -port int in the start parameters is the only way to change the port. How did you set the param?
    Already mentioned in my first post.
    ns2_port.jpg

    Ok you know that that is the ns2 client, not the server software :D ?

    Look at steam under Libary -> Tools to get the server software or use the server.exe in your NS2 install folder. Also read this wiki article: http://wiki.unknownworlds.com/ns2/Dedicated_Server ;)
    Developer, Modder and Server Admin of Survival of the Fattest - Ingame Nick: Ghoul
  • Rick90Rick90 Sweden Join Date: 2014-03-16 Member: 194774Members, Reinforced - Supporter Posts: 6
    edited April 2014
    Ok you know that that is the ns2 client, not the server software :D ?

    Look at steam under Libary -> Tools to get the server software or use the server.exe in your NS2 install folder. Also read this wiki article: http://wiki.unknownworlds.com/ns2/Dedicated_Server ;)
    Therefore I mentioned "Listen server" in the thread name & in the first post.
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts Posts: 2,831 admin
    Rick90 wrote: »
    Ok you know that that is the ns2 client, not the server software :D ?

    Look at steam under Libary -> Tools to get the server software or use the server.exe in your NS2 install folder. Also read this wiki article: http://wiki.unknownworlds.com/ns2/Dedicated_Server ;)
    Therefore I mentioned "Listen server" in the thread name & in the first post.

    There is no such thing as a "listen ns2 server" ... . If you click on start server in the client the server software is started in the background anyway.

    If you ask about a way to change the start params of a server started via the client gui then the answer is that there is no way to do it.
    Developer, Modder and Server Admin of Survival of the Fattest - Ingame Nick: Ghoul
  • Rick90Rick90 Sweden Join Date: 2014-03-16 Member: 194774Members, Reinforced - Supporter Posts: 6
    edited April 2014
    There is no such thing as a "listen ns2 server" ... . If you click on start server in the client the server software is started in the background anyway.

    If you ask about a way to change the start params of a server started via the client gui then the answer is that there is no way to do it.
    Just to point out there is a "listen ns2 server":
    1. http://wiki.unknownworlds.com/ns2/Lua/Libraries/Client/StartServer
    2. http://wiki.unknownworlds.com/ns2/Console_Commands:pt (search for the word "listen", as you can see, typing "map " will create a (notice the description) "listen server" according to the NS2 team itself)
    3. http://www.ns2hd.com/2012/01/multithreading-in-natural-selection-2.html
    4. There is no other applications running from Natural Selection 2 folder more than ns2.exe and awesomium_process.exe
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts Posts: 2,831 admin
    edited April 2014
    About 1. there is your answer ... . Let me change my answer to it's not possible atm without modding the create menu.

    Edit: Made a little mod to enable you to change the port http://steamcommunity.com/sharedfiles/filedetails/?id=247474012
    Post edited by GhoulofGSG9 on
    Developer, Modder and Server Admin of Survival of the Fattest - Ingame Nick: Ghoul
    Rick90
  • Rick90Rick90 Sweden Join Date: 2014-03-16 Member: 194774Members, Reinforced - Supporter Posts: 6
    Thank you, works perfect!
    Appreciate your time and thanks again :)
  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts Posts: 2,155 mod
    H1pb9G7.png
    My mods --- Watermod collaboration with Feha
    For some reason, the instant you ask players to behave differently to be successful, they associate that with bad mapping. - KungFuDiscoMonkey
    Z5UIr2s.png
  • Rick90Rick90 Sweden Join Date: 2014-03-16 Member: 194774Members, Reinforced - Supporter Posts: 6
    SamusDroid wrote: »
    H1pb9G7.png
    I don't see that option.
    b876g7.jpg
  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts Posts: 2,155 mod
    edited April 2014
    Yeah I know because it's in 265.
    My mods --- Watermod collaboration with Feha
    For some reason, the instant you ask players to behave differently to be successful, they associate that with bad mapping. - KungFuDiscoMonkey
    Z5UIr2s.png
Sign In or Register to comment.