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)

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.


All times are GMT. The time now is 07:40 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.06056 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (7)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