RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

CEOTurboSlots V1.0

dracana

Sorceror
Three cheers for CEO!

This is so sweet. I just got done building a casino with miner madness slots, now I am redoing it with these.

Thanks CEO for this wonderful post!
 

Novafire

Wanderer
:p

Very nice script!

Couldn't stop laughing, it's just like the real thing. :D

Awesome stuff. Definately worth 5 stars! ;)
 

Pyro-Tech

Knight
hehe...one of my players found this thread and was looking at it

can we officially say i was busted?? :eek:

lol

have had a good amount taken out though....it is rather hilarrious when i am on my admin, and see someone playing one of the classics that is random, and is currently on casino cheats....i feel sorry for them in a way, but then again...
 

TracerGod

Sorceror
You released it! Must of been a christmas present for everyone from CEO. :)

As one of the addicts of turbo slots, if you run a casino on your shard these are simply a must.
They are a very good goldsink as well, I decline to mention the amount of money I have lost on these badboys. :D
 

CEO

Sorceror
TracerGod said:
You released it! Must of been a christmas present for everyone from CEO. :)

As one of the addicts of turbo slots, if you run a casino on your shard these are simply a must.
They are a very good goldsink as well, I decline to mention the amount of money I have lost on these badboys. :D
Hehe, yep. I'm sure you and others have already peeked at the code to figure out the luck stuff/requirements I've hinted at a few times. lol... :) I thought about accumulating individual losses, but the total overall amounts are probably the most usefull. Over 350mil gambled on Alexandria so far, with the slots returning about 94.4%.. You figure it out. :) A nice economy equalizer!
 

Liam

Sorceror
Question on "Last Jackpot won by..."

Incredible system CEO, thank you for releasing it!

Seems a few became addicted to it over the last several days hehe

I do have a question about how it keeps track of jackpot winners. It says "Last Jackpot won by Liam" Date: 12/23/05 12:00 pm Amount: 10,000 for example. I watched my wife win 10000 today. However it still says that the other player won on 12/23/05. (I used my name above instead of the player's name) Anyway, someone won 10k on the 23rd, someone else won 10k on the 26th yet it doesn't update the most recent jackpot winner. So far, it is the same for several of the slot machines; they have the 23rd as the date yet I know several have won since then. The only ones that I have seen change are when someone wins a higher amount than the previous jackpot.

Did I overlook a setting or is there something I could do to change this?

Thanks again CEO :)
 

CEO

Sorceror
Yeah, I noticed that while coding the same stuff for Keno. It'll always replace the jackpot winner if it's the top payline, but if the jackpot is a lower one it only records it if its greater then the current one or the current one is older then 30 days (to recycle the list so the same person isn't there for ages). If you want to change that behavior do the follow fix.

In :

Code:
private void UpdateLastWonBy(Mobile m, int r1index, int jackpotamount)

Change the compare line to:

Code:
if (m_LastWonAmount <= jackpotamount || r1index == 0 || TimeSpan.FromDays(30) < timespan)

It probably should update like you've suggested. I've changed my version to reflect that. I'll update the archive as well. Thanks for the report.

Edit: Updated to 1.0a to reflect above change. Only turboslot1.zip needs to be downloaded.
 

Liam

Sorceror
CEO said:
Yeah, I noticed that while coding the same stuff for Keno. It'll always replace the jackpot winner if it's the top payline, but if the jackpot is a lower one it only records it if its greater then the current one or the current one is older then 30 days (to recycle the list so the same person isn't there for ages). If you want to change that behavior do the follow fix.

In :

Code:
private void UpdateLastWonBy(Mobile m, int r1index, int jackpotamount)

Change the compare line to:

Code:
if (m_LastWonAmount <= jackpotamount || r1index == 0 || TimeSpan.FromDays(30) < timespan)

It probably should update like you've suggested. I've changed my version to reflect that. I'll update the archive as well. Thanks for the report.

Edit: Updated to 1.0a to reflect above change. Only turboslot1.zip needs to be downloaded.
Great! Thank you. Glad it wasn't something I did or didn't do. :)

Looking forward to your Keno addition. I think I saw poker or blackjack somewhere so there may be enough for an actual casino after all :) Thanks again for the system and the fix.
 

Liam

Sorceror
Question about cashing out...

CEO,

I have a char on an an account (Non GM account) that was playing the slots. Every single time it cashed my check, then issued a check. Basically, every spin I make with this char has it cashing the check, spinning, giving me a check. Do you have any suggestions as to how I can fix this? Thanks for your time!
 

