View unanswered posts | View active topics
| Author |
Message |
|
MuadDib
|
Post subject: Posted: Sun Apr 01, 2007 9:44 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
Ok, you say they can't connect.
Few things here to try to for me, and please give me the results (since it's worked for me in the past, i thought).
Can they connect at all? do they pass login, but just can't connect to selected server?
Try flushing your DNS when this happens on the server pc, and then re=register it (with POL running).
Win2k and up
Code: ipconfig /flushdns ipconfig /registerdns
after doing this, and that host pc verifies it pings the new address, does that make a difference?
And btw, I think they won't make a difference, as I typed this I looked at the code and it appears it doesn't refresh the IP (but only glanced)
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Sun Apr 01, 2007 9:51 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
|
Oh yeah, and what OS is this on mate?
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
OldnGrey
|
Post subject: Posted: Sun Apr 01, 2007 10:31 pm |
|
Joined: Sat Feb 04, 2006 6:26 pm Posts: 548
|
|
All the tests were on Win32 version of the core.
|
|
| Top |
|
 |
|
zandor70
|
Post subject: Posted: Mon Apr 02, 2007 3:47 am |
|
Joined: Fri Feb 10, 2006 10:06 am Posts: 79 Location: Italy
|
|
If I restart pol I think it is ok.
The problem is only that when I go work and are away from home if IP changes I cant't allow developer to interter in server for design of a new map.
_________________ Zandor
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Mon Apr 02, 2007 5:56 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
How about I find out the OS like I asked last night? Will definitely help here 
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
zandor70
|
Post subject: Posted: Mon Apr 02, 2007 10:02 pm |
|
Joined: Fri Feb 10, 2006 10:06 am Posts: 79 Location: Italy
|
|
I use XP PRO SP2
_________________ Zandor
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Mon Apr 02, 2007 10:07 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
kk, gives me a little more to go on. May have found a linux bug besides yours 
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
Barbeirosa
|
Post subject: Posted: Tue Apr 03, 2007 8:11 am |
|
|
|
The behavior is also the same on Windows 2000 Advanced Server, although Windows itself does not seem to be the cause. Other programs running on the same machine at the same time do get the updated IP address.
Here's pseudo-code of the entry point of the program I use to check for an IP change on my building shard.
Code: int main(){ try{ char oldIP[16]; char newIP[16]; char hostName[11] = "my.url.com";
oldIP = getOldIPFromPersistentStorage(); //such as Windows Registry, file stream, etc. newIP = resolveHostName(hostName); if (strcmp(oldIP, newIP)){ cout << "IP Changed: " << newIP << endl; sendNewIPToPOLAux(newIP); //WWW script works, too. saveNewIPToPersistentStorage(newIP); }else{ cout << "No IP Change.\n"; } cout << "Done"; return 0; }catch (char* error){ cout << "Error: " << error; return 1; } }
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Tue Apr 03, 2007 9:53 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
|
zandor, do me a few favors. I just tested with dyndns.org, and when i tried to login, it gave correct IP. I them manually changed the IP from their site, tried again, and sent the client the different ip (Used UOLog to see the packets).
So it worked just fine for me. Can you give me more info?
Manually change the IP With POL running. Do a "tracert <dyndns name>" from the command prompt. Soon as you see the ip no longer takes only 1 hop (to your router), and keeps going to try to reach the new ip, try to log into POL again. Does it send the new ip, or the old for the server screen?
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
zandor70
|
Post subject: Posted: Wed Apr 04, 2007 9:58 am |
|
Joined: Fri Feb 10, 2006 10:06 am Posts: 79 Location: Italy
|
I have a question:
In my hosts cfg at
c:\windows\system32\drivers\etc\hosts
I have the row:
192.168.1.2 zandorhome.homeip.net
It is correct?
I do the tracert from my pc:
Code: C:\windows\system32>tracert zandorhome.homeip.net
Rilevazione instradamento verso zandorhome.homeip.net [192.168.1.2] su un massimo di 30 punti di passaggio:
1 <1 ms <1 ms <1 ms zandorhome.homeip.net [192.168.1.2]
and from another pc in vnc section: Code: C:\Documents and Settings\zulu1>tracert zandorhome.homeip.net
Rilevazione instradamento verso zandorhome.homeip.net [151.65.255.212] su un massimo di 30 punti di passaggio:
1 <10 ms <10 ms <10 ms 89-186-67-129.hostpool.ip.kpnqwest.it [89.186.67 .129] 2 <10 ms 1 ms <10 ms CS1-Ge2-3-CAL2.MLA.kpnqwest.it [195.43.160.153]
3 <10 ms <10 ms <10 ms CR1-Ge5-7-CAL2.MLA.kpnqwest.it [195.43.160.177]
4 <10 ms <10 ms <10 ms CR2-Ge5-8-CAL2.MLA.kpnqwest.it [195.43.160.174]
5 1 ms 2 ms 2 ms R2-Ge3-0-CAL1.MLA.kpnqwest.it [195.43.160.41] 6 <10 ms <10 ms <10 ms wind2.mix-it.net [217.29.68.9] 7 15 ms 13 ms 13 ms 151.6.1.49 8 20 ms 20 ms 19 ms 151.6.4.94 9 20 ms 20 ms 20 ms 151.7.22.78 10 * * * Richiesta scaduta. 11 28 ms 28 ms 28 ms 151.65.255.212
Rilevazione completata.
At momenti my ip is 151.65.255.212
What I must do? manualli change my ip in web pages of dyndns?
_________________ Zandor
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Wed Apr 04, 2007 10:41 am |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
|
Uhm. Don't touch that host file!
You have it all pointing to the local LAN address of that PC, instead of your internet address. That's one problem.
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
zandor70
|
Post subject: Posted: Fri Apr 06, 2007 2:31 am |
|
Joined: Fri Feb 10, 2006 10:06 am Posts: 79 Location: Italy
|
|
Infact now I have put domain zandorhome.homeip.net in IP in servers.cfg and removed fomain line in hosts and POL seem to resolve zandorhome.homeip.it correctly....
I think POL was ok and my hosts did the the problem.
I know this is MY error, but I can only suggest in servers.cfg manual to specify that if domain is used to NOT to insert domain in horst...
_________________ Zandor
|
|
| Top |
|
 |
|
zandor70
|
Post subject: Posted: Sat Apr 07, 2007 4:53 am |
|
Joined: Fri Feb 10, 2006 10:06 am Posts: 79 Location: Italy
|
|
Thanks for alla for patience.
_________________ Zandor
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|