1st u need to know that before start:
The game files u have in your hard disk (silkroad i meant) is the client that-in normal without proxy or bots- connect after run to one of the four login servers
gwgt1.joymax.com
gwgt2.joymax.com
gwgt3.joymax.com
gwgt4.joymax.com
and after you enter the id and password the client encrypts these data and send to the log in server if the data is true and there exist already that account server send to your client the data and the client will log in and client connection with the log in server will ended and the client connects to the server you choosed before (Xian , uranus ,.....etc).
and after you chose the character and actually enter the game to play
the important packet with opcodes which makes u- if u understand it all - to make bot easily
for more information: while the connection between the client and server all data which is sent and received are numbers!!!!
the client understand all coming numbers from the server and translated it to what you see in the game mobs,gold ,items ....,etc
but as usual the programmers of silkroad make some of this numbers for security and some packet comes encrypted and so on to and now as we know there is something call HackShield
that while connecting and playing the server send a hackshield packet to the client and wait it's response if you use the the normal client not client less the client will send the replay after he receive the hacksheild packet and if u use a client less this client less must send the reply to the hack shield packet after he received it if not the connection will be ended !!!
The Packet Structure:
2 bytes length of data + 2 bytes Opcode +2 bytes security+data
it's difficult to understand and handle the security alone !!!!!!!!!!!!!!
so for making it easy i recommended that you use any proxy like nuconnector or srproxy
and it handles and encrypt the data to you and make the silkroad programing is a bit easy
and if you use any of last two programs
the security two bytes will be:
01 00 // that bytes tell the proxy this packet is from client to server C->S
02 00// that bytes tell the proxy this packet is from server to client S->C
03 00 // that bytes tell the proxy this packet is is Encrypted and from client to server C->S(Encrypted)
04 00// that bytes tell the proxy this packet is Encrypted and from server to client S->C(Encrypted)
To be Continued !!
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.