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)

MrZeropage 12-26-2005 06:05 PM

.swf-Files go into /arcade/
.gif-Files go into /arcade/images/

Then just use "Add Game" in AdminCP and enter the necesaary data :)

Vladi_187 12-26-2005 07:08 PM

how Can I Add Games To This??

When i go to http://www.pnflashgames.com i go to download and then which category do i go into? which category do i download from?

kewl1uk 12-26-2005 07:40 PM

Quote:

Originally Posted by Vladi_187
how Can I Add Games To This??

When i go to http://www.pnflashgames.com i go to download and then which category do i go into? which category do i download from?

If you mean which format you download in, I get the PostNuke variety which works in my Arcade. If you mean where do you download games click the "online flash games" link. From there you can choose any category of games, play them, get the game for your web site or buy the game if it's a pay game.

kewl1uk 12-26-2005 07:46 PM

Quote:

Originally Posted by jawinn
None of the games I have downloaded from PNflashgames have instructions to setup. They only thing they include is .swf, .gif, .fla files and sometimes a readme file. Where do I uplolde the unzipped files to?

I tried following the readme file but all that's in there is peramaters for the height, width and color. I have yet to see anthing with a "gname" field.

As stated above you upload the flash (.swf) file in the /arcade main directory and the images in the /arcade/images directory. The configuration file contained in the download from pnflashgames.com which opens in Notepad has all the settings to insert into the fields in the Add Game screen except the "GNAME" which is the file name of the .swf game file - i.e. if the game you just uploaded is frogger.swf then the GNAME is "frogger" without the quotes.

Zia 12-27-2005 05:57 AM

Dear Mrzeropage..

Needed some help....
as i know this new version ibpro..support .tar & .zip games..i tried to install some that i got from ibproarcade ..some games giving error msg that not competable..its okay..that they r not competeable...
but some games giving this error..after that those games being installed & they are working nicely..

now what r that error msg for?
should i ignore those error msg or i will remove those games ?

Pls..
Thanks

ssabmud 12-27-2005 05:57 AM

can some one please help me i have intalled the arcade succesfully but after i play a game for some reason the hight score dosent save any suggestions?

Zia 12-27-2005 06:07 AM

umm umm...im not sure but did u chmood the folder 777 [read-write permission]

Boofo 12-27-2005 06:12 AM

Quote:

Originally Posted by Zia
Dear Mrzeropage..

Needed some help....
as i know this new version ibpro..support .tar & .zip games..i tried to install some that i got from ibproarcade ..some games giving error msg that not competable..its okay..that they r not competeable...
but some games giving this error..after that those games being installed & they are working nicely..

now what r that error msg for?
should i ignore those error msg or i will remove those games ?

Pls..
Thanks

What is the exact error message you are getting?

ssabmud 12-27-2005 06:13 AM

yes. and after it says sending score its jsut takes me to home page.

da prez 12-27-2005 06:18 AM

ssabmud see this post : https://vborg.vbsupport.ru/showpost....&postcount=813

i have no idea why this isn't included in the install instructions, took hours of wading through this thread the other day.

you put that code in your index.php file and it will work properly.

MagicMouse 12-27-2005 09:48 AM

Quote:

Originally Posted by MrZeropage
The ZIP-Installer is (as mentioned there in AdminCP) only for v3arcade-Games.

To install PNflashgames just check the Game itself, it should contain information about how to set it up.



@xYarup:
This is fixed in the next update, sorry

Can you give us some information on how far you are with the update?
Thanks

forte 12-27-2005 10:52 AM

MrZeropage, why won't you just use the subforums of the vbulletin version of ibproarcade in its site?

Link

It will be a lot easier and a lot more organized for supports... not to mention the same problems being asked over and over again.

MrZeropage 12-27-2005 12:29 PM

Because this Site is not mine and only/mostly related to the ibProArcade for InvisionBoard.

And there is no license-verification implemented on that site, that's why everything will be only on official vBulletin-Sites :)

Zia 12-27-2005 02:06 PM

Quote:

Originally Posted by Boofo
What is the exact error message you are getting?


It says "Zip archive not compatiable,installation failed"

Its a strange matter after givving this error msg some of games worked ...


what shall i do now?

forte 12-27-2005 03:13 PM

Quote:

Originally Posted by Zia
It says "Zip archive not compatiable,installation failed"

Its a strange matter after givving this error msg some of games worked ...


what shall i do now?

If you downloaded ibproarcade games and they have the extension of .tar (like snake.tar) then remember to put them in the tar folder and not in the zip folder.

MrZeropage 12-27-2005 05:49 PM

Please send me some Games that said "failed" but still worked, contact me via PM please, thx

Zia 12-28-2005 04:26 AM

thankx...
Im sending one...with in few minutes..

Zia 12-28-2005 04:28 AM

Quote:

Originally Posted by forte
If you downloaded ibproarcade games and they have the extension of .tar (like snake.tar) then remember to put them in the tar folder and not in the zip folder.


Dear friend....yeap thankx for ur advice.....i did that..in my tar folder app 4000+ tar games
and zip is a few maybe 200+.Hope u know for xmas stlmike release 100+ arcade .zip games...it was free w/o any restriction...it was for only day...i am getting probs with those games :ermm:


tar is quite okay...no probs with .tar game at all

da prez 12-28-2005 04:29 AM

4000 ?

YOWZA !!

Zia 12-28-2005 04:55 AM

Quote:

Originally Posted by da prez
4000 ?

YOWZA !!

ummm...its been on ftp

currently downloading 1000+ ....
search for games....u will find too....

ssabmud 12-28-2005 05:52 AM

Quote:

Originally Posted by da prez
ssabmud see this post : https://vborg.vbsupport.ru/showpost....&postcount=813

i have no idea why this isn't included in the install instructions, took hours of wading through this thread the other day.

you put that code in your index.php file and it will work properly.

thanks men this is some very useful information they should add it with the installtion files.

THanks da prez :nervous:

kpr 12-28-2005 08:22 AM

Im getting this error when trying to bring up rankings

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 838494 bytes) in /home/mania/public_html/arcade/functions/functions.php(1173) : eval()'d code on line 45

Any ideas on a solution.

cheers
Kev

MrZeropage 12-28-2005 09:39 AM

Disable the "show Template names in HTML-Output" option in the vBulletin-Settings, that should help

kpr 12-28-2005 10:15 AM

Quote:

Add Template Name in HTML Comments
If that is part to turn of it already is or am i looking at wrong part.

Thanks
Kev

LJR 12-28-2005 01:28 PM

Installed and seemingly working fine :)

Thanks MyZeroPage!

Zia 12-28-2005 03:13 PM

MrZeroPage..i've send u a PM...with zip's location...

Thanks

Xplorer4x4 12-29-2005 01:26 AM

Zero it has been several days since I PMed you about the issue(as you said) where this is generating massive about of queries for my forum. 95 QUERIES on some pages of my forums. I also tested it on another vB forum and it seems to be generating a large amount of queries on there almost entirley stock forum(except MAYBE one hack).

It seems that it is repeating this query:
PHP Code:

SELECT crown_type AS typeshow_crownsshow_t_won FROM games_settings 

For every user that has posted on the page regardless of wheather or not crowns are displayed or not.

MrZeropage 12-29-2005 04:05 AM

I am hunting that Bug, thanks for the Tip 'bout the Query

kylek 12-30-2005 02:29 AM

This might be a dumb question but here goes.

Post per day requirements

Is there any way to be able to have it set as 1 post per 2 days? So if a members does 1 post this will allow 48 hours access to play the games.

MrZeropage 12-30-2005 06:23 AM

Maybe this helps (untested):

open /arcade/modules/mod_arcade.php

Search for:
Code:

        if( $this->user['ppd_require'] )
        {
                $posts_today_time = mktime(0,0,0,date("m"),date("d"),date("Y"));

replace with
Code:

        if( $this->user['ppd_require'] )
        {
                $posts_today_time = mktime(0,0,0,date("m"),date("d")-1,date("Y"));


wolfstream 12-30-2005 07:13 AM

Not sure if this is even possible, but it'd be nice:
What I'm trying to do is move the champion stuff from the thread into the user's profile. I may leave it in the thread, but I definitely want to have a copy of it in the profile. Is this possible at all?

Also, a little addition to the hack, not that much really. With the number of games I have found out there, and put on my site, one random game doesn't cut it. So, I made a (minor) modification to allow more than one game to be randomly displayed... Here's the code for those that want it, really a simple hack:

in arcade.php you will see something like
Code:

$DB->query("SELECT g.gid, g.gtitle, g.gname, g.gcat, cat.password FROM ibf_games_list AS g, ibf_games_cats AS cat WHERE
g.active=1 AND g.gcat=cat.c_id AND trim(password)='' ORDER BY RAND() LIMIT 1");

change that to:
Code:

$DB->query("SELECT g.gid, g.gtitle, g.gname, g.gcat, cat.password FROM ibf_games_list AS g, ibf_games_cats AS cat WHERE
g.active=1 AND g.gcat=cat.c_id AND trim(password)='' ORDER BY RAND() LIMIT INSERTNUMHERE");

Personally, I use 15, but I've got a good bit of games on the site ;)
Now, if you want more than say 5, you will probably want to remove the image display and show the game names only. To do that, this one's just as easy:
Find
Code:

$ran_games .= "<a href='".$ibforums->base_url."act=Arcade&do=play&gameid={$rangline['gid']}'>
<img src='arcade/images/{$rangline[gname]}1.gif' border='0' /><br /><br />{$rangline['gtitle']}</a>";

And replace with:
Code:

$ran_games .= "<a href='".$ibforums->base_url."act=Arcade&do=play&gameid={$rangline['gid']}'>
{$rangline['gtitle']}</a><br />";

Again, not much, but it's more than nada , right ? :P

kylek 12-30-2005 06:03 PM

Quote:

Originally Posted by MrZeropage
Maybe this helps (untested):

open /arcade/modules/mod_arcade.php

Search for:
Code:

        if( $this->user['ppd_require'] )
        {
                $posts_today_time = mktime(0,0,0,date("m"),date("d"),date("Y"));

replace with
Code:

        if( $this->user['ppd_require'] )
        {
                $posts_today_time = mktime(0,0,0,date("m"),date("d")-1,date("Y"));


Thanks MrZeropage,

I have set up a usergroup for myself to check this out, added the above change and have set the permission for that group to 1 post per day and am trying it out now. It looks like it works as I needed to make a post to play any games. Will now wait to see when the time period expires - ie after 48 hours from making the post.

If this works and someone wanted to change the access period to say I post for 72 hours access (3 days) would the above change work if it was changed to -2 instead of -1?

Thanks again!!

RaceJunkie 12-30-2005 11:16 PM

I keep getting errors. i have had about 30 of these today

Code:

Database error in vBulletin :

mysql_connect(): User localrac_admin has already more than 'max_user_connections' active connections
/home/localrac/public_html/forums/includes/class_core.php on line 273

MySQL Error  :
Error Number :
Date        : Friday, December 30th 2005 @ 06:54:46 PM
Script      : http://www.localracechat.com/forums/index.php?act=Arcade&do=newscore
Referrer    :

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:

                              INSERT IGNORE INTO session
                                      (sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
                              VALUES
                                      ('b0f38850621086e1d611393fa2878013', 555, '***.***.***', '2e25a90bd81f8f5b5a619cdc42b4eba0', 1135986878, '/forums/index.php?act=Arcade&amp;do=newscore', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 5.5; AOL 9.0; Windows 98; Win 9x 4.90)', 0);

MySQL Error  : User localrac_admin has already more than 'max_user_connections' active connections
Error Number : 1203
Date        : Friday, December 30th 2005 @ 06:55:42 PM
Script      : http://www.localracechat.com/forums/index.php?act=Arcade&do=newscore

Can anyone give me some advice on how to fix this?

wolfstream 12-30-2005 11:26 PM

That is a mysql error, not a code error.
To fix this:
If you have root access to your server, adjust the mysql settings as necessary (probably want to up that quite a bit)
If you do NOT have root access to your server, you need to contact your hosting provider to have them up your connection limits.

RaceJunkie 12-30-2005 11:30 PM

Quote:

Originally Posted by wolfstream
That is a mysql error, not a code error.
To fix this:
If you have root access to your server, adjust the mysql settings as necessary (probably want to up that quite a bit)
If you do NOT have root access to your server, you need to contact your hosting provider to have them up your connection limits.

Ok i'm on a reseller so I would take a wild guess that i need to request my host to do it..

wolfstream 12-30-2005 11:35 PM

probably :)

HC. 12-31-2005 03:00 AM

where are the upgrade insturctions?
I have 2.5.1 installed

ausnrl 12-31-2005 09:40 AM

Besides pnflashgames whats a good site to get good games from?

RaceJunkie 12-31-2005 03:35 PM

Quote:

Originally Posted by ausnrl
Besides pnflashgames whats a good site to get good games from?

Here is a site I found A few weeks ago


* Link removed - Please read the last line in the first post! *

LLM4P 01-01-2006 03:16 PM

when i changed my username it didn't update in the Highscores Champion or the Newest Champions, plus all the games i am champion for still have my old username, is there a way to fix this?


All times are GMT. The time now is 04:49 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.06537 seconds
  • Memory Usage 1,845KB
  • 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
  • (10)bbcode_code_printable
  • (1)bbcode_php_printable
  • (13)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