View Full Version : vB Flash Player - Play Any Flash Game or Movie - Tetris, Pacman, Frogger, Minesweeper
Erwin
08-15-2002, 12:07 AM
Upgrade to v1.1: You can now set the width and height of the Flash Movie or Game using the URL command line and parameters!
Good for those of you who run your site at HIGH resolutions. :D
If you don't enter any width or height parameters, the Flash movie or game will automatically default to 600 x 400.
Parameters:
--------------------
play = name of SWF file (without the .swf extension - make sure the capitals and small letters are the same!)
w = width of Flash movie or game
h = height of Flash movie or game
default width and height is 600 x 400
http://www.your-forum.com/forums/flash.php?play=filename
"filename" being the name of the SWF file (without the .SWF) - the name must be exact (including the capitals or small letters)
to set your own width or height:
http://www.your-forums.com/forums/flash.php?play=filename&w=1024&h=768
Upgrade to 1.1
------------------------
If you want to be able to manually set the width and height for different Flash movies and games using the parameters, upgrade from v1.0 to v1.1 - just replace the old "flash" template with the new one, and replace the old "flash.php" with the new file. :)
Enjoy!
Schorsch
08-15-2002, 12:27 AM
hmm it's a little chuckleheaded all together, now we have two hacks, every hack has it's advantages and disadvantages, Erwin, yours with this new great parameters and with the possibility to play every flash game u want, but no highscore list.
on the other side, JohnWarwicks Hack, with a great highscore list but no ability to play different flash games, just tetris with only 10 short levels
nevertheless big thanks for your work Erwin and John :banana:
Erwin
08-15-2002, 12:32 AM
Originally posted by Schorsch
hmm it's a little corny all together, now we have two hacks, every hack has it's advantages and disadvantages, Erwin, yours with this new great parameters and with the possibility to play every flash game u want, but no highscore list.
To add a highscore list to a Flash game, you need to manually edit the Flash game file to integrate it with the vB database - it's not easy, and not all Flash games allow you to do this because of copyright and licenses. :) Make sure you find out that you can hack other people's Flash games before you do it - otherwise their lawyers may call you! :)
I aimed to make my hack easy to use - once it's installed, it's just a matter of uploading the SWF file to your forums directory, and using the command line and parameters. No need to edit anything. It even plays movies.
I can even make it play remote SWF files - but I won't do it because it would be unethical to play games on your forums hosted on another person's server.
Link14716
08-15-2002, 01:01 AM
Originally posted by Schorsch
hmm it's a little chuckleheaded all together, now we have two hacks, every hack has it's advantages and disadvantages, Erwin, yours with this new great parameters and with the possibility to play every flash game u want, but no highscore list.
on the other side, JohnWarwicks Hack, with a great highscore list but no ability to play different flash games, just tetris with only 10 short levels
nevertheless big thanks for your work Erwin and John :banana:
CORRECTION, he has only that capability NOW ;)
Erwin
08-15-2002, 02:40 AM
Originally posted by Link14716
CORRECTION, he has only that capability NOW ;)
Well, he can only do it with Flash games that are in public domain, like the Tetris one he used from my original hack. He's done a good job with it. However, not many Flash games out there will allow you to edit the source code so you can save the high score into your database. You can still integrate it into your forums with this hack.
If anyone comes across a good SWF game, please post here so we can all share it. :)
Originally posted by Erwin
However, not many Flash games out there will allow you to edit the source code so you can save the high score into your database.
Tell me about it, lol! I'm going to write pong myself, and I'm asking the copyright owners of some good flash games if they'll share their stuff.
The thing I love about the whole leaderboard concept is that you're introducing a competitive spirit into the forum, making things a whole lot more fun! Still, I like that you're doing with this hack :)
:banana:
Erwin
08-15-2002, 08:12 AM
Originally posted by JohnWarwick
Tell me about it, lol! I'm going to write pong myself, and I'm asking the copyright owners of some good flash games if they'll share their stuff.
The thing I love about the whole leaderboard concept is that you're introducing a competitive spirit into the forum, making things a whole lot more fun! Still, I like that you're doing with this hack :)
:banana:
Well, here's a very basic Pong Flash Game I found - 1 player, you use the cursor keys to move the paddle. You can probably improve on it...
Unzip the ZIP file and upload pong.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=pong
Erwin
08-15-2002, 08:14 AM
Alternatively, you can let your members watch this hilarious Pong movie integrated into your forums.
Unzip the ZIP file and upload pongmovie.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=pongmovie
Erwin
08-15-2002, 09:26 AM
A cool Flash Pacman game from the site in my first post. It's a free download and free to use.
Unzip the ZIP file and upload flashman.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=flashman
Erwin
08-15-2002, 09:32 AM
This is one of the better games from the same site. Again, it's a free download and free to use. It's a Samurai Fighting game, similar to the old style Karateka/ Budokan fighting (but with better graphics).
Unzip the ZIP file and upload samurai.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=samurai
The ZIP file is fairly large, and your members will have to wait for the swf file to load in your forums, but it's not a bad game at all to be able to offer online at your forums! :)
Erwin
08-15-2002, 09:39 AM
If you come across a very good Flash game or movie, please do share by posting an attachment here! :)
love it :)
I installed all 22 games from that site. If you wanna play any or test drive them, just use my sig :)
Thx for tha hack
Erwin
08-15-2002, 01:03 PM
Galactic Warrior - a Space Invaders-like game - free for public use.
Unzip the ZIP file and upload warrior.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=warrior
Erwin
08-15-2002, 04:37 PM
Frogger - another classic game - Flash SWF is public domain.
Unzip the ZIP file and upload Frogger.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=Frogger
xxxsaint
08-15-2002, 05:09 PM
I found a nice little free resource site that lets you have the .fla's and all , and the one I'm messing with now is Space Invaders. It even has a high scores script , but I can't figure out how to get it to work, somebody grab it and help ! w00oooOhoooo!
http://www.neave.com/
niceness.. ive added them all, use ma sig and play if you want to see how it works on your forums :) thx Erwin
DestyNova
08-16-2002, 06:02 AM
Erwin, check at my post Your idea stole?? (https://vborg.vbsupport.ru/showthread.php?postid=285821#post285821)
xxxsaint
08-16-2002, 06:52 AM
ok , well check this out for me , this version of space invaders includes a high score script , can anyone figure out how to get it to work ?
Erwin
08-16-2002, 07:10 AM
Originally posted by DestyNova
Erwin, check at my post Your idea stole?? (https://vborg.vbsupport.ru/showthread.php?postid=285821#post285821)
LOL!
I replied to your post there.
Anyway, just letting people know that I will be away this whole weekend to the country, where there is no internet connection :eek: I am leaving now... so if you have any bugs to report, please post here, and I will sort them out when I get back.
Glad that people like this hack. :)
Also, please share any Flash games by posting them here.
See you all after the weekend...
BigJohnson
08-16-2002, 02:13 PM
When should we expect the store intgrated version for this?
I didn't know Erwin was planning a Store version...
Keyser S?ze
08-16-2002, 02:42 PM
alright, well i like to go big, so i made a page that allows ppl to select a wide variety of games and movies to play with
tho i am not too bright so i used the error page to do it :p
i set a link on the forum home page to go right to flash.php (where it use to say "u didnt select a game") now it has a list of games with links to them :banana:
can anyone think of a better way as sometimes that gives me a error when leaving
basically i just want a good way for ppl to see a assortment of stuff all on one page,
ipscone
08-16-2002, 08:50 PM
So what causes this problem
I've installed the flashplayer11 and it almost works. The problem occurs when I try to go back to my vBportal. I get the login screen, when I try to return. But it shows that I'm logged in and I can click Home again and get to home.
What causes this? How do I prevent this intermediate login screen?
My Forums (http://www.msdsite.com/index.php)
Click "Flashman" in the Main Menu, then click "Home" at the top and see the problem.
Since the Flash does not show up unless you are logged in you can use "test" as the login and "12345" as the password (temporarily).
Sidenote:
I also want to have a menu selection, similar to "Topics" in the Main Menu that will take me to a page where I can select the games. I have copied Topics.php to Games.php and took out the mysql stuff and have the problem there also.
Keyser S?ze
08-17-2002, 12:39 AM
at my forums i have it set so guests can use the flash games/movies
i dont want alot of ppl signing up and never posting, just to play, too many dead members
anyways, real problem, i have alot of games that need a black BG to see what it is, so can i set it so in the flash section its always black?
also is there a way to force the flash into a certain highth/width?
DanIAm
08-18-2002, 04:21 AM
I have two wierd problems I would like to bring up for help.
1.) When loading any .SWF file using this hack to play a game for example my top options such as profile, register, calender, etc all load with the cinsistant exception of the search. I can click reload and still it does not load. It does not do this anywhere else in the site, and when I take the time out to right click the red X and click show picture, then it does load. If I was to reload the page again, it's back to the red X (see pic)
https://vborg.vbsupport.ru/
2.) When I click on the temp link which I temp placed in the footer section with the link title 'flashman'. I see my main pic/logo which normally resides on the top of the site page, and I see THE profile tab which normally resides on the top as if it was trying to load on the bottom too. It did not complete, this is as far as it got and it does this everytime I try to play flashman... WHY? (see pic)
https://vborg.vbsupport.ru/
Erwin
08-18-2002, 08:43 AM
Originally posted by john.eovie
I didn't know Erwin was planning a Store version...
I'm not. I don't have Lesane's store hack installed, and don't plan to install it. If I do make a points hack addon, it would be with Shinra's Point hack.
Erwin
08-18-2002, 08:55 AM
Originally posted by ipscone
[b]So what causes this problem
I've installed the flashplayer11 and it almost works. The problem occurs when I try to go back to my vBportal. I get the login screen, when I try to return. But it shows that I'm logged in and I can click Home again and get to home.
What causes this? How do I prevent this intermediate login screen?
My Forums (http://www.msdsite.com/index.php)
Click "Flashman" in the Main Menu, then click "Home" at the top and see the problem.
Since the Flash does not show up unless you are logged in you can use "test" as the login and "12345" as the password (temporarily).
I tested the game "Pacman/ Flashman" at your forums using that test account, and it worked with no problems. :)
It could be an intermittent cookie problem - Flash can do this sometimes. Just click on REFRESH, and the problem should go away.
Erwin
08-18-2002, 09:01 AM
Originally posted by IceMalee
at my forums i have it set so guests can use the flash games/movies
i dont want alot of ppl signing up and never posting, just to play, too many dead members
anyways, real problem, i have alot of games that need a black BG to see what it is, so can i set it so in the flash section its always black?
Easy fix.
The default at the moment is that the Flash Player page uses your page background color as default. To change this:
In the "flash" template:
Find (remove the space inside the {} tags) :
VALUE={ pagebgcolor}
Replace with:
VALUE=#000000
THEN, find (remove the space inside the {} tags) :
bgcolor={ pagebgcolor}
Replace with:
bgcolor=#000000
also is there a way to force the flash into a certain highth/width?
You can adjust the height and width using the parameters already for each game you like.
Default is 600 x 400.
To change the height and width, add
&w=1024&h=768
to the end of the URL, the numbers being the width and height you want. Read the first post for examples.
Erwin
08-18-2002, 09:04 AM
Originally posted by DanIAm
I have two wierd problems I would like to bring up for help.
1.) When loading any .SWF file using this hack to play a game for example my top options such as profile, register, calender, etc all load with the cinsistant exception of the search. I can click reload and still it does not load. It does not do this anywhere else in the site, and when I take the time out to right click the red X and click show picture, then it does load. If I was to reload the page again, it's back to the red X (see pic)
http://www.mentalmingle.com/images/unloadedregister.jpg
That happens on occasions. For some reason, the Flash file loading is interfering with your gif file loading. There's nothing you can do about it - it just happens. On my site, this problem is intermittent.
I suggest maybe to rename you search.gif file and see if that helps.
2.) When I click on the temp link which I temp placed in the footer section with the link title 'flashman'. I see my main pic/logo which normally resides on the top of the site page, and I see THE profile tab which normally resides on the top as if it was trying to load on the bottom too. It did not complete, this is as far as it got and it does this everytime I try to play flashman... WHY? (see pic)
http://www.mentalmingle.com/images/footerprob.jpg
That's weird.
I have no explanation for that to be honest, since the flash template uses your own footer. Take a look at your footer template and make sure that all the tags are closed. Have a look at the flash template too - make sure you copied and paste the WHOLE of the flash template.
It's a strange problem, and looks like HTML tags not being closed.
Erwin
08-18-2002, 09:13 AM
This solution here solves the following 2 questions.
Originally posted by IceMalee
alright, well i like to go big, so i made a page that allows ppl to select a wide variety of games and movies to play with
tho i am not too bright so i used the error page to do it :p
i set a link on the forum home page to go right to flash.php (where it use to say "u didnt select a game") now it has a list of games with links to them :banana:
can anyone think of a better way as sometimes that gives me a error when leaving
basically i just want a good way for ppl to see a assortment of stuff all on one page,
Sidenote:
I also want to have a menu selection, similar to "Topics" in the Main Menu that will take me to a page where I can select the games. I have copied Topics.php to Games.php and took out the mysql stuff and have the problem there also.
Essentially, this are instructions on how to convert the file flash.php into a menu for your games.
So when you link to
http://www.your-forums.com/forums/flash.php
instead of going to the error message, you get a customizable games menu which you set up in your templates.
Thanks to IceMalee for the idea. I have just taken his idea and changed it from an error template to a full template.
Open flash.php
Find:
eval("standarderror(\"".gettemplate("error_flash")."\");");
Replace with:
eval("dooutput(\"".gettemplate('flash_menu')."\");");
Then go to your Admin CP.
Add a new template:
flash_menu
with these contents:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>$bbtitle - Flash menu</title>
$headinclude
</head>
<body>
$header
<!-- breadcrumb -->
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
<td width="100%"><img src="https://vborg.vbsupport.ru/vbimages/vb_bullet.gif" align="absmiddle"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > Flash Menu</b></normalfont></td></tr></table>
<!-- /breadcrumb -->
<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td colspan="2" bgcolor="#606096" align="center"><normalfont color="#FFF788"><b>$bbtitle Flash Menu</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#F1F1F1" align="left" valign="top"><normalfont>
<br><br>
<center>
<normalfont>
<a href="flash.php?play=tetris">Play Tetris</a><br>
<a href="samurai.php?play=samurai">Play Samurai Game</a><br>
</normalfont>
</center>
</td>
</tr>
</table>
</td></tr></table>
$footer
</body>
</html>
Just customize the middle section of the template - you can make it a table, or however you like, using HTML.
Find this code in the "flash_menu" template, and customize it all you like:
<a href="flash.php?play=tetris">Play Tetris</a><br>
<a href="samurai.php?play=samurai">Play Samurai Game</a><br>
Then, just link to:
http://www.your-forums.com/forums/flash.php
To access the Flash menu. I've never tested this, since I don't use a menu system, but it should work. :)
Let me know if it works.
IceMalee, use this rather than your current solution, and it should fix your error issues.
Erwin
08-18-2002, 09:31 AM
Spaceship Shootemup - A space ship shooting game with very nice graphics.
Unzip the ZIP file and upload Spaceship.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=Spaceship
DarkDraco07
08-18-2002, 02:57 PM
how come it doesnt load the flash? it just shows the page and the place where flash is supposed to be is blank
Keyser S?ze
08-18-2002, 04:26 PM
r u using IE, cuz this only seems to work with IE
Keyser S?ze
08-18-2002, 04:28 PM
something else to add pls
got so many files i dont want to keep them in my forum dir, i made a flash dir in the forum dir, i fixed it so its working fine but not exactly sure what i did,
might want to add that
DarkDraco07
08-18-2002, 05:29 PM
can someone help me with my problem 2 posts up? ive used msn explorer and the internet explorer that comes with windows xp
Erwin
08-18-2002, 07:36 PM
Originally posted by DarkDraco07
how come it doesnt load the flash? it just shows the page and the place where flash is supposed to be is blank
The simplest answer is that you have got the name of the SWF file wrong.
Make sure you put the filename WITHOUT the .swf and make sure you got the case exactly right (if it's capital letters, put it as capital letters - small letters, put it as small letters).
For example, if you want to play this file:
ExamPle.swf
You need to use this URL:
http://www.your-forums.com/forums/flash.php?play=ExamPle
If you use "example" or "Example" it wouldn't work - it must be the exact case.
Erwin
08-18-2002, 07:41 PM
Originally posted by IceMalee
something else to add pls
got so many files i dont want to keep them in my forum dir, i made a flash dir in the forum dir, i fixed it so its working fine but not exactly sure what i did,
might want to add that
That is true actually...
Again, that is extremely easy to set up.
Just create a new subdirectory called "flash" in your forums directory.
Then, in the "flash" template, find the 2 occurrences of this code:
bburl/
Replace with:
bburl/flash/
Do this twice - there are 2 instances of this code.
This is only if you want to place all your Flash files into a subdirectory.
Keyser S?ze
08-18-2002, 08:56 PM
yep thats what i did alright, just checked :banana:
Keyser S?ze
08-18-2002, 09:31 PM
ok well it works great, but i still keep getting "error no permission" errors whenever i go from the flash to the forums
going to try to instead of having the link index.php, chage it to the real like to the main forum ;)
-edit-
that works now
Keyser S?ze
08-18-2002, 09:41 PM
full of good ideas today, this one i know how to do
major easy
save room on your flash areas, get rid or the useless header, ppl dont need it while playing a game,
go to template flash (and if u wish flash_menu) and take out $header
saves alot of room and since there already is the link to go back to the board u really dont need it there
DarkDraco07
08-18-2002, 11:19 PM
sorry erwin, everytthing is right. the url has no .swf, case is the same. the flash shows only when it wants to. one time it shows for me and not for someone else. anothertime it doesnt work for me and works for someone else
Erwin
08-18-2002, 11:34 PM
When the flash doesn't load, click on "REFRESH". The browser's cache can cause problems.
DarkDraco07
08-18-2002, 11:54 PM
tried
want to take a look at it?
Erwin
08-19-2002, 12:01 AM
I'm at work.
PM me a test user account, and I'll log in and test it when I get home. :)
Give me about 4 hours until I finish work.
Erwin
08-19-2002, 12:35 AM
Also, you can try this:
In "flash" template, find:
<head>
UNDER it, add:
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
This forces the page to refresh - see if that helps.
ipscone
08-19-2002, 01:17 AM
I have had an annoying problem that manifests itself with a "no permission" page coming up while going between the flash games and my vBPortal.
I have found the solution to my problem and it looks like there is a logic problem with the placement of "show_nopermission()" call. I know that people say they have no problem with this. But I have the problem and many of my members say they see the "no permission form" as well.
Anyway, logic of the original code is shown below:
require('./global.php');
if ($bbuserinfo[userid]) {
if ($play) {
// do play stuff here
}
else {
// do error stuff here
}
show_nopermission(); // looks like this always displays ???
}
It looks like the show_nopermission() can only possibly be called in the block of code that is executed by a playing member. And, that's what I see. So, I decided to put the show_nopermission() where it made sense (at least to me).
In my revised version, I moved the show_nopermission() to the block of code that actually is executed, if the player has no permissions.
//vB Flash Player 1.1 by Erwin Loh
//modified by: Mike Davis
//change: changed location of show_nopermission() and made it only
require('./global.php');
if ($bbuserinfo[usergroupid]==1) {
show_nopermission();
}
else {
if ($play) {
// do play stuff here
}
else {
// do no game selected stuff here
}
}
?>
Even though I have it working now on my site, I'd like to know if this is a bug, in the original code, that has just been masked on some systems or if I'm misunderstanding how this works. Because with the original code, 1) showed the "no permission page" and 2) the show_permission() function seems logically, in the wrong place, anyway.
My correcte page. (http://www.msdsite.com/index.php)
Erwin
08-19-2002, 03:18 AM
ipscone is correct - I made a small mistake with version 1.1 of the flash.php file.
I misplaced a } tag. :)
I've changed the no permission section of flash.php - the easiest thing is to download the new version.
If it's working for you already with no problems, don't worry about it. Download the newest version from the 1st post, or in the next post.
Erwin
08-19-2002, 03:20 AM
I've updated the flash.php again, and made 2 versions - one for registered members only, and one open to all including guests - as requested by IceMalee.
Keyser S?ze
08-19-2002, 03:50 AM
does the new flash.php have the other updates as well?
also is this just so guests cant play the flash?
i accually want my guests to be able to
Erwin
08-19-2002, 10:32 AM
Download the newest version from the first post. :) Old version removed...
Erwin
08-19-2002, 10:34 AM
Old version removed from this post - download latest from 1st post. :)
Erwin
08-19-2002, 10:41 AM
Minesweeper - the classic strategy game that you play when you are bored at work on Windows. :)
Unzip the ZIP file and upload Minesweeper.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=Minesweeper
crossova
08-19-2002, 10:42 AM
Originally posted by xxxsaint
I found a nice little free resource site that lets you have the .fla's and all , and the one I'm messing with now is Space Invaders. It even has a high scores script , but I can't figure out how to get it to work, somebody grab it and help ! w00oooOhoooo!
http://www.neave.com/
Went to the site the only downloadable flash5 code was the one for his navmenu.
Erwin
08-19-2002, 10:48 AM
5Stones - a classic Chinese board game - you need to arrange your stones 5 in a row, either vertically, horizontally or diagonally, and stop your opponent from doing it first.
Unzip the ZIP file and upload 5stones.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=5stones
Erwin
08-19-2002, 11:41 AM
Snipers
Very nice first-person-shooter game with nice graphics - just use your mouse to shoot the bad guys! It's the best game I've seen so far in Flash. You are a sniper with a machine gun shooting balaclava-clad terrorists.
Screenshot:
https://vborg.vbsupport.ru/attachment.php?s=&postid=283885
Unzip the ZIP file and upload Snipers.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=Snipers
Erwin
08-19-2002, 08:34 PM
Asteroids2000
The classic Asteroids game, now in 3-D graphics - looks good!
Unzip the ZIP file and upload Asteroids2000.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=Asteroids2000
Erwin
08-20-2002, 12:57 PM
Mars Massacre
Very nice 3-D game where you use twin cannons to protect your escaping fleet from enemy spaceships on the surface of Mars. Great graphics and sound.
Unzip the ZIP file and upload Mars3D.swf to your forums directory.
To run this integrated into your forum with my hack, use this command line (modifying the URL for your forums of course):
http://www.your-forums.com/forums/flash.php?play=Mars3D
crossova
08-20-2002, 04:19 PM
does anyone know where i can get a program to convert a swf into a .fla file so i can alter these flash games?
Erwin
08-20-2002, 07:24 PM
Originally posted by crossova
does anyone know where i can get a program to convert a swf into a .fla file so i can alter these flash games?
Unless I've specified in my post that the game is public domain (as in Tetris or Frogger) you CANNOT modify the games because they are copyright. You can play them and let your members play them, but not modify them.
Erwin
08-21-2002, 06:06 AM
Update to version 1.3 - the ability to set different background colors for different games
Using the &b= variable at the end of the command URL. If you don't include this, the background color will default to your forum page background color.
Current Parameters:
--------------------------
play = name of SWF file (without the .swf extension - make sure the capitals and small letters are the same!)
w = width of Flash movie or game
h = height of Flash movie or game
b = background color of Flash movie or game (in hex WITHOUT the # - eg. 000000 for black or FFFFFF for white)
To use default width and height is 600 x 400, or default background color which is your forum background color -
http://www.your-forum.com/forums/flash.php?play=filename
"filename" being the name of the SWF file (without the .SWF) - the name must be exact (including the capitals or small letters)
To set your own width or height:
http://www.your-forums.com/forums/flash.php?play=filename&w=1024&h=768&b=000000
To upgrade to version 1.3 - download the ZIP file.
Replace the flash.php with the new one.
Replace the "flash" template with the new one.
crossova
08-21-2002, 10:28 AM
Originally posted by Erwin
Unless I've specified in my post that the game is public domain (as in Tetris or Frogger) you CANNOT modify the games because they are copyright. You can play them and let your members play them, but not modify them.
well for tetris i want to put a intro image that will fade out as the game begins. it will replace the current one.
Erwin
08-21-2002, 11:45 AM
There is a tetris.fla file in this thread - just browse through it. :)
crossova
08-21-2002, 04:21 PM
yea the version of tetris i had didn have that file.
crossova
08-21-2002, 04:37 PM
Any of the masta hackaz in here plan to create a score board for sniper, frogger, samurai games?
Erwin
08-22-2002, 12:28 AM
Originally posted by crossova
Any of the masta hackaz in here plan to create a score board for sniper, frogger, samurai games?
You cannot modify the Snipers and Samurai games because they are not public domain - you can let your members play them, but do not modify them unless the game authors give you permission.
Frogger is public domain, and thus can be modified. John.eovie can probably do it. He's done it with a few other public domain arcade games already.
BigJohnson
08-22-2002, 03:05 AM
What is the news on the tetris for the store?
Erwin
08-22-2002, 04:00 AM
Originally posted by BigJohnson
What is the news on the tetris for the store?
Well, john.eovie has got it running on his site already. Please ask him in his tetris thread. :)
kmfdm_kid2000
08-24-2002, 07:28 AM
This is my FAVORITE Hack here!! Having Games at a gaming forum has really rounded out the experiance, and my members absolutely love it!! Simple installation, with absolutely NO problems!! I wish there were more hacks like this, fun, functional, and easy...
Lanigironu
08-24-2002, 09:08 AM
Maybe you should try my hack, it gives you a neat gallery with all the games you have on your site. Much simpler than making HTML links for each new game.
kmfdm_kid2000
08-24-2002, 09:14 AM
I might just do that then, since I have quite a few games installed already...
Erwin
08-25-2002, 07:53 AM
Nice addon by hellsatan here that allows you to list your Flash games. :)
https://vborg.vbsupport.ru/showthread.php?s=&threadid=42693
Erwin
08-25-2002, 10:46 PM
Another nice addon:
Demonslayer's DCR format addon - allows you to play DCR extensions.
https://vborg.vbsupport.ru/showthread.php?s=&threadid=42744
LightBringer
08-26-2002, 02:34 AM
So please explain something to me, that is if you're open to explanation and possible feedback.
We've got all this wonderful talent flying around with Flash integration, unfortunately none of it is compiled.
John and Erwin seem to be approaching some sort of odd tangent with these hacks and I'm curious as to where this is all going.
Do I download John's tetris hack w/scoreboard? Do I download Erwin's "play any flash" hack? I can definitely see the benefits to both/either, however, I would love to see the developers come together on this and attempt to release THE ultimate arcade hack instead of breaking it up amongst the confusion for the members here. :)
Just my 2 yen.
Erwin
08-26-2002, 03:40 AM
Originally posted by LightBringer
So please explain something to me, that is if you're open to explanation and possible feedback.
We've got all this wonderful talent flying around with Flash integration, unfortunately none of it is compiled.
John and Erwin seem to be approaching some sort of odd tangent with these hacks and I'm curious as to where this is all going.
Do I download John's tetris hack w/scoreboard? Do I download Erwin's "play any flash" hack? I can definitely see the benefits to both/either, however, I would love to see the developers come together on this and attempt to release THE ultimate arcade hack instead of breaking it up amongst the confusion for the members here. :)
Just my 2 yen.
They are 2 different hacks. John's hack uses public domain flash games which he modifies to integrate into the vB database. Hence you have a nice leaderboard and top scores are saved into the vB database. But to do that, you need to manually hack the Flash games too, which a lot of Flash games do not allow as they are copyright.
My hack involves no Flash game mods because you are not integrating the games into the vB database - hence you can play any Flash game including ones that are not public domain. They are different hacks, for different purposes. You can use the addons to make an arcade.
Lanigironu
08-26-2002, 03:59 AM
I integrated this hack with the DCR player. It is attached in this (https://vborg.vbsupport.ru/showthread.php?postid=290515#post290515) thread.
Lanigironu
08-26-2002, 04:00 AM
PS. I feel insulted that Erwin decided to NOT link to my hack, which is wuite functional even at an early stage.
Dean C
08-26-2002, 03:11 PM
the attachment in the first post doesn't link to the right attachment :(... can you attach the right file plz :D
- Mist
Scott MacVicar
08-27-2002, 12:53 AM
I just installed this then I decided to do a bit of tweaking, try this code
if (!empty($play)) {
$swf = @getimagesize("$bburl/$play.swf");
//check its a shockwave file
if($swf['2'] != 4) {
eval("standarderror(\"".gettemplate("error_flash")."\");");
}
//we dont have numerical height and width, lets try and get it from the getimagesize function
if (!is_numeric($w) or !is_numeric($h)) {
//if we dont get a valid return use some defaults, else use the returned values
$w = iif(empty($swf['0']), 600, $swf['0']);
$h = iif(empty($swf['1']), 400, $swf['1']);
}
if (!$b) {
$b = "{pagebgcolor}";
}
eval("dooutput(\"".gettemplate('flash')."\");");
} else {
eval("standarderror(\"".gettemplate("error_flash")."\");");
}
Lanigironu
08-27-2002, 01:33 AM
Damn. I could never think of something like that.
Erwin
08-27-2002, 06:39 AM
Originally posted by Lanigironu
PS. I feel insulted that Erwin decided to NOT link to my hack, which is wuite functional even at an early stage.
Okay, I'll link to it now. :) Don't feel insulted!
Lanigironu
08-27-2002, 07:46 PM
Cool. I won't be updating for a while though, I'm taking the whole hack to a different direction. :)
Willard Reece
09-12-2002, 03:49 AM
Ok I got this game of tetris going and found out that if I left on the .swf it defaulted to full screen which is great
XtremeVigilante
09-15-2002, 06:20 PM
Any chance of somebody making a bowling game for this hack so we can have a leaderboard? Iv gotten a flash bowling game in my board and it plays fine but i have no idea how to get it to work with the leaderboard if their even is a way.
Erwin
09-15-2002, 10:21 PM
You can only integrate a Flash game into a leaderboard by modifying the .fla file, and you can only modify a .fla if the game is in public domain or if the author of the game gives you permission. So you should check to see if that bowling game is in public domain.
Peace
10-21-2002, 02:13 AM
Where's the SWF file I supposed to upload to my forum directory?
Erwin
10-21-2002, 02:40 AM
Originally posted by Peace
Where's the SWF file I supposed to upload to my forum directory?
In the zip file I've included a tetris.swf file for you to try out the hack. You can upload ANY swf you like, and use the URL format shown in my first post to integrate ANY swf that you upload in your forums.
Peace
10-21-2002, 02:50 AM
Ok I see now. Thanks.
Erwin
10-21-2002, 02:53 AM
There are also a few SWF files attached to various posts in this thread - I've linked to all of them in my first post too. :)
Peace
10-21-2002, 03:48 AM
Thanks! Erwin or anyone, do you know of some good sites for flash games I can download and upload? I'm searching the net but so far I haven't came across good sites. Thanks
Erwin
10-21-2002, 03:50 AM
Read my first post. I have a link there.
Erwin
10-21-2002, 03:51 AM
Btw, you have a great domain name for your site. :)
Erwin
10-26-2002, 05:50 AM
I've edited the first post to list out all the attached Flash games in this thread so that it is easier for people to download and use. :)
underburn
11-01-2002, 06:18 PM
Hey Erwin, Im kinda a n00b at installing hacks, but I found yours to be the easiest ever (Thanks) However when I try playing a game, the movie never loads. Whats wrong? I uploaded the SWF template and I get to the playing screen but still nadda :( Please Help.
underburn
11-01-2002, 06:19 PM
Oh Yeah and Also.. Do all those games in this thread work with the leader board?
Dynamic One
11-01-2002, 06:54 PM
LOL. Nice some game to relax :D. Thanks
Erwin
11-02-2002, 12:37 AM
Originally posted by underburn
Hey Erwin, Im kinda a n00b at installing hacks, but I found yours to be the easiest ever (Thanks) However when I try playing a game, the movie never loads. Whats wrong? I uploaded the SWF template and I get to the playing screen but still nadda :( Please Help.
Are you using this URL format?
http://www.your-forum.com/forums/flash.php?play=filename
(changing the domain name to your own forums, and the filename to the name of file).
Remember, leave the .SWF OUT of the filename.
If so, and the flash file is in your forums directory, then it should work.
Erwin
11-02-2002, 12:39 AM
Originally posted by underburn
Oh Yeah and Also.. Do all those games in this thread work with the leader board?
No. Please read the first post and the thread carefully. For these games to work for the leader board, they need to be modified. You cannot modified most of these games because they are copyright and not public domain. You can play them, but not modify them.
underburn
11-02-2002, 12:49 AM
I do leave teh SWF out, I double checked the templates, this is weird I even had a friend double check it and he says everything is perfect :-\
Erwin
11-02-2002, 12:53 AM
Bear in mind some of the games are quite large, and take a while to load.
Please post the contents of your "Flash" template, and the URL you are using to play the file here.
underburn
11-02-2002, 01:01 AM
Link to not working movie
http://fivestar.underburn.com/flash.php?play=Tetris
SWF Source File
http://fivestar.underburn.com/
[flash template removed - thanks, I have seen it and it looks fine. I have figured out the problem. Refer next post - Erwin]
[/QUOTE]
Erwin
11-02-2002, 01:13 AM
Upload the file Tetris.swf that is in the ZIP file to your forums directory.
You have not uploaded this file. :) That is your problem.
underburn
11-02-2002, 01:16 AM
im sorry i messed up the URL i did upload it its fivestar.underburn.com/tetris.swf
Erwin
11-02-2002, 01:19 AM
Then use this URL:
http://fivestar.underburn.com/flash.php?play=tetris
Use "tetris", not "Tetris" - the filename is CASE SENSITIVE. If you want to use "Tetris" rename "tetris.swf" to "Tetris.swf".
I did mention this in the first post, and in the installation text file. :)
underburn
11-02-2002, 01:25 AM
ive tried both ways and still it does not work
Erwin
11-02-2002, 01:30 AM
Try it direct - does this work for you:
[direct link removed to protect your bandwidth - Erwin]
If it doesn't work for you, then your browser does not support Flash.
underburn
11-02-2002, 01:32 AM
Yes it does
Erwin
11-02-2002, 01:37 AM
In the flash template, find this:
$bburl
Change it to:
http://fivestar.underburn.com
Then try again.
underburn
11-02-2002, 01:42 AM
Awesome! Thanks Alot. :)
Erwin
11-02-2002, 01:44 AM
You have the wrong URL to your forums set up in your vBulletin Options section in your Admin CP. That's why $bburl was not working in the flash template. :) Make sure that you check it.
Julio
11-09-2002, 03:32 PM
Is there a way I can have my flash games (swf and dcr) under another folder (games) instead of my forum folder? I have many games and would like to keep my folders organized, nice and clean.
Also have someone tested this on a local PC testboard? Whenever I try to play a game, the page will not finish to load....Will show the page and the blach square whre the game is supposed to go.
Erwin
11-09-2002, 07:25 PM
In the "flash" template, find the TWO occurrences of
$bburl/$play.swf
And change it to:
$bburl/games/$play.swf
Or whatever you want it to be.
Remember, there are 2 occurrences of this in that template.
Also, for the Flash games to work, the title of the filename is CASE SENSITVE. Also, make sure the URL of your forums in your Admin CP, vBulletin Options is set up to point to your forum URL.
Julio
11-13-2002, 04:51 AM
I have been trying to use the valign="middle" to center the games into the page frame, but it keeps showing on the bottom of the table. How can I make it "centered"?
Erwin
11-13-2002, 05:08 AM
That's strange. By default, the Flash Game is centred in the flash template that I provided.
You can add <center> </center> tags above and below where the Flash game is meant to show. That should center it.
Julio
11-13-2002, 05:32 AM
Erwin: In fact you already have the tags in your code:
<center><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width=$w height=$h>
<PARAM NAME=movie VALUE="$bburl/juegos/$play.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE="$b"> <EMBED src="$bburl/juegos/$play.swf" quality=high width=$w height=$h bgcolor="$b" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT></center>
Aligment is centered, though Vertical Aligment shows as bottom.
Erwin
11-13-2002, 05:45 AM
The <td> tags already have the valign="top" in them. And my Flash games or movies are aligned at the top.
<td bgcolor="{firstaltcolor}" align="left" valign="top">
So I don't know why yours go to the bottom to be honest...
Delete all the <br> tags at the top and see.
Julio
11-13-2002, 06:12 AM
OK, forced it under the html...
Will get some sleep now
Erwin
11-13-2002, 06:28 AM
LOL! Glad to hear it worked. Go to bed! :)
Sanni
11-13-2002, 11:01 AM
hi all,
was just wondering what kind of serverload/stress this hack places on the system?
it sounds like a great hack and i would love to install it but would be hesitant to do so if it placed a lot of stress on the server...
Erwin
11-13-2002, 06:16 PM
It wouldn't place any stress on the server since Flash is downloaded onto the user's computer and played there - but it will affect your bandwidth depending on the size of the Flash game or movie since the user will have to download the file from your server.
Sanni
11-15-2002, 05:13 AM
excellent news! thanks for the reply :)
Julio
11-19-2002, 03:58 PM
Talking about bandwith....
I noticed games are being used way more than I thought. I already have 20 games and was planning on adding more, but they are taking my bandwith away.
I tried to re-direct from ****play=(URL HERE) but it doesn't work. Just wondering if this may be possible somehow?
For example, most of the games I (we) downloaded from this thread come from www.miniclip.com, so the line your be: (http://www.your-forum.com/forums/flash.php?play=http://www.miniclip.com/Flash/gamename)
I even tried getting Miniclip's HTML they provide to link to their GameRoom into an html and use Erwin's html, java, text integrator to call the html, but it will display as text inside the board...
Any suggestions?
Erwin
11-19-2002, 09:48 PM
Originally posted by Julio
I tried to re-direct from ****play=(URL HERE) but it doesn't work. Just wondering if this may be possible somehow?
It's possible, but I won't be releasing a version of this hack that allows you to remote-link to Flash files hosted elsewhere as this is considered leeching and is unfair to the other server. How would you like it if someone linked to files on your server, using up your bandwidth? :) I purposely made this hack to prevent this from happening. Flash games, if very large, can chew up bandwidth, so use with care.
Julio
11-19-2002, 10:35 PM
Erwin: I perfectly understand your point. However www.miniclip.com do provide an area where you "get" an html code that you place in your site as Game Room. So literally allo you to do it.
What is strange is that I placed the html code they provided in an html file locally in my forums folder, and called it using your HTML, Java, TXT integration file, but it doesn't work either...
I do have another host of 5Gb of space and 30Gb bandwith with just one small site... I would have no problem on palcing there my games and some other files, I can "call" with that function.
Erwin
12-09-2002, 02:21 AM
Donkey Kong
New Flash Game that can be used with Flash Player.
To play:
1) Install Flash Player
2) Upload DonkeyKong.swf to your forum directory
3) Use this URL:
http://www.your-forum.com/forums/flash.php?play=DonkeyKong
Enjoy!
mheinemann
12-09-2002, 08:53 PM
What are the controls for that game? I can't get Mario to move.
Julio
12-13-2002, 12:46 AM
OK Guys... Here's a good question...
I had my forum on a domainB and another domainA parked to domain B Today I got rid of domainB and everything points to domainA except I redirected index.html to domainA/forum/index.php, changed the URL under control panel, etc. Now, my games will not load... does my changes may have anything to do?
Erwin
12-13-2002, 01:00 AM
Check that the forum URL in your Admin CP vBulletin Options is pointing at your forum directory.
Julio
12-13-2002, 11:04 AM
Originally posted by Erwin
Check that the forum URL in your Admin CP vBulletin Options is pointing at your forum directory.
Erwin: Everything is OK (At least it seems)
I was thinking that since Im redirecting thr index.html to www.domain/forum/index.php maybe the flash.php recognizes it as www.domain/forum/forum/flash.php?
Erwin
12-13-2002, 09:55 PM
Possibly.
Go to the "Flash" template, and change the TWO occurences of $bburl to your whole site's URL.
Erwin
12-13-2002, 09:58 PM
Originally posted by mheinemann
What are the controls for that game? I can't get Mario to move.
Arrow buttons. Space bar to jump or go up.
PsyBlast
12-14-2002, 12:16 PM
Originally posted by john.eovie
I had this problem -
Open your "tetris" template:
Find the two instances of:
#########################
../tetris.swf
#########################
And REPLACE both of them with:
#########################
tetris.swf
#########################
Im also getting just a white screen when I try to play a game
there is no "tetris" template, I have 2 templates that I made, and there is no ../tetris.swf link in either of them
Did you mean the "flash" template? if you didnt then I am totaly lost and need help
mheinemann
12-14-2002, 01:19 PM
Originally posted by Erwin
Arrow buttons. Space bar to jump or go up.
Thanks, found out I had to click my mouse in the game. That's why it wasn't working for me.
Julio
12-14-2002, 02:45 PM
Erwin:
I tried that but still doesn't work...
What would be the way I should use if I want to redirect index.html to my forums index.php?
I mean.. I have no index.html under my public_html folder... so under .htaccess I wrote:
Redirect permanent /index.html http://www.mydomain.com/forums/index.php
it works...but now my games page doesn't work, as described previously. It seems the redirect (or the way it's being redirected) is the problem(?)
I know there are other ways to redirect, but don't know which to use. :disappointed:
Erwin
12-15-2002, 12:55 AM
Originally posted by PsyBlast
Im also getting just a white screen when I try to play a game
there is no "tetris" template, I have 2 templates that I made, and there is no ../tetris.swf link in either of them
Did you mean the "flash" template? if you didnt then I am totaly lost and need help
That is a post by john.eovie that deals with his Tetris hack which has nothing to do with this hack. Read it carefully.
Your problem has been dealt with many times in this thread by myself - read through the more recent posts.
Some tips:
Make sure you have uploaded the tetris.swf file into your forum directory.
Make sure your URL is using the exact case of the file name without the .swf part
Make sure you have not modified the flash template.
Make sure the URL to your forum directory us correct in your Admin CP vB Options.
Erwin
12-15-2002, 12:56 AM
Originally posted by Julio
Erwin:
I tried that but still doesn't work...
What would be the way I should use if I want to redirect index.html to my forums index.php?
I mean.. I have no index.html under my public_html folder... so under .htaccess I wrote:
Redirect permanent /index.html http://www.mydomain.com/forums/index.php
it works...but now my games page doesn't work, as described previously. It seems the redirect (or the way it's being redirected) is the problem(?)
I know there are other ways to redirect, but don't know which to use. :disappointed:
Not much I can do here. You just have to play around with the flash template to point to the correct directory for your Flash games. Note that there are 2 instances in the template you have to change.
Julio
12-15-2002, 01:15 AM
Erwin: Everything is exaclty the same as besfore, except my domain name is now another one... (I replaced the info on VB and everything works except the games)
Remember now I have a redirect of index.html to http://www.mydomain.com/forums/index.php I don't know if this is the best way to do it... this seems to be the cause, since I can perfectly play the games in my local testboard.
Erwin
12-15-2002, 01:17 AM
Redirecting index.html to index.php has no effect on the flash.php or flash templates, so I don't know what the problem you have is. Did you upload the games to your forum directory? Are you using the correct filenames?
Julio
12-15-2002, 01:51 AM
In the two $bburl instances, I asked you once how to "call" the games from another folder under forums....
It reads $bburl/games/$play.swf
Erwin
12-15-2002, 01:55 AM
Change that to:
http://www.mydomain.com/forums/games/$play.swf
(didn't I say that - to hardcode your forum URL?)
Julio
12-15-2002, 03:09 AM
Erwin: The only different thing I did to my site besides changing the domain, was CHModed some files and folders to use (edit, etc) with your VBFTP hack...
In fact I chModed those to 777 except games, but games folder and forum folder are 777. Does this has anything to do with it?
Erwin
12-15-2002, 06:49 AM
CHMOD would make no difference. It's probably something simple stopping you, like the wrong filename case...
Julio
12-15-2002, 01:13 PM
Erwin:
What is strange is I can "play" the games locally...but online...it will show a blank space where the game is suppose to be shown.
I even replaced the flash.php and templates with the ones locally and still nothing shows.
I placed the games under forum folder instead of games folder, edited the 2 instances, and still not works. I have read and compared the origianl file I downloaded from this thread. even tried using $bburl in lower and caps.
theoneandonly
12-17-2002, 08:17 PM
uhh when it says link to this url what does that meen? does it meen take the modified url to fit ur forum's address and put it in the forumhome template? or what? i dont get it... ive uploaded the tetris.swf and flash.php and created the templates but now what do i do in the linking part?
Erwin
12-17-2002, 08:25 PM
Read the instructions in the text file, or in the first post carefully.
theoneandonly
12-17-2002, 08:26 PM
i did i just dont get what i did wrong
theoneandonly
12-17-2002, 08:30 PM
wait the instructions says it is a public domain game... does that mean i have to have a domain? cuz my url is http://ensim.ionhosting.com/~admin71/forum
theoneandonly
12-17-2002, 08:45 PM
bump please.:) what i did when it said link to this url i went into forum home template and put the link it said http://ensim.ionhosting.com/~admin71/forum/flash.php?play=tetris and thats it.. but only that TEXT appeared on my forumhome
Erwin
12-17-2002, 08:59 PM
Don't use absolute paths.
Use your sites URL.
What is your site's address? The one in your profile is offline.
theoneandonly
12-17-2002, 09:39 PM
i dont have a site i only got a forum, but if thats what u mean that url is http://ensim.ionhosting.com/~admin71/forum
Erwin
12-17-2002, 10:07 PM
You haven't uploaded flash.php to that directory.
http://ensim.ionhosting.com/~admin71/forum/flash.php
doesn't work. So of course your URL doesn't work.
Julio
12-18-2002, 12:52 PM
Erwin:
Just to let you know.... I just deleted everything from my .htaccess file, and just left the Re-write files and the Permanent Redirect...
Now the games work! ;)
Strange... I had nothing to cause that, but since I had to edit it for other reason, I decided to delete some lines...and it worked.
(Just wondering...did you received my PM?)
theoneandonly
12-18-2002, 10:16 PM
hey i have another question now, i got the link, finally, on the forumhome and when people click play tetris, tetris wont load. is there anything else i have to do besides upload flash.php and add the 2 templates and upload tetris.swf.. is there anything else i need to do besides that? again i added the link to the forumhome but the game wont load.
Erwin
12-18-2002, 11:38 PM
Post the URL to your site, and let me take a look.
theoneandonly
12-18-2002, 11:47 PM
<a href="http://ensim.ionhosting.com/~admin71/forum" target="_blank">http://ensim.ionhosting.com/~admin71/forum</a> there
Erwin
12-19-2002, 12:04 AM
Try this:
http://ensim.ionhosting.com/~admin71/forum/flash.php?play=tetris
Remember, if the filename is with a capital letter, the URL must reflect that:
http://ensim.ionhosting.com/~admin71/forum/flash.php?play=Tetris
Try both and see. :) Should work. Make your the tetris.swf file is in the same directory as the flash.php file.
theoneandonly
12-19-2002, 07:58 PM
thats not my problem man, im saying the link works, its just tetris wont load... the flash box comes up and it shows the loading thing on there and a blank screen where the tetris game should be.. tetris the game itself wont load.
edit: and tetris.swf is in the same directory as forum:(
Erwin
12-20-2002, 01:32 AM
The tetris game loads up for me no problems on your server. The file IS there.
Give me a test account to log onto on your forums - just a normal member one - I can't test it as the flash player only works for members.
theoneandonly
12-20-2002, 01:57 AM
ok i set up the account username: test account password: testy
Erwin
12-20-2002, 02:24 AM
You're right, the file is there, but it's not showing up. The path is wrong somewhere.
Okay, make sure you are using the "flash" template as it is without any change from the ZIP file.
If that's so, go into your Admin CP, vBulletin Options, and make sure the forum directory is set to:
http://ensim.ionhosting.com/~admin71/forum
It should work then.
Worse comes to worse, go into your "flash" template, and replace $bburl with
http://ensim.ionhosting.com/~admin71/forum
- do this in BOTH places in the "flash" template. It will work.
theoneandonly
12-20-2002, 09:13 PM
hey erwin, thanx alot! i did what u said and it worked! :)
Stryker
03-06-2003, 01:01 PM
So did anyone manage to get a forum leaderboard working with this hack?
Erwin
03-06-2003, 06:13 PM
Originally posted by Stryker
So did anyone manage to get a forum leaderboard working with this hack?
To get a leaderboard going, you need to modify the Flash games themselves, which is not possible with most of them as they are not public domain. You cannot modify Flash games that are not public domain. And if you can't modify them, you can't have a leaderboard. This has been repeated throughout this thread. :)
Stryker
03-07-2003, 11:29 AM
Ah, I see, thanks for the reply. I do try and read around topics before asking questions, but with 28 page long threads it's easy to miss important info. I noticed there's a vB Arcade hack which allows you to have a scoreboard, but it's still in the beta stage and needs a spare three weeks to get it installed. Oh well... :D
Unoproph
03-10-2003, 03:18 AM
Is it possible for this hack and the vbArcade hack to be installed on the same board without any problems? Or has anyone tested these 2 together. Reason I'm asking is, I'd like to run the other one for the leaderboard, and run this one for SWF Movies, and other games....
Erwin
03-10-2003, 04:10 AM
Originally posted by Unoproph
Is it possible for this hack and the vbArcade hack to be installed on the same board without any problems? Or has anyone tested these 2 together. Reason I'm asking is, I'd like to run the other one for the leaderboard, and run this one for SWF Movies, and other games....
Yes. They both work fine together. :)
msimplay
03-16-2003, 09:15 PM
Probably one of my most used hacks
since everythings going vb3 soon
i was wonderin if this hack would be released on vb3 when its out i mean
Bison
04-24-2003, 04:18 PM
Finally got around to installing this ...
Agent XY
07-13-2003, 04:22 PM
hello,
the games in the first contribution (are there attached) one do highscore have in the forum are indicated (in the games-overview)? - if a member a game of it plays.
#andi
PS: is this the final version, or gives a newer version? (more games...?!)
WCW Fan
07-29-2003, 06:27 PM
Would it be possible to be able to link the flash media from another source other than your forum root as I want to put the flash on my personal server and then use it for the hack so is it possible
Erwin
07-30-2003, 02:43 AM
No, I wil not be releasing that version since it has the potential to be abused by leeching SWF from other servers eg. other sites linking to games on your own server thus using your bandwidth. Obviously, you are free to modify it to do just that, but I won't be modifying it to do this myself.
WCW Fan
07-31-2003, 12:17 AM
Ah Darn think you could PM me with how to do it if not thats cool, I'll figure it out someway or another
marocnl
08-13-2003, 08:56 AM
Hi,
After 30 pages there still isn't a highscorelist? How very disappointing.
:disappointed:
Erwin
08-13-2003, 10:05 AM
Today at 07:56 PM marocnl said this in Post #424 (https://vborg.vbsupport.ru/showthread.php?postid=425677#post425677)
Hi,
After 30 pages there still isn't a highscorelist? How very disappointing.
:disappointed:
Be prepared to be disappointed forever, because you cannot have a highscorelist without modifying the flash game files themselves, and you can't do thet as the flash games are copyright.
MaDCaT75
08-14-2003, 05:00 AM
Is it possible to play shockwave movies with this?
Erwin
08-14-2003, 09:14 AM
Today at 04:00 PM MaDCaT75 said this in Post #426 (https://vborg.vbsupport.ru/showthread.php?postid=425902#post425902)
Is it possible to play shockwave movies with this?
Flash movies are .SWF - shock wave format. :) (or whatever it stands for).
MaDCaT75
08-15-2003, 06:29 AM
Ok because I was looking for this interactive Q3 shockwave movie but I couldnt find it anywhere my members are demanding it :cry:
Blizzb
09-14-2003, 09:03 PM
Invalid attachment specified...
Erwin
09-15-2003, 08:10 AM
Fixed. :)
hvacr
11-24-2003, 12:39 PM
I love asteroids, but asteroids2000 is just
awful, everything is moving so fast, you
are lucky to last 5-10 seconds in the game,
before you really starts, GAME OVER.
Just my thoughts.
Darknight
http://www.forumschat.net
Let us provide your hosting needs.
mcncyo
01-06-2004, 09:30 AM
Will this hack work with vb3?
Erwin
01-06-2004, 09:36 AM
Will this hack work with vb3?
No, but I can release a vB3 version. I'll do one possibly tomorrow...
Evil Dave
12-24-2006, 03:38 PM
Hey ....This looks like a cool hack! I am very new at this, do you think you could tell me how to create the 2 templates this calls for?
I can handle adding the php file to make this work, but am unsure on the templates.
Thanks
Evil Dave
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.