Mushroom wrote:Isn't it the same way DarkRO uses?
If so, you can add in your tables/servers.txt
Don't know if it work, try it out.
There is more to it than just the packetswitch (masterLogin_packet parameter) Mushroom.
For instance, this loginpacket has an IP in it. Currently there is no login packet like that supported by kore.
I believe that the packet is build up like this:
e703 -> packet switch
18000000 -> version
6e696b650000000000000000000000000000000000000000 -> nike : username (not encrypted)
303738393130000000000000000000000000000000000000 -> 078910 : password (not encrypted)
16 -> master version
3138392e35322e3231362e3533 -> 189.52.216.53 : (local?) ip adress
00fb123131313131313131313131310000 -> I have no idea what this is actually, it could be either constant or dependant on other data.
On a sidenote:
The question remains, what is this "version" and "masterversion" exactly?
I remember someone asking this before, and in fact its important to know.
I believe that this is knowledge that has gone to waste because of a lack of documentation on the subject.
That is why we need more information/documentation on the following subjects (1-3):
1) What is masterversion and serverversion?
I've recently read this article, it discusses 2 types of login packets:
http://doc.siriuswhite.de/index.php/Login
Sirius White wrote:Version: Using the version flag of the clientinfo.xml
= (what we call) server version?
Sirius White wrote:Region : Determinated by the combination of ServerType (Technology: "not ServerType as we know it") and
ServiceType
= (what we call) master version?
2) How other bots handle this information
Hmm, seems like messykore handled: version, servertype and servicetype, this needs investigation.
MessyKore wrote:#<AfterEpisode> - For next episode6; 5 = primary, 6 = sakray
# <version> - Server version; 24 = primary, 5 = sakray
# <servertype> - 0 = primary, 1 = sakray, 2 = local
# <servicetype> - 0 = korea, 1 = america, 2 = japan, 3 = china, 4 = taiwan, 5 = thai, 6 = indonesia, 7 = philippine, 8 = malaysia
3) How sclientinfo is built up, and how the client uses it
How the sclientinfo.xml is build up
How the sclientinfo.xml is build up (french, but contains info that isn't covered on the wiki)
Some clients don't use an sclientinfo.xml, the data is hardcoded in the client.
It should be possible to find out how the login packet is built up directly from dissasembly of the client.
What do we need to do?
I think that by documenting all this information out from our point of view (botting),
we will gain a better unsterstanding of how login packets are built up in general and preserve this information for the future.
Also we should get a better understanding how the sclientinfo.xml actually affects the client.
Some info about the newest login packet:
eA client hexing wrote:------------------------------------------------
// [Packet](11)_Enforce_Login_Packet_0x2b0
------------------------------------------------
- Makes the client connect using the 0x2b0 login packet, which includes MAC address and encrypts
the password (eAthena doesn't support that encryption, so I suggest you to use the patch to disable
it), for all langtypes. It's used by default only on langtype 0.
------------------------------------------------
// [Packet](11)_Disable_Login_Packet_0x2b0
------------------------------------------------
- Makes the client not use the login packet 0x2b0 (I think it'll use the 0x64 one instead) on any
langtypes (mainly it'll disable that packet on langtype 0, where it's used by default).