vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

John 01-20-2004 05:38 PM

I've had a couple of emails with plenty of games, although a lot of them are just plain awful (or don't have any sort of scoring system in them), I'll try to get started on conversions.

If there are any people out there who are experienced in Flash and are happy to convert games for the v3 Arcade, send me an email and I'll pass on the current code for the system. (At the moment I'm working on several other arcade related modifications - and part of this includes a component for Flash which will take care of this stuff in the future.)

shad-gt 01-20-2004 05:54 PM

Quote:

Originally Posted by John
I've had a couple of emails with plenty of games, although a lot of them are just plain awful (or don't have any sort of scoring system in them), I'll try to get started on conversions.

If there are any people out there who are experienced in Flash and are happy to convert games for the v3 Arcade, send me an email and I'll pass on the current code for the system. (At the moment I'm working on several other arcade related modifications - and part of this includes a component for Flash which will take care of this stuff in the future.)

can you post that code here?

And thank you for your help with the award display in the member profiles.

Code:

if ( _root.sessionstarted <> 1) {
  _root.arcade = new LoadVars();
  _root.sessionvars = new LoadVars();
  _root.arcade.gamename = target;
  _root.arcade.sessdo = sessionstart;
  _root.arcade.sendAndLoad("arcade.php",sessionvars,"POST");
  _root.sessionstarted = 1;
  }

and which code is for the new entry in the highscore?

John 01-20-2004 06:01 PM

One thing I'd like to point out...

At the moment there have been over 80 successful installations... that's not bad considering that vB3 is still in the RC stages, and the Arcade has only been out for a couple of days.

I'd consider 80 a high enough number to say that if you can't get this to work, it's because you haven't followed the installation instructions properly. I've personally fixed about 5 dud installations, each of which was a file modification incorrectly carried out. The only other alternative is that another hack is installed which is conflicting with the Arcade installation. I know in one case a person had a problem with a clan based hack and the status field in the user table.

The next thing is to ponder over why the Arcade Settings navigation bar looks odd on some styles... I'll post a fix once I find the problem.

LightBringer 01-20-2004 06:06 PM

Quote:

Originally Posted by John
One thing I'd like to point out...

At the moment there have been over 80 successful installations... that's not bad considering that vB3 is still in the RC stages, and the Arcade has only been out for a couple of days.

I'd consider 80 a high enough number to say that if you can't get this to work, it's because you haven't followed the installation instructions properly. I've personally fixed about 5 dud installations, each of which was a file modification incorrectly carried out. The only other alternative is that another hack is installed which is conflicting with the Arcade installation. I know in one case a person had a problem with a clan based hack and the status field in the user table.

The next thing is to ponder over why the Arcade Settings navigation bar looks odd on some styles... I'll post a fix once I find the problem.

John, this is a clean forum with zero hacks installed on it. I've tried the installation about 6 times now with the same results. Other users can use the arcade just fine, but when I try and use it, I get the problems mentioned. I'd be happy to let you peek your head in on the server and see if you can nail down the issue.

Any advice would be great. I'd be happy to try and install it again, but I feel very confident that it's not the installation, nor is it really a problem with the hack. Something is preventing me as a user/admin from being redirected to the high score/comment page.

futureal 01-20-2004 06:09 PM

Quote:

Originally Posted by John
The v3 Arcade uses a complete different system. All communications that set scores and other variables happen while the game is being played, at the end of the game the page is redirected. There are two stages.

Ah, the joys of LoadVars. :)

I eventually stumbled upon what is probably a similar system, although I never implemented it in the old arcade. Doing it this way should discourage all but the hell-bent "I must cheat, no matter what!" people. It can still be done via memory editing, but they need to have an intimate knowledge of the hack and, when it comes down to it, I think very few will exploit it. Still, the admin can always check the game durations as well.

Good job with the challenge system, it's a cool feature!

John 01-20-2004 06:17 PM

Quote:

Originally Posted by futureal
Ah, the joys of LoadVars. :)

I eventually stumbled upon what is probably a similar system, although I never implemented it in the old arcade. Doing it this way should discourage all but the hell-bent "I must cheat, no matter what!" people. It can still be done via memory editing, but they need to have an intimate knowledge of the hack and, when it comes down to it, I think very few will exploit it. Still, the admin can always check the game durations as well.

Good job with the challenge system, it's a cool feature!

Nope, not loadVars - sendAndLoad.

Ordinarily, it doesn't take memory editing to cheat. If you know the source code (i.e. you've downloaded it from vb.org), you can easily see which actions to send your faked POST data to. Indeed, if you didn't have access to the source you'd need a packet sniffer to check to see what data was being sent, and then replicate it.

However, this still isn't the system that I use.

The v3 Arcade's games "talk" to vBulletin, vBulletin measures the time between each communication. If that time is greater than 5 seconds, it's very likely that someone is trying to manually send the data through a script. I.e. they prepare the data to send, send it, and start preparing the second batch of data. There are also a couple of basic calculations which make it more difficult for someone to cheat through firing off scripts with POST data.

In essence, the only way to cheat is to write a program to send and receive data the data rapidly, process is correctly, and send it back in the correct format. Only a very sad individual would be prepared to go to those lengths!

futureal 01-20-2004 06:23 PM

sendAndLoad is a method of the LoadVars object. :) Well, that's what I meant anyway. haha

corsacrazy 01-20-2004 06:25 PM

john

https://vborg.vbsupport.ru/showpost....&postcount=413

Gio Takahashi 01-20-2004 06:25 PM

Lightbringer, do you have a router or firewall?

One of my admin on my forums mentioned that those with firewall and router could ruin the highscore sent to the forums. Could it be something like that?

John 01-20-2004 06:25 PM

Quote:

Originally Posted by futureal
sendAndLoad is a method of the LoadVars object. :) Well, that's what I meant anyway. haha

Calm down kiddo, there's nothing wrong with a bit of detail. ;)


All times are GMT. The time now is 01:10 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.02670 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (5)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