Welcome to Dark eFfectX !

Enter the digital revolution. Design technology, coding & gaming. The curating & exchange of Digital Knowledge while Anime, Manga Art, Music and Technology collide in a Alchemy of Thought and Illusion.

Learn the magic of today from the science of tomorrow. Web site modifications, custom style sheets (CSS) and coding support + more.

Guests, please register or log in to view the entire forum.

Join the forum, it's quick and easy

Welcome to Dark eFfectX !

Enter the digital revolution. Design technology, coding & gaming. The curating & exchange of Digital Knowledge while Anime, Manga Art, Music and Technology collide in a Alchemy of Thought and Illusion.

Learn the magic of today from the science of tomorrow. Web site modifications, custom style sheets (CSS) and coding support + more.

Guests, please register or log in to view the entire forum.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Code] Transformers Beta

Go down

[Code] Transformers Beta Empty [Code] Transformers Beta

Post by Bad Wolf Sun 27 May 2007, 00:25

IFX Arena Beta v1.0
Transformers edition

<JavaScript>

<script type="text/javascript">
<!--
function currLocation()
{
alert(window.location)
}
function newLocation()
{
window.location="http://zX.invisionfree.com/Your Board/index.php?act=Msg&CODE=03"
}
var battleText="<center><font color=yellow>A T T A C K !!</font></center>"
frmAddress="http://zX.invisionfree.com/Your Board/"



frmBattle1="index.php?act=SR&f=##"
frmBattle2="index.php?act=SR&f=##"
frmFinale="index.php?act=SR&f=##"



imgURL="http://photobucket.com/albums/v502/npx/IFXMod/"
var postNeeded=[]
postNeeded[1]="1000"
postNeeded[2]="500"
postNeeded[3]="375"
postNeeded[4]="250"
postNeeded[5]="150"
postNeeded[6]="50"
postNeeded[7]="30"
postNeeded[8]="0"

var Character=[]
Character[1]="Convoy"
Character[2]="Starscream"
Character[3]="Grimlock"
Character[4]="Skywarp"
Character[5]="Jazz"
Character[6]="Ironhide"
Character[7]="Kickback"
Character[8]="Bumblebee"
</script>

<script>//Start Battle Process
function createCookie(name, value, days){
if (days) {var date = new Date();date.setTime(date.getTime()+(days*24*60*

60*1000)); var expires = "; expires="+date.toGMTString(); }
else var expires = "";document·cookie = name+"="+value+expires+"; path=/";}
function readCookie(name){ var ca = document·cookie.split(';'); var nameEQ

= name + "="; for(var i=0; i < ca.length; i++) {
var c = ca[i];while (c.charAt(0)==' ') c = c.substring(1, c.length);if (

c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); }return

null;
}function eraseCookie(name){createCookie(name, "", -1);}
</script>

<% Copyrite %>

<script type="text/javascript">
/* Start IFX Battle */
getFramer();
function getFramer(){
document.write("<iframe name='UserCP' src='" + location.href.split("?")[0] + "?act=UserCP&CODE=0' style='display:none' onload='getPostCount()' /></iframe>");}
function getPostCount(){
var td = document.frames["UserCP"].document.getElementsByTagName("TD")
for(var i = 0; i < td.length; i++)
if(td[i].innerHTML == "Total number of posts to date")
userPost=parseInt(td[i+1].innerHTML.replace(/,/g, ""));
window.onerror = function() {return true;}
processBattle();
return;
}
</script>
<script type="text/javascript">
/*
RPG Hack v3.2
Created by Webworldx & Peter - 17.11.03
Updated for xHTML compliance by Magus
Customized using RPG Hack Customizer - By Markup
IFX Arena Battle Mode: Transformers Edit by Nemesis Prime
Now Playing X - 2005 [http://www.npx.net.tc]
This code may not be redistributed without express permission.
This header must stay intact at all times. Failure to comply with the above may result in your board being deleted.
*/
</script>
<style>
.rpgmain {font-size: 10px}
.rpgmain2 {color: white}
</style>
<script>
RPGHigh="2000"
NextLevel="27"
MoneySign="€"
NextWeapon="10"
NextItem="9"
AddMoney="15"

MoneyOn="Y"
ItemWeapOn="Y"

var BaseURL="http://209.85.48.8/1882/184/emo"
var StatsURL="http://209.85.48.8/1882/184/emo"

var statsImage=[]
statsImage[0]=["hp","/hp.gif"]
statsImage[1]=["str","/str.gif"]
statsImage[2]=["mag","/mag.gif"]
statsImage[3]=["def","/def.gif"]

var theEXP = ["exp","/exp.gif"]

function getStats() {
TheStats=[];
stats=[];
var hp=0;str=1;mag=2;def=3;Autobot=1;Decepticon=2;Maximal=3;Predacon=4;

TheStats[hp]=[]
TheStats[hp][Autobot]=parseInt(PostCount)
TheStats[hp][Decepticon]=parseInt(PostCount) * (1/2)
TheStats[hp][Maximal]=parseInt(PostCount)
TheStats[hp][Predacon]=parseInt(PostCount) *3

TheStats[str]=[]
TheStats[str][Autobot]=parseInt(PostCount) * 7
TheStats[str][Decepticon]=parseInt(PostCount) * 6
TheStats[str][Maximal]=parseInt(PostCount) * 6
TheStats[str][Predacon]=parseInt(PostCount) * 7

TheStats[mag]=[]
TheStats[mag][Autobot]=parseInt(PostCount) * (3/2)
TheStats[mag][Decepticon]=parseInt(PostCount) * 2
TheStats[mag][Maximal]=parseInt(PostCount) / 2
TheStats[mag][Predacon]=parseInt(PostCount)

TheStats[def]=[]
TheStats[def][Autobot]=parseInt(PostCount) * (3)
TheStats[def][Decepticon]=parseInt(PostCount) * (7)
TheStats[def][Maximal]=parseInt(PostCount) * (5)
TheStats[def][Predacon]=parseInt(PostCount) * (9)

for (i=0;i<TheStats.length;i++){
if (ChosenRace==""){
stats[i]=TheStats[i][1]
} else {
stats[i]=TheStats[i][ChosenRace]
}}

for (i=0;i<stats.length;i++){
if (parseInt(stats[i]) >= parseInt(RPGHigh)) { stats[i]=RPGHigh; }
if (parseInt(stats[i]) < 0 ) { stats[i]=0 }
}
return stats
}

var Race=[];
Race[1] = ["1","Autobot"]
Race[2] = ["2","Decepticon"]
Race[3] = ["3","Maximal"]
Race[4] = ["4","Predacon"]

var WPName=[ [] , [] ]
WPName[0][1]=["Knife","ElectroSword","GreatAxe","EnergonBow"]
WPName[0][2]=["Knife","EnergonAxe","DarkAxe"]
WPName[0][3]=["Knife","WarAxe","CyberClaws","Energonow"]
WPName[0][4]=["Knife","EnergonMace","SparkAxe","NegaAxe"]

WPName[1][1]=["Saber","GreatAxe","ElectroMace","StarSaber"]
WPName[1][2]=["Saber","NegaAxe","DarkAxe","DarkSaber"]
WPName[1][3]=["Saber","FireSword","GigaSword"]
WPName[1][4]=["Saber","IceSword","Sparkbuster","DarkSaber"]

var WPURL=[ [] , [] ]
WPURL[0][1]=["knife","ES","GA","EB"]
WPURL[0][2]=["knife","EA","DA"]
WPURL[0][3]=["knife","WA","CC","EB"]
WPURL[0][4]=["knife","EM","SA","NA"]

WPURL[1][1]=["saber","GA","ElM","SS"]
WPURL[1][2]=["saber","NA","DA","DS"]
WPURL[1][3]=["saber","FS","GS",]
WPURL[1][4]=["saber","IS","SB","DS"]

var Items=[]
Items[0]=["Shield","BotBadge","ConBadge","Decepticon Matrix","Autobot Matrix"]
Items[1]=["shield","miniBot","miniCon","Dmtx","AMtx"]

var Extension=".gif"
</script>

<script src="http://webpost.net/ww/wwx/ifrpg/images/u_rpgv3profile.js"></script>
<script src="http://webpost.net/ww/wwx/ifrpg/images/u_rpgv3forum.js"></script>

<script type="text/javascript">
/* ProcessBattle */
function createCookie(name, value, days){
if (days) {var date = new Date();date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); }
else var expires = "";document·cookie = name+"="+value+expires+"; path=/";}
function readCookie(name){ var ca = document·cookie.split(';'); var nameEQ = name + "="; for(var i=0; i < ca.length; i++) {
var c = ca[i];while (c.charAt(0)==' ') c = c.substring(1, c.length);if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); }return null;
}function eraseCookie(name){createCookie(name, "", -1);}

function processBattle(){
home="http://"+location.hostname+location.pathname
span=document.getElementsByTagName("SPAN")
for(i=0;i<span.length;i++){
if(span[i].className=="postdetails"&&span[i].innerHTML.match("Posts: ")){
posts=parseInt(span[i].innerHTML.match(/Posts: (-*[\d,]+)/)[1].replace(/,/g,""))
tr=span[i].parentNode.parentNode

var memNo=tr.parentNode.parentNode.rows[tr.rowIndex-1].cells[0].innerHTML.match(/showuser=(\d+)/)[1]
var oppName=getopName(memNo);

eraseCookie('opponentName')
eraseCookie('opponentPost')
eraseCookie('userPosts')

createCookie('opponentName',oppName,'1');
createCookie('opponentPost',posts,'1');
createCookie('userPosts',userPost,'1');

nCont="<a href=" +frmAddress+ frmBattle1+">" + battleText + "</a>";
span[i].innerHTML+=nCont

}//ends if
}//ends for
}

function getopName(passvar) {
//gets opponents name
if (document.getElementsByTagName){
var e, i;
for (i = 0; e = document.getElementsByTagName('A')[i]; i++) {
if (e.href && e.href == frmAddress + 'index.php?showuser='+passvar){
passvar=e.firstChild.data;
}}}
return passvar
}
</script>
</script>

_________________
[Code] Transformers Beta Alcbar13
Bad Wolf
Bad Wolf
Designer GFX
Designer GFX

Female Starseeker

Level : 46
Number of posts : 3391
Location : Satellite V

Rank : 7
Experience : 3014
Registration Date : 2006-12-24

Cprofile
Title: The Digital Alchemist
Luck:
[Code] Transformers Beta Llc10588/588[Code] Transformers Beta Empty  (588/588)
Karma:
[Code] Transformers Beta Klc10530/777[Code] Transformers Beta Empty  (530/777)

https://darkfx.darkbb.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum