Closed fm1randa closed 4 years ago
Hey, thanks for interesting in my project!
This can be accomplished using Wireshark. Login in the browser as usual while capturing packets with Wireshark, then look for TCP packets with %xt%
in their data.
Note that sometimes there are two different host IPs: One for the initial login procedure, and one per the specific game server you choose. But usually they share the same host IP.
Please let me know if you have any further questions.
Yeah, i have more questions: In servers.json:
login
is a little complex:
host
field is used as the host of the login server.host:port
combination, where host
isn't used at all.magic
is the salt used to encrypt your password during the login process. In most cases it can be omitted, but from some reason it varies across client versions. Fastest way is to simply try the common existing ones, but if it doesn't work you'll have to decompile airtower.swf
in order to figure out what it is.single_quotes
is another variation between different server implementations. Likewise, fastest way is to guess it.Thanks! Sorry, i'm not a english fluent speaker :/
I'll try explain my last question:
How i know when i have to use single_quotes
or magic
field?
Oh, so as I said, normally they should be omitted, but sometimes you need to guess their values / find them the hard way ;)
Okay :) I'm so excited with your project. I'm testing it and already founded some errors. Do you mind if I open others issues #?
Sure, I would very appriciate it!
How can i get the host IP?