yonzkon / poseidon

Poseidon server for openkore-cro
11 stars 4 forks source link

if you have free time . update cRO config to main openkore #10

Open sctnightcore opened 6 years ago

sctnightcore commented 6 years ago

https://upriver.github.io/ = update you fork update new tables , new config

| cRO | Chinese RO | Need Verification | N/A |

sctnightcore commented 6 years ago

Not sure work XD

send //
'0AAC' => ['master_login', 'V Z24 a24 C', [qw(version username password_rijndael master_version)]], 

sub reconstruct_master_login {
    my ($self, $args) = @_;

    if (exists $args->{password}) {
        my $key = pack('C24', (6, 169, 33, 64, 54, 184, 161, 91, 81, 46, 3, 213, 52, 18, 0, 6, 61, 175, 186, 66, 157, 158, 180, 48));
        my $chain = pack('C24', (61, 175, 186, 66, 157, 158, 180, 48, 180, 34, 218, 128, 44, 159, 172, 65, 1, 2, 4, 8, 16, 32, 128));
        my $in = pack('a24', $args->{password});
        my $rijndael = Utils::Rijndael->new;
        $rijndael->MakeKey($key, $chain, 24, 24);
        $args->{password_rijndael} = unpack("Z24", $rijndael->Encrypt($in, undef, 24, 0));
        Misc::visualDump($args->{password_rijndael});
    }
}
Jelle-Wu commented 6 years ago

new recieve package 09FF & 09FD

sctnightcore commented 6 years ago
updating cRO
now i can:
1 - unpack client
2 - extract recvpackets / shuffle / sync
working on connection files cRO.pm
and after all ok
i will work in poseidon.pl
3 - can login without hardcode password
now working in poseidon
yonzkon commented 6 years ago

@sctnightcore Thx for helping us with cro.

I don't know how to unpack client and have no time to write a reasonable poseidon ...

Reversion for rijndael is too hard to me. If you can solve it, I'll be very grateful.

sctnightcore commented 6 years ago

@yon2kong alisonrag can do it . XD https://discord.gg/aWfnKX5

sctnightcore commented 6 years ago

@yon2kong join discord room now !

sctnightcore commented 6 years ago

https://github.com/OpenKore/openkore/pull/1519

need test !!