Key

10/10/2012 18:00 knightdown#1
hi any 1 know how i would find out what the right key to cent to the server file is ?

[Only registered and activated users can see links. Click Here To Register...]
10/10/2012 20:50 dsfgd#2
The sl.dta is encrypted with a custom algo, the "key" is the "start-key" to decrypt it

the algo is simple:
Code:
            For i As Integer = 0 To count - 1
                bTemp = br.ReadByte // read encrypted byte
                buf(i) = bTemp - Key // decrypt it into a buffer
                Key = bTemp // use next key
            Next i
10/11/2012 00:36 knightdown#3
Quote:
Originally Posted by dsfgd View Post
The sl.dta is encrypted with a custom algo, the "key" is the "start-key" to decrypt it

the algo is simple:
Code:
            For i As Integer = 0 To count - 1
                bTemp = br.ReadByte // read encrypted byte
                buf(i) = bTemp - Key // decrypt it into a buffer
                Key = bTemp // use next key
            Next i
i see so its just to do with the sl.dta and not with canting to the loging server?
10/11/2012 02:22 WarmongerR4#4
Quote:
Originally Posted by knightdown View Post
i see so its just to do with the sl.dta and not with canting to the loging server?
Yep, the only things that get sent to the loginserver is username, password, and client version.
10/11/2012 18:45 knightdown#5
Quote:
Originally Posted by WarmongerR4 View Post
Yep, the only things that get sent to the loginserver is username, password, and client version.
ok so how do i find out what the rigth client version is?
10/11/2012 19:20 WarmongerR4#6
Quote:
Originally Posted by knightdown View Post
ok so how do i find out what the rigth client version is?
You can use my IPTool to view or edit the version, vtm.brn holds the client version in a integer value. From the looks of it the loginserver doesn't check version at all, the gameserver does. When you login to lastchaos the client sends the login packet twice, once to the loginserver. Then the loginserver sends the server list packet. Then once you join a server channel, the client sends the login packet again, to authenticate you with the gameserver. So blocking people version wise via the gameserver doesn't seem possible unless you use a custom loginserver like mine.
10/11/2012 22:46 knightdown#7
i see may i have a copy of your loin server?