Skip to content

Commit

Permalink
Added back tutorial completion data from pcaps
Browse files Browse the repository at this point in the history
  • Loading branch information
alborrajo committed Oct 10, 2022
1 parent dbcfa78 commit fd473a9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public CharacterDecideCharacterIdHandler(DdonGameServer server) : base(server)

public override void Handle(GameClient client, IPacket packet)
{
//S2CCharacterDecideCharacterIdRes pcap = EntitySerializer.Get<S2CCharacterDecideCharacterIdRes>().Read(GameDump.data_Dump_13);
S2CCharacterDecideCharacterIdRes pcap = EntitySerializer.Get<S2CCharacterDecideCharacterIdRes>().Read(GameDump.data_Dump_13);
S2CCharacterDecideCharacterIdRes res = new S2CCharacterDecideCharacterIdRes();
res.CharacterId = client.Character.Id;
res.CharacterInfo = new CDataCharacterInfo(client.Character);
Expand Down Expand Up @@ -59,6 +59,8 @@ public override void Handle(GameClient client, IPacket packet)
Value = 42069
}
};
res.Unk0 = pcap.Unk0; // Commenting this makes tons of tutorials pop up

client.Send(res);

// Unlocks menu options such as inventory, warping, etc.
Expand Down

0 comments on commit fd473a9

Please sign in to comment.