![]() |
Store/Arcade Addon: Arcade Pass (BETA)
Lesane's Store Hack /// INTEGRATION /// futureal's Arcade Hack
To use this, you must have the following two hacks installed: futureal's Arcade Hacck: https://vborg.vbsupport.ru/showthrea...threadid=42880 Lesane's Store Hack: https://vborg.vbsupport.ru/showthrea...threadid=36991 Now, what does this hack do, you ask? It requires your users to pay x amount of money through the store to obtain an "Arcade Pass". This arcade pass permits users to play an unlimited amount of games in the arcade for an unlimited amount of time. Yes, there is alreay an arcade/store integration, but this isn't on a per-game basis. Have fun! UPDATE The Admin CP addon of setting the timeout time is complete. By setting 0 in the timeout box, you get it to be a lifetime pass, any other numeral, and the pass timesout after that many seconds (so expect HUGE numbers to be imputed :)) Upgrade from the 1 Month BETA is included, so UPGRADE! :) Attachment Edited Out. v2.0 is released in full releases. https://vborg.vbsupport.ru/showthrea...threadid=43700 |
Screen 1.
This screen is the no permission screen when someone tries to play a game without an arcade pass. |
Screen 2.
This is the verify screen for the arcadepass action in the store. |
Screen 3.
This is the screen it takes you to right after you gain your arcade pass. |
Screen 4.
This is the error screen you get when you try to buy an arcade pass, but already have one. |
Screen 5.
This shows the Arcade Pass action in the store. |
Please post any bugs, addons, corrections, or suggestions here.
Planned Features:
COMPLETED FEATURES:
|
that sounds dope.....but i aint gonna install it until you got the TEMPORARY arcade pass...like for so many DAYS....
i wanna sell 1 month passes Cant wait on the updates |
Ok, 1 Month passes? I will look to see what I can do, but it might take a while to do it ;)I would have it insert a dateline into a field I guess and after x amount of time, it disables. The not being able to re-buy the pass will be dropped, so when they get a new one they will have 1 more month.
Sound good? ;) |
Quote:
Link, Good job :) |
I hope to have a rough temperary passes addition out by tommorow, then later a CP integrated one :)
|
Quote:
|
Ok, one of you try this out.
Install the hack from the attached zip in the first post. Then.... Open store.php: Find: Code:
$DB_site->query("UPDATE user SET arcadepass='1',storep=storep-$cost WHERE userid='$bbuserinfo[userid]'"); Code:
$DB_site->query("UPDATE user SET arcadepass='".time()."',storep=storep-$cost WHERE userid='$bbuserinfo[userid]'"); Find: Code:
$arcadepass_u=$DB_site->query_first("SELECT * FROM user WHERE userid='$bbuserinfo[userid]'"); Code:
$arcadepass=$arcadepass_u[arcadepass]; Code:
if ($arcadepass_u[arcadepass]<1) { Code:
if ($expiretime < ".time().") { Code:
We are sorry, your arcade pass has expired, please buy a <a href="store.php?action=arcadepass">new one.</a> Code:
$expiretime=$arcadepass+155520000; Code:
$expiretime=$arcadepass+1; (of course on the last edit, after seeing if it lest you in, change it back :)) |
Well, I changed my mind. A one month pass will be avalible once I write the instructions and ZIP it :)
|
Here we go.....
1 MONTH ARCADE PASS BETA 1.1! Test it out. I know it works, as I have tested it, but test anyways. :) Attachment edited out, not the current attachment. If you want the hack, grab the attachment in the first post :) |
[high]* Goldknight kiss Link's feet
[/high] I m going to test this hack right away Thanks Edit: now I have to wait for AdminCP ;) |
can you make a optiopn in the admin cp and let you set how long can the pass be?
|
mewgod, that is the next thing on my to-do list, I might do it right now. For now.....
Start Menu --> Programs --> Accessories --> Calculator and found out how many seconds are in however long you want the pass of time to be. Then, grab that number and replace 155520000 with it (in proarcade.php after you installed the hack). :) |
Looks good.
I found a bug, though: temporary is spelled incorrectly. :) |
Bah, I knew it looked funny :)
Yea, that bug is tearing board's to peices isn't it ;) lol |
I already completed the admin CP integration of the timeout for the arcade pass. New zip in a second, with upgrade instructions from the 1 Month Pass and the Lifetime Pass included :)
|
UPDATED!
Enjoy :) Attachement is in first post :) |
D@mn you, Link...
Thanks for update ^_^ I gotta edit over all again... :p |
Remember, I added the upgrade txt file so you know what is changed, and to make your life easier :D
|
Now, before I strain my mind, REQUESTS ARE VERY WELCOME! IN FACT, REQUEST, DAMNIT! :D
That way I can keep busy pumping out updates considering I have no life :) |
Quote:
|
Anyway you can work with this hack
https://vborg.vbsupport.ru/showthrea...threadid=43309 he uses you gotta pay X to play...I Like that...but could you make a add-on so it checks and sees if you got a MEMBERSHIP to the arcade...and if you don't it uses the other hack's pay per game? |
I don't get what you mean, Zirus.
I made this hack work where you pay a 1 time fee (or monthly, whenever the pass times out) to play. After it times out, you must get another one to play. So wht do you want to work with the other hack? A jackpot? EDIT: oh, I get what you mean. I bet you could already do that if you removed the standard error. I don't know how his code is, but" will try to make an addon like that. :) EDIT2: You know what, his hack places code in a different spot, so I am just going to make my own way of doing it and add it into my hack. |
Progress!
I have now made it where if you have an epired (or no) pass, you have to pay x amount of points. I will now work on CP Integration (BTW, like the other one, there will be a jackpot, and also, the distributation of it will be automatic using a specific formula. :)) |
Ok, the new and improved one is ready. I won't post it yet, however, because I used some of Dark Jim's Admin CP Code (couldn't have done it much differently), so I want to OK it with him first. It'll be classified as "Addon" status, since the paying cannot be turned off as of yet. :)
|
Like I said in the PM I send you, feel free to integrate my hack with yours. ;) I will install this one when you did. :)
|
Ok. I changed my mind about releasing it as an addon, the PM came a little late to do that.
Now I am working on the final part of it. Adding the on/off switch to disable the pay-per-play or the arcade passes or both. Expect a release in the Full Release forum tommorow. Then I will work on the extra stuff I had planned. Until then.... REQUEST FEATURES!!! :) |
Quote:
|
this is real real tight my members have been complaing about something new in the store...
|
one other question where is arcade.gif?
|
there is no arcade.gif. I don't use store images. It just has to be there :)
|
I hope to get 2.0 up and released in the Full Releases tonight, but if I do, it'd be close or past midnight... maybe sooner... depends on how fast I can hack :)
So the release date will be tonight, tommorow, or maybe, if I am not lucky, wednsday. |
Never the less what I just said, unless I am forgetting something, I have finished. Once it is packaged up into a txt file for full install and upgrade from previous version (and tested like crazY), I will post the big 2.0 in the Full Release forum. Here are some options I have added (not including existing options)
***** - Master switch for the hack does not turn off the Jackpot, so to turn it off, you must select 'No' for Enable Jackpot. :) |
Sorry for not releasing yet. I almost finished instructions last night and then BANG! I will probably get it out near 6:00 PM EDT today. :)
|
When will the final version be released?
|
All times are GMT. The time now is 02:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|