Add BOX_ID to game and profile AllPrice05 AllPrice10

This commit is contained in:
wanlop run 2024-02-05 21:48:02 +07:00
parent 5e71999d0d
commit 39c23f18f0
15 changed files with 76 additions and 67 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -530,8 +530,8 @@ Name=Rerun,file=page_catalog_group_pro_rerun.skt
ดิน 7 ป่าช้า 7 Haunted Woods เป๊ปซี่ นม และโอริโอ้ Pepsi, Milk, Oreo and Ice - - 12-99-03-0066 bn_haunted_woods_rerun.png - - - posi1
Name=Peach,file=page_catalog_group_pro_peach.skt
พีชเทลมีเลิฟ PEACH Tell me love กาแฟ น้ำ และ น้ำเชื่อมพีช Espresso, Peach Syrup,\nSugar, Water 12-01-01-0059 12-01-02-0059 - bn_hot_americano_peach.png - - - posi1
พีชบีมายด์ลาสท์เลิฟ PEACH be\nmy last love กาแฟ น้ำ นม และ น้ำเชื่อมพีช Espresso, Peach Syrup,\nSugar, Milk 12-01-01-0060 12-01-02-0060 12-01-03-0060 bn_hot_peach_latte.png - - - posi1
พีชเทลมีเลิฟ PEACH Tell me love กาแฟ น้ำ และ น้ำเชื่อมพีช Espresso, Peach Syrup,\nSugar, Water 12-01-01-0059 12-01-02-0059 - bn_hot_americano_peach.png 12-21-01-0059 12-21-02-0059 - posi1
พีชบีมายด์ลาสท์เลิฟ PEACH be\nmy last love กาแฟ น้ำ นม และ น้ำเชื่อมพีช Espresso, Peach Syrup,\nSugar, Milk 12-01-01-0060 12-01-02-0060 12-01-03-0060 bn_hot_peach_latte.png 12-21-01-0060 12-21-02-0060 12-21-03-0060 posi1
พีชสเตย์บายมายไซด์ PEACH, stay by\nmy side น้ำเชื่อมพีช ชาไทย และน้ำ Peach syrup, Thai tea,\nWater 12-02-01-0051 12-02-02-0051 12-02-03-0051 bn_hot_peach_tea.png - - - posi1
พีชโกรโอลด์วิทมี PEACH grow old with me น้ำเชื่อมพีช ชามะลิ และน้ำ Peach syrup, Jasmine tea,\nWater - 12-02-02-0052 - bn_hot_peach_jasmine_tea.png - - - posi1
แคนยูพีชเลิฟมีทู Can you PEACH\nlove me too น้ำเชื่อมพีช นม และน้ำ Peach syrup, Milk,\nWater 12-03-01-0038 12-03-02-0038 12-03-03-0038 bn_peach_Milk.png - - - posi1
@ -555,17 +555,17 @@ Name=BadValentine,file=page_catalog_group_pro_bad_valentine.skt
ถ้าแชทหนักขวาเป็นกีฬา เราคงได้เหรียญทองไปแล้ว Chatting's our sport, gold in the "No Reply" event. น้ำเชื่อมกล้วย เต่าทรงพลัง \n(มีคาเฟอีน) Banana Syrup, Medicine drink, Soda and Ice - 12-05-02-0078 - bn_iced_peach_soda.png - - - posi1
Name=Lip It
น้ำเชื่อมคาราเมล น้ำเชื่อมบ๊วย นมและน้ำแข็ง Caramel Syrup, Plum Syrup, Milk and Ice - - 12-03-03-0046
น้ำเชื่อมคาราเมล น้ำเชื่อมสตรอเบอร์รี่ นมและน้ำแข็ง Straw Syrup, Caramel Syrup, Milk and Ice - - 12-03-03-0047
น้ำเชื่อมยูซุ ชามะลิ เป๊ปซี่ และโซดา Pepsi, Jasmine Tea, Yuzu Syrup, Soda and Ice - 12-05-02-0079 -
น้ำเชื่อมสตรอเบอร์รี่ น้ำเชื่อมกล้วย โกโก้ นมและน้ำแข็ง Cocoa, Straw Syrup, Banana Syrup, Milk and Ice - 12-03-02-0040 -
น้ำเชื่อมสตรอเบอร์รี่ น้ำเชื่อมยูซุ น้ำและน้ำแข็ง Strawberry Syrup, Yuzu Syrup, \nWater - - 12-05-03-0063
น้ำเชื่อมลิ้นจี่ น้ำเชื่อมสละ น้ำและน้ำแข็ง Lychee Syrup, Salak Syrup, \nWater - 12-05-02-0080 -
น้ำเชื่อมลิ้ิ้นจี่ ชามะลิ น้ำและน้ำแข็ง Lychee Syrup, Jasmine Tea \nWater - - 12-02-03-0053
น้ำเชื่อมคาราเมล น้ำเชื่อมมินต์ นมและน้ำแข็ง Mint Syrup, Caramel Syrup, Milk and Ice - 12-03-02-0041 -
น้ำเชื่อมสตรอเบอร์รี่ น้ำเชื่อมลิ้นจี่ ชาไทย และน้ำแข็ง Straw Syrup, lychee Syrup, thai Tea \nWater - 12-02-02-0056 -
น้ำเชื่อมสตรอเบอร์รี่ น้ำเชื่อมลิ้นจี่ น้ำและน้ำแข็ง Straw Syrup, lychee Syrup, \nWater - - 12-05-03-0064

Can't render this file because it has a wrong number of fields in line 3.

View file

@ -456,7 +456,7 @@
800319 Have cup มีแก้ว Have cup
800320 Bill Count. จำนวนแบงค์ Bill Count.
800321 Coin Count. จำนวนเหรียญ Coin Count.
800322 Have you collect of coins and bills? เก็บเรียญและแบงค์หมดหรือยังครับ? Have you collect of coins and bills?
800322 Have you collect of coins and bills? เก็บเรียญและแบงค์หมดหรือยังครับ? Have you collect of coins and bills?
800323 Exit? "ต้องการออก?" Exit?
800324 Overall. รวมทั้งหมด Overall.
800325 Overall Coin Change. รวมเงินทอน Overall Coin Change.

Can't render this file because it has a wrong number of fields in line 21.

View file

@ -180,5 +180,11 @@ If InternationalEnable = 1 Then
EndIf
If PeachSyrupEnable = "true" Then
Else
Var ProPeachEnable = 0
EndIf

View file

@ -221,6 +221,8 @@
STRCONTAIN "1068" MaterialAvailable JasmineTeaEnable
STRCONTAIN "1210" MaterialAvailable MelonSyrupEnable
STRCONTAIN "1212" MaterialAvailable MintSyrupEnable
STRCONTAIN "1213" MaterialAvailable PeachSyrupEnable
Var MenuKidEnable = "false"
@ -763,9 +765,6 @@
Var WebAppShow = "Invisible"
EnableLanguage "ENG"
;EnableLanguage "THAI"
;EnableLanguage "CHINA"
;EnableLanguage "JAPAN"
EnableLanguage "MALAY"
SetLanguage "MALAY"
LanguageControl "UpdateList" "-"
@ -1051,7 +1050,8 @@
</EventOpen>
<EventUnitTest1>
Var NoWaitMachineEnable = 1
Var XMLProfile = "AllPrice05"
Open CurrentXMLFileName0
</EventUnitTest1>
<EventUnitTest2>
@ -1080,17 +1080,13 @@
</EventUnitTest2>
<EventUnitTest3>
Var NoWaitMachineEnable = 0
Var XMLProfile = "AllPrice10"
Open CurrentXMLFileName0
</EventUnitTest3>
<EventUnitTest4>
STRCONTAIN "SugarBreak-y18IDCard" XMLProfile UnitTestProfile
If UnitTestProfile = "true" Then
Var XMLProfile = "standard"
Else
Var XMLProfile = "SugarBreak-y18IDCard"
EndIf
Var XMLProfile = "Discount50"
Open CurrentXMLFileName0
</EventUnitTest4>
<Timeout> 1000 </Timeout>
@ -1108,31 +1104,6 @@
If Discount50 = "true" Then
Var HalfPrice = "true"
If InvokeDiscountCMD = "" Then
__CMD "invoke-discount-50" "-" "-" "-"
Var InvokeDiscountCMD = "true"
Else
; DEBUGVAR InvokeDiscountCMD
EndIf
Else
Var HalfPrice = "false"
If InvokeDiscountCMD = "true" Then
__CMD "invoke-discount-disable" "-" "-" "-"
EndIf
; DEBUGVAR Discount50
EndIf
; DEBUGVAR EnableLiveness
; DEBUGVAR Only18
; DEBUGVAR NoSugarStepRight2
; DEBUGVAR HalfPrice
DEBUGVAR WebAppShow
If IgnoreNetCore = "true" Then
Else
@ -1291,7 +1262,7 @@
DEBUGVAR MachineStage
;DEBUGVAR MachineStage
;SAVELOG CountDownShowButton
;SAVELOG ShowButtonClickFull
@ -1316,13 +1287,7 @@
If CountDownPauseVideo = 1 Then
If InvokeDiscountCMD = "true" Then
If JXMLVersionInt > 451 Then
TapScreen 30 638
EndIf
EndIf
TapScreen 30 638
EndIf
If CountDownPauseVideo = 0 Then

