vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=42880)

futureal 02-11-2004 06:06 PM

First, Kura, you're not the God of PHP that you think you are. You need a serious ego-check. If you're not going to say anything positive, please stay out of this thread.

Second, I won't be commenting on this "arcade war" because it is ludicrous. IMO, the Admins should be reprimanding those who choose to come in here with the sole purpose of trash-talking about a hack.

Third, the Mozilla error was something dumb that I never caught and I take full responsibility for it. If you are running the vB2 version of the arcade, try editing one of your game code sections in the admin panel so that both the OBJECT and the EMBED tags contain the full query string (with all of the variables, especially location). This may fix the problem.

Fourth, I just got back from Florida -- wow it was a long week -- and am getting back into the swing of things. I'll keep people posted.

Thanks!

Zelda-King 02-11-2004 06:51 PM

Just so you know I've always looked forward to your vB3 update, even after the other arcade came out. Damn, I might even use both. It'd kind of match the domain name.

cjmacd 02-12-2004 11:10 AM

Great hack :) have the games up and running

the only problem is when a game finished instead of going to the comment section

it goes to

http://proarcade.php/

i've looked everywhere for the source of the problem and haven't been able to find it yet

I have the 5 default games and the hash offsets are all 5 (which was default)

and i'm running vB ver. 2.3.2

thanks :)

futureal 02-12-2004 04:41 PM

What browser are you running?

I really need to get the vB2 fix out, it has the Mozilla fixes and all that other stuff.

cjmacd 02-12-2004 06:14 PM

Quote:

Originally Posted by futureal
What browser are you running?

I really need to get the vB2 fix out, it has the Mozilla fixes and all that other stuff.

IE 6.0

cjmacd 02-12-2004 06:19 PM

I don't think it's a browser error
and i've been over the code and templates many times.

if you want to see what I'm talking about it's as soon as a game ends

http://www.daltech.ca/proarcade.php

user: gameplayer | pass: 123456


which part of the program causes the comment / submit page to open up?

I've looked for admin settings. and there is now configurable URL


http://proarcade.php/ is what it opens.

I know many people have installed and used this hack just fine. has anyone seen an error like this?

futureal 02-12-2004 06:31 PM

Check the "Forum URL" variable in your vBulletin Options in the Admin CP, and if there is a trailing slash, remove it. I think that might your problem. If you look at the various URL links around your site, they all have a double slash ("//") in them...

cjmacd 02-12-2004 07:16 PM

Quote:

Originally Posted by futureal
Check the "Forum URL" variable in your vBulletin Options in the Admin CP, and if there is a trailing slash, remove it. I think that might your problem. If you look at the various URL links around your site, they all have a double slash ("//") in them...


The problems fixed:) Thank :D

I don't know why I didn't think to look at that

Excellent Hack man :) keep up the good work

now I gotta go make sure I hit installed:)

RISKS 02-14-2004 07:48 PM

any news about vbproarcade v3?

futureal 02-15-2004 09:59 PM

Still working on it... :)

The alpha should head out soon.

pmay68 02-15-2004 10:52 PM

How can I make a seperate page so that all the game scores show on that page rather than under the games lists..

A scores page sorta speak that hold all the different games scores so I can make a link to just an overall scores page.. Am i making sence here, now im confused haha anyone?

trunks_26753 02-22-2004 11:55 AM

Hi, i just installed it on a vB 2.3.4 Everything works fine except for the posts in a thread are being shown twice.

How do i fix this?

futureal 02-23-2004 09:59 PM

It is showing all posts in a thread twice? It sounds like you messed up the file modifications for showthread.php. Try going back over the installation instructions to double-check that everything is OK.

Good luck!

Warlord 02-28-2004 03:19 PM

cjmacd... that skin on your site is bad@$$.

futureal.... awesome hack man, I'm going to try the install now...

Warlord 02-28-2004 04:14 PM

Ok, I installed it and it works great, one small problem though...

When you finish a game and type something in the comments box, the font is the same color of the background... how do I fix that? (I think the sumbit button is also the same color as the backgroung too)

Warlord 02-28-2004 04:17 PM

NM I fixed it. Thanks for the awesome hack futureal!

Now where can I get more games? :D:D:D

MindTrix 02-28-2004 04:19 PM

https://vborg.vbsupport.ru/showthrea...threadid=47198

;)

THE REAL BLAZE 03-15-2004 10:13 PM

Some reason, everything works xept when i click on the game, the page stays blank

my board www.rapblock.com/forums, arcadelinks at the top

Oblivion Knight 03-27-2004 11:12 AM

Any news on ProArcade vB3? Things have gone quiet again..
I hope to be launching my new site within a month, with the arcade already installed on the forums. I'd rather hold out for ProArcade, but it may be that I install v3 Arcade if this isn't out in time..

I don't mean to put a deadline on you, but I was expecting a release when vB3 went Gold (even though you implied no such thing) and it hasn't arrived.. :(

Regards,
Oblivion Knight

gwhooooey 04-06-2004 12:23 AM

Have you given up on this for vB3? The thread seems to have died.

Let us know

Kaelon 08-27-2004 11:15 PM

Any word about the fix for vB2 to ensure that the games are scorable in Mozilla? What OBJECT and EMBED tags need to be used for these games so that the scores are recorded? Thanks!

Kaelon 08-29-2004 03:49 AM

Reducing Queries on proarcade.php

1. Get rid of the Mini Scoreboards:

For those of you who want to reduce queries by removing the scoreboard, just follow these easy steps while editing proarcade.php (this will take off around one to two queries per game):

a. FIND and DELETE the following code:

Code:

      // now begin the mini-leaderboard display
      $gs_rank = 0;
      $gamescorecellbits = "";

      $miniboard_q = $DB_site->query("SELECT * FROM arcadescores WHERE game='$gamename' AND valid=1 ORDER BY score DESC LIMIT 5");

      while ($miniboard = $DB_site->fetch_array($miniboard_q)) {

        $gs_rank++;
        $gs_score = number_format($miniboard[score]);
        $gs_user = $miniboard[username];

        // make date/time look good
        $gs_date = date("F j, Y", $miniboard[endtime]);
        $gs_time = date("g:i a", $miniboard[endtime]);

        $duration = $miniboard[endtime] - $miniboard[begintime];

        $gs_duration_mins = div($duration,60);
        $gs_duration_secs = $duration % 60;

        eval("\$gamescorecellbits .= \"".gettemplate("vbproarcade_arcade_gamescorecellbit")."\";");

      }

      eval("\$thisgamescorecell = \"".gettemplate("vbproarcade_arcade_gamescorecell")."\";");

      $allgamescorecells[$cellcount++] = $thisgamescorecell;

b. FIND and DELETE this following code:

Code:

  $curcell = 0;

  while (($curcell <= $cellcount) && ($cellcount != 0)) {

    if (($curcell+2) <= $cellcount) {

      // in this case, do a pair of cells

      $gamescorecell_1 = $allgamescorecells[$curcell];
      $gamescorecell_2 = $allgamescorecells[$curcell+1];

      // need to format it correctly since we are splitting rows

      $gamescorecell_1 = preg_replace("/GSCOLSPAN/","align=\"right\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSOUTWIDTH/","width=\"50%\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSINWIDTH/","width=\"100%\"",$gamescorecell_1);
      $gamescorecell_2 = preg_replace("/GSCOLSPAN/","align=\"left\"",$gamescorecell_2);
      $gamescorecell_2 = preg_replace("/GSOUTWIDTH/","width=\"50%\"",$gamescorecell_2);
      $gamescorecell_2 = preg_replace("/GSINWIDTH/","width=\"100%\"",$gamescorecell_2);

    } else {

      // in this case, a single cell

      $gamescorecell_1 = $allgamescorecells[$curcell];
      $gamescorecell_2 = "";

      // in this case we had an odd # of cells so just center the remaining cell

      $gamescorecell_1 = preg_replace("/GSCOLSPAN/","colspan=2 align=\"center\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSOUTWIDTH/","width=\"100%\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSINWIDTH/","width=\"50%\"",$gamescorecell_1);

    }

    $gamescores .= "<tr>" . $gamescorecell_1 . $gamescorecell_2 . "</tr>\n";

    $curcell += 2;

  }


Barto 09-20-2004 04:47 PM

HI,
I use Vb 2.3.4.
Every time that I finish a game appear this:

"data mismatch has been discovered between the game and the arcade, normally as the result of a cheating attempt. This attempt has been logged, and the score invalidated. If you feel that you are receiving this message in error, please contact the system administrator."

Please help me!!!

Blue Moose Aaron 09-23-2004 01:54 AM

He's got about 91% of it done, just has a ton of personal things going on. He hasn't abandoned it I swear!

Mystictrunks03 10-18-2004 02:57 AM

i get this error when accessing my site:

Parse error: parse error, unexpected T_DEC, expecting T_VARIABLE or '$' in /home/shankwh/public_html/main/forum/admin/functions.php on line 201

help

Gio~Logist 12-02-2004 10:31 AM

*bump*


All times are GMT. The time now is 01:37 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.03807 seconds
  • Memory Usage 1,797KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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