vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - v3 Arcade - Professional vBulletin Gaming (vB4) (https://vborg.vbsupport.ru/showthread.php?t=253211)

K!nG 12-08-2010 04:47 AM

I don't have currently any arcade on my forum since i just got the new one and when i tried to upload XML file via admincp this is the error that i get... don't know what m doing wrong please help if you can and thanks in advance.


Warning: require_once([path]/includes/v3arcade_class_db_analyse.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/adminfunctions_plugin.php(920) : eval()'d code on line 878

Fatal error: require_once() [function.require]: Failed opening required '/home/HOSTNAME/public_html/SITENAME.com/includes/v3arcade_class_db_analyse.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/HOSTNAME/public_html/SITENAME.com/includes/adminfunctions_plugin.php(920) : eval()'d code on line 878


:confused::o

Macbookpro 12-08-2010 06:42 AM

HI Gemma,

Thanks for the quick answer. Will check where I can find it.

If someone has an idea, where to get the packman game, open for suggestions.

Take care

Gemma 12-08-2010 10:45 AM

Quote:

Originally Posted by Macbookpro (Post 2130747)
HI Gemma,

Thanks for the quick answer. Will check where I can find it.

If someone has an idea, where to get the packman game, open for suggestions.

Take care

Sent you a PM for Pacman

Gemma 12-08-2010 11:27 AM

Quote:

Originally Posted by Hippy (Post 2130664)
php was upgraded from 5.2.14 to 5.3.2-1 and now the arcade is throwing errors at the top of the arcade and will not display at all

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/testvb/arcade.php on line 1786

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/testvb/arcade.php on line 2580


and this error in the middle of the page

Unable to add cookies, header already sent.
File: /public_html/testvb/arcade.php
Line: 1786

how can this be fixed to work with the latest php..
thanks

What is the code on lines 1786 and 2580?

Hippy 12-08-2010 08:06 PM

I don't have access to the files from work
but if I remember correctly this is what's on both lines √

PHP Code:

$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 


Gemma 12-08-2010 08:26 PM

I'm not running PHP 5.3.x but try removing the ampersand

Code:

$parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());

Hippy 12-08-2010 11:35 PM

yes thats what I did to get it working but I wasn't sure that was correct.

thanks

ForenOpfer 12-11-2010 08:56 PM

Hey there,

finally, everything works fine. I tried your Import-XML to switch from IBPro to v3arcade and its just great. Very very nice mod, I would like to nominate it as MOTM, but i can't find the Nominate-Button O.o

Best Regards from Germany
ForenOpfer

rob01 12-16-2010 03:13 AM

the v3arcade_postbit_userid_trophy_wrapper template seems to be uncatched

Gemma 12-16-2010 11:44 AM

Open the plugin Arcade Template Caching and find

Code:

        $cache[] = 'v3arcade_award_bit';
        $cache[] = 'v3arcade_postbit_userid_trophy';
}

Replace it with

Code:

        $cache[] = 'v3arcade_award_bit';
        $cache[] = 'v3arcade_postbit_userid_trophy';
        $cache[] = 'v3arcade_postbit_userid_trophy_wrapper';
}


Gemma 12-16-2010 08:14 PM

Quote:

Originally Posted by ForenOpfer (Post 2132561)
Hey there,

finally, everything works fine. I tried your Import-XML to switch from IBPro to v3arcade and its just great. Very very nice mod, I would like to nominate it as MOTM, but i can't find the Nominate-Button O.o

Best Regards from Germany
ForenOpfer

You can vote for v3arcade in the December MotM poll here - https://vborg.vbsupport.ru/showthread.php?t=254496

KW802 12-16-2010 09:39 PM

Quote:

Originally Posted by Gemma (Post 2131021)
I'm not running PHP 5.3.x but try removing the ampersand

Code:

$parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());

Quote:

Originally Posted by Gemma (Post 2134784)
Open the plugin Arcade Template Caching and find
...

Both will be included in the next refresh, thanks. :cool:

OldSchoolDSL 12-17-2010 06:28 PM

I've given up on trying to import any game using this.

All I get is

"There are no more games to import."

But nothing ever gets imported. I'm not going to manually import XXX amount of games and if it can not do it on its own, then its worthless.

The only games I seem to be able to install are from v3Arcade website and using the MochiMedia.com importer, but its not search-able.

GeorgeB85 12-17-2010 06:31 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135498)
The only games I seem to be able to install are from v3Arcade website and using the MochiMedia.com importer, but its not search-able.

This is what the mod is for.

OldSchoolDSL 12-17-2010 06:37 PM

Quote:

