vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Arcade Pass Hack v3! (https://vborg.vbsupport.ru/showthread.php?t=62059)

weaver 06-01-2004 01:53 AM

A member suggested today receiving an email to inform them when their pass expires.

msimplay 06-01-2004 02:48 PM

Quote:

Originally Posted by snobbymom
A member suggested today receiving an email to inform them when their pass expires.

to expand on this although a great idea
it would be better if they were allowed to choose what kind of notification they recieved for it ie checkbox in usercp / options
Notification of Arcade Pass Expiration
Pm
Email

its a checkbox so if they don't check anything it would mean no notification at all

cashpath 06-05-2004 06:21 PM

can anyone help me possibly fix this... I had about 8 games installed.. I installed this... everything works except that... it does not charge people to play the games... And yes I do have that option set to charge in the cp

cashpath 06-05-2004 07:00 PM

I am thinking that this should happen when the prson clicks to play the game... it should subtract the points from their account... and I just can't find that in the file edits (arcade.php) anywhere??

I haven't seen anyone else complain of it not working so it MUST be in there.... so if anyone knows please at least tell me which edit it is that controls this??

Thanks!!

cashpath 06-06-2004 04:37 AM

anyone?

msimplay 06-06-2004 07:17 AM

try in the game settings and also turning the arcade pass on

cashpath 06-06-2004 03:40 PM

No thats not it.. could someone tell me the line that in the file edits that controls this please?

cashpath 06-06-2004 06:39 PM

ok.. at first I thought I had left something out.. now I have been scouring my code to find this part and I think I finally find it.. now this sucks, cause it IS in my code... which means it is not a simple fix that I just missed it...

Code:

else {
                        if (!isset($show['arcadepass'])) {
                                $DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions['arcadepass_pointtable']." SET ".$vboptions['arcadepass_pointsfield']."=".$vboptions['arcadepass_pointsfield']."-".$thisGame['arcadepass_cost']." WHERE userid='$bbuserinfo[userid]'");
                        }


House_of_Crazed 06-10-2004 07:37 AM

Quote:

Originally Posted by Link14716
This hack also features a jackpot. First, a default jackpot (amount configurable) is set up, and after each game played, the cost of the game plus another amount (configurable per game) is added to the jackpot. If the user ends up with a high enough ranking (minimum ranking configurable), then they'll get a piece of the jackpot - if they are in 3rd place they'd get 1/3 of the jackpot, if they were in 50h, they'd get 1/50th of the jackpot, etc. Once someone takes 1st place, they default jackpot is entered back in and the lucky winner gets ALL of the jackpot.

Link

I am wondering if you could further explain how the jackpot works. As I understand the above text, if someone places 1st place in a game, they get the jackpot automatically? Or am I wrong? Is it on a "Time-Delay" ?

HoC

msimplay 06-10-2004 08:57 AM

Quote:

Originally Posted by House_of_Crazed
Link

I am wondering if you could further explain how the jackpot works. As I understand the above text, if someone places 1st place in a game, they get the jackpot automatically? Or am I wrong? Is it on a "Time-Delay" ?

HoC

they have to get first to get full jackpot

but it is configurable to allow for example the top 3 to obtain a prize

weaver 06-10-2004 11:25 AM

Quote:

Originally Posted by msimplay
to expand on this although a great idea
it would be better if they were allowed to choose what kind of notification they recieved for it ie checkbox in usercp / options
Notification of Arcade Pass Expiration
Pm
Email

its a checkbox so if they don't check anything it would mean no notification at all

Great idea! PM notification didn't occur to me but I'm sure many would prefer it over email. :)

kall 06-26-2004 04:19 AM

Quote:

Originally Posted by teksigns
my board is setup with 3 groups .....

regular members
donators1
and donators2
and staff

i would like to make it so that

staff, donators1 , and donators2 groups all can play arcade without having a arcade pass.


i would like the regular members still be required to buy pass.




can this be done ?

Yep. Check my signature. :)

Littlebit 07-19-2004 02:17 PM

