fix(net): conform character entry and session shutdown
This commit is contained in:
parent
bacc7e45a9
commit
aea957f845
12 changed files with 1016 additions and 95 deletions
|
|
@ -347,7 +347,10 @@ public class LiveHandshakeTests
|
|||
|
||||
Assert.NotNull(charList);
|
||||
Assert.NotEmpty(charList!.Characters);
|
||||
var chosen = charList.Characters[0];
|
||||
Assert.True(
|
||||
CharacterList.TrySelectFirstAvailable(charList, out var selection),
|
||||
"CharacterList contains no active, non-greyed character");
|
||||
var chosen = selection.Character;
|
||||
Console.WriteLine($"[live] choosing character: 0x{chosen.Id:X8} {chosen.Name}");
|
||||
|
||||
// ---- Step 5: send CharacterEnterWorldRequest (UIQueue, encrypted checksum) ----
|
||||
|
|
@ -403,7 +406,7 @@ public class LiveHandshakeTests
|
|||
|
||||
// ---- Step 7: send CharacterEnterWorld with the chosen GUID. ----
|
||||
SendGameMessage(
|
||||
CharacterEnterWorld.BuildEnterWorldBody(chosen.Id, user),
|
||||
CharacterEnterWorld.BuildEnterWorldBody(chosen.Id, charList.AccountName),
|
||||
$"CharacterEnterWorld(guid=0x{chosen.Id:X8})");
|
||||
|
||||
// ---- Step 8: receive the CreateObject flood + parse bodies. ----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue