vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Flash Player - Play Any Flash Game or Movie - Tetris, Pacman, Frogger, Minesweeper (https://vborg.vbsupport.ru/showthread.php?t=42196)

kenny@ecn 08-12-2002 10:46 PM

Quote:

Originally posted by Erwin
I am only interested in having the high score bit... :) If you can PM me how you did it, it would be good.



Same here...

And how to customize it.

John 08-12-2002 11:01 PM

You need to edit the Flash, add an action in Frame 5 where it says

gotoandplay("fine");

You need to add:

getURL("phpfile.php", "_self", "POST")

- Where phpfile.php is a file where you add code to process variables and up them to the db.

If you do this, it'll automatically generate a variable on the page you're pointing to entitled: "$punteggio" (told you it was italian!), and you can put that into the db.

Alternatively you could wait for me to do it, I won't be long...

Erwin 08-12-2002 11:02 PM

Quote:

Originally posted by kenny@ecn

And how to customize it.

To customize the actual game, just use a Flash editor, like Macromedia's Flash, or Swish. You cannot do it through vB.

Erwin 08-12-2002 11:04 PM

Quote:

Originally posted by JohnWarwick
You need to edit the Flash, add an action in Frame 5 where it says

gotoandplay("fine");

You need to add:

getURL("phpfile.php", "_self", "POST")

- Where phpfile.php is a file where you add code to process variables and up them to the db.

If you do this, it'll automatically generate a variable on the page you're pointing to entitled: "$punteggio" (told you it was italian!), and you can put that into the db.


Alternatively you could wait for me to do it, I won't be long...

I'm at work, so I don't have access to a Flash editor, so I'll just wait till you've done it. PM me the updated Flash file and php file WITHOUT the Lesane store hack addon, and I will update my hack. :)

kenny@ecn 08-12-2002 11:06 PM

Quote:

Originally posted by JohnWarwick

Alternatively you could wait for me to do it, I won't be long...



Yeah, I think I will do that :)

John 08-12-2002 11:08 PM

Quote:

Originally posted by Erwin

WITHOUT the Lesane store hack addon

Alright, calm down! ;) - you really don't like the store hack do you?!

I literally had to spend ALL day yesterday correcting the spelling mistakes in it, and removing some of the filth. You wouldn't believe some of the things Lesane has included in that code.

Download the store hack, and search for "ilove" in store.php - it's really not funny when you're setting up a board for a client...

Erwin 08-12-2002 11:24 PM

Lesane?... filth?... surely those 2 words don't go together... ;)

dadymac 08-12-2002 11:26 PM

Quote:

Originally posted by JohnWarwick


Alright, calm down! ;) - you really don't like the store hack do you?!

I literally had to spend ALL day yesterday correcting the spelling mistakes in it, and removing some of the filth. You wouldn't believe some of the things Lesane has included in that code.

Download the store hack, and search for "ilove" in store.php - it's really not funny when you're setting up a board for a client...

hehe, i know exactly what you are tlaking about, made me go "whoa" the first time i saw it.

John 08-12-2002 11:30 PM

Still, when you're making hacks for other people to use, you'd at least keep it clean. :|

DestyNova 08-12-2002 11:32 PM

Quote:

Originally posted by JohnWarwick


I literally had to spend ALL day yesterday correcting the spelling mistakes in it, and removing some of the filth. You wouldn't believe some of the things Lesane has included in that code.

Download the store hack, and search for "ilove" in store.php - it's really not funny when you're setting up a board for a client...

OMG! I decide to look up and .... I aint realize... wow

Neo 08-12-2002 11:53 PM

Quote:

Originally posted by JohnWarwick


Alright, calm down! ;) - you really don't like the store hack do you?!

I literally had to spend ALL day yesterday correcting the spelling mistakes in it, and removing some of the filth. You wouldn't believe some of the things Lesane has included in that code.

Download the store hack, and search for "ilove" in store.php - it's really not funny when you're setting up a board for a client...

LOL Damn thats really sucks g ><

Erwin 08-13-2002 12:08 AM

We know what he loves! :)

Neo 08-13-2002 12:10 AM

I am sure he does love spending hours editing spelling errors :)

John 08-13-2002 12:14 AM

I spent about 3 hours on the files, haven't even started editing the templates yet :@

Brad 08-13-2002 12:17 AM

LOL i noticed that myself. even tho it sould be removed i LOVE it when hackers add stuff like that to files.

Erwin 08-13-2002 12:38 AM

One thing I don't understand with this fascination for integrating vB Tetris with the Store Hack - why?

Why would you charge members for playing Tetris? Wouldn't this discourage your members from playing it at all, since they would rather use the points for something more valuable?

John 08-13-2002 12:44 AM

It's like a slot machine - put points in, get many many many points out :)

zootsuit 08-13-2002 12:45 AM

@ Erwin, naw...keeps them on their toes. ;)

...and as for Lesane and loving certain <ahem> things LOL
I honestly found it kinda funny...

DestyNova 08-13-2002 12:51 AM

Quote:

Originally posted by Erwin
One thing I don't understand with this fascination for integrating vB Tetris with the Store Hack - why?

Why would you charge members for playing Tetris? Wouldn't this discourage your members from playing it at all, since they would rather use the points for something more valuable?

Or give them a week or month of content with lots of points to win like 1,000 to 10,000 points or something small prize to make them to spend more time with tetris to win the prize. I doubt that it will discourage our members though if we add that.

Schorsch 08-13-2002 12:52 AM

I just want a simple highscore list, no store hack integration :bunny: :banana: when do u think u are ready with this ?

Thanks :)

Schorsch

P.S. I get hooked on this damn tetris ;)

Erwin 08-13-2002 01:04 AM

What are your high scores so far? :D

John 08-13-2002 01:12 AM

That's the problem, as soon as I test a change I've made I start playing Tetris again!

Schorsch 08-13-2002 01:31 AM

Quote:

Originally posted by Erwin
What are your high scores so far? :D
39617 points, I still need some practice ;)

John 08-13-2002 01:32 AM

Yeah, 39617 sucks ;)

Velocd 08-13-2002 01:41 AM

Quote:

One thing I don't understand with this fascination for integrating vB Tetris with the Store Hack - why?
I think every end-user-options hack that has ever came out post Lesane's Store there have been people wanting an integration :p

Power to the people! Or in this case, those with more posts :p

Schorsch 08-13-2002 01:45 AM

hey @JohnWarwick, do u think u still get this highscore list working today ? I'm just asking, because when u still make it today I'm waiting with installing the hack.

cu
Schorsch

Erwin 08-13-2002 01:52 AM

Patience... he's got a life too!

zootsuit 08-13-2002 01:55 AM

lol, calm down there, Schorsch. ;)

He'll be done when he's done. :)

John 08-13-2002 01:57 AM

Erm.. it's 3.53am here, and I'm kind of tired.

Can I get some sleep? I'll get cracking with it tomorrow...

Erwin 08-13-2002 01:59 AM

Go get some sleep! People can install this version first - makes no difference as there is no file edit at all - so upgrading would not be difficult. It'll just be uploading new files. For the top scores you don't need to change the template actually. Just the tetris.swf file, and adding another php file to insert the top score into the database. :)

Erwin 08-13-2002 02:01 AM

I'd try to do it myself, but (a) I'm at work (b) John has done it. No point doubling up on work. :)

Schorsch 08-13-2002 02:02 AM

Quote:

Originally posted by JohnWarwick
Erm.. it's 3.53am here, and I'm kind of tired.

Can I get some sleep? I'll get cracking with it tomorrow...

what ?? u go to bed so early :cheeky: u aren't allowed to go to bed now, u have to finish this hack !1 ;) *g* just kidding :) ok have a good night, sleep well and I'll see u all tomorrow

[D]Vincent 08-13-2002 02:02 AM

Well this thread got popular fast. The sad part is that it's mainly everyone asking for something :ermm:

John 08-13-2002 02:03 AM

What do you reckon? Should we add only high scores to the database, or all scores?

If we recorded all scores to the db, it'll use up a little more space - but it would make for some more interesting stats.

[D]Vincent 08-13-2002 02:11 AM

Well you could make to where it only saves each user's top score and then display the top 10 somewhere.

And also display the top score of the user in his profile.

Erwin 08-13-2002 02:15 AM

Quote:

Originally posted by [D]Vincent
Well you could make to where it only saves each user's top score and then display the top 10 somewhere.

And also display the top score of the user in his profile.

That sounds good.

A top 10 or Top 5 list would be enough really. Just save the user's top score, and then do DESC LIMIT query to get the top scores.

John 08-13-2002 02:15 AM

I know, but it's tempting to save all scores to a new table - that way we can have averages, and stuff :D

A mean, it's only 10 characters per score - how can you resist?!

Erwin 08-13-2002 02:16 AM

John, if the Store Hack integration is keeping you up, just finish up the Top Score part without the store hack first for those who don't want to use it with the store hack. :) Then go to sleep...

[D]Vincent 08-13-2002 02:17 AM

Weren't you going to sleep?

John 08-13-2002 02:18 AM

Yeah, I'm going! Just finishing off a loose end :)

Edit: By the way, I think I'm going to go with a new table option - mainly because I want to use it in preparation for a big hack I'm doing. You'll see.... ;)


All times are GMT. The time now is 01:33 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.01562 seconds
  • Memory Usage 1,818KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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