Go Back   OnRPG Free MMORPG Forums > Other > Game Archive > Gunz Online

Reply
 
LinkBack Thread Tools Display Modes
Old 07-29-2006, 09:22 AM   #1 (permalink)
Marios's Mustache Wax
 
Join Date: Jul 2006
Posts: 1
Reputation: 10
Angry Launcher hanging and updater timing out? Read here...

If you're having the same problem I'm having, where the GunzLauncher hangs and then reports a message of a connection "timing out", this information might prove useful. After poking around for several hours, here's what I've discovered...

#1 - GunzLauncher uses active FTP (as opposed to passive) to update. That means it will not be able to update through NAT without some fancy FTP proxying. (Maple Story does this too, but is much easer to get around since it doesn't have problem #2, below)

#2 - GunzLauncher uses hard coded IPv4 addresses, not domain names, to internally store the list FTP servers. This means you can't do a simple redirection to a FTP proxy via the hosts file, but will instead require IP redirection (not possible on windows, AFAIK). Also, FYI, the hard coded FTP servers are 218.145.160.136, 218.145.160.135, and 218.145.160.134, and are accessable using the username "root" (sad) with the password "qorhvk". (see this image)

#3 - GunzLauncher is compressed by UPX. Why does this matter? Well, let's say you don't have a handy *nix/*BSD box around to do IP redirection, but still want to redirect the executable to your local ftp proxy. You'll need to unpack it before editing the strings...so grab UPX! Just remember to change the checksum in the PE header to the appropriate value if you make any changes to the exe.

#4 - GunzLauncher supidly blocks in the GUI thread and quits pumping messages if it can't get the requested file from the FTP server (patch.xml). This is why the app seems to hang for a long period of time when it can't get the file from the FTP server due to (stupidly) using active FTP. My guess, without decompiling it and going more in depth, is they're using blocking recv()s in the GUI thread...either spawn another thread for blocking operations or (better yet) use asyncronous I/O!

Hopefully this helps end users (those who will actually take the time to hack this instead of just uninstalling it right away)....but more importantly, I hope this will cause the developers to get their act together. I mean, come on! Active FTP?! Too lazy to use gethostbyname() (or if you're doing it in your GUI thread, WSAAsyncGetHostByName)?! Blocking in the tread that's supposed to be waiting idle in your message loop most of the time?! ...About the only thing they did do right was compress with UPX!

Thanks for your time, I hope this satisfactorily explains the issues with GunzLauncher to those having problems with it.

Last edited by Orum; 07-29-2006 at 09:47 AM.
Orum is offline   Reply With Quote
Old 07-29-2006, 02:57 PM   #2 (permalink)
Retired Staff
 
illgamez's Avatar
 
Join Date: May 2006
Location: Where The Wild Things Are
Posts: 3,412
Reputation: 51
Default

nice guide
__________________
MEMBER Since 2005

I'd rather be hated for who I am, than loved for who I am not.
illgamez is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:07 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0
OnRPG, Copyright ©2003-2011, Game Entertainment Enterprises