Академический Документы
Профессиональный Документы
Культура Документы
WARNING: DO NOT edit flash files which are not authorized by its
author... don’t take such risks... and I personally do not take any
responsibility for the misuse of this guide…
Basic Steps :
There are basically 2 software’s most used by the modders of IBPA for
editing games
I will be using Sothink SWF Quicker v 1.5 for showing you how to edit
games for IBPA
NOTE : If you people are thinking.. Let’s get a crack for the software and
enjoy.. I am sorry to say.. Don’t waste your time goggling because there
isn’t any crack for both the software’s..
SSO
OTTHHIINNKK SSW
WFF QQU
UIICCKKE
ERR V
V 11..5
5
Now when the file has opened you have to search for the right timeline..
You have to find the timeline where the score is getting submitted.. Many
at times when the game ends there is “Send Score” button there which
submits the score.. If this to be found in the game.. It will make the work
much easier.. All the editing has to be done in the Action Script Layer
Now the timeline is always not straight.. i.e. the last key of timeline does
not need to be the ending of the game.. It can be anywhere in the
timeline.. You will have to find it..
To find the submit button.. Instead of going thorough the timeline u can
go to the Library tab and start looking at the symbols one-by-one from the
END.. Because the Submit Score symbol is normally at the end of the
list…
By this method when u locate the symbol.. Right click on it and click on
“View Instances” This will take u to the timeline where the symbol is in
the flash file.. Now click on that symbol in the flash file.. In the Action
Tab some script will appear which will be containing the script for
sending the score..
gname = this is the name by which the game value is going to be stored
and the name of the flash file to be.. ( Case Sensitive )
Now here comes a small task.. In the above code we are assuming that the
score of the game is being stored in _root.score .. But this is not true for
all games.. You will need to find the correct variable which is actually
being used by the game to store its score.. There is also an easy way out
for this..
Make a file in notepad called index.php and put this code inside it :
<?php
foreach ($_POST as $key => $value) {
echo "Key: $key; Value: $value<br
/>\n";
}
?>
Now save and store it in the directory from which you are going to test
the game.. This file will show all the values being stored by the game…
Export the flash file.. And place it in the same directory as the index.php
you just made…
Play the game.. Score some points and then kill yourself.. When the game
ends remember the score u had.. The press the “Submit” Button ( NOTE
: u must have already inserted the code given on top in the “Submit
Button” Actionscript frame.. )
You will get some page like this :
Key:percent;Value:100
Key:yourname;Value:-
Key:ballCount;Value:8
Key:session_id;Value:815108733
Key:runs;Value:30
Key:player;Value:3
Key:balls;Value:17
Key:frequency;Value:8
Key:sprite;Value:5
Key:awsome;Value:WELLDONE!
Key:namel;Value:
Key:fname;Value:-
Key:fnameRaw;Value:-
Key:fnameClean;Value:-%20
Key:fnameArray;Value:-
Key:i;Value:1
Key:ballsleft;Value:17
Key:scoremagic;Value:300000000
Key:v1;Value:h
Key:v2;Value:R
Key:v3;Value:Z
Key:v4;Value:d
Key:v5;Value:C
Key:v6;Value:l
Key:v7;Value:q
Key:v8;Value:D
Key:v9;Value:a
Key:cid;Value:ZdClqDahR
Key:gname;Value:[gname of that game]
Key: gscore; Value:
Now you do not need to be concerned with all the values.. In the game
example I have taken, I had scored 30..
You will notice that the last two are the keys you have put in.. Look at the
gscore.. It has no value.. That means the variable we had taken “
_root.score “ is not the correct value of the score I made.. Look into the
page for the score u had made.. You will find it in
Key:runs;Value:30
This means the Variable “ runs “ is storing the correct value of the game..
Go edit the file again change this line
To
Key:percent;Value:100
Key:yourname;Value:-
Key:ballCount;Value:8
Key:session_id;Value:815108733
Key:runs;Value:30
Key:player;Value:3
Key:balls;Value:17
Key:frequency;Value:8
Key:sprite;Value:5
Key:awsome;Value:WELLDONE!
Key:namel;Value:
Key:fname;Value:-
Key:fnameRaw;Value:-
Key:fnameClean;Value:-%20
Key:fnameArray;Value:-
Key:i;Value:1
Key:ballsleft;Value:17
Key:scoremagic;Value:300000000
Key:v1;Value:h
Key:v2;Value:R
Key:v3;Value:Z
Key:v4;Value:d
Key:v5;Value:C
Key:v6;Value:l
Key:v7;Value:q
Key:v8;Value:D
Key:v9;Value:a
Key:cid;Value:ZdClqDahR
Key:gname;Value: cricket
Key: gscore; Value: 30
You must change the gname to a desired name of your choice and the
flash file you have created MUST BE of the same name as the gname...
i.e. if the gname you have kept as
var gname="cricket";
Sometimes when the game ends... it asks for Ur name, email address etc...
U can simply remove them by deleting the symbols...
This is it... if the game exports properly without giving any errors and the
game plays properly then you have successfully created your first game
hack...
We have to now make gif files for the games to show next to it.
Take a snapshot of the game and open it in any photo editor like
Photoshop or Paint... you can then create a small image of the snapshot
and resize it to 50 x 50... Save it as gname1.gif... i.e. in the above
example we will save it as cricket1.gif
Then resize the same file to 20 x 20 size and save it as gname2.gif i.e. in
this case cricket2.gif
We also have to make a small file containing all the information about the
game...
Game Info:
Description of the game
Game Keys:
Controls instructions..
Now here is a small, quick, easy guide for those who use the tar add-on
script or who want to submit games in a tar format for easy uploading
instead of manual uploading via zip file..
<?php
$config = array(
);
?>
Now enter the details required for the game above.. The descriptions for
the variables are :
active = Put “1” to leave the game active in the category and put “ 0” to
make it inactive by default
cat = Put the value of the corresponding arcade u want to put the game
into ( can leave it to the default value )
Then rename the file to gname.php i.e. cricket.php as the example I have
taken..
Now make another file called tar_create.php and insert the following
code in to it :
<?php
if( file_exists(ROOT_PATH."tar_create.lock") )
{
die("This file is locked");
}
class tar_create
{
var $tar = "";
function tar_create()
{
require ROOT_PATH."sources/lib/tar.php";
$tar = new tar();
$dir = "./arcade/tar";
$full_dir = getcwd()."/arcade/tar";
chdir($dir);
$tar->current_dir( $dir );
$tar->new_tar($full_dir ,
"game_".$gname.".tar");
$tar->add_files($files);
$tar->write_tar();
}
else
{
$html = $this->do_form_html();
print $html;
}
}
function do_form_html()
{
$return = "<html>
<head>
<title>Tar Creation
Script</title>
</head>
<body>
<form
action=\"./tar_create.php\" method=\"post\">
Game gname? <input
type=\"text\" name=\"gname\" /> <input
type=\"submit\" value=\"Create Tar\" />
</form>
</body>
</html>";
return $return;
}
?>
Then make a directory called “tar” in the arcade folder and CHMOD it to
777
Now upload all the five files to the directory i.e. gname.swf , gname1.gif
,gname2.gif , gname.php and tar_create.php
Run the script tar_create.php .. it will ask for the gname of the game..
give it and it will create the tar file for u..
NOTE : After you do this you can create a tar_create.lock for protection
of unauthorized use of the script.. Simply open notepad and save it as the
above filename and upload it to the “tar” folder… then nobody else could
use the script… the next time you want to use it... just delete the file and
you can reuse the tar_create.php
VOILA.. Your tar file has been created.. now u can use it to upload
games into the arcade easily…
AADDDDO
ONN :: W
WHHE E ““SSU
ENN TTHHE MIITT”” BBU
UBBM ONN IISS
UTTTTO
MMIISSSSIINNG
G
Ok, now for this part all the procedure is same.. Just a little off the way…
When the game ends, there has to be a “Game Over” Screen.. There is
where our editing has to be done..
Play the game, watch the ending screen and remember it..
Once the link is found go to the key frame.. Now press “ CTRL + F8 ” or
click on “Insert New Symbol”
Now click on the “Rectangular” box in the “Tools”… Drag and make a
small box in the center of the screen.. Then click on “Text” and make a
box inside the rectangular box you have just made.. Type “SUBMIT”
inside it.. It should look something like this :
Drag it on to the screen and place it in the Game over Screen… Now
click on the button and then in the Action TAB down below add the
following code :
on (release)
{
var gname="[gname of that game]";
var gscore = _root.score;
getURL("index.php?act=Arcade&do=newscore", "_self",
"POST");
}
Of course change the gname and gscore with the appropriate one as
shown above..
The on (release) feature actually makes the button submit the score when
the user clicks on it.. This makes it look more professional
That’s it… Export the Game and now u will have a button at the end of
the game..
What this will do is as the game gets over and the “Game Over” Screen
comes… it will automatically submit the score…. No need of a button ☺
AADDDDO
ONN :: HHO
OWW TTOO DDO
OWWNNLLO
OAADD SSW
WFFF
FIILLE
E
F
FRRO
OMM TTHHE
EW WE EBB
This is a very basic question and easiest one to be answered.. If you want
to download a flash file from a website there are three ways steps
3) Look into the temporary folder of your internet explorer and you
will find the flash file there
V 1.3
• Now there are live links i.e. u can click on all the links in this
Guide which will open up in a new Web Browser..
• Minor Changes done and played with fonts…
V 1.2
V 1.1
V 1.0