[CD3.55] LottoSystem

Ashran

Golden Oldie
Golden Oldie
Dec 11, 2007
611
9
125
Palma, Mallorca
Hi!

We're trying to put in the Lotto System but, it doesn't work.

Code:
[@LottoSystem_LottoItemClick]
{
#ACT
SetItemEvent 61 2 @LottoSystemItemClick

[@LottoSystemItemClick]
#IF
!Equal A9 "ÐÒÔ˲ÊƱ"
#ACT
break

#IF
#ACT
[B][COLOR=#ff0000]Mov D0 %P9[/COLOR][/B]
ReadValueSql "TBL_LottoServer" "FLD_Name='Current'" "FLD_Sequence" @LottoSystemItemClick_Main

The line marked in red fails: there's nothing in D0. It was supposed to store... What? Item's Make ID?

Well, any help is appreciated.

Thanks guys!
 

Yolom

LOMCN Veteran
Veteran
Aug 7, 2010
325
21
45
Spain
In theory, I have it and it works well.
You can check this:

Code:
[@LottoSystem_LottoItemClick]
{
#ACT
SetItemEvent 61 2 @LottoSystemItemClick

[@LottoSystemItemClick]
#IF
!Equal A9 [COLOR="#008000"]"Nombre de ticket"[/COLOR]
#ACT
break

#IF
#ACT
Mov D0 %P9
ReadValueSql "TBL_LottoServer" "FLD_Name='Current'" "FLD_Sequence" @LottoSystemItemClick_Main

----------------------------------------------------------
=================================
----------------------------------------------------------
En teoria lo tengo tal cual y funciona. Intenta poner el nombre de tiquet en la area verde.

y la variable D0 %P, supongo que lo que hace es guardar el log de la loteria.
 
Upvote 0

Yolom

LOMCN Veteran
Veteran
Aug 7, 2010
325
21
45
Spain
soz my fault.

In theory I have it as is and works. Try to put the ticket name in green area.

and the variable D0 %P, I guess it does is save the log of the lottery.
 
Upvote 0