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)

illusions 12-12-2005 09:10 AM

I am having problem with my arcade system, It is correctly installed and running correctly but the problem is that it doesnt update members scores, it still keeps the old ones. Also I have had members complaining that they cant seem to submit new scores, it logs them out ? Help!

BlackRabbit1971 12-12-2005 09:21 AM

I had a similar problem Illusions.... I made my "Time-Out for Cookie" time longer set it to 1800 which is 1/2 hour.... seem to fix it... try it.. see if it helps..

BlackRabbit1971 12-12-2005 09:28 AM

Hmmmm I had a thought... Maybe MZP could have some sort of AdminCP setting that turns on a refresh or ajax refresh to keep the main session live and a time interval that admins can adjust that has a max of a few seconds before the seesion time out value is.. so, if a memeber is in the arcade then that would come into effect.... but admins can switch off if the want... hmmmmm

Just a thought...

BR ;)

harry1951 12-12-2005 09:37 AM

1 Attachment(s)
Quote:

Originally Posted by MrZeropage
@MigicMouse:
While updating to ibProArcade 2.5.4+ the additional languages will be included :)

Herewith my latest translation into dutch as requested

mikexxx 12-12-2005 02:35 PM

Quote:

Originally Posted by Synth
Is there a known issue with the tournament? I just created one for the first time tonight and when both players who are in the tournament click play the game doesn't show up for either.

Same problem here. I setup a (test) tournament for 4 players. I see the tournament Tree and the 4 players. When i click on PLAY the next page is loding (arcade.php?&act=Arcade&do=playtourney&gameid=3&ti d=2&rung=2) but the game doesnt't load/start.

MagicMouse 12-12-2005 02:57 PM

Quote:

Originally Posted by MrZeropage
@MagicMouse:
While updating to ibProArcade 2.5.4+ the additional languages will be included :)

Thanks for the information.

And harry1951 thanks for your latest translation file.

admin0 12-12-2005 05:40 PM

i noticed these in my error logs:

PHP Notice: Undefined index: sessdo in /path/to/nepalhub.com/httpdocs/arcade.php on
line 33

These notices appear whenever someone enters the arcade.

Please let me know how to fix it ?

MrZeropage 12-12-2005 07:04 PM

@admin0:
I will check this out

MrZeropage 12-12-2005 07:24 PM

** IMPORTANT **

Please notice that Security-Fix and apply it to your ibProArcade.

This Fix will be included in the next Update to ibProArcade 2.5.4+ but you should react on your own



open /arcade.php

search for
Code:

$tid = $_COOKIE['tidstarted'];
and replace with
Code:

$tid = intval($_COOKIE['tidstarted']);

Lyricsmama 12-12-2005 08:11 PM

Quote:

Originally Posted by MrZeropage
** IMPORTANT **

Please notice that Security-Fix and apply it to your ibProArcade.

This Fix will be included in the next Update to ibProArcade 2.5.4+ but you should react on your own



open /arcade.php

search for
Code:

$tid = $_COOKIE['tidstarted'];
and replace with
Code:

$tid = intval($_COOKIE['tidstarted']);

Thanks.

wolfstream 12-13-2005 07:12 AM

Quote:

PHP Notice: Undefined index: sessdo in /path/to/nepalhub.com/httpdocs/arcade.php on line 33
I was getting the same thing. Solution?
Code:

/*
if($_POST['sessdo'] == "sessionstart") {
        $gamerand = rand(1,10);
        $gametime = mktime();
        $lastid = 1;
        echo "&connStatus=1&initbar=$gamerand&gametime=$gametime&lastid=$lastid&result=OK";
        exit;
}
if($_POST['sessdo'] == "permrequest") {
        $microone = microtime();
        setcookie("v3score", $_POST['score']);
        echo "&validate=1&microone=$microone&result=OK";
        exit;
}
*/

and
Code:

/*
if($_POST['sessdo'] == "burn") {
        $DB->query("SELECT gname FROM ibf_games_list WHERE gid=" . $_COOKIE['gidstarted']);
        $gname = $DB->fetch_row();
        $_POST['gname'] = $gname['gname'];
        $_POST['gscore'] = $_COOKIE['v3score'];
        $ibforums->input['do'] = "newscore";
}
*/

Both places in arcade.php mentioning sessdo should be commented out, just like they are above. No guarantees how this will affect the ibProArcade setup, but it seems to run games and all that just fine, at least for me.

It looks like this has something to do with the vbarcade games and all that, or maybe an earlier v3 thing, but so far, nothing's acted up while leaving those commented out. The error definitely disapeared once that was done though.

