Page 1 of 1

adding new feature for ee lobby

Posted: Wed Jun 23, 2010 6:30 am
by alfrqan
Hi guys
I have suggestion to add new feature for ee lobby
I got problem to show my ip in the place of ips in ee lobby bcz I got server for controling intenet
so it will show my lan ip even after forwording ports.I can not choose the ip through ee lobby bcz it is not shown there.I checked the network adapters
it is also not shown so i decided to put my real ip in host name bcz everyone can join my game by real ip.I want to show my real ip in ips so everyone can join me.
Can u make entering manual ip in the place of choosing ip in ee lobby so i can put my real ip while i host.

Re: adding new feature for ee lobby

Posted: Wed Jun 23, 2010 2:44 pm
by CARLOS
if you pray to G-d He might help you

Re: adding new feature for ee lobby

Posted: Wed Jun 23, 2010 8:08 pm
by Ghost
If you go to whatismyip.php it will show you your public IP. The lobby uses this exact method to obtain your IP for display in the games list.

As of now I have no intention of adding a manual way to display a different IP because it will likely be abused.

If whatismyip is not displaying the correct IP then you've got a seriously odd network configuration.

Re: adding new feature for ee lobby

Posted: Wed Jun 23, 2010 8:57 pm
by X warrior411
Ghost wrote:If you go to whatismyip.php it will show you your public IP. The lobby uses this exact method to obtain your IP for display in the games list.

As of now I have no intention of adding a manual way to display a different IP because it will likely be abused.

If whatismyip is not displaying the correct IP then you've got a seriously odd network configuration.
He's behind a proxy.

Re: adding new feature for ee lobby

Posted: Thu Jun 24, 2010 3:10 am
by alfrqan
I have no Proxy and my ports are forworded but even in show my ip is not apear .(Show my ip of save ee) shows lan ip.But if i go to other site like this It will show my real ip http://www.ip-adress.com/,so i can give it to anyone and it will work with no problem.I have no problem in my network my config are v good.I am using mikrotik system to control internet .

can i static my ip through _LobbyResource files which located in ee data folder? and how?
or there is another way?
thanks guys especially our admin

Re: adding new feature for ee lobby

Posted: Thu Jun 24, 2010 11:13 am
by Ghost
Ok so I should be able to fix it so you get the right IP, just gotta help me out with a little something first.

Go to test.php. A bunch of gibberish should appear on your screen. Copy and paste the entire thing into a post here.

Oh, and include your "real" IP in the post, the one you say it should be.

Re: adding new feature for ee lobby

Posted: Thu Jun 24, 2010 11:35 am
by alfrqan
Being edited by Ghost

Code: Select all

[HTTP_VIA] => 1.1 192.168.0.10 (Mikrotik HttpProxy)
[HTTP_X_FORWARDED_FOR] => 192.168.0.139
[HTTP_X_PROXY_ID] => 1441985522
[REMOTE_ADDR] => 85.154.171.126
[REMOTE_PORT] => 54651

Re: adding new feature for ee lobby

Posted: Thu Jun 24, 2010 11:42 am
by alfrqan
Thank u very much man for trying to help me
I am glade to u

Re: adding new feature for ee lobby

Posted: Thu Jun 24, 2010 12:46 pm
by Ghost
I've updated the IP detection script to more accurately obtain public IPs and it should be working for you now.

Re: adding new feature for ee lobby

Posted: Fri Jun 25, 2010 2:33 pm
by alfrqan
yes it is working nicely
Our admin is not that easy as u expected he is cleeeeeeeeeeeeveeeeeeer xD