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)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

dieselpowered 11-26-2005 08:45 PM

Well I would like to use this, however, without the scoring working guess it is kinda pointless. Will keep an eye on the thread to see when it is resolved.

It is an excellent hack, zero, very nicely done...just need to get that darn score thing taken care of :)

Koopa 11-26-2005 08:47 PM

Quote:

Originally Posted by RaceJunkie
During this step I get this.

XML Error: mismatched tag at Line 45

How can I edit the templates? With my skin, the link text is unreadable on a white background.

Thanks

Boofo 11-26-2005 08:58 PM

Quote:

Originally Posted by xtremeoff-road
Well I would like to use this, however, without the scoring working guess it is kinda pointless. Will keep an eye on the thread to see when it is resolved.

It is an excellent hack, zero, very nicely done...just need to get that darn score thing taken care of :)

Resolved? Those that are having problems are finding out it is not the arcade causing the issue. I'm not sure what more we can do. It works for almost everyone else in the thread.

djjeffa 11-26-2005 09:03 PM

Quote:

Originally Posted by darkworld
And you tried the solution in post #301?

https://vborg.vbsupport.ru/showpost....&postcount=301

Gemma

nice and eazy install but under Game Information it is showing everygame 2 times.
any ideals?

Boofo 11-26-2005 09:08 PM

Quote:

Originally Posted by Koopa
How can I edit the templates? With my skin, the link text is unreadable on a white background.

Thanks

In the arcade/skins/ directory there is a file called skin_arcade.php. That is where you edit the html code for the page.

redlabour 11-26-2005 09:11 PM

Quote:

Originally Posted by amykhar
Yep. This fixed it. Specifically, change these two lines:
Code:

// modified to make less use of the index.php
$ibforums->vars['base_url'] = "arcade.php?$session[sessionurl]&";
$ibforums->base_url = "arcade.php?$session[sessionurl]&";

To
Code:

// modified to make less use of the index.php
$ibforums->vars['base_url'] = "/forums/arcade.php?$session[sessionurl]&";
$ibforums->base_url = "/forums/arcade.php?$session[sessionurl]&";


Does not work with MKPortal - same Error :

Quote:

Fatal error: Cannot redeclare class db_driver in /poltbofu/www.politikstube.de/mkportal/include/mk_mySQL.php on line 7
The Score is saved but the Error is showed - and Arcade is still not showing the navbar from MKPortal.

I have tried it with the full path including www.politikstube.de of course and without.

What MKPortal does is to add a Line at functions.php :

Quote:

// parse PHP include ##################
if (!is_demo_mode())
{
($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
}
//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added

Why does this not work for this Arcade ?
http://www.mkportal.it/support/showthread.php?p=53945

Alfa166 11-26-2005 09:16 PM

Firstly.......Great work Mr Z & all your helpers.

I'm using vBadvanced and found the code below allows scores to be saved, I did edit out the first section of it though as it was giving me errors, all seems to be in order now.

Code:

//if($_POST['module'] == "pnFlashGames"){
// $_GET[act] = "Arcade";
// $_GET['module'] = "arcade";
//}
if($_POST['func'] == "storeScore"){
$_GET['do'] = "pnFStoreScore";
}
if($_POST['func'] == "saveGame"){
$_GET['do'] = "pnFSaveGame";
}
if($_POST['func'] == "loadGame"){
$_GET['do'] = "pnFLoadGame";
}
$act = $_GET[act];
$showuser= $_GET[showuser];
if($act == "Arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}

Just put that at the top of the cmps index.php file under <?php
Then upload it and all should be fine

TosaInu 11-26-2005 09:56 PM

Very neat hack.

How resource intensive are the games themselves? Is the user loading data into his browser and is the whole game played 'locally' from there on, or does the server proces each second of fun for all users?

MrZeropage 11-26-2005 09:59 PM

Games are downloaded and played in local browser, you just have the traffic for each game to be transferred to the user

hobbes747 11-26-2005 10:00 PM

Quote:

Originally Posted by duplu
I have a bit of a problem which I don't know is solveable.

The whole installation went fine and the arcade is running. However I have about 1,000 games and over 30,000 scores in the scores table. Any page in the arcade takes over 30 seconds to open on my test site. If I check the server (and this is a Dual Opteron server) I can see MySQL is going mad on queries. I guess it is trying to calculate the new top tables, does it do this on every page!?

I have the same problem on a dedicated server with only 200 games. It's a bit bogged. It's the main page, scores pages and everything, not just the game pages.

Other than that, it's great. :nervous:

GoTTi 11-26-2005 10:03 PM

good move releasing this right before john is finally finishing up his arcade...

GoTTi 11-26-2005 10:04 PM

wait a sec, if we cant ask for games or mods for this, where would we? u got a forum setup for that?

MrZeropage 11-26-2005 10:08 PM

you can ask for Mods, no problem at all. If you are looking for Games, just ask Google where to find them, but not here.

dieselpowered 11-26-2005 10:09 PM

Quote:

Originally Posted by Boofo
Resolved? Those that are having problems are finding out it is not the arcade causing the issue. I'm not sure what more we can do. It works for almost everyone else in the thread.

Well my friend...I have tried it on my existing board as well as a fresh copy of vB 3.5.1 and in neither of them did it save the score. I also see numorous posts within this thread of people stating that scores are not being recorded. There was some code to place in the CMPS index.php file, however, that is not needed in my case as I use the CMPS index outside of the forum root. I have tried all the suggestions, however, the scores are not recorded.??

Boofo 11-26-2005 10:10 PM

Quote:

Originally Posted by duplu
I have a bit of a problem which I don't know is solveable.

The whole installation went fine and the arcade is running. However I have about 1,000 games and over 30,000 scores in the scores table. Any page in the arcade takes over 30 seconds to open on my test site. If I check the server (and this is a Dual Opteron server) I can see MySQL is going mad on queries. I guess it is trying to calculate the new top tables, does it do this on every page!?

And how do you check the server to see this?

Drago912 11-26-2005 10:11 PM

Thats strange cause I followed the install directions to a tee and everything worked without a hitch.....

Boofo 11-26-2005 10:13 PM

Quote:

Originally Posted by xtremeoff-road
Well my friend...I have tried it on my existing board as well as a fresh copy of vB 3.5.1 and in neither of them did it save the score. I also see numorous posts within this thread of people stating that scores are not being recorded. There was some code to place in the CMPS index.php file, however, that is not needed in my case as I use the CMPS index outside of the forum root. I have tried all the suggestions, however, the scores are not recorded.??

Have you tried adding the code to the CMPS index file as the other post stated to see if it fixed it? Maybe you ought to give that a shot before giving up and throwing in the towel. Who knows, it might be your answer. ;)

dan35 11-26-2005 10:26 PM

I see the amount of queries is almost double on showthread (postbit_legacy) ig. 15 -> 33
Is it just me?

dieselpowered 11-26-2005 10:32 PM

Quote:

Originally Posted by Boofo
Have you tried adding the code to the CMPS index file as the other post stated to see if it fixed it? Maybe you ought to give that a shot before giving up and throwing in the towel. Who knows, it might be your answer. ;)

Actually I did try that....the fresh install that I did does not have the CMPS :)

TosaInu 11-26-2005 10:38 PM

Quote:

Originally Posted by MrZeropage
Games are downloaded and played in local browser, you just have the traffic for each game to be transferred to the user

Great, thanks.

ceech 11-26-2005 10:42 PM

i did a fresh install as well, and it did save the scores for the first two games i played. i tried to play other games, and now it's not saving scores.

puertoblack2003 11-26-2005 10:57 PM

Quote:

Originally Posted by ceech
i did a fresh install as well, and it did save the scores for the first two games i played. i tried to play other games, and now it's not saving scores.

ok everybody is having that issue as myself but i fixed the problem and its up and running, in post #301 there are instructions to how to fix the problem for example i rename my forum index to [boards] and the cmps_index.php to [index] so when it's trying to save the scores it's looking for forum index but i renamed it boards, and it's reading the cmps_index.php which i named it index and that was my error because it need a script to read from the forum so on post 301 follow what the user is saying and that will solve your problem .....hope this make since it confuse me... :ermm: :ermm:

TosaInu 11-26-2005 11:02 PM

I'm getting an SQL error while setting a match in ArcadeCP

Code:

mySQL query error: SELECT userid, username FROM 0nvb3_user WHERE userid=

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 '' at line 1
mySQL error code:
Date: Saturday 26th of November 2005 06:57:05 PM

I selected two users in a 2 player match, told both to play match 1, setting saved and it is added to the tournament roster.

BrandiDup 11-26-2005 11:10 PM

I have uploaded this on version 3.5.1 following all steps to a T, and I'm receiving this error when I try to look at posts:

Quote:

Invalid SQL:

SELECT t.champion, u.userid FROM tournaments AS t
LEFT JOIN user AS u ON (t.champion = u.username)
WHERE champion<>'';

MySQL Error : Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
I can see the main forum fine, but I can't click on any links to view posts. I've tried uninstalling, overwriting, and still nothing is working. The error does go away after I uninstall, but it comes right back when I try to reinstall. Any idea what this could be caused from and how to fix it? :ermm:

BrandiDup 11-26-2005 11:14 PM

Quote:

Originally Posted by BrandiDup
I have uploaded this on version 3.5.1 following all steps to a T, and I'm receiving this error when I try to look at posts:



I can see the main forum fine, but I can't click on any links to view posts. I've tried uninstalling, overwriting, and still nothing is working. The error does go away after I uninstall, but it comes right back when I try to reinstall. Any idea what this could be caused from and how to fix it? :ermm:

Update:

EVERYTHING works fine except viewing posts. The arcade seems to be functioning just fine, I can view member profiles, etc. Its just clicking on posts that isn't working. So strange :ermm:

OK, edited to add... I went into the admincp and turned off the post bit options, and now it's fine. I'd still like to know what could be going on, but I'm leaving the post bit stuff turned off for now. :ninja:

Boofo 11-26-2005 11:32 PM

Quote:

Originally Posted by dan35
I see the amount of queries is almost double on showthread (postbit_legacy) ig. 15 -> 33
Is it just me?

Do you have the postbit awards turned on? Turn that off and see if that changes anything.

Boofo 11-26-2005 11:33 PM

Quote:

Originally Posted by BrandiDup
Update:

EVERYTHING works fine except viewing posts. The arcade seems to be functioning just fine, I can view member profiles, etc. Its just clicking on posts that isn't working. So strange :ermm:

OK, edited to add... I went into the admincp and turned off the post bit options, and now it's fine. I'd still like to know what could be going on, but I'm leaving the post bit stuff turned off for now. :ninja:

Recheck your postbit edits and make sure they are as they should be. ;)

RaceJunkie 11-26-2005 11:34 PM

Quote:

Open your AdminCP and do the following:

* Open the Menu Plugin-System
* Click Manage Products
* Click [Add/Import Product]
* Enter the path to the Product-XML-File: ./includes/xml/product-ibproarcade.xml and click IMPORT
* Confirm the Import of that Product
* Ready - the Hack is installed !
During this step I get this.

XML Error: mismatched tag at Line 45

peterska2 11-26-2005 11:35 PM

I'm having this problem too.

Fatal error: Cannot redeclare class db_driver in /home/saml/public_html/mkportal/include/mk_mySQL.php on line 7

Anyone figured it out yet?

Boofo 11-26-2005 11:36 PM

Quote:

Originally Posted by RaceJunkie
During this step I get this.

XML Error: mismatched tag at Line 45

You need to upload the product file and import it from your computer. It does not need to be in the directory.

Boofo 11-26-2005 11:47 PM

Quote:

Originally Posted by peterska2
I'm having this problem too.

Fatal error: Cannot redeclare class db_driver in /home/saml/public_html/mkportal/include/mk_mySQL.php on line 7

Anyone figured it out yet?

Did you apply the fix in post 301? If that isn't it, somewhere in this thread someone with mkportal posted something for the arcade. Sorry I can't be of more help but I don't run any portal.

Kacela 11-26-2005 11:48 PM

Fantastic job on the arcade. I sent you some "appreciation" via PayPal ;) . This was well worth the wait. The instructions were excellent!

*CLICKS INSTALL!*

Only issue I've run across so far is that when you "Play game in new window", the game does not resize if you then maximize that window.

RaceJunkie 11-26-2005 11:58 PM

Quote:

Originally Posted by Boofo
You need to upload the product file and import it from your computer. It does not need to be in the directory.

Got it

Thanks

Snort_2005 11-26-2005 11:58 PM

Now, when I installed the arcade, my old games and scores showed up, however, duplicates of the default games also showed up. I am wondering if you should look into that. :) Anywho.. that can be fixed.. Thanks for your good work Zero! ^_^

davidw 11-27-2005 12:02 AM

I nominate this for Hack of the Day, Week, and Month :P

TTG 11-27-2005 12:10 AM

getting quite a few complaints about scores not working .. anyone solved this yet ?

peterska2 11-27-2005 12:24 AM

Quote:

Originally Posted by Boofo
Did you apply the fix in post 301? If that isn't it, somewhere in this thread someone with mkportal posted something for the arcade. Sorry I can't be of more help but I don't run any portal.

It worked with adding the code from the forumhome_start hook in the index.php file right at the top after <?php and then disabling that one plugin.

paulmjno 11-27-2005 12:28 AM

Is this a stable release? Looks amazing...fantastic job.

kylek 11-27-2005 12:55 AM

Quote:

Originally Posted by Kacela
Fantastic job on the arcade. I sent you some "appreciation" via PayPal ;) . This was well worth the wait. The instructions were excellent!

*CLICKS INSTALL!*

Only issue I've run across so far is that when you "Play game in new window", the game does not resize if you then maximize that window.

Post 157 has the solution for the game size problem.

ceech 11-27-2005 12:58 AM

Quote:

Originally Posted by nievesidenshop
ok everybody is having that issue as myself but i fixed the problem and its up and running, in post #301 there are instructions to how to fix the problem for example i rename my forum index to [boards] and the cmps_index.php to [index] so when it's trying to save the scores it's looking for forum index but i renamed it boards, and it's reading the cmps_index.php which i named it index and that was my error because it need a script to read from the forum so on post 301 follow what the user is saying and that will solve your problem .....hope this make since it confuse me... :ermm: :ermm:

you did confuse me, but it worked .. so thanks for the fix nievesidenshop.


All times are GMT. The time now is 10:14 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.04081 seconds
  • Memory Usage 1,851KB
  • 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
  • (4)bbcode_code_printable
  • (25)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