HTH . Good product so far, just that one minor bug (and the fact that 777 permissions are evil in and of themselves!)

MrZeropage 12-13-2005 09:45 AM

With these changes Scores should not be saved, especially PNflashgames

albibak 12-13-2005 11:14 AM

Quote:

Originally Posted by MrZeropage
** IMPORTANT **

Please notice that Security-Fix and apply it to your ibProArcade.

This Fix will be included in the next Update to ibProArcade 2.5.4+ but you should react on your own



open /arcade.php

search for
Code:

$tid = $_COOKIE['tidstarted'];
and replace with
Code:

$tid = intval($_COOKIE['tidstarted']);

Can you modify the archive with the modification ?

MrZeropage 12-13-2005 03:49 PM

the next update to v2.5.4+ will have it included :)

albibak 12-13-2005 05:12 PM

When the 2.5.4 will be public ?

wolfstream 12-13-2005 05:23 PM

Quote:

Originally Posted by MrZeropage
With these changes Scores should not be saved, especially PNflashgames

Well, it works 100% fine here, and I tested it for a good couple of hours. It beats actually not being able to use the system

MrZeropage 12-13-2005 06:46 PM

which system do you mean ?

wolfstream 12-13-2005 06:59 PM

What other system would I mean? Without that specific hack, the gaming system is unusable, at least on my install. With it, the system is usable adn playable. While I haven't tested it 100% (I have 3 pages of games so far), every game that I've tested so far has worked like it should, using that hack, and they're all playable.

Dadoo 12-13-2005 11:09 PM

Quote:

Originally Posted by albibak
When the 2.5.4 will be public ?

tu ne serais pas un peu impatient toi ?? loool

Sooner95 12-14-2005 01:28 AM

Quick question.. I have been trying to put the Aracde trophies that one wins, into the USERCP..but as usualy I cannot code for my life..

Quote:

$post[crowns]$post[champtext]
I thought that perhaps you could put that in there and they would appear, but I must be missing something. Anyhow, its not a big deal, but if its something simple I could do, that's be cool.

albibak 12-14-2005 03:37 AM

Quote:

Originally Posted by finereader
tu ne serais pas un peu impatient toi ?? loool

Non je pr?f?re savoir avant de l'installer, car si une version plus r?cente arrive, j'attends un peu :p

MrZeropage 12-14-2005 04:48 AM

@Sooner95:
Where in UserCP do you want to use the crowns-code ?
And which vBulletin-Version are you using ?

Sooner95 12-14-2005 12:02 PM

Heya Zero.

Like underneath the subscribe threads table. using 3.5.

Having them on the postbit is ok, but the only thing i can use in the scrolling. You know what it looks like using the other way and you have members with like 200 trophies..LOL

Just trying to find a nice spot that can have them listed in columns (like maybe 3 columns) and you can click them to try and play and maybe take the trophy.

Dadoo 12-14-2005 02:31 PM

Quote:

Originally Posted by albibak
Non je pr?f?re savoir avant de l'installer, car si une version plus r?cente arrive, j'attends un peu :p

Noel devrait ?tre une bonne date ;-)

midaph 12-14-2005 05:44 PM

How do you reset scores/comments etc?

wolfstream 12-14-2005 09:12 PM

Quote:

Originally Posted by MrZeropage
With these changes Scores should not be saved, especially PNflashgames

Just a followup after a good bit of testing.

You are correct to a degree, older games do not save with this change. Everything that is released with this game system has no problem, and everything downloaded from the ibProarcade official site has no problems. However, older games have a pretty strong chance of not saving here. Would be nice to see this fixed, even though it is just a warning, not a critical problem.

d8tabyte 12-14-2005 10:03 PM

I am having a few issues with users complaining about the postbit template getting screwy on them -
Quote:

I have noticed that the people who have the scolling championship thingy sometimes have their posts screwed up. This is especially true of Randall...the scrolling thing pushes the post way over to the right...its kinda weird...if I'm the only one seeing it, then I will post a pic...
I have also noticed this on firefox.. any ideas? It generally happens with one member who has a lot of awards... I may just take them out of postbit and put them into profiles.

Scooterpig 12-14-2005 10:31 PM

Quote:

Originally Posted by d8tabyte
I am having a few issues with users complaining about the postbit template getting screwy on them -


I have also noticed this on firefox.. any ideas? It generally happens with one member who has a lot of awards... I may just take them out of postbit and put them into profiles.

I use postbit_legacy and don't have any problems at all. Maybe you might consider switching over to that for a better look..:)...just a suggestion, not a solution..:)

gator777 12-15-2005 12:42 AM

