[ABD] Slot machine | v1.6

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
tHe LiNk
Registered User
Posts: 158
Joined: Sat Jan 11, 2003 3:26 am
Contact:

Post by tHe LiNk »

Updated to 1.0! Check main page for changes.

Threatcon
Registered User
Posts: 131
Joined: Tue Dec 10, 2002 5:38 am
Location: Florida
Contact:

Post by Threatcon »

Just added this to my forum! Nice Work! Alittle minor changes in the language files to suite my personnal needs and it's good to go! Thankx! :D

Just one thing that you might wanna change...
Around line 66

Code: Select all

<td class="row1" width="100%"><br><center><form method="POST"><input type="submit" value="'.$lang['slot_bet'].'" name="bet"></form></center><br></td>
Replace With...

Code: Select all

<td class="row1" width="100%"><br><center><form method="POST"><input type="submit" class="button" value="'.$lang['slot_bet'].'" name="bet"></form></center><br></td>
I added the

Code: Select all

class="button"
to help the button show on darker backgrounds and make it look more like an action button. :wink:

tHe LiNk
Registered User
Posts: 158
Joined: Sat Jan 11, 2003 3:26 am
Contact:

Post by tHe LiNk »

Thanks for the little change! Updated to 1.0.1!

RCTycooner
Registered User
Posts: 113
Joined: Sat Jul 19, 2003 6:13 pm
Location: A lot of Bytes away from u ...
Contact:

Post by RCTycooner »

I've updated the add-on with this too !!
GRTZ, RCTycooner

My Mods:

Image

please_reboot
Registered User
Posts: 3
Joined: Fri Sep 05, 2003 1:13 am

Volountary taxes

Post by please_reboot »

Can you tell me of a way to put the money that people put to play slot machine in a special pool, like in the lottery mod jackpot, in a member cash pool or in the star fruit rewards, as we see in the real casino...

I love your mod and it will be include in the next days on my forum


thanks

tHe LiNk
Registered User
Posts: 158
Joined: Sat Jan 11, 2003 3:26 am
Contact:

Post by tHe LiNk »

There will be a pool type function included in 1.2.0, but it will have no use besides to show how much has been taken from users, and how much has been rewarded, this will obviously open up add-on possibilities such as taking that pool and putting it into the lottery. 1.2.0 Will be released tomorrow.

please_reboot
Registered User
Posts: 3
Joined: Fri Sep 05, 2003 1:13 am

Post by please_reboot »

You are a real brother for us !

what else should we expect in 1.2 ?

qingshun
Registered User
Posts: 44
Joined: Tue Sep 02, 2003 7:34 am

Post by qingshun »

Is there a way for us to increase the number of columns for the slot machine ?
eg now there is only 3 column.

How about adding one more column ?
eg 4 starfruits would get you this amt of gold or goodies
2 apples 2 starfruits will get you this amt of gold.

just my 2 cents tot. :wink:
Also known as Dash in phpbbhacks forum.

qingshun
Registered User
Posts: 44
Joined: Tue Sep 02, 2003 7:34 am

Post by qingshun »

Also I found out if we were to disable this
Reward for 2 hits (0 to disable):
(i.e I had set to 0)

Players can keep on playing the game without having their points deducted.
But if I were to enable that, it will be playing fine.

I do not know whether anyone has this bug?
Anybody has this problem ?
Also known as Dash in phpbbhacks forum.

qingshun
Registered User
Posts: 44
Joined: Tue Sep 02, 2003 7:34 am

Post by qingshun »

Assuming if I were to set the reward for getting 2 hits to be 1 euro.
and the playing price to be 2 euro.

If the user were to get 2 hits, he will be getting 1 euro which, logically speaking, is wrong. (He should instead be losing 1 euro cause he paid to play the game rem ?)

He should instead lose 1 euro since he already paid 2 euro to play the game.


I played the game and got 2 hits and it actually increment my gold by 1 everytime I strike 2 hits.

I hope I made my point clear?
:roll:
Also known as Dash in phpbbhacks forum.

tHe LiNk
Registered User
Posts: 158
Joined: Sat Jan 11, 2003 3:26 am
Contact:

Post by tHe LiNk »

qingshun wrote: Assuming if I were to set the reward for getting 2 hits to be 1 euro.
and the playing price to be 2 euro.

If the user were to get 2 hits, he will be getting 1 euro which, logically speaking, is wrong. (He should instead be losing 1 euro cause he paid to play the game rem ?)

He should instead lose 1 euro since he already paid 2 euro to play the game.


I played the game and got 2 hits and it actually increment my gold by 1 everytime I strike 2 hits.

I hope I made my point clear?
:roll:


Perfectly clear ;) I don't plan on changing the way this works though, if you win something: you win points - dont lose points

tHe LiNk
Registered User
Posts: 158
Joined: Sat Jan 11, 2003 3:26 am
Contact:

Post by tHe LiNk »

1.1.1 Released! Included is the fix for the bug stated above concerning the minor prize disabling. I hope this new pool opens new possibilities for add-ons to this mod, should be easy enough for someone to make an addon to insert the slot pool into the lottery :D

qingshun
Registered User
Posts: 44
Joined: Tue Sep 02, 2003 7:34 am

Post by qingshun »

I found out a way to earn unlimited gold from the slot machine.
First time you click on try and if you doesn't strike any fruits in a row, you do not click on try again but instead click on Back on your browser and then you click on try.

That way, by using only the first time playing price, one can play an unlimited amount of times to earn money.

Anyway to solve this? Seems kinda hard.
Also known as Dash in phpbbhacks forum.

qingshun
Registered User
Posts: 44
Joined: Tue Sep 02, 2003 7:34 am

Post by qingshun »

lol my mistake =)
That doesn't work. Although it will show you the previous amount of gold but when you log out, it will be updated with the correct amt.

I was thinking of various ways to beat the system.

Great job again =)
Also known as Dash in phpbbhacks forum.

User avatar
TimeVirus
Registered User
Posts: 125
Joined: Sat Jul 12, 2003 12:17 am

Post by TimeVirus »

First of all, excellent and fun mod idea. I think its great. I'm making some animated fruits that roll into place I will share with you when they are finished.

But:
tHe LiNk wrote:
qingshun wrote:Assuming if I were to set the reward for getting 2 hits to be 1 euro.
and the playing price to be 2 euro.

If the user were to get 2 hits, he will be getting 1 euro which, logically speaking, is wrong. (He should instead be losing 1 euro cause he paid to play the game rem ?)

He should instead lose 1 euro since he already paid 2 euro to play the game.


I played the game and got 2 hits and it actually increment my gold by 1 everytime I strike 2 hits.

I hope I made my point clear?
:roll:


Perfectly clear ;) I don't plan on changing the way this works though, if you win something: you win points - dont lose points


I just spent an hour trying to figure out what the heck I did wrong and why I was making too much money and that's the answer. In a real slot machine you wouldn't be refunded the "play" price even when receiving a reward, why would you here? It really messes up the odds in favor of the player. I just kept watching my meter go up no matter what I did. Also right in its on screen instructions it says "playing costs 5 credits each time. " Not each loss. Which is what most people would expect from a slot machine since you put your money in prior to any results.

I hope someone can tell me how to fix it so that it charges the play price for *every* play, not just losses. And then it will be perfect. :)
I'm probably wrong again...

Locked

Return to “[2.0.x] MODs in Development”