Originally Posted by GeorgeB85 (Post 2135501)
This is what the mod is for.

Mod also says they can import games which have been uploaded manually (such as iB "Pro" Arcade games or other v3Arcade games). Nothing I upload to the server manually ever gets imported.

Only thing that gets imported is if I use v3Arcade's website or use the Browse MochiMedia.com Games (which isn't search-able)

Gemma 12-17-2010 06:45 PM

In what way is MochiGames not searchable?

I've made a thread on v3arcade.com which might address some of your problems with ibPro games - http://www.v3arcade.com/forums/showthread.php?t=3602

KW802 12-17-2010 06:49 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135504)
Mod also says they can import games which have been uploaded manually (such as iB "Pro" Arcade games or other v3Arcade games). Nothing I upload to the server manually ever gets imported.

Only thing that gets imported is if I use v3Arcade's website or use the Browse MochiMedia.com Games (which isn't search-able)

What steps exactly are you taking with installing your IPB games? Should be as simple as uploading the .tar files to your server (default folder is /admincp/games), making sure that the folders specified in the ACP 'Import IPB Games' are chmod to 777 during installation, and then hitting the install button.

KW802 12-17-2010 06:51 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135504)
... or use the Browse MochiMedia.com Games (which isn't search-able)

Quote:

Originally Posted by Gemma (Post 2135509)
In what way is MochiGames not searchable?

I suspect he means from the ACP. Since the ACP is driven from pre-defined feeds off of the Mochi server, it'd be a huge mess to even try a search feature directly from within the ACP using the feeds.

OldSchoolDSL 12-17-2010 06:53 PM

Quote:

Originally Posted by Gemma (Post 2135509)
In what way is MochiGames not searchable?

I've made a thread on v3arcade.com which might address some of your problems with ibPro games - http://www.v3arcade.com/forums/showthread.php?t=3602

If I upload a .tar file or .zip file... And tell it to mass import, all I have ever gotten is

Importing Games
There are no more games to import.


And then the .tar or .zip file is gone (off the server).

AdminCP > v3 Arcade > Import Games > Browse MochiMedia.com Games

Brings up a nice list, but you can not search by title ... ie... type in a name and get the exact game you want.

OldSchoolDSL 12-17-2010 06:55 PM

Quote:

Originally Posted by KW802 (Post 2135511)
What steps exactly are you taking with installing your IPB games? Should be as simple as uploading the .tar files to your server (default folder is /admincp/games), making sure that the folders specified in the ACP 'Import IPB Games' are chmod to 777 during installation, and then hitting the install button.

I do this. I get the following;

Importing Games
There are no more games to import.



.tar or .zip is removed, but no game imported

KW802 12-17-2010 06:57 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135515)
If I upload a .tar file or .zip file... And tell it to mass import, all I have ever gotten is

Importing Games
There are no more games to import.

You'll want to upload the IPB .tar files. If you check the link Gemma gave, there are pointers in there to help resolve any issues you may be having.
Quote:

Originally Posted by OldSchoolDSL (Post 2135515)
... Brings up a nice list, but you can not search by title ... ie... type in a name and get the exact game you want.

Check my response above. If you need to do a search for a specific Mochi games, your best best is to search MochiMedia.com directly and then install from there. If you have your Mochi account configured correctly (see item #6 of the v3A Mochi FAQ) then all you would need to do to install games from the Mochi site is listed in item #7 of the FAQ.

OldSchoolDSL 12-17-2010 07:02 PM

Quote:

Originally Posted by KW802 (Post 2135517)
You'll want to upload the IPB .tar files. If you check the link Gemma gave, there are pointers in there to help resolve any issues you may be having.
Check my response above. If you need to do a search for a specific Mochi games, your best best is to search MochiMedia.com directly and then install from there. If you have your Mochi account configured correctly (see item #6 of the v3A Mochi FAQ) then all you would need to do to install games from the Mochi site is listed in item #7 of the FAQ.

Click the link, nothing in there seems to apply to me. I do not get any error messages. Only that the system tells me there is nothing to import.

Gemma 12-17-2010 07:06 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135519)
Click the link, nothing in there seems to apply to me. I do not get any error messages. Only that the system tells me there is nothing to import.

Make sure the transfer type is set to auto or binary when uploading, if it is set at ASCII the files won't be found

OldSchoolDSL 12-17-2010 07:11 PM

1 Attachment(s)
Quote:

Originally Posted by Gemma (Post 2135522)
Make sure the transfer type is set to auto or binary when uploading, if it is set at ASCII the files won't be found

Was originally setup for Auto. Changed to Binary, just to be sure. Same results.

Attached is a simple v3Arcade games I've tried to import. No luck.

(Would upload the IB game also for an example, but can not upload tar files here)

KW802 12-17-2010 07:37 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135523)
Was originally setup for Auto. Changed to Binary, just to be sure. Same results.

Attached is a simple v3Arcade games I've tried to import. No luck.

(Would upload the IB game also for an example, but can not upload tar files here)

{After looking at the zip file}.... the problem you're running into there is that it is a rather old file and the database names & installation methods have changed the last few years for v3A formatted games.

For that particular games, unzip the file to a folder, then modify the PHP file to replace the entire contents of the file to be this instead:
Code:

<?php

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// ##################### DEFINE IMPORTANT CONSTANTS #######################
define('CVS_REVISION', '$RCSfile: airfox.game.php,v $ - $Revision: 1.35 $');
define('NO_REGISTER_GLOBALS', 1);

// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array();
$specialtemplates = array();

require_once('./global.php');

print_cp_header("v3 Arcade - AirFox");

// welcome step
if (!isset($_POST['do']))
{
 $gameexists = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "v3arcade_games WHERE shortname='airfox'");
 if ($DB_site->num_rows($gameexists)==0) {
  print_form_header('airfox.game', 'stepone');
  print_table_header("v3 Arcade - AirFox");
  print_description_row("This script will install AirFox for your v3 Arcade.<p>
  Make sure you upload the following files:<br>
  airfox1.gif -> /images/arcade/airfox1.gif<br>
  airfox2.gif -> /images/arcade/airfox2.gif<br>
  airfox.swf -> /games/airfox.swf<p>
  Click on \"Install AirFox\" to begin the installation.");
  print_submit_row("Install AirFox", 0);
 } else {
  print_form_header('airfox.game', 'stepone');
  print_table_header("v3 Arcade - AirFox");
  print_description_row("AirFox is already installed!");
 }
}

// #############################################################################
// step 1
if ($_POST['do'] == "stepone")
{
 $DB_site->query("INSERT INTO " . TABLE_PREFIX . "v3arcade_games (shortname, gameid, title, descr, file, width, height, miniimage, stdimage, gamesettings, highscorerid, highscore) VALUES ('airfox', NULL, 'AirFox', 'Blast your way thru enemy ships in this space shooter.', 'airfox.swf', 300, 320, 'airfox2.gif', 'airfox1.gif', 29, NULL, NULL)");
 $DB_site->query("
  INSERT INTO " . TABLE_PREFIX . "gamenews (newstext,newstype,datestamp) VALUES ('New game installed, <b>AirFox</b>','newgame'," . TIMENOW . ")
 ");
 print_form_header('airfox.game', '');
 print_table_header("v3 Arcade - AirFox");
 print_description_row("Installation Complete! (PLEASE DELETE THIS FILE.)");
}

?>

The only change being that the table name is now "v3arcade_games" instead of just "games" (the table name changes were done as of v3A 2.0.0).

After that, upload the two .gif files to your /images/arcade folder and the .swf file to your /games folder. Upload the .php file to your /admincp folder and run the PHP file (eg:http://www.mysite.com/forums/admincp/airfox.game.php) and that will install the games settings for you into the tables. After that delete the airfox.game.php file from your server (but leave the rest).

OldSchoolDSL 12-17-2010 07:47 PM

1 Attachment(s)
Wow. To much work for all the games I have.

Wonders if my IB games are out dated as well.

Attached one for review (please).

It's a zip, then inside that is the original .tar

KW802 12-17-2010 07:54 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135539)
Wow. To much work for all the games I have.

Depends on how old they really are. The v3A formatted games should've switched over to a PHP format some time ago where instead of having a stand-alone installer the PHP is instead just the variables need to be picked up by the installer in the ACP. Those games should install fine. It is just the really old files, like the first one you posted, where they still have their own stand-alone installer script.

Quote:

Originally Posted by OldSchoolDSL (Post 2135539)
Wonders if my IB games are out dated as well.

Attached one for review (please).

It's a zip, then inside that is the original .tar

For that one, it looks like it should work fine if you upload just the .tar file to your server and then go by the normal IPB install directions. I'll try to take a look tonight at my test server with installing that one.

OldSchoolDSL 12-17-2010 08:01 PM

Someone just sent me a link to a place to get IB games and they imported (Thank you).

Only issue now is when the game ended... Rather then submit the score... I got this...

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

KW802 12-17-2010 08:06 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135545)
Someone just sent me a link to a place to get IB games and they imported (Thank you).

Only issue now is when the game ended... Rather then submit the score... I got this...

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Try this for IPB games & the vB4 Suite.... ;)

http://www.v3arcade.com/forums/showthread.php?t=3215


And before Gemma says it, that is covered in her problem solving thread also. :D

RichieBoy67 12-17-2010 08:06 PM

Could you please either post the link or send it to me for the games?

In regards to the security token, I have not encountered that issue before. Are those games protected maybe??

Thanks,
Rich

RichieBoy67 12-17-2010 08:07 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135545)
Someone just sent me a link to a place to get IB games and they imported (Thank you).

Only issue now is when the game ended... Rather then submit the score... I got this...

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


Could you please either post the link or send it to me for the games?

In regards to the security token, I have not encountered that issue before. Are those games protected maybe??

Thanks,
Rich

sorry for the double post..

OldSchoolDSL 12-17-2010 08:12 PM

This indeed was a useful link:
http://www.v3arcade.com/forums/showthread.php?t=3602

The fix there worked.

The site someone just passed to me was http://www.feckie.eu

Found a lot of games there.

teamshultz 12-17-2010 08:48 PM

Is it possible to still access the files for the previous versions? My forums are almost entirely custom so I'd like to wait to upgrade to 4.0.8 until I have the time to make all the template updates. That being said, I'm using 4.0.7 but I'd love to have the arcade back up.

Are there archived files anywhere for 4.0.7?

teamshultz 12-17-2010 08:52 PM

Ok, I'm looking in the download section of your website and I see a list of version options. Which one is for 4.0.7?

KW802 12-17-2010 09:09 PM

Quote:

Originally Posted by teamshultz (Post 2135567)
Ok, I'm looking in the download section of your website and I see a list of version options. Which one is for 4.0.7?

You'll want the "2.0.1 (vB4)" version from the drop-down list when downloading at v3A. :)

teamshultz 12-17-2010 09:46 PM

Quote:

Originally Posted by KW802 (Post 2135576)
You'll want the "2.0.1 (vB4)" version from the drop-down list when downloading at v3A. :)

Thanks a lot! Got it all set up now. This is so much better than the leading competitor. I had to make absolutely zero template edits.

*Only suggestion: Place the sample games in their respective categories automatically.

Is it possible to add a game to multiple categories?

OldSchoolDSL 12-18-2010 03:24 PM

I've run into only 1 bug that is not listed anywhere (that I could find) and its an odd one.

When looking at the games score, the system is ranking them backwards.... ie.... The lower score is ranked #1 and the highest score is in last place.

Anyone know what's up or how to fix this?

Gemma 12-18-2010 04:41 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135910)
I've run into only 1 bug that is not listed anywhere (that I could find) and its an odd one.

When looking at the games score, the system is ranking them backwards.... ie.... The lower score is ranked #1 and the highest score is in last place.

Anyone know what's up or how to fix this?

Is that happening with every game? (IPB, v3 and Mochi ones?)

Go to your phpmyadmin and run the query..

Code:

UPDATE `v3arcade_games` SET isreverse = 0
It will set High scoring for all the games, however if there are some scores which require low scoring you will need to edit them manually.

There is also an option when managing games AdminCP > v3 Arcade > Manage Games to set the scoring to either high or low for each game.

I know some IPB games I've installed automatically set the score type to low when it shouldn't be - this is usually due to a poorly written php file by the game encoder (not setting the highscore_type correctly)

OldSchoolDSL 12-18-2010 04:50 PM

Quote:

Originally Posted by Gemma (Post 2135960)
Is that happening with every game? (IPB, v3 and Mochi ones?)

Go to your phpmyadmin and run the query..

Code:

UPDATE `v3arcade_games` SET isreverse = 0
It will set High scoring for all the games, however if there are some scores which require low scoring you will need to edit them manually.

There is also an option when managing games AdminCP > v3 Arcade > Manage Games to set the scoring to either high or low for each game.

I know some IPB games I've installed automatically set the score type to low when it shouldn't be - this is usually due to a poorly written php file by the game encoder (not setting the highscore_type correctly)

No it's not happening to every game. Only some games & thankfully only the IPB games.

So will I need to manually edit ever game this affects? I think I'd sooner remove the game, then going around and playing with phpmyadmin

EDIT: This seems to work..

There is also an option when managing games AdminCP > v3 Arcade > Manage Games to set the scoring to either high or low for each game.

Thank you :)

mattcaswell 12-18-2010 08:48 PM

Won't import in products for VB4.1... just get ":" and it sits there. Was wanting to replace IBPRO with this, but at least IBPRO works.


All times are GMT. The time now is 02:33 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.01811 seconds
  • Memory Usage 1,872KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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