[Owsap]Slot Machine System

  • Bitte melden Sie sich an, um dieses Bild zu sehen.

    Bitte melden Sie sich an, um diesen Link zu sehen. | | Bitte melden Sie sich an, um diesen Link zu sehen.


    Hello,


    It’s been awhile since I haven’t released anything for the community so today I decided to release one of my systems I created some days ago, it’s very simple and it consists on gambling to say the least…

    Bitte melden Sie sich an, um dieses Bild zu sehen.

    The point is to bet your money (yang/gold) on a higher amount of gold and the higher you bet the higher the payout is, similar as how a casino slot machine works without being too complex.

    The rules are simple, you have three (3) possible jackpots in which each one has a payout amount.

    Get the same icon three (3) times and you will win the jackpot.
    If you get any other combination that contain jackpot reel icons, you will win half your bet back with a short bet multiplier.
    So, the jackpot reels work as so,
    A, A, A = Jackpot 1
    B, B, B = Jackpot 2
    C, C, C = Jackpot 3
    All other possible combinations to have a winning: A, A, B; A, A, C; B, B, A; B, B, C; C, C, A; C, C, B; A, B, C; C, A, B; B, A, C; C, B, A; A, C, B;
    If you happen to win a jackpot while having close to maximum gold, you will receive an item in your inventory if you have space for it otherwise you will receive it in your storage room. The item will contain the jackpot value.


    Bitte melden Sie sich an, um dieses Bild zu sehen.Bitte melden Sie sich an, um dieses Bild zu sehen.How to configure?

    Code
    1. @ game/constants.cpp you can edit all the betting values you want.
    2. @ game/constants.cpp you can edit as well the jackpot values.
    3. @ root/uiSlotMachineSystem.py you can edit the reel icons and bet values.
    4. In-game, you can also use the commands,
    5. /e slot_machine_reels < x > where < x > is the number of reels you want to randomize.
    6. The more reel icons you have, the harder it is to win a jackpot!
    7. /e slot_machine_multiplier < x > where < x > is the value of the multiplied you want.
    8. The higher this value, the higher the payout is.

    For those who are using older versions of C++ some data type identifiers need to be changed as shown below.

    • uint32_t = DWORD
    • uint32_t = UINT
    • uint16_t = WORD
    • uint8_t = BYTE
    • unt16_t = short
    • Change g_MaxGold with GOLD_MAX

    DOWNLOAD

    VT: Bitte melden Sie sich an, um diesen Link zu sehen.

    Bitte melden Sie sich an, um diesen Link zu sehen.

    4 Mal editiert, zuletzt von ⚡FlasH⚡ ()

  • Dieses Thema enthält einen weiteren Beitrag, der nur für registrierte Benutzer sichtbar ist, bitte registrieren Sie sich oder melden Sie sich an um diesen lesen zu können.