Code: Show/Hide [pid =1] bad login packet length (107) [] [pid=1] disconnected |
Code: Show/Hide 0x09 Game 0x40C0E7 Password/Login
- 0 1 Type - 1 1 Boolean: New user (1 = New, 0 = Not New) - 2 32 Name - 34 32 Password - 66 4 Machine ident (drive serial number - can be random for bots) - 70 1 ConnectType (0x00 is a good idea) - 71 2 Timezone bias - 73 2 Unkown - 75 2 Client version (0x24 = Ctm, 0x86 = SS) - 77 4 Unkown, memory checksum, Set to = 444 - 81 4 Unkown, memory checksum, Set to = 555 - 85 4 Permission ident - 89 12 Unkown |
Code: Show/Hide public void sendPasswordPacket( String name, String password ){
ByteArray bytearray = new ByteArray( 107 ); int[] arr = { 0x86, 0x00, 0xBC, 0x01, 0x00, 0x00, 0x2B, 0x02, 0x00, 0x00 }; bytearray.addByte( 0x09 ); bytearray.addByte( 0x00 ); bytearray.addPaddedString( name, 32 ); //Name bytearray.addPaddedString( password, 32 ); //Password bytearray.addByte( 0xd8 ); // Machine ID bytearray.addByte( 0x67 ); bytearray.addByte( 0xeb ); bytearray.addByte( 0x64 ); bytearray.addByte( 0x04 ); // Machine ID bytearray.addByte( 0xE0 ); bytearray.addByte( 0x01 ); bytearray.addByte( 0x57 ); bytearray.addByte( 0xFC ); bytearray.addLittleEndianShort( (short)134 ); bytearray.addLittleEndianInt( 444 ); bytearray.addLittleEndianInt( 555 ); bytearray.addLittleEndianInt( 0x92f88614 ); bytearray.repeatAdd( 0x0, 12 ); //Last sendReliableMessage( bytearray ); } |
Code: Show/Hide ByteArray bytearray = new ByteArray( 107 ); |
Code: Show/Hide ByteArray bytearray = new ByteArray( 101 ); |
Code: Show/Hide bot is logging in. bot failed to log in. Login timed out. bot is disconnecting... |
Code: Show/Hide <net> [pid=0] new connection from 192.168.1.1.:2041 <core> [pid=0] login request: 'bot' <core> authentcating with 'auth-ban' <capman> [bot] assigned to group 'sysop' (global) <core> [bot] [pid=0] player logged in <net> [bot] [pid=0] disconnected |