[Achaea] Roulette Counter

Share your scripts and packages with other Mudlet users.
Xith
Posts: 15
Joined: Sat Aug 20, 2011 10:17 am

[Achaea] Roulette Counter

Post by Xith »

Not many improvements that I feel like adding, but it serves its purpose fully.
The important part is the skin, I think. Not the underlying skeleton. And it sure is purdy.

However, if you're a good scripter and you want a laugh, do take a look at the RSHOW alias :P Cause I'm not good.

Here's the 'rshow' in action. After a session of just over 300 spins.
I started with 3000 and ended with 19000 gold.
Attachments
aRSHOW.tiff
aRSHOW.tiff (17.28 KiB) Viewed 8866 times
RouletteCounter.zip
(3.23 KiB) Downloaded 568 times

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: [Achaea] Roulette Counter

Post by Vadi »

Can you use .jpg or .png for images? Chrome doesn't display .tiffs :|

Xith
Posts: 15
Joined: Sat Aug 20, 2011 10:17 am

Re: [Achaea] Roulette Counter

Post by Xith »

I tried jpg with the cwho classes and it said it wanted tiff. And just tried png also. Only tiff :/

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: [Achaea] Roulette Counter

Post by Vadi »

I'm not sure what do you mean? The forum accepts png's and jpg's.

Orlendr
Posts: 71
Joined: Thu May 12, 2011 11:04 pm

Re: [Achaea] Roulette Counter

Post by Orlendr »

I dont get it, what does it do? (I dont play roullete but it seems popular, along with blackjack)

Xith
Posts: 15
Joined: Sat Aug 20, 2011 10:17 am

Re: [Achaea] Roulette Counter

Post by Xith »

When I upload an attachment to the post, it says it wants .tif

And it keeps track of every spin so you can see how many times each number has hit. Useful when you want to only bet on one number and win big.

Orlendr
Posts: 71
Joined: Thu May 12, 2011 11:04 pm

Re: [Achaea] Roulette Counter

Post by Orlendr »

I still dont get it... And it doesnt seem to be working, though I havent played any Roulette yet...

Titonus
Posts: 10
Joined: Sat Sep 10, 2011 6:41 am

Re: [Achaea] Roulette Counter

Post by Titonus »


0-(5) 00-(5)

t1-(53) t2-(32) t3-(35)
------ ------ ------

q1-(36) q2-(33) q3-(24) q4-(27)
------ ------ ------ ------
01-(2) 10-(4) 19-(1) 28-(1)
02-(3) 11-(4) 20-(3) 29-(3)
03-(2) 12-(9) 21-(3) 30-(3)
04-(3) 13-(1) 22-(3) 31-(0)
05-(4) 14-(3) 23-(4) 32-(6)
06-(8) 15-(4) 24-(2) 33-(3)
07-(8) 16-(5) 25-(1) 34-(3)
08-(5) 17-(0) 26-(2) 35-(5)
09-(1) 18-(3) 27-(5) 36-(3)

red-(
I did not cut anything out. There is nothing displayed after the "red-(" line.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: [Achaea] Roulette Counter

Post by Vadi »

Post the error that happens when you run that, it's in the errors view

Titonus
Posts: 10
Joined: Sat Sep 10, 2011 6:41 am

Re: [Achaea] Roulette Counter

Post by Titonus »

Trigger name=ball finally settles(^The ball finally settles down on (.*) \((\w+)\)) matched.
capture group #1 = <The ball finally settles down on 12 (red)>
capture group #2 = <12>
capture group #3 = <red>

selectSection(33,2): line under current user cursor: The ball finally settles down on 12 (red).
P_begin(33/1855), P_end(35/1855) selectedText = 12

selectSection(37,3): line under current user cursor: The ball finally settles down on 12 (red).
P_begin(37/1855), P_end(40/1855) selectedText = red
LUA: ERROR running script ball finally settles (Trigger1687) ERROR:[string "function Trigger1687()..
."]:86: attempt to perform arithmetic on global 'roulettered' (a nil value)new line arrived:5015h,
2590m, 19900e, 10900w cexkdb-
Trigger name=ball finally settles(^The ball finally settles down on (00)\.$) matched.
capture group #1 = <The ball finally settles down on 00.>
capture group #2 = <00>

selectSection(33,2): line under current user cursor: The ball finally settles down on 00.
P_begin(33/2204), P_end(35/2204) selectedText = 00
LUA: ERROR running script ball finally settles (Trigger1687) ERROR:[string "function Trigger1687()..
."]:7: attempt to perform arithmetic on global 'roulettegreen' (a nil value)new line arrived:5015h,
2590m, 19900e, 10900w cexkdb-
I think that might have something to do with it.
Alias name=showroulette(^(showroulette|show roulette|roulettehistory|showr|rshow)$) matched.
Alias: capture group #1 = <rshow>
Alias: capture group #2 = <rshow>
LUA: ERROR running script showroulette (Alias179) ERROR:Echo: wrong argument typenew line

Post Reply