==================================== The All-Seeing Eye Country Hack (v3) ==================================== Installation ------------ Extract all files to your C:\Program Files\The All-Seeing Eye or wherever ASE is installed. Run ASE using ASECountryHack.exe instead of Eye.exe. Background ---------- As many ASE users are undoubtedly aware, the current version of ASE has a few problems looking up IP addresses to countries, so you don't get pretty flags and can not sort servers by country. Having grown accustomed to my pretty flag icons, I refreshed one day to find ASE removed my servers due to packetloss and the new ones had no icon at all. This would not do. Using the debugger OllyDbg (www.ollydbg.de) I analysed the eye.exe executable and found the code responsible for resolving IPs to countries. It appears it tries to send a batch query to some server that is probably offline or has some other problem. I created the ASECountryHack.exe in Visual C++, it will simply load eye.exe and then inject the ASECountryHack.dll. The .dll file is where the magic happens. Included in the .zip is a free IP/country database from http://tinyurl.com/9norp. ASECountryHack.dll reads in the CSV database and maintains it in memory. It then overwrites the eye.exe code with its own code, causing eye.exe to jump to the code in the .dll whenever it tries to lookup a country. This new code then uses the IP/country CSV database data instead of the server to resolve the country information. Note that this all occurs in memory - eye.exe is never modified on your hard disk. NOTE: Based on feedback from users, a new IP/country database from http://www.maxmind.com/app/geoip_country is now included instead. You can still use the old one if you prefer. I hope you like this hack, and thanks to UDPSoft and Yahoo! for creating and supporting a great server browser! This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/. Version ------- v3: Support Windows 98/ME by using Windows Hook instead of CreateRemoteThread. v2: Support the MaxMind database from: http://www.maxmind.com/app/geoip_country This has better accuracy for some IPs. To use the old database, download it from the URL above and delete the new GeoIPCountryWhois.csv in the ASE folder. v1: Initial release.