Server with no-ip

Results 1 to 7 of 7
  1. #1
    Apprentice logicfreak is offline
    MemberRank
    Apr 2011 Join Date
    17Posts

    Server with no-ip

    I can make my server online in lan/wan using my external ip also the no-ip. My client got ip in there. I just changed that to my external ip and it worked but everytime my modem/router gets restarted it always change. So now to be able to connect again I need to hex my client all over again. I tried to change the external ip in client but the space is not enough to be able to put my noip there. Is there a way to add noip in client?


  2. #2
    Omega bobsobol is offline
    MemberRank
    May 2007 Join Date
    UKLocation
    5,702Posts

    Re: Server with no-ip

    You would have to add an API call to look up a DNS hostname. The basic client doesn't work on DNS lookup of hostnames, only on IPs. So unless your IP is static, there is no way you can connect... as it stands.

    If you use a client which hasn't had Quantumfusions modification to include the IP in the executable, you can write a launcher to lookup the IP of you servers hostname via DNS, and write the IP to ptreg.rgx, the system registry, hotuk.ini or Idata.bmp. (depending on which is the primary configuration file for your client)

    That is probably not any easier than writing a DNS lookup into your client, in the end. Unless you are not good at Reverse Code Engineering, but are good at programming a launcher from fresh. (which is actually a more common, and widely taught skill)

    Having said all that, one of the key features of an "on-line" server is "up time"... if you are down for an hour each year, that's quite bad. So if your router / modem gets reset more than once every 3 years you have a very bad server anyway.

    If you are opening your home PC for friends to play, you should really consider setting up a virtual private network, and use the host IP allocated to the virtual LAN port associated with that network.
    Last edited by bobsobol; 24-04-11 at 11:39 PM.

  3. #3
    Apprentice logicfreak is offline
    MemberRank
    Apr 2011 Join Date
    17Posts

    Re: Server with no-ip

    Thanks buddy I got your point. So if I will host the server no need to restart/turn off my modem anymore to don't change the external ip. And about VPN its good though I've tried to use one but its bandwidth is so slow. So I think I will just use my static IP. Actually it doesn't change. The only problem is when I turn off/restart my modem. So I think I will use static but Im scared of brown out/black out. I hope my UPS can handle that XD. Thanks.

    -edit

    One more thing. How can I connect to my own computer? Im hosting WAN now. I can connect using other pc to connect via WAN. Now in my hotuk.ini the ip Ive used is my external. Now I use all external ip to my client so others can connect. But in my own host can I still play there? I can connect to list of server when I tried to put my internal ip in game.exe but Unable to connect when clicking the server name(that server is using my external ip). Can I join other player in that server? Or do I need to make another server name via LAN or local?
    Last edited by logicfreak; 25-04-11 at 12:23 PM. Reason: addiitonal info

  4. #4
    Omega bobsobol is offline
    MemberRank
    May 2007 Join Date
    UKLocation
    5,702Posts

    Re: Server with no-ip

    Connecting to your own PC via WAN is identical to connecting to another PC via WAN.

    Your local client needs exactly the same configuration as any other client connecting to you server. You cannot use your LAN IP, or your localhost IP (127.0.0.1, or sometimes also 0.0.0.0)

    If you aren't renting a server off-site, I still strongly recommend a VPN... largely for the exact reasons as you state, but also because if you have turned your home network into a public server, you WILL be hacked... and therefore need to increase your security. Examples include having a hardware firewall such as BSD proxy server or CISCO box between your server and the Modem / Router, you should have UPS site wide, and make it a site wide policy to disallow web browsing, video games and any other protocol than your server requires. :s:

    What I'm saying is, the way you set up your network for providing a public server will prevent any normal household internet use. If you set up your network for household use, your server will not be accessible publicly.

    If you drop all household security, and all server security, and you run a popular OS like Windows on any system on that network, you are likely to be infected with rootkits twice a day, and need to re-install the OS (rollback is unlikely to help) as many times.

  5. #5
    Apprentice logicfreak is offline
    MemberRank
    Apr 2011 Join Date
    17Posts

    Re: Server with no-ip

    I see. I tried the quantumfusion. Modified by Rx8 but its language is brazilian. I can't see IP in the client maybe that's what you are saying. Theres no ip in client. I tried to connect with that one in my host. I can connect with no problem. But when I tried to connect using other computer, I can't. Also how about in hotuk.ini? Do I need to put my noip or my external ip? But if I chose external IP what if it changed? I think I need to change the hotuk.ini again. Can you tell me if my server and game is the quantumfusion you are saying. I need also the english one if you got. Also what files do I need to change when implementing noip in game and server side? Maybe Im doing wrong here

  6. #6
    Omega bobsobol is offline
    MemberRank
    May 2007 Join Date
    UKLocation
    5,702Posts

    Re: Server with no-ip

    Do I need to put my noip or my external ip? But if I chose external IP what if it changed?
    noip = ???

    I don't know what noip is (other than not on a TCP/IP network) and if I don't, I'm sure PT knows nothing about it either.

    External IP never changes on a server system!!! Your home IP might change, but if that is the case you can't run a server on it. Unless you are running a server local only (ie, not visible from the other side of your modem / router) in which case you set your server to a static IP in your local DCHP server.(or just in the Windows TCP/IP connection dialogue if you don't run DHCP within your local NAT)
    Can you tell me if my server and game is the quantumfusion you are saying.
    It doesn't matter who it's by. I'm crediting Quantumfusion with the original idea to put the host IP in the client executable, as this is a modification not found in official releases, which simply means you don't have to worry about whether the configuration file is hotuk.ini, Idata.bmp, System Registry, ptreg.rgx or some other spuriously named file. The releaser should document how you are supposed to configure it.

    In the case of Rx8, he would probably document that in Portuguese on MIB. I suspect his posts here are a courtesy, and hat tip mirror and rough translation from the original MIB releases.
    I need also the english one if you got.
    Trouble is, it's less effort to translate a Korean or Japanese client than it is to fix an English or Brazilian client. So most English or Brazilian release clients are actually Korean clients that have been translated.

    If you use one of the downloads from Korea or Japan, then you will find they have more features than the current English and Brazilian client too.
    Also what files do I need to change when implementing noip in game and server side?
    None. Whatever this noip thing is it's completely irrelevant to PT which requires a single static IP just like any other TCP/IP based client server software.
    Last edited by bobsobol; 26-04-11 at 04:54 PM.

  7. #7
    Apprentice logicfreak is offline
    MemberRank
    Apr 2011 Join Date
    17Posts

    Re: Server with no-ip

    noip is like dyndns that redirects to your external ip.

    I see. But I got external ip which always change, thats why i need to use no-ip.com to make it static. Also last time about the client, that connecting other pc via wan and connecting host via host is identical. I cant make it work in my host, Everytime I try to use the external ip in client I got unable to connect. And when I change it to lan ip I can connect but when clicking the name of the server I got unable to connect because my hotuk is using external ip. Also when I change it to lan ip. I can connect using host but others can connect but when clicking the name they cant. Just vise versa. So I cant join them its either only me can play or them.



Advertisement