Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Some arcade games do not submit score Details »»
Some arcade games do not submit score
Version: , by floggerss floggerss is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-03-2011 Last Update: Never Installs: 0
 
No support by the author.

Some games did not submit the score game. What should i do, and i mean the ones thar this mod have, like space invaders. But no to all the users.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-04-2011, 01:59 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lots of games don't submit score..
anyway.. do the index / portal edit found in your original zip file..
look at the text files .. you'll see what to add and where..

but if your members are getting logged out after submitting score..(result not saving) because you said some members.
after vb4.1.1 or may be vb4.0.8 you MUST have remember me ticked when logging to the forum or the score will not save because it loges you out..
Reply With Quote
  #3  
Old 02-04-2011, 02:33 PM
floggerss floggerss is offline
 
Join Date: Oct 2008
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do the index edit. I do not use a portal. My forum is 3.8.4. the remeber me is ticked by default.
Reply With Quote
  #4  
Old 02-04-2011, 06:08 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

portal or not
what do you call you forum with index.php or forum.php?

if you call it from forum.php
you need to add the edit.
Reply With Quote
  #5  
Old 02-06-2011, 01:24 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I posted this before somewhere a long time ago, but: I was debugging scoring problems and found that holdsession.php doesn't do what's intended because there's two problems with it: one is with the refresh html, there's an extra double quote after URL= so that the params aren't right.

The other problem is that the "lastactivity" time that's used to keep the session alive is updated using a shutdown query, and those don't get run at all unless exec_shut_down() is called (which is usually called by print_output() in vb scripts). I put exec_shut_down() at the end of my holdsession.php. (I haven't done anything with vB 4 versions so I don't know if this still applies).

There was also a problem with some code that apparently addresses a bug involving some version of IE and an "Error 005". I don't remember the details but I ended up hacking the code and changing $vs['start'] = $gametime; to $vs['start'] = $gametime - 1.0; around line 3484 of arcade.php.
Reply With Quote
  #6  
Old 02-06-2011, 03:03 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I posted this before somewhere a long time ago, but: I was debugging scoring problems and found that holdsession.php doesn't do what's intended because there's two problems with it: one is with the refresh html, there's an extra double quote after URL= so that the params aren't right.

The other problem is that the "lastactivity" time that's used to keep the session alive is updated using a shutdown query, and those don't get run at all unless exec_shut_down() is called (which is usually called by print_output() in vb scripts). I put exec_shut_down() at the end of my holdsession.php. (I haven't done anything with vB 4 versions so I don't know if this still applies).

There was also a problem with some code that apparently addresses a bug involving some version of IE and an "Error 005". I don't remember the details but I ended up hacking the code and changing $vs['start'] = $gametime; to $vs['start'] = $gametime - 1.0; around line 3484 of arcade.php.
thanks for the info ..
here is the holdsession line

Code:
echo "<meta http-equiv=\"refresh\" content=\"$secs; URL=\"$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid\">";
what quotes are you talking about

could it have been fixed ?

did you add exec_shut_down() after the above code but before ?>

the "Error 005". would happen when ?

I see the line is still $vs['start'] = $gametime;
if that error never happened should it still be changed to $vs['start'] = $gametime - 1.0;

--------------- Added [DATE]1297014126[/DATE] at [TIME]1297014126[/TIME] ---------------

ok I found your post..
https://vborg.vbsupport.ru/showpost....5&postcount=94
and with some testing
removing the \ from this code in the holdsession.php

Code:
echo "<meta http-equiv=\"refresh\" content=\"$secs; URL=\"$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid\">";
so it looks like this
Code:
echo "<meta http-equiv=\"refresh\" content=\"$secs; URL="$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid\">";
you no longer need the remember me ticked when you log in...

as far as the exec_shut_down();

I tried it with it in and out and it still keeps you logged in...

nyce find bud

please explain a little more about exec_shut_down();
I am not sure if it's still needed

what was it doing with out it before.. thanks
Reply With Quote
  #7  
Old 02-06-2011, 05:03 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
the "Error 005". would happen when ?

I see the line is still $vs['start'] = $gametime;
if that error never happened should it still be changed to $vs['start'] = $gametime - 1.0;
Sorry, I don't remember the details. I think it only happened with IE in certain circumstances, maybe only with certain games (but I do remember that I was able to get it to happen when I wanted). I guess if no one's ever complained then there's probably no reason to change it. It's a hack - something later is subtracted from the gametime (or the other way around) and if it's 0 it causes an error, so I made sure it was never 0. I don't even know if that was a reasonable way to fix it, for all I know I was just disabling a check that was put in there for a reason I don't understand.

Quote:
please explain a little more about exec_shut_down();
I am not sure if it's still needed

what was it doing with out it before.. thanks
To keep the session from timing out, init.php calls $vbulletin->session->do_lastvisit_update(). I guess for guests it works OK, but for logged in users it updates the session table with the current time, but it does it with db->shutdown_query(), which just queues it up to be run at shutdown (I don't know why - to speed up page loading maybe?). Anyway, it turns out that it's usually called by print_output() which isn't called in holdsession.php. I remember all that pretty well because I spent hours trying to figure out why the session was timing out even though holdsession.php was being requested. But like I said, that was 3.8 code so if you're working on version 4 it might not be true any more.

I suppose it's also possible I made a mistake somewhere alone the line...
Reply With Quote
  #8  
Old 02-07-2011, 11:49 AM
floggerss floggerss is offline
 
Join Date: Oct 2008
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
portal or not
what do you call you forum with index.php or forum.php?

if you call it from forum.php
you need to add the edit.
I call it index.php. I am still having problem with users that can not submit the score.

--------------- Added [DATE]1297101721[/DATE] at [TIME]1297101721[/TIME] ---------------

This error some times:

This score was not submitted from the game. Your score will not be saved.
Reply With Quote
  #9  
Old 02-07-2011, 07:46 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it in red ?

Might not record unless it's high score
unless you set it tosave all scores
Reply With Quote
  #10  
Old 02-08-2011, 06:07 AM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys -

I changed my database tables from MyISAM to InnoDB to correct an issue I was having. Now many (but not all) of my users aren't able to save their scores, and are presented with an error that another window is open.

I imagine that one or more of the tables shouldn't be InnoDB.

Any thoughts?

Thanks,
dc
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04474 seconds
  • Memory Usage 2,302KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete