taobin_project/xml/event/tricker.ev

467 lines
9.1 KiB
Text
Raw Normal View History

2023-04-27 22:20:59 +07:00
2023-09-14 14:49:27 +07:00
; Thailand
2023-04-27 22:20:59 +07:00
;DEBUGVAR SystemDateMonthInt
;DEBUGVAR SystemDateDayInt
2023-05-31 22:13:06 +07:00
; Reset flag away.
2023-07-21 16:47:08 +07:00
Var ChildrenFree = 0
2023-04-27 22:20:59 +07:00
Var OreoDueEnable = 0
2023-05-31 22:13:06 +07:00
Var OreoForFreeEnable = 0
Var SoundBackToSchoolEnable = 0
Var PromotionIDOreoBuyTwoSaveMore = 0
Var BackToSchoolForFreeEnable = 0
2023-05-01 21:39:17 +07:00
2023-05-31 22:13:06 +07:00
Var PepsiProEnable = 0
2023-06-07 17:05:43 +07:00
Var PepsiPromoteVideo = 0
2023-06-16 15:33:37 +07:00
Var PepsiProCodeEnable = 0
2023-08-25 21:27:45 +07:00
2023-07-12 22:17:28 +07:00
2023-06-23 12:45:40 +07:00
Var SoundBackToSchoolType = 0
; End
Var MysteryProEnable = 0
2023-06-29 14:36:56 +07:00
Var OreoWelcomeDrinkEnable = 0
2023-07-12 22:17:28 +07:00
Var Anniversary3VideoEnable = 0
2023-06-23 12:45:40 +07:00
2023-08-10 10:02:05 +07:00
Var MomDayEnable = 0
2023-06-13 13:23:22 +07:00
2023-09-05 09:09:08 +07:00
; September / Oct
; Enable app game
2023-08-25 21:27:45 +07:00
Var GameEnableFromTrickerEv = 0
2023-08-26 22:38:07 +07:00
2023-09-26 17:04:50 +07:00
; Enable pro Pepween
2023-10-09 14:59:58 +07:00
Var PepweenEnable = 0
2023-09-26 17:04:50 +07:00
2023-09-05 09:09:08 +07:00
; Enable pro Tamatian. 16-30 Sep
2023-08-25 21:27:45 +07:00
Var TamatianEnable = 0
2023-08-26 22:38:07 +07:00
; September 9 - 16
2023-08-25 21:27:45 +07:00
Var MayDayRunEnable = 0
2023-10-02 14:27:26 +07:00
; Enable Milk Choice Vegan
Var MilkChoiceVeganEnable = 0
2023-09-26 08:37:28 +07:00
2023-08-26 22:38:07 +07:00
2023-10-27 09:46:44 +07:00
; Enable pro 15 THB, November 1 - 30
Var pro15THBEnable = 0
2023-10-27 10:44:52 +07:00
Var From15THBPro = 0
2023-10-27 09:46:44 +07:00
2023-11-21 16:14:06 +07:00
; Enable pro My Mint My Moment, December 1 - 31
Var MyMintEnable = 0
Var FromMyMintPro = 0
2023-09-04 12:42:31 +07:00
2024-01-16 15:39:07 +07:00
; Enable pro Rerun, Jan 22-26/29-31
Var RerunProEnable = 0
Var FromRerunPro = 0
2024-01-29 12:01:55 +07:00
; Enable pro Peach, Feb 1 - 13
Var ProPeachEnable = 0
2024-02-07 18:24:42 +07:00
; Enable Bad valentine, Feb 14 - 29
Var ProBadValentineEnable = 0
2024-02-14 12:18:29 +07:00
Var FromBadValentinePro = 0
2024-02-07 18:24:42 +07:00
; Enable Pepsi Second Cup 30, Mar 1 - 17, but get discount code only 4-8 and 11-15 Mar
Var PepsiSecondCup30Enable = 0
Var PepsiSecondCup30DiscountEnable = 0
Var FromPepsiSecondCup30 = 0
2024-03-29 15:53:59 +07:00
; Enable Lipit Promotion, 18 Mar - 5 Apr
2024-03-05 17:35:54 +07:00
Var LipitPro = 0
Var FromLipitPro = 0
2024-03-29 15:53:59 +07:00
Var LipitRewardOutOfStock = 0
2024-03-05 17:35:54 +07:00
; Enable Monday Banana Promotion, every Monday start 11 Mar - 19 Apr
Var MondayBananaPro = 0
Var FromMondayBananaPro = 0
; Enable Free Energy Drink, 18 Mar - 30 Apr
Var FreeEnergyDrink = 0
2024-03-08 14:32:03 +07:00
Var FromPowerUpPro = 0
Var FreePowerup = "Invisible"
2024-03-29 15:53:59 +07:00
; Enable Tea Time, 13 - 30 Apr
Var TeaTimePro = 0
Var FromTeaTimePro = 0
2024-03-29 15:53:59 +07:00
; Enable Free Fire, 1 - 30 Apr
Var FreeFirePro = 0
; Enable Energy Drink 1 Bath, 1 May - 31 May
Var EnergyDrink1BathPro = 0
Var FromEnergyDrink1BathPro = 0
; Enable Coffee Drink 1 Bath, 1 May - 31 May
Var CoffeeDrink1BathPro = 0
Var FromCoffeeDrink1BathPro = 0
2024-01-10 16:05:35 +07:00
Var NewCollectPoint = 1
2023-12-27 17:55:07 +07:00
2024-01-31 17:43:31 +07:00
Var NewFlowPaymentCode = 0
2024-03-19 10:29:21 +07:00
Var XMLLiveInfoEnable = 0
2023-08-26 22:38:07 +07:00
If SystemDateMonthInt = 10 Then
2023-09-04 12:42:31 +07:00
2023-09-26 08:37:28 +07:00
If SystemDateDayInt > 15 Then
2023-09-28 11:08:03 +07:00
Var PepweenEnable = 1
2023-09-26 08:37:28 +07:00
EndIf
2023-10-02 14:27:26 +07:00
If SystemDateDayInt >= 13 Then
If SystemDateDayInt <= 24 Then
Var MilkChoiceVeganEnable = 1
EndIf
EndIf
2023-08-26 22:38:07 +07:00
EndIf
2023-09-26 10:08:03 +07:00
2023-09-26 08:37:28 +07:00
If SystemDateMonthInt = 11 Then
2023-09-28 11:08:03 +07:00
Var PepweenEnable = 0
2023-10-27 09:46:44 +07:00
Var pro15THBEnable = 1
2023-10-14 09:04:22 +07:00
2023-08-26 22:38:07 +07:00
EndIf
2023-11-21 16:14:06 +07:00
If SystemDateMonthInt = 12 Then
Var MyMintEnable = 1
EndIf
2023-12-25 13:04:08 +07:00
If SystemDateMonthInt = 1 Then
If SystemDateDayInt < 15 Then
2023-12-20 12:00:40 +07:00
Var MyMintEnable = 1
EndIf
2024-01-16 15:39:07 +07:00
If SystemDateDayInt >= 22 Then
If SystemDateDayInt <= 26 Then
Var RerunProEnable = 1
Else
If SystemDateDayInt >= 29 Then
If SystemDateDayInt <= 31 Then
Var RerunProEnable = 1
EndIf
EndIf
EndIf
EndIf
2023-12-20 12:00:40 +07:00
EndIf
2023-09-26 08:37:28 +07:00
2024-01-29 12:01:55 +07:00
If SystemDateMonthInt = 2 Then
If SystemDateDayInt >= 1 Then
If SystemDateDayInt <= 13 Then
Var ProPeachEnable = 1
EndIf
EndIf
2024-02-07 18:24:42 +07:00
If SystemDateDayInt >= 14 Then
Var ProBadValentineEnable = 1
EndIf
2024-01-29 12:01:55 +07:00
EndIf
If SystemDateMonthInt = 3 Then
If SystemDateDayInt >= 1 Then
If SystemDateDayInt <= 17 Then
Var PepsiSecondCup30Enable = 1
If SystemDateDayInt >= 4 Then
If SystemDateDayInt <= 8 Then
Var PepsiSecondCup30DiscountEnable = 1
EndIf
EndIf
If SystemDateDayInt >= 11 Then
If SystemDateDayInt <= 15 Then
Var PepsiSecondCup30DiscountEnable = 1
EndIf
EndIf
EndIf
EndIf
2024-03-05 17:35:54 +07:00
If SystemDateDayInt = 11 Then
Var MondayBananaPro = 1
EndIf
If SystemDateDayInt = 18 Then
Var MondayBananaPro = 1
EndIf
If SystemDateDayInt = 25 Then
Var MondayBananaPro = 1
EndIf
2024-03-11 13:49:08 +07:00
If SystemDateDayInt >= 13 Then
Var FreeEnergyDrink = 1
EndIf
2024-03-05 17:35:54 +07:00
If SystemDateDayInt >= 18 Then
Var LipitPro = 1
EndIf
EndIf
If SystemDateMonthInt = 4 Then
Var FreeEnergyDrink = 1
2024-03-29 15:53:59 +07:00
Var FreeFirePro = 1
2024-03-05 17:35:54 +07:00
If SystemDateDayInt = 1 Then
Var MondayBananaPro = 1
EndIf
If SystemDateDayInt = 8 Then
Var MondayBananaPro = 1
EndIf
If SystemDateDayInt = 15 Then
Var MondayBananaPro = 1
EndIf
If SystemDateDayInt = 22 Then
Var MondayBananaPro = 1
EndIf
If SystemDateDayInt = 29 Then
Var MondayBananaPro = 1
EndIf
2024-03-12 10:57:26 +07:00
If SystemDateDayInt <= 5 Then
2024-03-05 17:35:54 +07:00
Var LipitPro = 1
EndIf
If SystemDateDayInt >= 8 Then
2024-03-29 15:53:59 +07:00
Var TeaTimePro = 1
EndIf
EndIf
If SystemDateMonthInt = 5 Then
If SystemDateDayInt <= 10 Then
Var TeaTimePro = 1
EndIf
STRCONTAIN "TaoBin_1_Baht_coffee" XMLProfile TaoBin_1_Baht_coffee
If TaoBin_1_Baht_coffee = "true" Then
Var CoffeeDrink1BathPro = 1
EndIf
STRCONTAIN "TaoBin_1_Baht_Energy" XMLProfile TaoBin_1_Baht_Energy
If TaoBin_1_Baht_Energy = "true" Then
Var EnergyDrink1BathPro = 1
EndIf
EndIf
2023-12-21 13:21:42 +07:00
2023-09-04 12:42:31 +07:00
2023-08-25 21:27:45 +07:00
If BoxID = 173149 Then
Var ProBadValentineEnable = 0
Var PepsiSecondCup30Enable = 1
Var PepsiSecondCup30DiscountEnable = 1
2024-01-31 17:43:31 +07:00
Var NewFlowPaymentCode = 1
2024-03-12 22:49:34 +07:00
Var EnableFreeEnergyDrink = "true"
2024-01-31 17:43:31 +07:00
EndIf
If BoxID = 200435 Then
Var ProBadValentineEnable = 0
Var PepsiSecondCup30Enable = 1
Var PepsiSecondCup30DiscountEnable = 1
2024-01-31 17:43:31 +07:00
Var NewFlowPaymentCode = 1
EndIf
2024-03-01 22:34:28 +07:00
If BoxID = 172644 Then
Var NewFlowPaymentCode = 1
2024-04-08 21:55:56 +07:00
Var LipitPro = 0
2024-04-05 12:53:33 +07:00
Var TeaTimePro = 1
2024-03-01 22:34:28 +07:00
EndIf
2024-01-31 17:43:31 +07:00
If BoxID = 201316 Then
Var ProPeachEnable = 1
Var NewFlowPaymentCode = 1
2023-08-17 17:13:11 +07:00
EndIf
2024-03-14 17:00:37 +07:00
If BoxID = 105005 Then
Var NewFlowPaymentCode = 1
EndIf
2024-01-16 15:39:07 +07:00
2024-03-24 14:37:28 +07:00
2024-03-11 20:14:40 +07:00
If BoxID = 173149 Then
Var ProBadValentineEnable = 0
Var PepsiSecondCup30Enable = 0
2024-04-05 12:53:33 +07:00
Var LipitPro = 0
Var TeaTimePro = 1
2024-03-28 22:03:49 +07:00
2024-03-08 18:50:31 +07:00
EndIf
2024-01-18 14:55:27 +07:00
2024-02-08 16:17:12 +07:00
2024-03-08 22:54:19 +07:00
If BoxID = 174758 Then
Var ProBadValentineEnable = 0
Var PepsiSecondCup30Enable = 0
Var PepsiSecondCup30DiscountEnable = 0
Var NewFlowPaymentCode = 0
2024-02-08 16:17:12 +07:00
EndIf
2024-03-24 14:37:28 +07:00
Var XMLLiveInfoEnable = 1
2024-02-08 16:17:12 +07:00
2024-03-28 22:03:49 +07:00
If BoxID = 172053 Then
2024-03-08 22:54:19 +07:00
Var ProBadValentineEnable = 0
Var PepsiSecondCup30Enable = 0
Var PepsiSecondCup30DiscountEnable = 0
Var NewFlowPaymentCode = 0
2024-03-28 22:03:49 +07:00
Var MondayBananaPro = 0
2024-04-05 12:53:33 +07:00
Var LipitPro = 0
2024-04-02 14:28:24 +07:00
Var FreeFirePro = 1
2024-04-05 17:15:02 +07:00
Var TeaTimePro = 1
2024-03-28 22:03:49 +07:00
Var FreeEnergyDrink = 0
2024-02-11 21:53:30 +07:00
EndIf
2024-03-24 14:37:28 +07:00
2024-03-08 22:54:19 +07:00
; Exclusive Box
2024-02-08 16:17:12 +07:00
2024-01-18 14:55:27 +07:00
2023-10-06 14:01:26 +07:00
Var GameEnableFromTrickerEv = 1
2023-08-30 10:58:25 +07:00
2023-09-19 10:35:50 +07:00
Var MayDayRunEnable = 0
2023-06-29 14:36:56 +07:00
2023-08-04 15:29:38 +07:00
If BoxID = 33170 Then
Var PepsiProEnable = 0
Var PepsiPromoteVideo = 0
Var PepsiProCodeEnable = 0
Var MysteryProEnable = 0
Var OreoWelcomeDrinkEnable = 0
2024-01-17 11:10:37 +07:00
Var RerunProEnable = 0
2023-08-04 15:29:38 +07:00
EndIf
2023-10-14 09:04:22 +07:00
; This var for overide video play when brew
2023-09-14 14:49:27 +07:00
Var adver_brewing_video_full_file_name = ""
2023-10-06 14:01:26 +07:00
2023-09-14 14:49:27 +07:00
2023-07-21 12:10:52 +07:00
2023-06-13 13:23:22 +07:00
If InternationalEnable = 1 Then
2023-10-02 14:27:26 +07:00
Var MilkChoiceVeganEnable = 0
2023-08-17 17:13:11 +07:00
Var GameEnableFromTrickerEv = 0
2023-08-25 21:27:45 +07:00
Var TamatianEnable = 0
Var MayDayRunEnable = 0
2023-08-17 17:13:11 +07:00
Var MomDayEnable = 0
2023-06-13 13:23:22 +07:00
Var PepsiProEnable = 0
Var PepsiPromoteVideo = 0
2023-06-16 15:33:37 +07:00
Var PepsiProCodeEnable = 0
2023-06-23 12:45:40 +07:00
Var MysteryProEnable = 0
2023-09-28 11:08:03 +07:00
Var PepweenEnable = 0
2024-01-16 15:39:07 +07:00
Var RerunProEnable = 0
2024-01-29 12:01:55 +07:00
Var ProPeachEnable = 0
2024-02-07 18:24:42 +07:00
Var ProBadValentineEnable = 0
Var FreeEnergyDrink = 0
2023-06-13 13:23:22 +07:00
EndIf
2024-03-12 12:29:14 +07:00
STRCONTAIN "taobin_nopro" XMLProfile taobin_nopro
If taobin_nopro = "true" Then
Var MilkChoiceVeganEnable = 0
Var GameEnableFromTrickerEv = 0
Var TamatianEnable = 0
Var MayDayRunEnable = 0
Var MomDayEnable = 0
Var PepsiProEnable = 0
Var PepsiPromoteVideo = 0
Var PepsiProCodeEnable = 0
Var MysteryProEnable = 0
Var PepweenEnable = 0
Var RerunProEnable = 0
Var ProPeachEnable = 0
Var ProBadValentineEnable = 0
Var FreeEnergyDrink = 0
Var MondayBananaPro = 0
2024-04-05 12:55:30 +07:00
Var FreeFirePro = 0
Var TeaTimePro = 0
2024-03-12 12:29:14 +07:00
Var EnergyDrink1BathPro = 0
Var CoffeeDrink1BathPro = 0
2024-03-12 12:29:14 +07:00
Var PepsiSecondCup30Enable = 0
Var PepsiSecondCup30DiscountEnable = 0
Var FromPepsiSecondCup30 = 0
2024-04-02 14:28:24 +07:00
Var LipitPro = 0
Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
2023-06-13 13:23:22 +07:00
EndIf
2024-02-11 21:53:30 +07:00
If BananaSyrupEnable = "true" Then
Else
Var ProBadValentineEnable = 0
Var MondayBananaPro = 0
2024-02-11 21:53:30 +07:00
EndIf
2023-06-13 13:23:22 +07:00
If PeachSyrupEnable = "true" Then
Else
Var ProPeachEnable = 0
EndIf
If EnergyDrinkEnable = "true" Then
Else
Var EnergyDrink1BathPro = 0
Var FreeEnergyDrink = 0
EndIf
2023-05-11 13:09:26 +07:00
2024-03-29 15:53:59 +07:00
If FreeFirePro = 1 Then
Var FreeFireMenuState1 = $12-99-03-0026.Button
Var FreeFireMenuState2 = $12-99-03-0067.Button
Var FreeFireMenuState3 = $12-99-03-0066.Button
Else
Var FreeFireMenuState1 = "Invisible"
Var FreeFireMenuState2 = "Invisible"
Var FreeFireMenuState3 = "Invisible"
EndIf
2024-03-24 14:37:28 +07:00
If LipitPro = 1 Then
2024-03-29 15:53:59 +07:00
READ_FILE "/mnt/sdcard/lipit_reward_out_of_stock" lipitOutOfStock
STRCONTAIN "1" lipitOutOfStock LipitOutOfStockContain
If LipitOutOfStockContain = "true" Then
Var LipitRewardOutOfStock = 1
EndIf
2024-03-24 14:37:28 +07:00
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event_pro1.mp4"
Var CountDownShowButton = 0
;Var MainPageEventWithTimeout = 25
Var ShowButtonClickFull = "Invisible"
Var img_rest_main_page = "ROOT/taobin_project/image/main_page/bn_main_page_start.png"
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page/bn_main_page_member.png"
Var img_reset_topup = "ROOT/taobin_project/image/main_page/bn_main_page_topup.png"
Var WebAppShow = "Invisible"
EndIf
2024-04-05 17:15:02 +07:00
Var CurrentMainVideoTemp = 0
2024-04-05 17:15:02 +07:00
If TeaTimePro = 1 Then
Var VideoMainPage = "ROOT/taobin_project/video/main_page_event_pro1.mp4"
Var CurrentMainVideoTemp = 1
2024-04-05 17:15:02 +07:00
Var CountDownShowButton = 0
;Var MainPageEventWithTimeout = 25
Var ShowButtonClickFull = "Invisible"
Var img_rest_main_page = "ROOT/taobin_project/image/main_page/bn_main_page_start.png"
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page/bn_main_page_member.png"
Var img_reset_topup = "ROOT/taobin_project/image/main_page/bn_main_page_topup.png"
Var WebAppShow = "Invisible"
EndIf
2024-03-24 14:37:28 +07:00
DEBUGVAR FreePowerup
2023-05-11 13:09:26 +07:00