CEO

Sorceror
Liam said:
CEO,

I have a char on an an account (Non GM account) that was playing the slots. Every single time it cashed my check, then issued a check. Basically, every spin I make with this char has it cashing the check, spinning, giving me a check. Do you have any suggestions as to how I can fix this? Thanks for your time!
There are 3 property values that control the credit limits/ATM attributes of the machine. See the first post. If the check value is greater then CreditCashOutAt it'll do that. Either use smaller checks or increase the limits of the machine.
 

Liam

Sorceror
CEO said:
There are 3 property values that control the credit limits/ATM attributes of the machine. See the first post. If the check value is greater then CreditCashOutAt it'll do that. Either use smaller checks or increase the limits of the machine.
I did see that but didn't realize GM's were "immune" to that. I thought it would apply to all who played, thus my confusion. Ok, will set it a bit higher. Thank you for such a quick response!! :)
 

joshw

Sorceror
Just an idea CEO but I know for some of my old slot machines with bonus rounds i have things such as potted plants and mini house deeds as rewards jus some small things you might wanna add if not thats cool just giving options since potted plants and mini house deeds thgere really isnt a way to distrute them so thought that would be a cool way to do it.

also maybe a video poker machine with 5 reels or a yatzee machine with five slots since dice graphics are already in the game just throwing some ideas at you

as far as the system very well done and I comend you on your work nice to see something fresh and new well kinda at least new as in a good solid system on old ideas that works great :D

oh wait another idea Wack mole for a bonus round use the gopher mound static tile as choices lol ok ill stop now
 

Tintamar

Sorceror
Someone hit a jackpot of 500k on my shard last night and didnt recieve a member ship card for it. I have the MembershipCard set to True so it should of gave one. The machine was set to a progressive jackpot linked to 1 other machine. Is this a bug or does it not give a membership card for progressive machines?

Nice work on these, I put them up last night, gave everyone that was on a casino token for some free spins (First hits free) and they were hooked, people played hours on end including myself lol
 

Liam

Sorceror
Tintamar said:
Someone hit a jackpot of 500k on my shard last night and didnt recieve a member ship card for it. I have the MembershipCard set to True so it should of gave one. The machine was set to a progressive jackpot linked to 1 other machine. Is this a bug or does it not give a membership card for progressive machines?

Nice work on these, I put them up last night, gave everyone that was on a casino token for some free spins (First hits free) and they were hooked, people played hours on end including myself lol
In the description it says that it will issue a card for winners over 500K.

* MembershipCard(True):Issues a Casino membership card to jackpot winners over 500k.
* See CardClubOnly above. Also makes for a useful "bragging" trophy.

I am not sure but am thinking that since it wasn't over 500k that may be the reason?
 

CEO

Sorceror
Tintamar said:
no I checked that and it is set to give card if jackpot won > 499999
What slot/theme? It has to be over 500k AND the top level jackpot. Are you sure it was both? It doesn't matter if it's progressive or not, it'll count whatever the top level jackpot amount is including the progressive amount towards the total requirement towards issuing a card.
 

Tintamar

Sorceror
CEO said:
What slot/theme? It has to be over 500k AND the top level jackpot. Are you sure it was both? It doesn't matter if it's progressive or not, it'll count whatever the top level jackpot amount is including the progressive amount towards the total requirement towards issuing a card.

Ahhh
Yeah it was Miner madness she won the 500k not the top Jackpot That clears up my confusion thanks :)

I have another question
I noticed I couldnt set the slots over 100gp per roll so I found the line
private int m_MaxRoll = 100;
If I change that its not going to conflict with any of the code is it?
 

CEO

Sorceror
m_MaxRoll is not the right variable, that is for the distribution tables.

Sheesh, you really want to suck people dry? :eek: You realize the jackpot amounts will go really high as well as they are proportional to the cost of the slot, right? I can't think of a reason anyone would really want to dump 1k at a time into a slot either, 100 seemed a reasonable max.

Anyways, if you really want to do that you can change the max cost of the slot by modifing the [command property] Cost. Changing that will allow you to go over 100 without any side effects.

Code:
        [CommandProperty(AccessLevel.GameMaster)]
        public int Cost
        {
            get { return m_Cost; }

            set
            {
                if (value < 5)
                    m_Cost = 5;
                else if (value > [B]100[/B])
                    m_Cost = [B]100[/B];
                else
                    m_Cost = value;
            }
        }
 
Top