From e059ce550d4151beaf1d84407ee6b7d47ef03a03 Mon Sep 17 00:00:00 2001 From: Astrologies Date: Fri, 17 Dec 2021 06:11:34 -0500 Subject: [PATCH] alphaland ticket dep --- globals/Dependencies/Games/Ticket.php | 41 +++++++++++++++++++++++++++ globals/config.php | 1 + html/Game/Join.ashx | 8 +++++- 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 globals/Dependencies/Games/Ticket.php diff --git a/globals/Dependencies/Games/Ticket.php b/globals/Dependencies/Games/Ticket.php new file mode 100644 index 0000000..cd6365b --- /dev/null +++ b/globals/Dependencies/Games/Ticket.php @@ -0,0 +1,41 @@ + $userid, "SuperSafeChat" => false, //always false, dont need this "CharacterAppearance" => $characterappearance, - "ClientTicket" => generateClientTicket($userid, $accountage, $username, $characterappearance, $jobid), //generate epic clientticket + "ClientTicket" => Ticket::ClientTicket(array( + $userid, + $accountage, + $username, + $characterappearance, + $jobid + )), "GameId" => '00000000-0000-0000-0000-000000000000', //not set rn? "PlaceId" => $placeid, "BaseUrl" => $url . "/",