Fix cross-platform rendering and optimize frame performance
Correct selection orientation, game-entry lifecycle, mounted NPCs, labels and skill panels. Add the native GPU scene path, resident geometry, bounded texture and Python caches, and collision broad phase. Pin the independently maintained Metin2 SDK through a submodule and document reproducible setup. Include rendering regressions and macOS packaging improvements. Validation: client Debug build and 12 targeted client tests passed; SDK build and all 14 SDK tests passed.
This commit is contained in:
@@ -34,6 +34,12 @@ int main() {
|
||||
std::array<std::uint8_t,2> auth_phase{253,10};valid.feed(auth_phase);valid.take_output();
|
||||
ava2::wire::Bytes accepted{150};ava2::wire::append32(accepted,123);accepted.push_back(1);
|
||||
valid.feed(ava2::wire::encrypt(accepted,ava2::wire::locale_key()));valid.begin_game();
|
||||
std::uint32_t serverMS=0;
|
||||
if(valid.server_milliseconds(serverMS)) return 11; // auth clock must not leak into game.
|
||||
ava2::wire::Bytes handshake{255};
|
||||
ava2::wire::append32(handshake,42);ava2::wire::append32(handshake,123456);ava2::wire::append32(handshake,10);
|
||||
valid.feed(handshake);valid.take_output();
|
||||
if(!valid.server_milliseconds(serverMS) || serverMS<123466 || serverMS>123566) return 12;
|
||||
std::array<std::uint8_t,2> login_phase{253,2};valid.feed(login_phase);valid.take_output();
|
||||
client::TPacketGCLoginSuccess4 roster{};roster.header=32;
|
||||
roster.akSimplePlayerInformation[0].dwID=11;roster.akSimplePlayerInformation[0].x=12345;
|
||||
|
||||
Reference in New Issue
Block a user