Others can connect only to my server

Page 1 of 2 12 LastLast
Results 1 to 25 of 27
  1. #1

    Others can connect only to my server

    I putted my true IP in the hotuk of the server then I gave to a friend a game.exe hexed with my true ip . he could log on my server .
    The problem is that I couldn't log on my own server from my computer (the server is on my computer) .
    I used same game.exe my friend used and edited ldata.bmp and reg file to my true ip and I still couldn't log .
    Only my friend could login.
    I opened ports 10003 , 10007 , 10009 .

    Any Idea ?


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

    Re: Others can connect only to my server

    An IP is like a phone number. The further away from it you are the more you have to change the number, but the most distant number still works even if you are only calling from next door.

    127.0.0.1 always works to "call yourself", 192.168.x.x always works within your LAN... so all the machines attached to your router will can call you on that IP, including yourself... people outside, need to use your routers IP on the internet. But you can still access yourself via that IP too.

    The server embeds it's IP (the one found in it's hotuk.ini) in the packets it transmits to clients... and they embed the IP they are calling in the packets they send out. If the IP they say they are trying to talk to, is not the IP the server is set to, it will not respond.

    So your client should not be any different than your friends... the IPs configured in them both, and in the server must be identical.

    Once the server is set to work on the WAN IP... the international dialing code... it will not accept local calls, even thought your PC and your Router will still pass the call through.

    The conversation, in human terms, becomes:-
    "Hello? Is that 127.0.0.1"
    "No, this is 187.56.4.64"
    "Okay, sorry wrong number. Goodbye."
    "No problem. Goodbye."

    Last edited by bobsobol; 23-09-09 at 12:42 AM.

  3. #3

    Re: Others can connect only to my server

    Ty for the explantion bobsobol
    But you didn't understand me well .
    I used WAN Ip on the hotuk of the server.
    Me and my friend used same client and same game.exe and ldata and reg file.
    all with my Wan IP .
    My friend could login on the server and play .
    But when I tried to login with the same client as him and the same game.exe I got unable to connect .

  4. #4
    Account Upgraded | Title Enabled! zaharavn is offline
    MemberRank
    Jun 2007 Join Date
    Viet NamLocation
    304Posts

    Re: Others can connect only to my server

    Maybe you the same IP Priston Tale. I think it's loopback of router

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

    Re: Others can connect only to my server

    Quote Originally Posted by avi20 View Post
    I opened ports 10003 , 10007 , 10009 .
    Do you know which port your game is using? Clients and servers can use any port between 10000 and 10012 in my experience... You only need to open one port, and possibly port 80 for Clan / SoD.

    If I where to use my router, I could not play on a different machine on the LAN than the server, because I can only open a specific port to the internet for one specific local machine on the LAN. The router works by port forwarding.

    If you are using a VM, remember that the VM will have a different MAC address and therefore a different LAN IP to the host... usually.

    You may also like to check any local firewall software on your system... it is possible that it is allowing only LAN access to your game.exe, and remember that even Win2K has IP filtering.

  6. #6

    Re: Others can connect only to my server

    I opened all the ports 10000-10012
    I removed my firewall completely
    I disabled IP filter on router

    And Still ONLY other people can connect to the server.

    When I try to connect from my own computer (server is on my own computer) I get connection Failed .

    Any1 idea ?

  7. #7
    Enthusiast UserNameHere2 is offline
    MemberRank
    Sep 2009 Join Date
    43Posts

    Re: Others can connect only to my server

    connect to 127.0.0.1 , or the ip you see when you type ipconfig in cmdprompt

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

    Re: Others can connect only to my server

    Quote Originally Posted by avi20 View Post
    I opened all the ports 10000-10012
    My point was that you need to know what port your set up is running, not to do go carpet bombing.
    Quote Originally Posted by avi20 View Post
    I removed my firewall completely
    The NT Firewall has been part of the NT Kernel since Win2K, the system doesn't operate stably without it, but it does allow for third party replacements. I really don't see how you removed a key component of your OS. Unless you are running NT4 (can the game still run) or Win9x.
    Quote Originally Posted by avi20 View Post
    I disabled IP filter on router

    And Still ONLY other people can connect to the server.

    When I try to connect from my own computer (server is on my own computer) I get connection Failed .

    Any1 idea ?
    There is little advise that can be given unless you are prepared to research the issue further. You have to trace the communications between the your server and various clients. Only when you know where packets are going, and where they aren't will you know where the problem is.

    Unless it's something simple, like your account is banned. But I'm sure you've tried logging in to different accounts and creating a new account and checking the banned user accounts and so on and so forth.

  9. #9
    Account Upgraded | Title Enabled! zaharavn is offline
    MemberRank
    Jun 2007 Join Date
    Viet NamLocation
    304Posts

    Re: Others can connect only to my server

    you should use other router :D....

  10. #10

    Re: Others can connect only to my server

    tried use 127.0.0.1 on the client .
    putted 127.0.0.1 in ldata.bmp , registry file , ptreg.rgx .
    I registerd the registry file .
    it connected to 127.0.0.1
    We could see the server name after put ID and PW .
    but after press on the server name the screen froze for 5 sec and then said connection failed .

    Also Tried with some acconts .

    @Bobsobol
    "There is little advise that can be given unless you are prepared to research the issue further. You have to trace the communications between the your server and various clients. Only when you know where packets are going, and where they aren't will you know where the problem is."

    How I do that ?

  11. #11
    Account Upgraded | Title Enabled! zaharavn is offline
    MemberRank
    Jun 2007 Join Date
    Viet NamLocation
    304Posts

    Re: Others can connect only to my server

    i have problem the same to you for 2 years ago

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

    Re: Others can connect only to my server

    Ahh... so now you can connect an log in... but you can't get to the character selection without disco.

    That means the network is good. You are connecting to the login server, but not the game server, and if you friend can get all the way with the same client from a different machine... I can only think that the server has some form of ban on your machine... unless your client is somehow configured to look on a different IP somewhere than what you are on.

    Remember that if you change the IP your server acknowledges on you have to do that in it's done in several places, hotuk.ini, registry and maybe sql.dll & clan.dll, if you use them, and depending on which ones you use.

    That's getting to be a rather natty problem though, I must say. :shock:

  13. #13

    Re: Others can connect only to my server

    I tried to use 4 deffernet of game.exe.

    all of them get the problem (i get the server name , press on it then the screen freezes for 5 sec and then connection failed)

    tried quantom , bloodPT , KPT1871 no xtrap .

    How do i check which Port my server uses and client ?

    Edit -

    Maybe need to do something here : http://www.uploadfileyou.com/files/g...5a51x3xmnp.jpg ?
    Last edited by avi20; 27-09-09 at 12:27 AM.

  14. #14
    Enthusiast UserNameHere2 is offline
    MemberRank
    Sep 2009 Join Date
    43Posts

    Re: Others can connect only to my server

    put a seonnd line in hotuk.ini for the *GAME_SERVER
    but then use 127.0.0.1 as IP

  15. #15

    Re: Others can connect only to my server

    What you mean ?

    Add 1 more *GAMER_SERVER "MyPT" 127.0.0.1 127.0.0.1 127.0.0.1 ?

  16. #16
    Alpha Member DarkKnightH20 is offline
    MemberRank
    Jul 2006 Join Date
    Magic SchoolbusLocation
    1,673Posts

    Re: Others can connect only to my server

    Login using a different account and NO admin hotuk. Lemme know how that goes.

  17. #17

    Re: Others can connect only to my server

    I used other account and no admin hotuk .
    Still gets connection failed after press on the server name .

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

    Re: Others can connect only to my server

    WB Dark... just when we needed you most... who shone the the Bat Signal light?

    @avi20: You can try my latest guide, that may give you some more insight... but I think you are looking at similar, but different protocols in the server and client you are using.

    After all, it should have connected by the time it has accepted your user name and password... to loose the connection at the point you select a server doesn't make any sense for any other reason. After all, the server name comes from the server to the client after it has accepted your login details.

    Unless you are good at tracing both code and network packets, I would start looking for a more compatible client and server executable pair. :s

    What I still don't get, is that "other people" can connect fine.

    Are you running Windows Vista? And have you checked for the dreaded "Compatibility files"?

    Also, can you post your full server side hotuk.ini? Because, I wonder if you have a "*LOGIN_SERVER" command that is set to a different IP than the "*GAME_SERVER" or "*DATA_SERVER" lines.

    We usually only use "*GAME_SERVER" and the other's default to that, but it is possible to set different IPs to spread the load on a heavily populated server... and I'm not sure those are the right commands, but there are some that are something like that that I played with.
    Last edited by bobsobol; 27-09-09 at 12:46 PM.

  19. #19

    Re: Others can connect only to my server

    I am running Windows XP SP3.
    My full server side hotuk : http://www.sendspace.com/file/8426b0
    If my hotuk ain't good , can I have a good one ?
    I am going to try your lastest guide too .
    But i think the problem comes from that the server and the client are on the same machine .
    And yes only other people people can connect to the server without problem .

    Im using Avast home anti virus and Outpost firewall free 2009 .
    Both of them are updated .
    also have all updates from Microsoft updates.
    Last edited by avi20; 27-09-09 at 02:42 PM.

  20. #20
    Enthusiast UserNameHere2 is offline
    MemberRank
    Sep 2009 Join Date
    43Posts

    Re: Others can connect only to my server

    Quote Originally Posted by avi20 View Post
    What you mean ?

    Add 1 more *GAMER_SERVER "MyPT" 127.0.0.1 127.0.0.1 127.0.0.1 ?
    yes yes

  21. #21

    Re: Others can connect only to my server

    I can connect to the server if the ip in the server side houtk is 127.0.0.1 .
    All the problem is when i do the server public (put my true IP from whatsmyip.org in the server side hotuk).

    @UserNameHere2

    I could login on the second sub server you told me to do because its 127.0.0.1 . but when i try log on the first sub server i get freeze for 5 sec and then connection failed as always .
    Last edited by avi20; 27-09-09 at 02:39 PM.

  22. #22
    Enthusiast UserNameHere2 is offline
    MemberRank
    Sep 2009 Join Date
    43Posts

    Re: Others can connect only to my server

    You have to put 2 GameServer ... just add 2 lines

    *GAME_SERVER Others IP IP IP
    *GAME_SERVER Me 127.0.0.1 127.0.0.1 127.0.0.1

    you and the other ppl will log in the same server... it's just that since you're using game.exe on same computer as server.exe you can only connect via 127.0.0.1

  23. #23

    Re: Others can connect only to my server

    The problem is solved :)

    Thanks a lot to UserNameHere2 and Bobsobol and DarkKnightH20 and all who helped .

    The fix :

    Added in the server side hotuk :
    *GAME_SERVER Others RealIP RealIP RealUP
    *GAME_SERVER Me 127.0.0.1 127.0.0.1 127.0.0.1

    I connected to "Me" and other ppls connected to "Others" and it worked . i saw them ingame .

    Finally solved this issue . took so much time but it deserves it
    Last edited by avi20; 27-09-09 at 03:48 PM.

  24. #24
    Apprentice Syst3mR00T is offline
    MemberRank
    Jul 2009 Join Date
    10Posts

    Re: Others can connect only to my server

    Quote Originally Posted by UserNameHere2 View Post
    You have to put 2 GameServer ... just add 2 lines

    *GAME_SERVER Others IP IP IP
    *GAME_SERVER Me 127.0.0.1 127.0.0.1 127.0.0.1

    you and the other ppl will log in the same server... it's just that since you're using game.exe on same computer as server.exe you can only connect via 127.0.0.1
    Not true; I can ping / establish connection my own IP just fine.

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

    Re: Others can connect only to my server

    I agree with Syst3mR00T to a great extent that it should work, but there is clearly some network config problem which is preventing this normal operation, and I thank UNH2 for the very good work around he has presented.

    These are the sort of lines I was thinking of:-
    Code:
    *CLAN_SERVER 79.177.125.43 80 79.177.125.43 80
    //*AREA_SERVER 79.177.125.43 79.177.125.43 79.177.125.43 not needed
    //*LOGIN_SERVER_IP 79.177.125.43 same
    //*SYSTEM_IP 79.177.125.43 same
    //*TT_DATA_SERVER extra data server put the IP of extra data server here NOTE: if you dont what wtf it is dont use it 
    //*SERVER_LINK_IP links the server together i think
    And I also wonder if changing
    Code:
    *GAME_SERVER Others 79.177.125.43 79.177.125.43 79.177.125.43
    *GAME_SERVER Me 127.0.0.1 127.0.0.1 127.0.0.1
    to
    Code:
    *GAME_SERVER Others 79.177.125.43 192.168.1.1 127.0.0.1
    may work... of course, I'm guessing your LAN IP as 192.168.1.1, but I'm sure you can figure that with ipconfig easy enough.

    Please try and let me know how it goes.



Page 1 of 2 12 LastLast

Advertisement