vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   ibProArcade Fixes (https://vborg.vbsupport.ru/showthread.php?t=249120)

TroyTrojansFan 02-22-2013 04:00 AM

Hi,
Yes, I have added the code to the .htaccess file and the code to the index.php file. The arcade will still not save the scores. :(

I haven't seen anything else in the threads that tells you what to do after that?

Thank you for the help. :-)

Hippy 02-22-2013 09:57 AM

Quote:

Originally Posted by TroyTrojansFan (Post 2405715)
Hi,
Yes, I have added the code to the .htaccess file and the code to the index.php file. The arcade will still not save the scores. :(

I haven't seen anything else in the threads that tells you what to do after that?

Thank you for the help. :-)

If you have rewrite on.. Then you do not need the index edit.. Do one or the other they may conflict with try one test if it doesn't work test the other

TroyTrojansFan 02-22-2013 11:54 PM

Well, I tried the .htaccess page with just the added code and the index.php page in it's original condition and it doesn't work. Also tried the index.php code on there with the .htaccess file it's original state and neither work. :(

I don't know what to try now. :confused:

stangger5 02-23-2013 09:05 AM

Quote:

Originally Posted by TroyTrojansFan (Post 2405902)
Well, I tried the .htaccess page with just the added code and the index.php page in it's original condition and it doesn't work. Also tried the index.php code on there with the .htaccess file it's original state and neither work. :(

I don't know what to try now. :confused:

Do you have a index.php file ??
I dont think index.cfm will work..

Try adding the arcade index.php code to your forum/forum.php file..

TroyTrojansFan 02-25-2013 12:32 AM

Quote:

Originally Posted by stangger5 (Post 2405966)
Do you have a index.php file ??
I dont think index.cfm will work..

Try adding the arcade index.php code to your forum/forum.php file..

That worked!! Thank you very much for your help!! Great modification!!

kh99 12-13-2013 03:54 PM

I thought I'd share a small fix. We had one game (Onslaught 2) that would get errors when scores were submitted, and I always suspected it was because the scores were large numbers. It turns out the problem was due to the fact that our server OS is 64 bit and the score encoding depends on 32 bit arithmetic. So I made this change:

Find this line:
PHP Code:

$decodescore $player_score $vs['randchar1'] ^ $vs['randchar2']; 

and put this code after it:
PHP Code:

if (defined('PHP_INT_SIZE') AND (PHP_INT_SIZE == 8) AND ($player_score $vs['randchar1'])>2147483647)
{
    
$decodescore &= 0xffffffff;
    
$decodescore |= ($decodescore 0x80000000) ? 0xffffffff00000000 0;



As far as I know Onslaught 2 is the only game we had a problem with, but I thought I'd share it anyway in case someone else is interested.

Edit: I changed the above to simpler code that only runs when needed, and it's been tested better (although I don't know of any problem with what I originally posted).

xxdestinyxx 01-08-2014 01:33 PM

- Wrong thread -

FireFish 04-24-2014 09:40 PM

1 Attachment(s)
Any ideas why I'm looking like a trainwreck compatibility wise?


http://screencast.com/t/AUw5GDD9Z3

stangger5 04-25-2014 12:20 AM

Quote:

Originally Posted by FireFish (Post 2494558)
Any ideas why I'm looking like a trainwreck compatibility wise?

Over write your ARCADE template with the one in the first post in this thread,,for starters..

FireFish 04-25-2014 12:31 AM

Quote:

Originally Posted by stangger5 (Post 2494574)
Over write your ARCADE template with the one in the first post in this thread,,for starters..

I tried that before posting that screenshot. Negative. :mad:


All times are GMT. The time now is 08:20 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.01653 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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