DO
This commit is contained in:
parent
57b67e47f7
commit
e922411a85
7 changed files with 65 additions and 4 deletions
Binary file not shown.
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
; xml-internal-gen
|
||||||
<Popup>
|
<Popup>
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
|
|
|
||||||
46
menu/promotion_config.json
Normal file
46
menu/promotion_config.json
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
{
|
||||||
|
"recommendPath": "/sdcard/coffeevending/taobin_project/xmlgen/xml_out/page_catalog_group_recommend.xml",
|
||||||
|
"outDir": "/sdcard/coffeevending/taobin_project/xmlgen/",
|
||||||
|
"templates": [
|
||||||
|
{
|
||||||
|
"name": "promotion_pepsi",
|
||||||
|
"path": "/sdcard/coffeevending/taobin_project/xml/event/promotion_template1.inc",
|
||||||
|
"onclickFile": "/sdcard/coffeevending/taobin_project/xml/event/promotion_onclick1.inc",
|
||||||
|
"imagesTemplate": {
|
||||||
|
"normal_eng": "ROOT/taobin_project/image/event/welcomedrink_en.png",
|
||||||
|
"normal_thai": "ROOT/taobin_project/image/event/welcomedrink.png",
|
||||||
|
"press_eng": "ROOT/taobin_project/image/event/welcomedrink_en.png",
|
||||||
|
"press_thai": "ROOT/taobin_project/image/event/welcomedrink.png",
|
||||||
|
"disable_eng": "ROOT/taobin_project/image/event/welcomedrink_en.png",
|
||||||
|
"disable_thai": "ROOT/taobin_project/image/event/welcomedrink.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "promotion_pepsi_end",
|
||||||
|
"path": "/sdcard/coffeevending/taobin_project/xml/event/promotion_template2.inc",
|
||||||
|
"onclickFile": "/sdcard/coffeevending/taobin_project/xml/event/promotion_onclick2.inc",
|
||||||
|
"imagesTemplate": {
|
||||||
|
"normal_eng": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_en.png",
|
||||||
|
"normal_thai": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_th.png",
|
||||||
|
"press_eng": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_en.png",
|
||||||
|
"press_thai": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_th.png",
|
||||||
|
"disable_eng": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_en.png",
|
||||||
|
"disable_thai": "ROOT/taobin_project/image/event/bn_pepsi_buy2_save_move_end_th.png"
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "promotion_mystery_cup_35",
|
||||||
|
"path": "/sdcard/coffeevending/taobin_project/xml/event/promotion_template3.inc",
|
||||||
|
"onclickFile": "/sdcard/coffeevending/taobin_project/xml/event/promotion_onclick3.inc",
|
||||||
|
"imagesTemplate": {
|
||||||
|
"normal_eng": "ROOT/taobin_project/image/event/pro_mystery_cup_en.png",
|
||||||
|
"normal_thai": "ROOT/taobin_project/image/event/pro_mystery_cup_th.png",
|
||||||
|
"press_eng": "ROOT/taobin_project/image/event/pro_mystery_cup_en.png",
|
||||||
|
"press_thai": "ROOT/taobin_project/image/event/pro_mystery_cup_th.png",
|
||||||
|
"disable_eng": "ROOT/taobin_project/image/event/pro_mystery_cup_en.png",
|
||||||
|
"disable_thai": "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -429,6 +429,9 @@
|
||||||
Var game_mode_enable = "false"
|
Var game_mode_enable = "false"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR GameEnableFromTrickerEv
|
||||||
|
DEBUGVAR GameOverrideDisable
|
||||||
|
|
||||||
DEBUGVAR Seeker
|
DEBUGVAR Seeker
|
||||||
If game_mode_enable = "true" Then
|
If game_mode_enable = "true" Then
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,10 @@
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
||||||
|
If GotoStoreCredit0 = 1 Then
|
||||||
|
RootLayoutVisible 3 "hide"
|
||||||
|
Open "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var Timeout3 = Timeout3 + 1
|
Var Timeout3 = Timeout3 + 1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,14 @@ If Seeker = "curr" Then
|
||||||
DEBUGVAR CountUpPlayMayDay
|
DEBUGVAR CountUpPlayMayDay
|
||||||
If CountUpPlayMayDay > 3 Then
|
If CountUpPlayMayDay > 3 Then
|
||||||
Var CountUpPlayMayDay = 0
|
Var CountUpPlayMayDay = 0
|
||||||
Var VideoFileNameInstance3 = "ROOT/taobin_project/video/event_1.mp4"
|
|
||||||
OpenInst 3 "ROOT/taobin_project/xml/sometime/page_play_may_day_delay.xml"
|
GetFileSizeK "taobin_project/video/event_1.mp4" MainfileSize
|
||||||
|
DEBUGVAR MainfileSize
|
||||||
|
|
||||||
|
If MainfileSize = 2201678 Then
|
||||||
|
Var VideoFileNameInstance3 = "ROOT/taobin_project/video/event_1.mp4"
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/sometime/page_play_may_day_delay.xml"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,8 @@
|
||||||
Var RandomPromotionMyworld = 0
|
Var RandomPromotionMyworld = 0
|
||||||
Var RandomSalePackage = 0
|
Var RandomSalePackage = 0
|
||||||
|
|
||||||
Var XMLPageVersion = "7.57"
|
Var XMLPageVersion = "7.58"
|
||||||
Var XMLPageVersionInt = 757
|
Var XMLPageVersionInt = 758
|
||||||
;Oreo
|
;Oreo
|
||||||
Var OreoGuarantee = 0
|
Var OreoGuarantee = 0
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue