fix gacha

This commit is contained in:
Akbar Yahya 2022-12-11 12:41:51 +08:00
parent 4ae84c64c1
commit 6be74b30d2
3 changed files with 35 additions and 36 deletions

View File

@ -31,21 +31,21 @@ message DoGachaRsp {
// }
bool Unk3300_OHFMHIHJHPJ = 1812;
uint32 Unk3300_JLELMHELIDC = 3;
uint32 left_gacha_times = 3;
repeated GachaItem gacha_item_list = 9;
bool Unk3300_HBILIAEIHNK = 1887;
uint32 gacha_type = 10;
uint32 Unk3300_OPGAHAGHEPF = 6;
uint32 Unk3300_NMOKGFGDFFC = 1;
uint32 Unk3300_BLLMPAJNCPI = 5;
uint32 Unk3300_OPGAHAGHEP = 6; //Unk3300_OPGAHAGHEP
uint32 gacha_times_limit = 1;
uint32 wish_max_progress = 5;
uint32 gacha_times = 4;
uint32 Unk3300_GLPMIEMBGGL = 15;
uint32 Unk3300_KEIJFMKAKDH = 12;
uint32 Unk3300_DBFMKAMNPCL = 13;
uint32 Unk3300_JLBFLPEMAPP = 8;
uint32 Unk3300_MEDMCPFCIOO = 2;
uint32 Unk3300_HLANONBCBLM = 1550;
uint32 Unk3300_PLFMMOFNGAG = 7;
uint32 wish_item_id = 15;
uint32 new_gacha_random = 12; //Unk3300_KEIJFMKAKDH
uint32 ten_cost_item_id = 13;
uint32 cost_item_num = 8;
uint32 ten_cost_item_num = 2;
uint32 wish_progress = 1550;
uint32 cost_item_id = 7;
uint32 gacha_schedule_id = 14;
uint32 daily_gacha_times = 467;
int32 retcode = 11;

View File

@ -1,4 +1,3 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
@ -22,30 +21,30 @@ import "GachaUpInfo.proto";
option java_package = "emu.grasscutter.net.proto";
message GachaInfo {
uint32 Unk3300_JLELMHELIDC = 5;
uint32 left_gacha_times = 5;
uint32 gacha_type = 7;
uint32 Unk3300_NMOKGFGDFFC = 954;
string Unk3300_GKDEEFNFCAC = 1532;
string Unk3300_FOGPKBALHPI = 15;
string Unk3300_HLPKLMGIBIB = 1;
uint32 gacha_times_limit = 954; //gachatimeslimit
string gacha_prob_url_oversea = 1532;
string gacha_record_url = 15;
string gacha_prob_url = 1;
uint32 begin_time = 14;
uint32 schedule_id = 8;
repeated uint32 Unk3300_LBLEBDLJDLL = 476;
uint32 Unk3300_GLPMIEMBGGL = 10;
string Unk3300_BCJONGECBOH = 4;
string Unk3300_JOGAHFBKHNJ = 114;
uint32 Unk3300_HLANONBCBLM = 245;
repeated uint32 display_up_5_item_list = 476;
uint32 wish_item_id = 10; //weapon epitomised
string gacha_preview_prefab_path = 4;
string title_textmap = 114;
uint32 wish_progress = 245; //
uint32 end_time = 2;
repeated uint32 Unk3300_COABNBJCKEO = 540;
uint32 Unk3300_MEDMCPFCIOO = 13;
uint32 Unk3300_BLLMPAJNCPI = 1275;
uint32 Unk3300_DBFMKAMNPCL = 9;
uint32 Unk3300_DDBOLMGHEKN = 6;
repeated uint32 display_up_4_item_list = 540;
uint32 ten_cost_item_num = 13;
uint32 wish_max_progress = 1275; //
uint32 ten_cost_item_id = 9;
uint32 gacha_sort_id = 6;
bool is_new_wish = 967;
uint32 Unk3300_JLBFLPEMAPP = 12;
uint32 Unk3300_KEIJFMKAKDH = 1580;
string Unk3300_ODFKNFOMAGE = 1259;
uint32 cost_item_num = 12;
uint32 Unk3300_KEIJFMKAKDH = 1580; //
string gacha_record_url_oversea = 1259;
repeated GachaUpInfo gacha_up_info_list = 1585;
uint32 Unk3300_PLFMMOFNGAG = 3;
string Unk3300_OFOHDLDFCLF = 11;
}
uint32 cost_item_id = 3;
string gacha_prefab_path = 11;
}

View File

@ -28,10 +28,10 @@ message GachaWishRsp {
// ENET_IS_RELIABLE = 1;
// }
uint32 Unk3300_NMOKGFGDFFC = 6;
uint32 Unk3300_KEIJFMKAKDH = 15;
uint32 wish_item_id = 6;
uint32 wish_progress = 15; //
uint32 gacha_schedule_id = 11;
int32 retcode = 13;
uint32 Unk3300_BLLMPAJNCPI = 10;
uint32 wish_max_progress = 10; //
uint32 gacha_type = 8;
}