We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
FaNtasy RP Hack; My first; By symic
Topic Started: Jan 23 2010, 12:48 AM (84 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: symic
FaNtasy RP Hack; My first
 
Code Name: Fantasy Hack
Description: My first , hope it works .
Preview of it in Use: sorry do not have preview .
Where it goes: admin cp - board wrappers - footers

Code:
 
<style>
.rpgmain {font-size: 10px}
.rpgmain2 {color: 000000}
</style>
<script>
/*
RPG Hack v3.2
Created by Webworldx & Peter - 17.11.03
Updated for xHTML compliance by Magus

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.
*/

RPGHigh="1500"
NextLevel="10"
MoneySign="$"
NextWeapon="15"
NextItem="10"
AddMoney="15"

MoneyOn="Y"
ItemWeapOn="Y"

var BaseURL="http://www.webpost.net/ww/wwx/ifrpg/images"
var StatsURL="http://www.webpost.net/ww/wwx"

var statsImage=[];
statsImage[0]=["HP","/hp.gif"]
statsImage[1]=["STR","/str.gif"]
statsImage[2]=["MAG","/mag.gif"]
statsImage[3]=["DEF","/def.gif"]
statsImage[4]=["AGL","/str.gif"]
statsImage[5]=["RES","/mag.gif"]


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

function getStats() {
TheStats=[];
stats=[];
var HP=0;STR=1;MAG=2;DEF=3;AGL=4;RES=5;Archer=1;Mage=2;Warrior=3;Ranger=4;
Rouge=5;Elf=6;Assasin=7;Paladin=8;ElemLord=9;DemonKing=10;Druid=
11;Healer=12;

TheStats[HP]=[]
TheStats[HP][Archer]=PostCount
TheStats[HP][Mage]=PostCount
TheStats[HP][Warrior]=PostCount
TheStats[HP][Ranger]=PostCount
TheStats[HP][Rouge]=PostCount
TheStats[HP][Elf]=PostCount
TheStats[HP][Assasin]=PostCount
TheStats[HP][Paladin]=PostCount
TheStats[HP][ElemLord]=PostCount
TheStats[HP][DemonKing]=PostCount
TheStats[HP][Druid]=PostCount
TheStats[HP][Healer]=PostCount


TheStats[STR]=[]
TheStats[STR][Archer]=parseInt(TheStats[HP][Archer]) - 5
TheStats[STR][Mage]=parseInt(TheStats[HP][Mage]) - 50
TheStats[STR][Warrior]=parseInt(TheStats[HP][Warrior]) + 10
TheStats[STR][Ranger]=parseInt(TheStats[HP][Ranger]) + 20
TheStats[STR][Rouge]=parseInt(TheStats[HP][Bandit]) + 9
TheStats[STR][Elf]=parseInt(TheStats[HP][ElvenDwarf]) + 6
TheStats[STR][Assasin]=parseInt(TheStats[HP][Ninja]) + 9
TheStats[STR][Paladin]=parseInt(TheStats[HP][Paladin]) + 13
TheStats[STR][ElemLord]=parseInt(TheStats[HP][ElemLord]) + 9
TheStats[STR][DemonKing]=parseInt(TheStats[HP][DemonKing]) + 15
TheStats[STR][Druid]=parseInt(TheStats[HP][Druid]) - 60
TheStats[STR][Healer]=parseInt(TheStats[HP][Cleric]) - 40


TheStats[MAG]=[]
TheStats[MAG][Archer]=parseInt(TheStats[HP][Archer] * (1/2))
TheStats[MAG][Mage]=parseInt(TheStats[HP][Mage] * 3)
TheStats[MAG][Warrior]=parseInt(TheStats[HP][Warrior] / 2)
TheStats[MAG][Ranger]=parseInt(TheStats[HP][Ranger] / 2)
TheStats[MAG][Rouge]=parseInt(TheStats[HP][Bandit] / 2)
TheStats[MAG][Elf]=parseInt(TheStats[HP][ElvenDwarf] / 2)
TheStats[MAG][Assasin]=parseInt(TheStats[HP][Ninja] / 3)
TheStats[MAG][Paladin]=parseInt(TheStats[HP][Paladin] * 1)
TheStats[MAG][ElemLord]=parseInt(TheStats[HP][ElemLord] * (3/2))
TheStats[MAG][DemonKing]=parseInt(TheStats[HP][DemonKing] / 2)
TheStats[MAG][Druid]=parseInt(TheStats[HP][Druid] * (7/2))
TheStats[MAG][Healer]=parseInt(TheStats[HP][Cleric] * (5/2))


TheStats[DEF]=[]
TheStats[DEF][Archer]=parseInt((2/3) *(TheStats[HP][Archer] - 10))
TheStats[DEF][Mage]=parseInt(TheStats[HP][Mage] * (2/3))
TheStats[DEF][Warrior]=parseInt(TheStats[HP][Warrior] * (5/4))
TheStats[DEF][Ranger]=parseInt(TheStats[HP][Ranger] * (5/4))
TheStats[DEF][Rouge]=parseInt((2/3) *(TheStats[HP][Bandit] - 10))
TheStats[DEF][Elf]=parseInt(TheStats[HP][ElvenDwarf] * (5/4))
TheStats[DEF][Assasin]=parseInt((2/3) *(TheStats[HP][Ninja] - 13))
TheStats[DEF][Paladin]=parseInt(TheStats[HP][Paladin] * (6/4))
TheStats[DEF][ElemLord]=parseInt(TheStats[HP][ElemLord] * (4/3))
TheStats[DEF][DemonKing]=parseInt(TheStats[HP][DemonKing] * (6/4))
TheStats[DEF][Druid]=parseInt(TheStats[HP][Druid] * (1/3))
TheStats[DEF][Healer]=parseInt(TheStats[HP][Cleric] * (4/3))


TheStats[AGL]=[]
TheStats[AGL][Archer]=parseInt(TheStats[HP][Archer] + TheStats[STR][Archer])
TheStats[AGL][Mage]=44
TheStats[AGL][Warrior]=parseInt(TheStats[HP][Warrior] - 13)
TheStats[AGL][Ranger]=parseInt(TheStats[HP][Ranger] * (3/4))
TheStats[AGL][Rouge]=parseInt(TheStats[HP][Bandit] * (8/4))
TheStats[AGL][Elf]=parseInt(TheStats[HP][ElvenDwarf] - 13)
TheStats[AGL][Assasin]=parseInt(TheStats[HP][Ninja] * (8/4))
TheStats[AGL][Paladin]=25
TheStats[AGL][ElemLord]=parseInt(TheStats[HP][ElemLord] - 13)
TheStats[AGL][DemonKing]=25
TheStats[AGL][Druid]=34
TheStats[AGL][Healer]=parseInt(TheStats[HP][Cleric] * (3/4))


TheStats[RES]=[]
TheStats[RES][Archer]=parseInt((2/3) *(TheStats[HP][Archer] + 10))
TheStats[RES][Mage]=parseInt(TheStats[HP][Mage] * (6/3))
TheStats[RES][Warrior]=parseInt(TheStats[HP][Warrior] * (3/4))
TheStats[RES][Ranger]=parseInt(TheStats[HP][Ranger] * (5/4))
TheStats[RES][Rouge]=parseInt((2/3) *(TheStats[HP][Bandit] + 10))
TheStats[RES][Elf]=parseInt(TheStats[HP][ElvenDwarf] * (5/4))
TheStats[RES][Assasin]=parseInt((2/3) *(TheStats[HP][Ninja] + 13))
TheStats[RES][Paladin]=parseInt(TheStats[HP][Paladin] * (2/4))
TheStats[RES][ElemLord]=parseInt(TheStats[HP][ElemLord] * (1/3))
TheStats[RES][DemonKing]=parseInt(TheStats[HP][DemonKing] * (2/4))
TheStats[RES][Druid]=parseInt(TheStats[HP][Druid] * (5/3))
TheStats[RES][Healer]=parseInt(TheStats[HP][Cleric] * (6/3))


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","Archer"]
Race[2] = ["2","Mage"]
Race[3] = ["3","Warrior"]
Race[4] = ["4","Ranger"]
Race[5] = ["5","Rouge"]
Race[6] = ["6","Elf"]
Race[7] = ["7","Assasin"]
Race[8] = ["8","Paladin"]
Race[9] = ["9","ElemLord"]
Race[10] = ["10","DemonKing"]
Race[11] = ["11","Druid"]
Race[12] = ["12","Healer"]

var WPName=[ [] , [] ];
WPName[0][1]=["Bow","Gloves","Grass Boots","Thick Leather"]
WPName[0][2]=["Staff","Cloak","Freeze Spell","Basic Heal Spell","Seismic Wind"]
WPName[0][3]=["Wooden Sword","Light Armour","Helmet","Spear"]
WPName[0][4]=["Long Bow","Iron Sword","Leather Armour","Hard Boots"]
WPName[0][5]=["Cliffs Knife","Cliffs Knife","Leather Armour","Thief Gloves"]
WPName[0][6]=["Gloves","Ceinturemimi","Light Armour","Fendoir"]
WPName[0][7]=["Ninja Claws","Stealth Cloak","Padded Boots","Shurkien"]
WPName[0][8]=["Steel Sword","Heavy Armour","Helmet","Shield"]
WPName[0][9]=["Cinder Sword","Heavy Armour","Cinder Sword","Soft Boots"]
WPName[0][10]=["Steel Sword","Heavy Armour","Pain Gloves","Soft Boots"]
WPName[0][11]=["Dark Staff","Black Robe","Freeze Spell","Pain Spell","Demonic Wind"]
WPName[0][12]=["Light Staff","White Robe","Freeze Spell","Heal Spell","Holy Wind"]


WPName[1][1]=["Grand Bow","Tough Leather Gauntlets","Jungle Boots","Brigandine"]
WPName[1][2]=["Elite Staff","Cloak of Light","Repel Spell","Death Curse","Seismic Wind"]
WPName[1][3]=["Devil Axe","Immune Armour","Dazzling Helm","Spear of the Forsaken"]
WPName[1][4]=["Grand Bow","Lightning Sword","Oliphaunt Armour","Griffin Boots"]
WPName[1][5]=["Cliffs Knife","Cliffs Knife","Stealth Cloak","Thief Armlets"]
WPName[1][6]=["Grandarch","Epeemana","Samshir","CloakofLight"]
WPName[1][7]=["Poison Shurkien","Poison Claws","Cloak of Night","Shamshir"]
WPName[1][8]=["Excalibur","Holy Armour","God Helm","Shield of The Templar"]
WPName[1][9]=["FlameTounge","Flame Armour","FlameTounge","Fire Boots"]
WPName[1][10]=["Demon-Calibur","Hell Armour","Rage Gloves","Sin Boots"]
WPName[1][11]=["Evil Staff","Cloak of Night","Poison Spell","Death Curse","Demonic Wind"]
WPName[1][12]=["Holy Staff","Cloak of Light","Holy Light Spell","Life Spell","Holy Wind"]


var WPURL=[ [] , [] ];
WPURL[0][1]=["bow","gloves","grassboots","thickleather"]
WPURL[0][2]=["staff","cloak","freeze","basicheal","seismicwind"]
WPURL[0][3]=["wooden","lightarmour","helm","spear"]
WPURL[0][4]=["bow","steel","thickleather","grassboots"]
WPURL[0][5]=["yatagan","yatagan","thickleather","gloves"]
WPURL[0][6]=["gloves","ceinturemimi","lightarmour","fendoir"]
WPURL[0][7]=["katar","cloak","grassboots","etoileninja"]
WPURL[0][8]=["steel","strongarmour","helm","lock"]
WPURL[0][9]=["steel","lightarmour","steel","grassboots"]
WPURL[0][10]=["steel","strongarmour","gloves","grassboots"]
WPURL[0][11]=["staff","cloak","freeze","basicheal","seismicwind"]
WPURL[0][12]=["staff","cloak","freeze","basicheal","seismicwind"]


WPURL[1][1]=["grandbow","leathergt","jungleboots","brigandine"]
WPURL[1][2]=["elitestaff","cloaklight","repel","deathcurse","seismicwind"]
WPURL[1][3]=["doomhache","immunearmour","dazzlinghelm","spforesaken"]
WPURL[1][4]=["grandbow","vouge","brigandine","jungleboots"]
WPURL[1][5]=["yatagan","yatagan","cloaklight","leathergt"]
WPURL[1][6]=["grandarc","epeemana","cloaklight","samshir"]
WPURL[1][7]=["boompoison","gantsaura","cloaklight","samshir"]
WPURL[1][8]=["excalibur","immunearmour","dazzlinghelm","lock"]
WPURL[1][9]=["sticky","strongarmour","sticky","jungleboots"]
WPURL[1][10]=["yatagan","strongarmour","leathergt","jungleboots"]
WPURL[1][11]=["elitestaff","cloaklight","repel","deathcurse","seismicwind"]
WPURL[1][12]=["elitestaff","cloaklight","repel","seismicwind","seismicwind"]


var Items=[]
Items[0]=["Fire Orb","Heal Leaf","Strength Increase Bottle","Ring of Death","Protect Shield","Sword of the Wise"]
Items[1]=["fireorb","healleaf","strincrease","ringdeath","lock","sticky"]

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>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply