[Tut] What to do if you can't connect to you ext IP

Results 1 to 17 of 17
  1. #1
    Enthusiast MacMike is offline
    MemberRank
    May 2007 Join Date
    37Posts

    [Tut] What to do if you can't connect to you ext IP

    I got my server up fully funtional etc. (Need the damn Hide skill :P)
    Everyone was able to connect to it except for me :sq_yellow

    I used this as 'temp' fix.

    Code:
        if (player->getUserid() == 1){
        packet.addByte(192); // Internal IP
        packet.addByte(168);
        packet.addByte(x);
        packet.addByte(x);
        }
        else{
        packet.addByte(xxx); // External IP
        packet.addByte(xxx);
        packet.addByte(xxx);
        packet.addByte(xxx);
        }


  2. #2
    Enthusiast MuffledCobra is offline
    MemberRank
    Apr 2008 Join Date
    Pittsburgh, PALocation
    27Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    Nice! This worked for me! Thanks SO much!

  3. #3
    Apprentice Whymes is offline
    MemberRank
    Jul 2006 Join Date
    A cardboard boxlolLocation
    14Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    Oodly this dosent work for me.. May i ask what if (player->getUserid() == 1){ checks for?

    Fixed.
    Last edited by Whymes; 22-04-08 at 07:59 AM.

  4. #4
    Enthusiast Dukezofhazord is offline
    MemberRank
    Jan 2007 Join Date
    49Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    Where do I put these at in Loginpacket.cpp?

  5. #5
    Enthusiast MuffledCobra is offline
    MemberRank
    Apr 2008 Join Date
    Pittsburgh, PALocation
    27Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    The same spot where you put either your IP or 127.0.0.1.

    Find "void LoginPacket::connectIP" in Loginpacket.cpp if you don't get what I mean. It's the bit of code a few lines below there.

  6. #6
    Enthusiast MacMike is offline
    MemberRank
    May 2007 Join Date
    37Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    Glad to see you got it to work :)

  7. #7
    Enthusiast FearedBliss is offline
    MemberRank
    Apr 2008 Join Date
    26Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    Very nice man. Good job.

  8. #8
    Apprentice Loserr is offline
    MemberRank
    Apr 2008 Join Date
    20Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    So you put this under where you put your ip in LoginPacket.cpp? Then do you fill in the "XXX's"?

  9. #9
    Proficient Member theicekid is offline
    MemberRank
    Jan 2008 Join Date
    My houseLocation
    154Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    great!


    thankx mate this is usfull info :matrix2:

  10. #10
    Member deathman91 is offline
    MemberRank
    Apr 2008 Join Date
    66Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    How do I include this source? Can someone please show an example?

  11. #11
    GoldMember XkelvinchiaX is offline
    MemberRank
    Sep 2006 Join Date
    MalaysiaLocation
    286Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    example please thanks,because my home got 2 comp,now pc1 is host ,pc2 is play maple.

    PC 1 can open maple,PC2 can open maple but cant login.

  12. #12
    Member brandonspeed200 is offline
    MemberRank
    Sep 2008 Join Date
    71Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    anybody know how to connect like this on odin?

  13. #13
    Infraction Banned LoOpEd is offline
    MemberRank
    Aug 2008 Join Date
    BANNEDLocation
    607Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    What the hell does this do?

  14. #14
    Valued Member duke is offline
    MemberRank
    Nov 2007 Join Date
    145Posts

    Re: [Guide] What to do if you can't connect to you ext IP

    thanks \

    this is for c++, i want one for odinms.

  15. #15
    Valued Member duke is offline
    MemberRank
    Nov 2007 Join Date
    145Posts

    Re: [Tut] What to do if you can't connect to you ext IP

    anyone got one for odinms?

  16. #16
    Enthusiast pc1250 is offline
    MemberRank
    Apr 2009 Join Date
    33Posts

    Re: [Tut] What to do if you can't connect to you ext IP

    Thank you very much

  17. #17
    Valued Member duke is offline
    MemberRank
    Nov 2007 Join Date
    145Posts

    Re: [Tut] What to do if you can't connect to you ext IP

    does anyone have a solution for odinms-java source?



Advertisement