View file

@ -499,10 +499,14 @@
Var LangString = "LANG: &#34TH&#34\r\n"
EndIf
Var BoxIDString !assigned SprintFmt("BOX_ID: &#34%s&#34\r\n", BoxID)
; reset
WRITE_FILE "/mnt/sdcard/taobingame_acc.yaml" ""
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" ACCString
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" LangString
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" BoxIDString
;
Var Game01Enable = 1
@ -521,10 +525,14 @@
Var LangString = "LANG: &#34TH&#34\r\n"
EndIf
Var BoxIDString !assigned SprintFmt("BOX_ID: &#34%s&#34\r\n", BoxID)
; reset
WRITE_FILE "/mnt/sdcard/taobingame_acc.yaml" ""
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" ACCString
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" LangString
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" BoxIDString
;
Var Game01Enable = 1

View file

@ -51,8 +51,7 @@
EndIf
Else
Var MachineErrorDetailAll = MachineErrorDetail + " / "
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
Var MachineErrorDetailAll = MachineErrorDetailEng
If textStep > 3 Then

View file

@ -25,9 +25,12 @@
STRCONTAIN "y20IDCard" XMLProfileFromJson Y20IDCARD_ENABLE
STRCONTAIN "SugarBreak" XMLProfileFromJson SugarBreakEnable
STRCONTAIN "Discount50" XMLProfileFromJson Discount50
STRCONTAIN "ClossMenu" XMLProfileFromJson ClossMenu
STRCONTAIN "AllPrice05" XMLProfile AllPrice05
STRCONTAIN "AllPrice10" XMLProfile AllPrice10
DEBUGVAR EnableLiveness
DEBUGVAR Only18
@ -65,13 +68,35 @@
Var NoSugarStepRight2 = "false"
EndIf
; flag for apply all menu.
Var price_apply = 0
If Discount50 = "true" Then
Var HalfPrice = "true"
Var InvokeDiscountCMD = "true"
DEBUGVAR InvokeDiscountCMD
Var price_apply = 1
__CMD "invoke-discount-50" "-" "-" "-"
Else
Var HalfPrice = "false"
DEBUGVAR Discount50
EndIf
If AllPrice05 = "true" Then
Var price_apply = 2
__CMD "invoke-all-price-5" "-" "-" "-"
EndIf
If AllPrice10 = "true" Then
Var price_apply = 3
__CMD "invoke-all-price-10" "-" "-" "-"
EndIf
If price_apply = 0 Then
Var HalfPrice = "false"
DEBUGVAR Discount50
__CMD "invoke-discount-disable" "-" "-" "-"
__CMD "cancel-override-price" "-" "-" "-"
EndIf

View file

@ -728,10 +728,16 @@
Var LangString = "LANG: &#34EN&#34\r\n"
EndIf
Var BoxIDString !assigned SprintFmt("BOX_ID: &#34%s&#34\r\n", BoxID)
; reset
WRITE_FILE "/mnt/sdcard/taobingame_acc.yaml" ""
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" ACCString
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" LangString
APPEND_FILE "/mnt/sdcard/taobingame_acc.yaml" BoxIDString
DEBUGVAR LangString