vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   guest sql error on send score (https://vborg.vbsupport.ru/showthread.php?t=143193)

testebr 03-26-2007 08:27 AM

guest sql error on send score
 
mySQL query error: SELECT * FROM vb3_games_session WHERE sessid= LIMIT 1

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
mySQL error code:
Date: Monday 26th 2007f March 2007 02:24:37 AM

arcade configuration = guest can play but cant send score

Please any solution fast.

Thank you

MrZeropage 03-26-2007 06:21 PM

this only appears for guests ?

testebr 03-26-2007 07:35 PM

yes only for guest on submit score

MrZeropage 03-27-2007 06:30 PM

I guess this is a v3arcade-game where this appears, right ?

Or is this also on standard-games like simon or snake ?

If you provide FTP+AdminCP access via PM I will try to find the problem and fix it directly on your site ...

testebr 03-27-2007 06:48 PM

Well... I just tested in one game, but I believe many gamers have same problem on guest submit score.

I have a lot v3 arcade games, 500+.

I can't provide FTP+AdminCP because I am using the Arcade in an Lan House with no internet access.

I can fix it if you guide me.

MrZeropage 03-27-2007 08:04 PM

I am sure for 99% that this only is a problem with guests playing v3arcade-games, not with ibproarcade-games.

Could you verify this by testing it with the standard-games coming along with ibProArcade ? I guess they work fine for guests ...

testebr 03-28-2007 04:56 AM

1 Attachment(s)
I just tested the game Yeti Sports 8- Jungle Swing (game_yeti8.tar) downloaded from your website (ibpdownloads) today and same problem:

Quote:

mySQL query error: SELECT * FROM vb3_games_session WHERE sessid= LIMIT 1

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
mySQL error code:
Date: Tuesday 27th 2007f March 2007 10:50:26 PM
Screenshot:

Attachment 62408

Cya

MrZeropage 03-28-2007 06:14 AM

but you played as guest again ?

testebr 03-28-2007 10:00 AM

hmmm, If I block cookies in browser I get the sql error...

with cookies enabled = no problem.

MrZeropage 03-28-2007 12:56 PM

Aaaaah, thanks for that info :)

Yes, as a guest has no user-table to insert any sessioninformation, I did that using cookies.
I think I will add some check before starting a game if cookies can be saved, and if not don't start the game...

testebr 03-28-2007 01:04 PM

let the user play with no cookies, simples dont try insert info to database.

It's possible?

MrZeropage 03-28-2007 01:12 PM

no, without any dedicated session-information having a clear reference to that visitor it is not possible to crypt/decrypt results (which new v3.x games do).
I don't have an idea yet how to store that information/reference without cookies and to make sure after playing to pull this one sessiondata that was started by that user - just imagine more than one guest is playing at the same time...

Having a normal user the userID is the reference, no problem - but guests...

GrendelKhan{TSU 03-29-2007 07:23 AM

I get this same error with some registered users.

Here's a link to the reported problem from one of my members :
arcade timeout and SQLerror


I can get you admin access or whatever if you need to check it out.

MrZeropage 03-29-2007 09:17 AM

with registered users? Can you reproduce it?

If so, please provide AdminCP+FTP access via PM and tell me how to reproduce this error, then I can fix it :)

Tenkoy 03-29-2007 05:48 PM

Well, from what the people on my forum have been stating. The error appears to be due to being timed out. If they play for too long and are timed out, they recieve the error.

MrZeropage 03-29-2007 07:27 PM

Ok, this makes sense... If you get logged out, the arcade can't read your sessionid for that game - will think about a solution for this...


All times are GMT. The time now is 08:05 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.01182 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete