AVA2 client Windows parity passes (gr2 BitKnit2/64-bit, GamePhase handlers, python modules)
- gr2: BitKnit2 decompression, 64-bit LE files, compressed curves - net: remaining GamePhase handlers, generated GC packet table - python: event/chat/chr/minimap/guild/quest/messenger/shop-search and other native modules ported against the AVA2 Windows client - render: D3D8 fixed-function lighting in Gr2ModelRenderer, terrain without baked shade; cape/NPC equipment attachment - tests + audits updated; docs/PORT-PLAN.md and WINDOWS-PARITY.md Batch 4 (render pipeline: background.*, app.RenderGame/UpdateGame, camera bindings, main.cpp fake-content removal) is still in progress. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9f748eb05a
commit
9077aa389a
@@ -46,5 +46,12 @@ int main() {
|
||||
try { valid.select(1);return 7; } catch(const std::invalid_argument&) {}
|
||||
valid.select(0);auto sent=valid.take_output();
|
||||
if(sent.size()!=1 || ava2::wire::decrypt(sent[0],client_key)!=ava2::wire::Bytes{6,0,0xca,0,0,0,0,0}) return 6;
|
||||
// 128 KB game receive buffer (networkmodule.py SetTCPRecvBufferSize): partial takes keep the rest queued.
|
||||
auto rx=ava2::wire::derive_receive_key(client_key);
|
||||
ava2::wire::Bytes loading{253,4};for(int i=0;i<14;++i) loading.push_back(std::uint8_t(i));
|
||||
valid.feed(ava2::wire::encrypt(loading,rx));
|
||||
if(valid.state()!=ava2::LoginSession::State::Loading || valid.receive_space()!=ava2::LoginSession::kRecvBufferSize-14) return 8;
|
||||
if(valid.take_game_input(0).size()!=0 || valid.take_game_input(5)!=ava2::wire::Bytes{0,1,2,3,4}) return 9;
|
||||
if(valid.take_game_input()!=ava2::wire::Bytes{5,6,7,8,9,10,11,12,13} || valid.receive_space()!=ava2::LoginSession::kRecvBufferSize) return 10;
|
||||
std::cout<<"Original AVA2 client/server layout, cipher and character selection oracle passed\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user