vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

Bryan Ex 06-29-2004 08:46 PM

See my message two posts before yours.

Princeton 06-29-2004 09:57 PM

I gave in and installed for my kids ... and they love it.

thanks for a great hack!! :up:

jluerken 06-30-2004 10:32 AM

Quote:

Originally Posted by princeton
I gave in and installed for my kids ... and they love it.

thanks for a great hack!! :up:

Thanks for this hack, its working fine but I have one question.
The emails sent out that your high score was beaten is coming like this

<!-- BEGIN TEMPLATE: arcade_email_beatenbody -->
emailtext....

Is it possible to remove the lines
<!-- BEGIN TEMPLATE: arcade_email_beatenbody -->
and
<!-- END TEMPLATE: arcade_email_beatenbody -->

from the emails and how?

Bryan Ex 06-30-2004 10:41 AM

Turn off the template tags in the Admin > VB Options

netrosearch 06-30-2004 09:58 PM

When I first installed this, it was recording scores, but now if you get the highest score nothing happens when you click on submit.

Any ideas on what I should do to fix this?

finch 07-01-2004 12:55 AM

Fixed that error!!

So, what I was going to say was - nice hack, is there a list of all the games that are available - not in the mood to search 160~ pages.

Cheers =)

ChuanSE 07-01-2004 04:55 AM

Quote:

Originally Posted by jluerken
Thanks for this hack, its working fine but I have one question.
The emails sent out that your high score was beaten is coming like this

<!-- BEGIN TEMPLATE: arcade_email_beatenbody -->
emailtext....

Is it possible to remove the lines
<!-- BEGIN TEMPLATE: arcade_email_beatenbody -->
and
<!-- END TEMPLATE: arcade_email_beatenbody -->

from the emails and how?


Is it fixed for you? Let us know ;-)

ChuanSE 07-01-2004 04:56 AM

Quote:

Originally Posted by netrosearch
When I first installed this, it was recording scores, but now if you get the highest score nothing happens when you click on submit.

Any ideas on what I should do to fix this?

Most likely, you have old versions of some games. There are some problems reported. Try to locate the newest version on http://www.v3arcade.com

cheers

ChuanSE 07-01-2004 04:58 AM

Quote:

Originally Posted by finch
Fixed that error!!


So, what I was going to say was - nice hack, is there a list of all the games that are available - not in the mood to search 160~ pages.


Cheers =)

Well, all games are released on http://www.v3arcade.com , BUT...

Because John had some bandwith troubles, he had to take away the links (temporary). As far as I know, he switched servers and is fixing the attachment problem he had. I expect that the games will come back online soon... ;)

cheers

starfantazy 07-01-2004 06:46 AM

Installed, now to figure out how to install other games... :o How do i actually install them?

Spinball 07-01-2004 03:23 PM

We've had a person register with the name 'arcadecheat' and then proceed to get himself the top highscores in most of our games with less than half the amount of time spent playing.
Rather than delete the user I have banned him. But I want to remove his details from the arcade scoring system completely. How do I do this, please?

flstreetscene 07-01-2004 05:07 PM

How do I upgrade to 3.0.1? :( I've deleted all that it asked for (arcadesettings) from all the columns but I still receive mySql errors...

ChuanSE 07-02-2004 05:12 AM

Quote:

Originally Posted by starfantazy
Installed, now to figure out how to install other games... :o How do i actually install them?

upload the graphics to /images/arcade/
upload the game.swf to /games/
upload the gamename.game.php to /admincp/

go to admincp and run forum.com/admincp/gamename.game.php

click install and your done :D

ChuanSE 07-02-2004 05:16 AM

Quote:

Originally Posted by Spinball
We've had a person register with the name 'arcadecheat' and then proceed to get himself the top highscores in most of our games with less than half the amount of time spent playing.
Rather than delete the user I have banned him. But I want to remove his details from the arcade scoring system completely. How do I do this, please?

Unless he really cheated, why would you ban him. He can be a good player...
If you want to erase all details, you will have to access your database with phpmyadmin and go to table gamesessions. sort on userid and delete all rows with his user id.

Do that again in gamenews and your done

But becaus this seems rather unfair if the guy didn't cheat, you could enable auto-pruning scores and set it to the amount of days you wish a score lasts. If your members doesn't like that, you can always install all time highscores ;)