I installed IBProarcade without a hitch, but I am having an issue with the load times. It takes much longer to load than any other hack, and i suspect it is pulling too much CPU as well.

I am not a coder, but I did notice the the language selector at the bottom left of the page is not functioning properly, so maybe its as simple as a template issue that is causing the slowdown and high CPU usage.

Any help would be greatly appreciated.

P.S. I know it pulls a lot of information from the database, but the slowdown seems abnormal to me.

Thanks in advance :)

Sooner95 12-15-2005 12:50 AM

nah, you can use the postbit just fine, unfortantley with alot of awards, the only one that looks good is the scrolling one. I'm currently trying to get them into the users USERCP instead. I give a choice for those to use either postbit or legacy, but not going to restrict my members just becuase it doesnt look right.

midaph 12-15-2005 01:05 AM

how do i reset scores and all game data???

WNxWakko 12-15-2005 01:55 AM

Yes, I have noticed that also about loadtimes. It takes along time to load the arcade home page. Takes a while to navigate around. Not sure why, anyone know?

Scooterpig 12-15-2005 03:33 AM

Quote:

Originally Posted by Sooner95
nah, you can use the postbit just fine, unfortantley with alot of awards, the only one that looks good is the scrolling one. I'm currently trying to get them into the users USERCP instead. I give a choice for those to use either postbit or legacy, but not going to restrict my members just becuase it doesnt look right.

Thank you Sooner I actually meant to add the Scrolling bit in my reply and forgot, thanks mate..:)

egyptsons 12-15-2005 09:12 AM

great :)
waiting for more mode

peterska2 12-15-2005 08:51 PM

Quote:

Originally Posted by midaph
how do i reset scores and all game data???

In the arcade scores menu in the ACP there is a link called 'reset all scores'. Click this and it is done.

utw-Mephisto 12-16-2005 09:59 PM

As I posted before I did not like the way the crowns are displayed in the postbit (somewhat 20 pages ago) and I used a javascript and buttons to collapse the list. But : 3rd party Javascript does not work 100% hence I am using now vbulletin's own collapse technique ..

When modfied you will see THIS below the avatar :

http://img472.imageshack.us/img472/9030/15al.jpg

When hitting the small arrow :

http://img472.imageshack.us/img472/1390/24qj.jpg

The code :

Insert this in your postbit_legacy template (Sorry, dont use the normal postbit, dont know if this is working there too and how it looks)

Code:

<!-- Arcade Highscore -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('my_table_$post[postid]')"><img id="collapseimg_my_table_$post[postid]" src="$stylevar[imgdir_button]/collapse_tcat{$GLOBALS['vbcollapse']['collapseimg_my_table_' . $post[postid]]}.gif" alt="" border="0" /></a>
                        Arcade Highscore
                </td>
        </tr>
</thead>
<tbody id="collapseobj_my_table_$post[postid]" style="display: none;">

        <tr>
        <td class="alt1">
                        $post[crowns]$post[champtext]
                </td>
        </tr>
</tbody>
</table>

<!-- / Arcade Highscore -->

On my example however I played a bit around with the table size etc.

Just change width="100%" as you like it. Don't forget though, the default amount of crowns is set to 5 .. to change the amount (like in my example to three) look in the plugin ibProArcade: Crowns in Postbit for

Code:

                                $crown_end = ($crown['type'] == 1) ? '' : '<br />';
                                $counter=0;
                                foreach ($champs["$post[userid]"] AS $this_game)
                                {
                                        if ($crown['type'] == 3)
                                        {
                                                if ($counter == 5)
                                                {

And change if ($counter == 5) accordingly ...

hope this helps ..

Feckie (Roger) 12-17-2005 05:39 AM

Hi

Any news on ibProArcade v2.5.4 release...

gator777 12-17-2005 06:16 AM

Quote:

Originally Posted by WNxWakko
Yes, I have noticed that also about loadtimes. It takes along time to load the arcade home page. Takes a while to navigate around. Not sure why, anyone know?

bump

MrZeropage 12-17-2005 08:41 AM

@gator777:
will also be done within 2.5.4 which should arrive in december I hope

Xplorer4x4 12-17-2005 08:48 AM

Just incase the previous post i made was missed, when i ty to change the styles from v3arcade to ipbproarcade it does not change.

There is also a cookie problem with members getting logged out due to inactivity.

Last issue I have is that the X posts a day setting seems to reset at midnight sever time or local time. Perhaps it would be able to incorperate the Users hwo have posted in the last 24 hours hack into that setting?


All times are GMT. The time now is 11:01 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.05722 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
  • (17)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