I've noticed that all you have to do is aquire the amount of points needed for a pass in order for the arcade games to become enabled for use. But you don't actually have to buy the pass.
Did I mess up part of the install?

Littlebit 07-23-2004 01:15 PM

Kal, is my above posts issue a known bug?

Holidazed 07-23-2004 02:15 PM

OK, so here is my question. If my user buys this pass, is it a lifetime pass or does it expire in xx hours or xx days?

Littlebit 07-26-2004 03:35 PM

I user doesn't have to buy the pass, but just needs the amount of points a pass costs to play the games and when a user who didn't buy the pass loses the amount of points required to buy the pass, database errors occur each time that user attempts to play.
Is anyone else having this issue?

Holidazed 07-26-2004 04:34 PM

Quote:

Originally Posted by bitg
OK, so here is my question. If my user buys this pass, is it a lifetime pass or does it expire in xx hours or xx days?

Is anybody going to answer my question?

netrosearch 07-30-2004 10:54 PM

How long is the arcade pass good for? It is good forever, or for a set period of time?

netrosearch 07-30-2004 11:21 PM

I have now lost the ability to use my Remove Game hack. Can someone help me please? Here is where I think the problem is...

This is the code needed for the Arcade pass:

$menu .= "<tr onClick=\"document.getElementById('id').innerHTML = ".$games[shortname]."id;document.getElementById('descr').innerHTML = ".$games[shortname]."descr;document.getElementById('title').innerH TML = ".$games[shortname]."title;document.getElementById('cost').innerHT ML = ".$games[shortname]."cost;document.getElementById('jackpot').innerHTM L = ".$games[shortname]."jackpot;document.getElementById('increase').inne rHTML = ".$games[shortname]."increase;document.getElementById('showaward').in nerHTML = ".$games[shortname]."showaward;document.getElementById('challenabled' ).innerHTML = ".$games[shortname]."challenabled;document.getElementById('playpanel' ).innerHTML = ".$games[shortname]."playpanel;document.getElementById('active').inne rHTML = ".$games[shortname]."active;document.getElementById('netplay').innerH TML = ".$games[shortname]."netplay;document.getElementById('removegame').in nerHTML = ".$games[shortname]."netplay;document.getElementById('uptbut').innerH TML = ".$games[shortname]."upbuttext;document.getElementById('categorytitle ').innerHTML = ".$games[shortname]."categorytitle;\">

Here is the code before the arcade pass hack

//$menu .= "<tr onClick=\"document.getElementById('id')
.innerHTML = ".$games[shortname]."id;document.getElementById('descr')
.innerHTML = ".$games[shortname]."descr;document.getElementById('title')
.innerHTML = ".$games[shortname]."title;document.getElementById('showaward')
.innerHTML = ".$games[shortname]."showaward;document.getElementById('challenabled' )
.innerHTML = ".$games[shortname]."challenabled;document.getElementById('playpanel' )
.innerHTML = ".$games[shortname]."playpanel;document.getElementById('active')
.innerHTML = ".$games[shortname]."active;document.getElementById('netplay')
.innerHTML = ".$games[shortname]."netplay;document.getElementById('removegame')
.innerHTML = ".$games[shortname]."removegame;document.getElementById('uptbut')
.innerHTML = ".$games[shortname]."upbuttext;document.getElementById('categorytitle ')
.innerHTML = ".$games[shortname]."categorytitle;\">

Any suggestions?

Holidazed 07-31-2004 03:28 PM

Quote:

Originally Posted by netrosearch
How long is the arcade pass good for? It is good forever, or for a set period of time?

I have asked this question as well, but it seems that either nobody knows or nobody cares to answer. This should have been a cusomozable field in the ACP.

Quote:

Originally Posted by netrosearch
I have now lost the ability to use my Remove Game hack. Can someone help me please?

I think the correct entry is as follows
Code:

