PDA

View Full Version : Fix for ibproarcade integration with Vbbux/vbplaza


Cyricx
01-05-2007, 04:54 PM
Okay, so there has been a problem with this integration.

basically the points are deducted for playing the game, but no points awarded for a jackpot.

It appears the issue is caused by ibproarcades code.

I was able to fix this problem by editting the arcade.php and changing this


$vbversion = substr($vboptions[templateversion],0,3);
if ($vbversion != "3.0")
{
($hook = vBulletinHook::fetch_hook('ibproarcade_new_champ') ) ? eval($hook) : false;
}

To this

// $vbversion = substr($vboptions[templateversion],0,3);
// if ($vbversion != "3.0")
// {
($hook = vBulletinHook::fetch_hook('ibproarcade_new_champ') ) ? eval($hook) : false;
// }


Being that I'm running vb3.6 the if statement is not needed for me at all.

It was definately disabling that hook though and causing the issue.

Amiga Harrison
01-06-2007, 02:18 PM
I've got the same problem. The jackpot is not being awarded.

I commented out the code you mentioned but it hasn't fixed the problem.

Any other ideas?

update: I just removed your file edit from my arcade.php file so it was back to normal and the jackpot now works for me perfectly with vB 3.6.4

I am not sure if the correct number of points were credited for the jackpot though. Is there a way I can check how many points got awarded for the jackpot?

Cyricx
01-09-2007, 02:04 PM
I think I figured it out.

The problem seems to be with the "raising jackpot" used in the IBPro settings.

So removed all my setting changes using the vbux quick arcade editor, and just used the ibpro arcade settings.

The last problem, that I don't know a fix for is that the raising jackpot code seems to have a problem with increasing the jackpot when it is starting from zero.

So I just editted the newchamp plugin that came with vbbux and had it reset the jackpot to like 25 instead of zero after someone wins.

From there it seems able to raise it fine by itself, which works for me :)

So it looks like the ibpro code is all good and dandy, the mistake is somewhere in the vbbux ibpro plugin I guess.

MrZeropage
01-11-2007, 11:51 AM
Yes, ibProArcade does only provide Hooks f?r vbPlaza-PlugIns, so please report those things to vbPlaza-Support :)

Amiga Harrison
01-11-2007, 09:02 PM
So I just editted the newchamp plugin that came with vbbux and had it reset the jackpot to like 25 instead of zero after someone wins.

Excellent. I've been wanting my arcade to reset the jackpot to 10 instead of zero anyway and was hoping a setting for this was hidden somewhere. But I don't mind editing a file if it gets the same results.

I just changed this value and it worked. :)

I know this isn't the vbplaza support site, but it does directly affect the arcade.

imported_pmay68
01-13-2007, 05:51 AM
please show me the part of the file that you edited.. Also if the jackpot is set at like 100, isnt when it is won suposed to raise from there instead of restting to 0 ?

This is all I lack to get it all running perfectly.. Any help would be appreciated..