spiral makedrink2

This commit is contained in:
worawut 2022-11-16 15:02:31 +07:00
parent f0b89e646d
commit be4b1f8111
3 changed files with 17 additions and 5 deletions

View file

@ -10,6 +10,12 @@
Var GotoStoreCredit0 = 0
Var LastMakeSpiralResult = 0
Var MachineSpiralStage = ""
If SellLeaw = 0 Then
SPIRAL_SELL ServiceCredit SpiralRef
Var TestSellSpiral = 1
DEBUGVAR TestSellSpiral
Var SellLeaw = 1
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>

View file

@ -6,7 +6,7 @@
<Volume> SoundVolume </Volume>
<Sound> PlaySoundLag </Sound>
<EventOpen>
Var SellLeaw = 0
DEBUGVAR QRCODETMP
DEBUGVAR IsSmoRet

View file

@ -81,8 +81,14 @@
Var VendingCampaign = Seeker.VendingCampaign
;SendSpiralResult = spiral-success , spiral-failed , spiral-valid , spiral-invalid
SPIRAL_SELL ServiceCredit SpiralRef
If SellLeaw = 1 Then
Refresh
Else
SPIRAL_SELL ServiceCredit SpiralRef
Var TestSellSpiral = 2
DEBUGVAR TestSellSpiral
Var SellLeaw = 1
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -416,9 +422,9 @@
; EndIf
;EndIf
If Timeout > 210 Then
If Timeout > 180 Then
Var LastMakeSpiralResult = 2
SAVELOG "Spiral Timeout 210 sec"
SAVELOG "Spiral Timeout 180 sec"
Open "ROOT/taobin_project/spiral/xml/page_spiral_fail.xml"
EndIf