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!

Slot Machine

Zulu

Wanderer
Slot Machine 02/24

Summary:
We have been running this slotmachine on our shard for a couple of weeks. This version is cleaned up, removed a bunch of the images and balanced the odds so players could win more often.

If you get 3 magic hats, then you get a magic show bonus. You can win a bunch of different items and cash.

This is based on actual Las Vegas algorithms and the jackpot, can't be won multi-times a day.

This is based on a partially working script that was posted to this forum, I have lost the person's name who posted it.

*****
Coders
*****
Please becareful when editing the script, the modifier is adjustable (32,64,128,256,512), but you need ot change the virtual wheel locations or you will get errors.

******
Updates
******
This version does not support the custom verdata graphics. I will release another version when this had been tested for a few more weeks.

Description:


Installation:
Download and copy to your custom folder.
 

Attachments

  • SlotMachine.zip
    4.2 KB · Views: 1,995

Ravenal

Knight
nice thank you for sharing :D i love gamber system but i got 1 question, why are there 6 warnings coming up every time i get errors?
 

Zulu

Wanderer
awakenlands said:
nice thank you for sharing :D i love gambler system but i got 1 question, why are there 6 warnings coming up every time i get errors?

The reason you get errors on the gambler system: It's the way I made the custom card bool. The warnings will not cause any problems and in the new version of gambler that is fixed.
 

Ravenal

Knight
Zulu said:
The reason you get errors on the gambler system: It's the way I made the custom card bool. The warnings will not cause any problems and in the new version of gambler that is fixed.

*sigh* is it submitted? If so I'll search :p
 

Zulu

Wanderer
Thiago X said:
A Little bug: you can open the gump and go play anywhere...

I have fixed the zip file, but here is the change...

at line 120 add
if ( !from.InRange( machine.Location, 4 ) )
return;

after
if (!from.Alive)
return;

*******************
should look like

if (!from.Alive)
return;

if ( !from.InRange( machine.Location, 4 ) )
return;
 

TomC

Wanderer
Zulu,

Looking good, but I never seem to win. I get lots of doubles, but it never pays me 1000 gold, per:

Match any two:
1 Thousand Gold
 

TomC

Wanderer
Just a heads up on this one. There doesn't seem to be any consistency on when I win or not.

For example, one time I got

blue potion/red potion/blue potion

Won nothing, another time I got it I won 2500.

Another time I got blue pot/ blue pot/ blue pot and I got 2500.

Weird...


TomC
 

Zulu

Wanderer
If you match, the background goes grey.

$2500 - match any 3 blue potions OR match any 3 red potions. I tried to put different potions in the view.

$1000 - match 2 crystal balls OR match 2 burners.
-the any 2 means any 2 spots.

Is that clear as mud?

I have updated the instructions to see if that makes things more clear.
 

Zulu

Wanderer
TomC said:
Looking good, but I never seem to win.

The odds are for the house;)

If the slot machine would pay on double on everything the odds would in favor of players.

The magic bonus show, players can win custom armor.
 

bleis

Sorceror
Well I have testet the slotmachine with razor......it turns out that if you like me put 60k in your bag, no matter how long I try the player (me) never gets the backpack emptyed for monny, but alwayes seem to get more and more gold insteed.....
 

Fury

Wanderer
really, i tried with 100k and won quite a few but in the end the house always won.. seems pretty close to an actual casino slot from what i saw.
 

bleis

Sorceror
Another thing is, no player can hold the large amount of monny won, they drop to the ground unless your staff
 

mordred

Wanderer
Ok, so I'm a complete RunUO noob. I was able to add 1 script add-on cause it was just dropping a file.

First, the custom directory doesnt exist, so I created it in the scripts folder.

Second, once I restart the server, I can't seem to find the command to place the slot machine. I know how to add items, but I dont know the item id for the slot machine.

Any help would be appriciated.

Thanks
 
Top