http://bugs.winehq.org/show_bug.cgi?id=3962
--- Comment #37 from guillermo acglaphotis@gmail.com 2008-03-24 11:47:17 --- (In reply to comment #0)
The private servers consist of three processes. First, the client connects to the login server. The client sends the login information and the login server sends the client to the character server. A character is selected/created and the client is passed on to the map server. Basically, wine drops off after the character server part. It will simply say "Disconneted from server" to server".
I tried running ethereal to monitor what was going in and out. It looks like the host of this specific one has the 3 processes on different IP addresses as well. But the only one that doesn't show as trying to connect is the final, map server. I ran a debug on winsock, which is the URL.
Also, the server software is available for testing if needed. I've run the server on an internal network and got everythng to work fine, but when my friend, who also runs it through WINE, tried to log in from her house, it did the same thing.
(In reply to comment #36)
(In reply to comment #35)
Im trying to get it to work with this private server (Akari Ladon), and it didn't work so i reverted to 0.52 and it said 'Disconnected from server'. So i checked with iptraf and it was a wrong ip it was trying. I did the iptables trick but the thing is that its still using the wrong PORT the ip is fine but is using the wrong port and i already tried this:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 4170 [bad port] -j REDIRECT --to-port 6900 [good port]
But it doesn't work any ideas?
As Kai Blin asked in comment #21, could you please run this command:
WINEDEBUG=+winsock wine your.exe > winsock_trc.txt 2>&1
and post winsock_trc.txt so we can see what is going on with your .exe and winsock?
Thanks in advance!
I fixed it now, i found that the right ip wasn't always in that sclient.xml file : (, i found it online.