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)

futureal 11-17-2003 08:57 PM

Quote:

Originally Posted by Andrew111888
Hmm, I've added some games and only the original five show in the arcade..

It sounds like you may not have made the games active (an option under each game in the Admin CP).

futureal 11-17-2003 08:59 PM

Quote:

Originally Posted by peterska2
But where and how? (sorry very new to this side of things :nervous: )

Which file are you running SQL queries from?

Limpkinw 11-17-2003 09:19 PM

My users are cheating the arcade simply by editing the url is there a way to prevent this?

Example

http://www.limpkinw.com/forums/proar...abf39dd76dd245

Will submit a score of 1100 in blackjack or if you edit the score variable it will submit the score of your choosing. Can this be prevented?
Thanks

Andrew111888 11-17-2003 11:35 PM

Ah, that fixed it. Thanks:)

Any idea when a Mozilla/Mac compliant version will be available? No scores for me:( (mac)

futureal 11-17-2003 11:53 PM

Quote:

Originally Posted by Limpkinw
My users are cheating the arcade simply by editing the url is there a way to prevent this?

This is fixed in the next version. In the meantime you could add a simple check like this, near the beginning of proarcade.php (must be after the $gameinfo query for this to work):

// security check for HTTP_GET
$strippedvar = substr($gameinfo[scorevar],1);

if (isset($_GET[thescore]) or isset($_GET[$strippedvar])) {

// output some message if desired, like:
echo "Cheater!\n\n";
exit;

}

That should prevent anybody from entering a score variable in the query string.

Limpkinw 11-18-2003 05:10 AM

Cool, woudl there be a way to add the players who try this to a list...or page...just the basic idea and i can take it from there :)

futureal 11-19-2003 07:18 PM

You have have to add a field to the database somewhere and then add a query to the above code (between the brackets) to insert some information into that field. Or actually, to make it easier, you could just have the system send you an email when this happens. Take a look at this section of the PHP documentation:

http://us4.php.net/manual/en/ref.mail.php

You could include the date, time, user's name and query string in the email, so you'd get all the info.

Hope that helps.

Limpkinw 11-19-2003 07:53 PM

i think i have the query right, and its inserting a "counter" inot the database. Now i am trying to make a page display the cheaters...kinda like the store top 10...Working on it if I get it workin I can post here for evaluation/sharing purposes.

MaDCaT75 11-20-2003 07:32 AM

I got a problem with changing a game's champion text. Whenever I change the text and submit the changes it always goes back to just "t". Any ideas? :confused:

M?uschen 11-20-2003 07:11 PM

It is possible only to clear a part of the scourboard ?
I dont want to clear the topscore...

Please help... Thanks Mäuschen.


All times are GMT. The time now is 10:00 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.02885 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)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