Page 1 of 14

[ABD] Slot machine | v1.6

Posted: Fri Aug 29, 2003 11:13 am
by tHe LiNk
"Please be aware that this mod is no longer supported by the original author. Download links for this mod no longer exist.

A copy of the mod may be obtainable from one of the other posters in this thread (not the author), but may be incompatible with the latest version(s) of phpBB. A quick google/phpbb.com search reveals that there are several similar mods in development or planned for phpBB in the future. Searching for mods that contain the word "casino" or similar words should yield a few results.

Seeing as there is still continued interest: I might return over the 2007 period to remake this mod or extend upon it, but depends upon my workload in other areas. This thread will be updated when and if that happens.

I give permission to anyone that finds the mod (in the future) to use it whichever way they wish (including adding to, recreating it, whatever it may be), as long as a reference is made to the original mod and myself as the author, and by linking to this page: http://www.phpbb.com/phpBB/viewtopic.php?t=131862 (This must be displayed at the bottom of your mods web page's)

All the best -tHe LiNk

Mod: Slot machine
Version: 1.6
Requires: Point system or Cash mod

I've made so many modifications for phpbb, and used so many from this community, i thought i'd release one of my own, giving something back :) I'd like to note that the code is very, very simple - it was my second php project after learning all the basics of the language, since then i have made pretty much no changes to the code.

Considering my knowledge of the language is alot better now, progress will be coming along very quickly, and should be fully released in less than a week.


Installation is simple, the template file goes to your template(s) directory, the images go straight into your phpBB directory, and slot_machine.php goes in the phpBB directory aswell.

There is an addon to the slot machine which makes it work with the shop mod, i personally cannot provide support for this, but you can grab it (and support from the author: RCTycooner) from here: http://www.phpbb.com/phpBB/viewtopic.php?t=133029


Progress:
1.6: Fixed mod's vulnerability in the admin panel, everyone who has this mod should upgrade now
1.5b: Now fully compatible with the cash mod, and points system (with option to use either)
1.2b: Released 1.2b, a beta which has finally cleaned up the randomizer so its harder to get one item than another.
1.1.5: Hopefully one of the final versions - updated to comply with mod validation.
1.1.4a: Now adds to the 'taken' pool for every type of win seeing as it always charges now.
1.1.4: Bug fix for charging implemented.
1.1.2: Now charges even if you win.
1.1.1: Now displays slot machine pool, and bug fix for turning off the minor prize.
1.0.1: Added class="button" to the submit buttons as suggested by threatcon!
1.0.0: No major features added (will be soon), but fixed a bug in the administration panel, and made the template file better for other styles
0.9.9: Simple bug with language fixed. I think its fit to try and get this submitted.
0.9.8: I finally completed all the language updates, changed the directory for the images, and made the navigation bar like in all mods. It's almost complete.
0.9.2: Hopefully fixed template problems on darker bg's.
0.9.1: Added ability to disable minor prize (set to 0).
0.9.0: Added, as requested; the minor prize for only getting 2 things.
0.8.9: Added tons of new stuff, administration panel, deleted alot of crap from the old version which would of made it look bad on other boards (updated templates). Close to completion!
0.6.1a: Forgot to append_sid a link, and removed the yuck and woot fruit. Also fixed a minor bug in the randomizing.
0.6.0a: First release

Had to remove test account because some people had to change the passwords all the time :x But heres an example

Other point mod games by tHe LiNk to check out!
Elbmag

Image

Image

Posted: Fri Aug 29, 2003 2:36 pm
by vze3k59w
you forgot that you must tell users it requires a points system of some sort! fortunatly for me, i did not learn this the hard, just looked through the code.

Re: [DEV] Slot machine | v0.6.0a

Posted: Fri Aug 29, 2003 3:20 pm
by netclectic
tHe LiNk wrote: Mod: Slot machine
Version: 0.6.0a
Requires: Point system

vze3k59w wrote: you forgot that you must tell users it requires a points system of some sort! fortunatly for me, i did not learn this the hard, just looked through the code.

Did you not read the first three lines of the post above?
I'm surprised you could even find the link to download it ;)

Posted: Fri Aug 29, 2003 3:23 pm
by Dinosaur Gas
Can you provide a link so we don't have to register just to see it? Or a test account on your forums?

Posted: Sat Aug 30, 2003 3:05 am
by tHe LiNk
Yeah np, i was already going to do that anyway ;). My forums had server problems recently and i lost everything, so i've slowly been putting things back together. And thanks for saving me a post netcletic ;)

User: Test_Account
Pass: 123456

The user has 150 rupees to waste, so please don't go and spam my board.

Posted: Sat Aug 30, 2003 3:33 am
by vze3k59w
woah, looks like davey gots to have a lil less fun :wink:

Posted: Sat Aug 30, 2003 3:39 am
by tHe LiNk
Off topic: You can also check out my rpg mod i made myself, works great so far, just gotta get the damn battle formulas to work. Note: I have no intentions on releasing this mod ever.

[EDIT: Installation is included in latest release :D]

Posted: Sat Aug 30, 2003 5:43 am
by Xore
I browsed the code, and i didn't see any compatibility issues with Cash Mod. If you're interested, you could put in your installer that (Points System -or- Cash Mod) is a requirement. This might gain you some additional interest from Cash Mod users.

Additionally if you're interested, i can add your mod to the Cash Mod compatible list.

cheers :-)

Posted: Sat Aug 30, 2003 6:23 am
by tHe LiNk
Sure mate, sounds good. I made the mod with only the points system in mind; but if it works with the cash mod aswell, thats even better!

"Additionally if you're interested, i can add your mod to the Cash Mod compatible list."

That would be great, thanks.

Posted: Sat Aug 30, 2003 6:59 am
by Xore

Posted: Sat Aug 30, 2003 7:13 am
by tHe LiNk
Thanks. Also, i'm about to add an admin panel which will allow configuration of the prices of things like the fruit, and play price. Also to turn it on or off. Which will bring it up to v0.7

Posted: Sat Aug 30, 2003 9:09 am
by tHe LiNk
Large update to the game (check changes), very close to completion.

Posted: Sat Aug 30, 2003 12:12 pm
by PhilippT
very nice mod .... i integrat it on my board within 15min in my online games section (mod by napoleon) and make it work wit {L-...}


the only part i miss is that the 3 images not fade from one to another and after some seconds stop and display....

maybe this can be mad with an animated gif....
<---
the gif is displayed it some kind of slotmaschine fade after 2s the 1. slot is changed to the normal image

after 2s is the same thing like the 1

after 2s same as 1/2

only a suggestion

Posted: Sat Aug 30, 2003 1:57 pm
by RCTycooner
first of all, great game, love it, i'm having some plans with it now to make it so that you don't use your money but use a 'game ticket' (idea from the gba-game Golden Sun) and that you can win items

a suggestion:
make it possible that you can win minor prizes when you only have 2 of the same fruit ...



(hmmm, maby i can make it myself, if your interested, i'll adjust it then i'll put it up for download, pm me please.)

Posted: Sat Aug 30, 2003 2:09 pm
by PhilippT
nice idea im interesstet (i got the same idea with the item but i think a choice is nice


choose between:

common item || some money

;-)