Edit UO:SA IP and PORT
(originally posted by me on POL forums Tue Aug 31, 2010 12:03 am )
Getting the latest UO:SA Enhanced client (UOSA.exe) patched with your shard IP and port can be troublesome.
The latest enhanced client patch fixes some of the classic gump issues, such as the offset cursor when doing text entries inside a gump. Quite a bit of additional functionality added to the client interface as well.
Use a hex editor of your choice. UltraEdit can also do this. The enhanced client does not use the Login.cfg file, the site address and port is coded into the UOSA.exe
Make a backup copy of UOSA.exe and hex-edit this file.
search for offset 0x1e8a72 - read 4 bytes, this is the IP address in reverse order.
4f d1 99 9f
79 209 153 159
= IP 159.153.209.79
Compare the above to the original EA Login.cfg:
LoginServer=login.owo.com,7775 = login.owo.com = 159.153.209.79
LoginServer=login.owo.com,7776
login.owo.com = 159.153.209.79
offset 0x1e8a7a and 0x1e8a84 2 bytes each port reverse order
5f 1E 5f 1E
95 30 95 30
= port 3095
search for offset 0x1efa7d 4 bytes ip reverse again offset
4f d1 99 9f
79 209 153 159
port again, 0x1efa86 2 bytes reverse order
5f 1E
95 30
= port 3095
Seems the ports for updating Enhanced client are different to classic client ports (7775, 7776) and the same port seems to be defined twice.
Running POL099 with encryption settings set to 'none' in pol.cfg (please see changelog.txt for more information regarding POL099 and client encryption). Editting the hex values above to match your server should get you logged in with your own patched client.
My thanks to my friend and Developer, Dragos, for this analysis.
Best regards,
Justae.
"Because sharing is caring"