$menu .= "<tr onClick=\"document.getElementById('id').innerHTML =
".$games[shortname]."id;document.getElementById('descr').innerHTML =
".$games[shortname]."descr;document.getElementById('title').innerHTML =
".$games[shortname]."title;document.getElementById('cost').innerHTML =
".$games[shortname]."cost;document.getElementById('jackpot').innerHTML =
".$games[shortname]."jackpot;document.getElementById('increase').innerHTML =
".$games[shortname]."increase;document.getElementById('showaward').innerHTML =
".$games[shortname]."showaward;document.getElementById('challenabled').innerHTML =
".$games[shortname]."challenabled;document.getElementById('playpanel').innerHTML =
".$games[shortname]."playpanel;document.getElementById('active').innerHTML =
".$games[shortname]."active;document.getElementById('netplay').innerHTML =
".$games[shortname]."netplay;document.getElementById('removegame').innerHTML =
".$games[shortname]."removegame;document.getElementById('uptbut')..innerHTML =
".$games[shortname]."netplay;document.getElementById('uptbut').innerHTML =
".$games[shortname]."upbuttext;document.getElementById('categorytitle').innerHTML =
".$games[shortname]."categorytitle;\">


Regs 07-31-2004 04:26 PM

You can set the time span of the pass in the admin options area > arcade pass options...

"Timeout for Arcade Passes?
Set this to the number of seconds after purchase that an arcade pass is valid. Set to 0 to disable. Default: 1209600 = 2 weeks."

Seems pretty self-explanatory to me :D

Cheers,

~Regs.

Holidazed 07-31-2004 04:43 PM

Quote:

Originally Posted by Regs
You can set the time span of the pass in the admin options area > arcade pass options...

"Timeout for Arcade Passes?
Set this to the number of seconds after purchase that an arcade pass is valid. Set to 0 to disable. Default: 1209600 = 2 weeks."

Seems pretty self-explanatory to me :D

Cheers,

~Regs.

Thanks for the reply. It may seem that way to you, but I did not see the option (and obviously others did not either) and I have asked the question at least 2 times so far and got no answer.

This would have been resolved if it had been answered to begin with.

Regs 07-31-2004 07:31 PM

The first screen shot in the second post in this thread clearly shows the option you are/have been asking about... I'd call that answering your question pretty damn well before you even asked it!

Cheers,

~Regs.

Holidazed 08-01-2004 01:53 PM

Quote:

Originally Posted by Regs
The first screen shot in the second post in this thread clearly shows the option you are/have been asking about... I'd call that answering your question pretty damn well before you even asked it!

Cheers,

~Regs.

Well then why the hell did not somebody say that when I asked the question each and everytime. Had somebody bothered to point that out, I would not have asked the question the 2nd time and the other person who asked, would not have had too.

I am sorry that I bothered you with a question that evidently I was too blind to see the answer. I thought this was a "Community", but obviously I was wrong.

Regs 08-01-2004 02:27 PM

You're welcome, it's the least I could do!

Cheers,

~Regs.

Littlebit 08-02-2004 02:12 PM

Is this also a bug?
Many bought the pass while the timout was set to the default two weeks and I've changed the timeout to 0 disabled just recently, however the message in arcade saying Hang Pass Expired! Buy a new one! Still shows. Furthermore, when the users click and buy a new one, it still shows the same message when they revisit the arcade.
Has anyone else ran across this along with this issue in my previous post?
:surprised:

Holidazed 08-02-2004 07:06 PM

I installed this on my vb3.01 system and it works fine. That is, until I install a new game. When I install a game after I have installed this hack and then a user runs the game, the following database error comes up.

Code:

Database error in vBulletin 3.0.1:
Invalid SQL: UPDATE user SET uttpoints=uttpoints- WHERE userid='1'
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1

mysql error number: 1064

All the other games seem to work just fine tho.

help

Littlebit 08-02-2004 07:26 PM

Quote:

Originally Posted by bitg
I installed this on my vb3.01 system and it works fine. That is, until I install a new game. When I install a game after I have installed this hack and then a user runs the game, the following database error comes up.
help

You need to go to each new individual game you install and give it a jackpot cost etc. and that should stop those errors

Holidazed 08-02-2004 07:50 PM

Quote:

Originally Posted by Littlebit
You need to go to each new individual game you install and give it a jackpot cost etc. and that should stop those errors

Thank you. That did the trick.

Littlebit 08-02-2004 08:12 PM

