vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=42880)

JackG 11-27-2002 05:08 AM

Sebastian, II am not pasting in double '..
For example. I just pasted this is from your file:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
'#FF0000',
'$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"',
'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$v pa_bburl&gamename=$game',
'<param name="quality" value="high">\r\n<param name=bgcolor value="#576375">',
'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"'
);


And I got this error which displays the insert wrong for some strange reason:

Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab 'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$v pa_bburl&gamename=$game',
'\r\nMySQL said: You have an error in your SQL syntax near '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9Back

Do you see?

I really want to get this working.

Sebastian 11-27-2002 06:07 AM

JackG:

I know you didn't put an extra ' but the error it's returning is showing an extra ' in the database.

Drop (delete) the current arcadegames table, THEN run the sql again making sure it doesn't have the extra '

you must drop the arcadegames table.... then run that .sql file I posted above and it should work.

did you try dropping the table first then re-creating it?

John 11-27-2002 03:33 PM

Quote:

Originally posted by xxxsaint
is there a way for people to cheat on the scores , I remember with the other version of the arcade there was a way to just enter it into the address bar a certain way and it would put up whatever score you input
If you're talking about my version, I found a way to make it 100% cheat proof (unless someone has access to the database)

xxxsaint 11-27-2002 04:05 PM

aren't you the guy the just blocked me on msn messenger :|

anybody know about cheating on THIS version ?

John 11-27-2002 04:07 PM

Quote:

Originally posted by xxxsaint
aren't you the guy the just blocked me on msn messenger :|

anybody know about cheating on THIS version ?

Probably not, I haven't blocked anyone for days!

If I did, don't take it personally - I do it to people all the time when I need some peace ;)

JackG 11-27-2002 08:45 PM

Hi Sebastian - I really appreciate it but -

Dident work.

I dropped the ArcadeGames forum. Pasted the first ister in
and got this error:

Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab 'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$v pa_bburl&gamename=$game',
'\r\nMySQL said: You have an error in your SQL syntax near '$tetrisscore',
550, 380,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9Back




- Now I dont have the arcade games table...

futureal 11-28-2002 04:53 AM

Hi guys,

I am going to do everything in my power to get Beta 2 out in the next few days over the holiday weekend. Those of you that have seen it on my site know that it has been progressing gradually, it's almost completely to where I want it.

When Beta 2 is released, I will first make sure that works, and then come up with an upgrade script (hopefully) after that. The upgrade script will just consist of some queries to run that will preserve your old score tables. If you don't mind losing your scores, the best (and recommended) upgrade will be to just delete the tables and start fresh.

More info to come soon. Thanks.

futureal 11-28-2002 04:56 AM

Quote:

Originally posted by TheMasterG
I think it was mentioned before but the Top scoreboard isn't showing the correct comments for the users top score, it shows their first comment always?

Anyone know a fix?

Great hack btw :rambo:

This has been fixed for the new version (see previous post). Thanks!

Shepski 11-28-2002 08:16 AM

Have a problem when the game ends, it displays :

Warning: MySQL: A link to the server could not be established in proarcade.php on line 203

And then takes you to the screen that tells you your rank and to enter a comment but it doesnt save any of the comments but does save your score.

Any ideas?

PS. Great script, will provide many hours of amusement for the users :)

futureal 11-28-2002 09:57 AM

That's a very odd error, it almost seems like a problem with the MySQL on your server. Could you look in your proarcade.php file and tell me which line is number 203? This is certainly an error that I have not yet come across.

In other news, I finished the postbit integration of the champions system tonight. You can see it in action on my website (look for posts by a user who is the champion of a particular game). Just as everything else in the arcade, it is completely configurable in the Admin CP.

More to come.


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