cheers

ChuanSE 07-02-2004 05:18 AM

Quote:

Originally Posted by flstreetscene
How do I upgrade to 3.0.1? :( I've deleted all that it asked for (arcadesettings) from all the columns but I still receive mySql errors...

Do you have to delete to upgrade? hmmmz

My suggestion: replace the old arcade.php and arcadeadmin.php and that should work

Ignite 07-02-2004 06:04 AM

Got a question.

Does this hack have any loopholes that can cause the vbulletin itself to get hacked? I'm too lazy to read everything on there lol.

ChuanSE 07-02-2004 06:13 AM

Quote:

Originally Posted by Ignite
Got a question.

Does this hack have any loopholes that can cause the vbulletin itself to get hacked? I'm too lazy to read everything on there lol.

Not that i am aware of. There arn't any hack attempts reported either.
Perfectly safe imho ;)

bangbang 07-03-2004 12:26 PM

* Me Clicks Install and looks like i'm number 800 :speechless:

Kudos John, brilliant hack!!

The install instructions are excellent, my second ever hack install with VB and it went faultlessly because you have layed everything out so well. Your support in this thread has also been brilliant, thankyou.

There was one very good question asked earlier on, which wasn't answered at all (well i'm up until page 100). So sorry if it's been covered between 100 and now.

It was, is there any way to store the .swf files on another server?

I like the original poster have a 10 MB unlimited bandwidth account, and storing the .swf files at this location would save alot of money (which im lacking). I imagine running an extensive arcade for a month with a bunch of users who love your arcade is going to push the limits a bit.

Thanks in advance for your reply. :)

blueuniverse 07-03-2004 08:38 PM

Having a problem on showthread.php

On the instructions it says....

Quote:

Find:
__________________________________________________ _____________________

// ###################### Start getreputationimage #######################

?????????????????????????????????????????????????? ?????????????????????

Above this, add:
__________________________________________________ _____________________

if ($arcadegeneral['awardson']==1) {
// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";
$arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscor e,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
while ($arcade = $DB_site->fetch_array($arcade_result)){
if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
$awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
$awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
$awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
$awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
$awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
}
}
}

?????????????????????????????????????????????????? ??????????????????????
However, I was unable to find that. Where should I add the code?

I am running VBulletin 3.02

the Sandman 07-03-2004 09:05 PM

Quote:

Originally Posted by blueuniverse
Having a problem on showthread.php

On the instructions it says....



However, I was unable to find that. Where should I add the code?

I am running VBulletin 3.02

It's not showthread.php, it's includes/functions_showthread.php. I put it above:
PHP Code:

// ###################### Start doimicons ####################### 

and it works fine for me...

blueuniverse 07-03-2004 09:23 PM

Sorry, I meant functions_showthread.php

I get this error though when viewing posts.

See - http://www.rouseindahouse.com/showth...=1818#post1818

blueuniverse 07-03-2004 09:26 PM

Just to add, I am using the default style, and this is the first mod on the boards, in fact it is the first mod I've ever done to VBulletin.

the Sandman 07-03-2004 10:20 PM

Quote:

Originally Posted by blueuniverse
Sorry, I meant functions_showthread.php

I get this error though when viewing posts.

Make sure there isn't any white space (blank lines) your includes/functions_showthread.php above the <?php at the top or below the ?> at the bottom.

platnum 07-03-2004 11:29 PM

Does this work with 3.0.2?

Just wanted to know before I upgrade, lol.

Thanks :D

Steve123 07-04-2004 01:08 AM

I am also having the same problem..

Using 3.0.2


Quote:

=================================
includes/functions_showthread.php
=================================

Find:
__________________________________________________ _________________________________________

// ###################### Start getreputationimage #######################
Not found in functions_showthread.php

But looking at the code its only for if u use awards which i dont want to use (yet). So im gnna skip this step and see how it goes

Steve123 07-04-2004 02:05 AM

Ok use functions_reputation.php

think u will need to have user rep turned on for it to work tho

blueuniverse 07-04-2004 05:49 AM

I used functions_reputation and it worked, even though I have user rep turned off.

Thanks

jonpanky 07-04-2004 01:39 PM

I keep getting this error, I have tried deleting the games tables and starting again but it keeps coming back?

Code:

Database error in vBulletin 3.0.2:
Invalid SQL:
                INSERT INTO datastore VALUES('arcadesettings', 845)
       
mysql error: Duplicate entry 'arcadesettings' for key 1
mysql error number: 1062


jonpanky 07-04-2004 01:51 PM

P.s I'm now wondering why I'm having trouble doing this hack. Could it be due to the fact that I'm running 3.0.2?

Thanks
Jon

cybermomcafe 07-04-2004 02:12 PM

I just upgraded to 3.0.2 and I'm only having problems with one part...

When I have:

Code:

        if ($arcadegeneral['awardson']==1) {
                foreach ($awards as $key => $award) {
                        if ($award['userid']==$post['userid']) {
                                eval('$post[\'arcadeawards\'] .= "' . fetch_template('arcade_awards_bit') . '";');
                        }
                }
        }

in includes/functions_showthread.php

I get the following errors:

Warning: Invalid argument supplied for foreach() in /home/bundesen/public_html/testvb/includes/functions_showthread.php on line 675

Unable to add cookies, header already sent.
File: /home/bundesen/public_html/testvb/includes/functions_showthread.php
Line: 675

the Sandman 07-04-2004 02:38 PM

Quote:

Originally Posted by cybermomcafe
I just upgraded to 3.0.2 and I'm only having problems with one part....php

I get the following errors:

Warning: Invalid argument supplied for foreach() in /home/bundesen/public_html/testvb/includes/functions_showthread.php on line 675
Unable to add cookies, header already sent.
File: /home/bundesen/public_html/testvb/includes/functions_showthread.php
Line: 675

I know how to fix this one - I just had to do it. In the file edit instructions, the first edit in /includes/functions_showthread.php is supposed to go above
PHP Code:

// ###################### Start getreputationimage ####################### 

...which doesn't exist in the vB 3.0.2 version of the file. I originally put it above
PHP Code:

// Generate Reputation Power 

but if you put it there is causes the errors you describe. Instead, put it above:
PHP Code:

// ###################### Start doimicons ####################### 

Now, complete the second and third edits in /includes/functions_showthread as instructed and it should work fine.

cybermomcafe 07-04-2004 02:51 PM

Awesome! I could have swore I tried that ;) LOL

Thanks!

jonpanky 07-04-2004 05:01 PM

I'm on 3.0.2.

It took a few atempts to get it to work and it does now. Trouble is I now have a 'blank' arcadeadmin.php so I guess I cannot add any new games? Or do I just upload them to the server and leave it at that? If someone could give me a clue on how to get the admin page to work that would be cool.

I have tried to install several times and failed, but the arcade now works on the forum fine!? :confused: But the admin section does not?

Any help would be nice.

It's the best hack ever!

BATechie 07-04-2004 08:33 PM

hack installation was perfect. I searched the thread for possibly anything that would help me find where to get more games with it.

I couldn't find anything to help me . Is there a pack of games i could download for it or do i have to do all of them manually?

Beth 07-04-2004 11:26 PM

Thanks The Sandman.

platnum 07-04-2004 11:59 PM

I was wondering the same BATechie :D

Is there a big pack anywhere?

Thanks.

Beth 07-05-2004 12:37 AM

Quote:

Originally Posted by Beth
Thanks The Sandman.

Can someone offer assistance? I just get a blank page when i click on the Arcade link on my forums.

the Sandman 07-05-2004 02:02 AM

Quote:

Originally Posted by Beth
Can someone offer assistance? I just get a blank page when i click on the Arcade link on my forums.

Did you upload the installer and run it (choose the install templates only option!)?

Beth 07-05-2004 02:15 AM

Quote:

Originally Posted by the Sandman
Did you upload the installer and run it (choose the install templates only option!)?

Yes :) Edit: I wasnt very clear at all there was i. I didnt get an option of just templates.
there are no templates in the admin cp, but i do have the arcade option on the left of the admin cp.

Pixelgrounds 07-05-2004 03:09 AM

another vB upgrade... 3.0.3

So, will this hack work in 3.0.3???


All times are GMT. The time now is 02:44 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
  • Page Generation 0.05029 seconds
  • Memory Usage 1,846KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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