Quote:

Originally Posted by bitg
Thank you. That did the trick.

You're welcome :)

Littlebit 08-06-2004 02:53 PM

Is there a newer thread out of beta for this hack that I'm not finding in my search?
I'm unable to fix the below issues with this hack ... or know if they have been reported elsewhere or addressed yet.
If anyone could direct me, I'd be obliged

Quote:

I user doesn't have to buy the pass, but just needs the amount of points a pass costs to play the games and when a user who didn't buy the pass loses the amount of points required to buy the pass, database errors occur each time that user attempts to play.
Is anyone else having this issue?
Quote:

Many bought the pass while the timout was set to the default two weeks and I've changed the timeout to 0 disabled just recently, however the message in arcade saying "Hang Pass Expired! Buy a new one!" Still shows. Furthermore, when the user clicks to buy a new one, it still shows the same message when they revisit the arcade.

neroflorida 08-13-2004 11:22 PM

Tip:

To get it to show on left hand panel in admincp, edit admincp/index.php

Find:
PHP Code:

construct_nav_option("Challenges"'arcadeadmin.php?do=challenges''<br />'); 

Add Below:

PHP Code:

construct_nav_option("Arcade Pass Settings"'options.php?dogroup=arcadepass&do=options''<br />'); 

After doing this, upload admincp/index.php

It should now be accesible from left hand menu under Arcade.

'Course, you could create a separate group for it, too...

k40tic 08-27-2004 08:52 PM

I'm not sure where to post this at but since it has to do with getting around having a pass or using points and wouldn't matter as much if you didn't use this hack I chose here. There is an exploit that will allow anyone who has the same game on their home pc to play without using a pass at all as if they are doing it from your website. This is how the person done it on my site and used it. It happened to be a friend so he warned me about it and told me how he done it. The info he sent me word for word:

You create an html file on your computer and embed the flash game like the arcade.php file does. You can either download the game and run it from your computer or run it from the web, either way. The key is to set this html tag to point to the same directory that the arcade.php file is in, which should be the forum root. Below is an example of the tag that was used on my site minus my real address.

<base href="http://www.yoursite.com/forums/">

He did use it a couple times but I caught on right away since I just payed for vbulletin a couple weeks ago and less then 24 hours ago added the store and arcade pass. There was no way he should have been able to have what he has so I asked him what he was doing and he told me. Is there a way to fix this or is it only happening on my site?

gfxhavenowner 09-02-2004 02:25 PM

Error

SQL-query :

INSERT INTO `phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` )
VALUES ( 6472, 0, 'settinggroup_arcadepass', 'Arcade Pass Hack v3 Settings', 5000 )

MySQL said:

Duplicate entry '6472' for key 1

Can someone please address this? 2 people have posted multiple times about it, and I'm getting the same error. Is 6472 taken up by another hack?

ambrosious 09-04-2004 10:44 PM

Here's one for you, I have the pass installed and the UT shop and store hack but cannot get the pass to admit it needs to take points! Any ideas?

ambrosious 09-05-2004 04:42 PM

Anyone?

venomx 09-07-2004 12:44 AM

I will wait until this is working with no errors to install.. :(

ambrosious 09-07-2004 01:39 AM

I have no errors, just can't turn the dang thing on!?

gfxhavenowner 09-07-2004 11:07 PM

There's a very easy fix to get this all working.

Do everything via the TXT install, rather then the HTL install. Run db_queries and setting in MySQL first. Then, go through file_edits and template_edits. Finally, add the phrases via Download/Upload in the ACP. Point to arcadepass_phrases in the HTL folder. Do the same for the new templates, pointing to arcadepass_templates. This will work, and it works well.

As an added feature for the full release, how bout a field in the ACP to change the cost of the pass?

Wapture 09-18-2004 04:37 PM

After trying to install this hack I received this error in Admincp for Import/Export

Database error in vBulletin:ImpEx Target 3.0.3:

Link-ID == false, connect failed
mysql error:

mysql error number: 0


All times are GMT. The time now is 06:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01386 seconds
  • Memory Usage 1,852KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete