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)

Link14716 09-02-2002 06:13 PM

Ok, suggestion futureal, I want the miniboard (small leaderboard, no page nav, shown on the main arcade page) on this hack. I moved over from John's arcade and I miss my minileaderboard :(

futureal 09-02-2002 06:43 PM

Quote:

Originally posted by Trekkie
Is this Hack working with PHP which is in Safemode ?
The hack works, but the icons don't. You can run the hack just fine without the icons. I am going to see if I can get it to work tonight in safe mode -- I know it's possible, my code is just a little off, and I don't have a safe mode server to test it on.

I will post an update related to safe mode as soon as I have something.

futureal 09-02-2002 06:45 PM

Quote:

Originally posted by mewgood
hey I think this is a grest hack
but you know any website which has games to dwonload?

Quote:

Originally posted by BrandonC
Hey, there is one arcade game you forgot...I think centipede and frogger would be a great addition. I've been looking for it on the 'net but I cant seem to find it. Just a suggestion though. BTW, Great Hack! My members love it!
Quote:

Originally posted by Apok2002
My members have also requested Frogger and Centipede and Asteroids. I also have a few programmers on the site who said they could make some games. In turn, I told them as long as they integrated a score system and provide the .fla file, it may be possible. This is all that you need?
As I've said, the games need to be modified to work with the hack, so yes, if you can find the source for any Flash game out there that has scoring, chances are good that we can convert it to work with this hack.

You can either post the .FLA here or PM it to me and I'll get it done. Note that I have changed the way scores are sent from Flash to the Arcade, so using the methods from the vbTetris Hack will NOT work with this one.

My personal wish list:

Centipede
Frogger
Pong
Asteroids

The closer the games look to the originals, the better!

futureal 09-02-2002 06:52 PM

Quote:

Originally posted by Link14716
Ok, I am trying to make an Update Arcade thing in admin/misc.php, but I am not exactly sure how to. It is based off of the Update Forums part........ Can someone make one where it updates the Username in the arcade table based on userids?
You would have to do something like this (this is off the top of my head so it probably needs work):

PHP Code:

$data_q $DB_site->query("SELECT scoreid,userid FROM arcade");

while (
$loop $DB_site->fetch_array($data_q)) {

  
// this gets a userid's username from the user table
  
$user_q $DB_site->query_first("SELECT username FROM user WHERE userid='$loop[userid]'");

  
// this updates the score we're looking at with said username
  
$DB_site->query("UPDATE arcade SET username='$user_q[username]' WHERE scoreid='$loop[scoreid]'");



That obviously is going to generate 2 queries for each entry in your arcade table. However, since you only need to run it once, it should be acceptable.

futureal 09-02-2002 06:54 PM

Quote:

Originally posted by Link14716
Ok, suggestion futureal, I want the miniboard (small leaderboard, no page nav, shown on the main arcade page) on this hack. I moved over from John's arcade and I miss my minileaderboard :(
The "mini scoreboards" will be a part of Beta 2.

I think that answers everybody's questions for now, I'll be back later for another round. :)

Link14716 09-02-2002 07:42 PM

Quote:

Originally posted by futureal


You would have to do something like this (this is off the top of my head so it probably needs work):

PHP Code:

$data_q $DB_site->query("SELECT scoreid,userid FROM arcade");

while (
$loop $DB_site->fetch_array($data_q)) {

  
// this gets a userid's username from the user table
  
$user_q $DB_site->query_first("SELECT username FROM user WHERE userid='$loop[userid]'");

  
// this updates the score we're looking at with said username
  
$DB_site->query("UPDATE arcade SET username='$user_q[username]' WHERE scoreid='$loop[scoreid]'");



That obviously is going to generate 2 queries for each entry in your arcade table. However, since you only need to run it once, it should be acceptable.

Unfortunetly, you hit me a little late and I already made my fingers go numb manually copying and pasting the usernames into all 125 rows. :)

And the Beta 2, when can we expect it? *starts chanting "MINILEADERBORD!" :D

Link14716 09-02-2002 07:55 PM

Quote:

Originally posted by futureal




As I've said, the games need to be modified to work with the hack, so yes, if you can find the source for any Flash game out there that has scoring, chances are good that we can convert it to work with this hack.

You can either post the .FLA here or PM it to me and I'll get it done. Note that I have changed the way scores are sent from Flash to the Arcade, so using the methods from the vbTetris Hack will NOT work with this one.

My personal wish list:

Centipede
Frogger
Pong
Asteroids

The closer the games look to the originals, the better!

Frogger:
http://www.flashkit.com/movies/Games...5654/index.php

Pong:
http://www.flashkit.com/movies/Games...5228/index.php

Can't find centipede or Asterioids yet.

mewgood 09-03-2002 01:21 AM

I got this when I try to edit the general option

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/vbb/admin/proarcadeadmin.php on line 149

Warning: fopen("/tmp/phpbb4sos", "r") - Operation not permitted in /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/vbb/admin/proarcadeadmin.php on line 149

Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/vbb/admin/proarcadeadmin.php on line 150

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/vbb/admin/proarcadeadmin.php on line 169

Warning: fopen("/tmp/phpJusCCI", "r") - Operation not permitted in /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/vbb/admin/proarcadeadmin.php on line 169

Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/vbb/admin/proarcadeadmin.php on line 170
Arcade options updated!

mewgood 09-03-2002 01:43 AM

I got the sam errors when I try to upload any images for the games..

mewgood 09-03-2002 03:34 AM

please help me out!~!~


All times are GMT. The time now is 11:04 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.02346 seconds
  • Memory Usage 1,764KB
  • 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_php_printable
  • (8)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
  • (10)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