Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • [SC] Zb Rpg V1
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • …
  • 8
  • 9
  • 10
  • …
  • 17
[SC] Zb Rpg V1
Tweet Topic Started: Jul 10 2008, 05:28 PM (6,003 Views)
IncomingGank Nov 5 2009, 07:17 PM Post #81
Member Avatar


Posts:
275
Group:
Dedicated
Member
#3,556
Joined:
Nov 5, 2009
Coding language
None
slayer766
Sep 16 2009, 08:16 PM
Ah that sucks. :S

If you want what I had at the time for the JS version of v2, here: http://z3.ifrm.com/352/141/0/p170199/zbrpgv52.js
Is that completed or not ?

I really like v1 but it takes up so much space... xD
Posted Image
Offline Profile Goto Top
 
slayer766 Nov 20 2009, 11:01 AM Post #82
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
No that's not completed. A few of us have started work on what would've been v2 but since it's being completely re-written and in PHP/MySQL/JS it's not going to be released for testing yet.
Offline Profile Goto Top
 
IncomingGank Nov 21 2009, 05:39 PM Post #83
Member Avatar


Posts:
275
Group:
Dedicated
Member
#3,556
Joined:
Nov 5, 2009
Coding language
None
Is there anyway to put the whole RPG into an external file ?
Posted Image
Offline Profile Goto Top
 
slayer766 Nov 21 2009, 07:43 PM Post #84
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Yup, take this part:

Quote:
 

/*############### Divinity RPG #############*\
# Written by: slayer766 #
# From: t hecodingzone.com & phantom-designs.net #
# All sprites made by Matt32 of http://rpg-icons.com #
# Cannot be edited/rehosted without permission! #
\*####################################*/

//Default amount of Gold
var default_amount = 350;

//Name of currency
var cur_name = "Gold";

//Price to stay at Inn
var Inn_price = 5;

//How many stats points given during level up?
var Stat_Amount = 5;

//How much should each stat increase during level up?
var Up_HP = 2;
var Up_MP = 1;
var Up_ATK = 1;
var Up_DEF = 1;

//Set Max Level for free healing at the Inn
var Max_Levelh = 4;

//Give User Money Rewards for completed quests
var Quest_Rewards = new Array();
//Quest 1, 3, 4
Quest_Rewards[0] = [100,400,600]

//Give Stats reward for last quest
//HP,MP,ATK,DEF
var Final_Quest = new Array();
Final_Quest[0] = [100,50,15,15]

var Guilds = new Array();
//Guilds[x] = ["GUILD_NAME","GUILD_LEADER"]

Guilds[0] = ["Knights of the Round Table","slayer766"]
Guilds[1] = ["Barbaric Rage","test"]

var B_Weapons = new Array();
//B_Weapons[x] = ["URL_OF_IMAGE","WEAPON_NAME",PRICE,"DESCRIPTION",ATTACK]

B_Weapons[0] = ["http://i1.ifrm.com/11838/143/upload/p455843.gif","Blood Axe",10,"An Axe crafted from the blood of warriors",4]
B_Weapons[1] = ["http://i1.ifrm.com/11838/143/upload/p455863.gif","Chaos Bow",25,"A bow bent on the soul infliction of pain",7]
B_Weapons[2] = ["http://i1.ifrm.com/11838/143/upload/p455874.gif","Dark Hammer",50,"A cursed Hammer made out of pure darkness",11]
B_Weapons[3] = ["http://i1.ifrm.com/11838/143/upload/p455911.gif","Evil Spear",125,"A spear made of complete evil",17]
B_Weapons[4] = ["http://i1.ifrm.com/11838/143/upload/p455926.gif","Fire Bow",125,"A full Fire Bow with magic attacks",17]
B_Weapons[5] = ["http://i1.ifrm.com/11838/143/upload/p455928.gif","Fire Sword",250,"A sword enchanted with Fire",23]
B_Weapons[6] = ["http://i1.ifrm.com/11838/143/upload/p455946.gif","Great Bow",500,"A mighty bow fit for a warrior",30]
B_Weapons[7] = ["http://i1.ifrm.com/11838/143/upload/p455955.gif","Heavy Axe",800,"A heavy axe made with solid steel",37]
B_Weapons[8] = ["http://i1.ifrm.com/11838/143/upload/p455962.gif","Hero Spear",1000,"A very strong and durable spear",44]
B_Weapons[9] = ["http://i1.ifrm.com/11838/143/upload/p455980.gif","Holy Spear",1550,"The spear made with Holy magic",47]
B_Weapons[10] = ["http://i1.ifrm.com/11838/143/upload/p455991.gif","Ice Bow",2590,"Ice Bow used with magic",50]
B_Weapons[11] = ["http://i1.ifrm.com/11838/143/upload/p455993.gif","Ice Sword",2990,"Ice Sword used with magic",50]
B_Weapons[12] = ["http://i1.ifrm.com/11838/143/upload/p456063.gif","Ogre Sword",3400,"A grand sword",57]
B_Weapons[13] = ["http://i1.ifrm.com/11838/143/upload/p456087.gif","Oricon Sword",4000,"A sword fit for a king",65]
B_Weapons[14] = ["http://i1.ifrm.com/11838/143/upload/p455903.gif","Dragon Sword",6000,"The strongest sword you will hold",80]

var A_Armor = new Array();
//A_Armor[x] = ["URL_OF_IMAGE","ARMOR_NAME",PRICE,"DESCRIPTION",DEFENSE]

A_Armor[0] = ["http://i1.ifrm.com/11838/143/upload/p456007.gif","Leather Armor",10,"Basic Leather Armor",2]
A_Armor[1] = ["http://i1.ifrm.com/11838/143/upload/p456196.gif","Wing Armor",25,"Enhanced Basic Armor",4]
A_Armor[2] = ["http://i1.ifrm.com/11838/143/upload/p456170.gif","Warrior Armor",70,"Armor fit for a Warrior",7]
A_Armor[3] = ["http://i1.ifrm.com/11838/143/upload/p456130.gif","Phoenix Armor",180,"Enchanted Armor",11]
A_Armor[4] = ["http://i1.ifrm.com/11838/143/upload/p455935.gif","Granite Armor",350,"Lightweight yet durable",15]
A_Armor[5] = ["http://i1.ifrm.com/11838/143/upload/p455847.gif","Chain Armor",800,"Rock solid defensive Armor",27]
A_Armor[6] = ["http://i1.ifrm.com/11838/143/upload/p455888.gif","Dragon Armor",2500,"Armor created from a dragon's scale!",40]

//You may only have two Items
var Items = new Array();
//Items[x] = ["URL_OF_IMAGE","ITEM_NAME",PRICE,"DESCRIPTION",HP+,MP+]

Items[0] = ["http://i1.ifrm.com/11838/143/upload/p455951.gif","Healing Potion",20,"Used to refill a small portion of HP",30,0]
Items[1] = ["http://i1.ifrm.com/11838/143/upload/p456032.gif","Magic Potion",20,"Used to refill a small portion of MP",0,30]

var Stat_Items = new Array();
//Stat_Items[0] = ["STAT_IMAGE","STAT_ITEM_NAME",PRICE,"DESCRIPTION",HP+,MP+,ATK+,DEF+]

Stat_Items[0] = ["http://i1.ifrm.com/11838/143/upload/p456116.gif","Vitality Card",800,"Increase your HP",20,0,0,0]
Stat_Items[1] = ["http://i1.ifrm.com/11838/143/upload/p456123.gif","Magic Card",800,"Increase your MP",0,20,0,0]
Stat_Items[2] = ["http://i1.ifrm.com/11838/143/upload/p456102.gif","Strength Card",800,"Increase your ATK",0,0,20,0]
Stat_Items[3] = ["http://i1.ifrm.com/11838/143/upload/p456109.gif","Dexterity Card",800,"Increase your DEF",0,0,0,20]
Stat_Items[4] = ["http://i1.ifrm.com/11838/143/upload/p669303.gif","Life Seal",3000,"Increase all of your stats!",20,20,20,20]

var Monsters = new Array();
//Monsters[x]= ["URL_OF_IMAGE","MONSTER_NAME",HP,MP,ATTACK,DEFENSE,LEVEL,EXP_FOR_KILL,GOLD_FOR_KILL]

Monsters[0] = ["http://i1.ifrm.com/11838/143/upload/p456391.gif","Larva",10,0,2,2,1,5,2]
Monsters[1] = ["http://i1.ifrm.com/11838/143/upload/p456383.gif","Jelly",35,0,5,3,1,9,4]
Monsters[2] = ["http://i1.ifrm.com/11838/143/upload/p456379.gif","Imp",50,0,9,7,2,12,8]
Monsters[3]= ["http://i1.ifrm.com/11838/143/upload/p456419.gif","Soldier",85,0,14,10,2,25,24]
Monsters[4]= ["http://i1.ifrm.com/11838/143/upload/p456401.gif","Sandman",100,0,20,10,3,48,48]
Monsters[5]= ["http://i1.ifrm.com/11838/143/upload/p456424.gif","Swordrat",310,0,20,13,4,180,180]
Monsters[6]= ["http://i1.ifrm.com/11838/143/upload/p456414.gif","Sandpede",225,0,45,22,5,225,225]
Monsters[7]= ["http://i1.ifrm.com/11838/143/upload/p456323.gif","Basilisk",400,0,50,29,7,300,300]
Monsters[8]= ["http://i1.ifrm.com/11838/143/upload/p456356.gif","Gargoyle",690,0,62,35,8,375,375]
Monsters[9]= ["http://i1.ifrm.com/11838/143/upload/p456435.gif","Terapin",800,0,50,50,10,400,400]
Monsters[10]= ["http://i1.ifrm.com/11838/143/upload/p456393.gif","Necroman",1200,40,100,70,13,525,525]

var Classes = new Array();
//Classes[x] = ["CLASS",HP,MP,ATK,DEF,"CHARACTER_IMAGE"]

Classes[0] = ["Barbarian",30,2,5,3,"http://i1.ifrm.com/11838/143/upload/p649042.gif"]
Classes[1] = ["Warrior",25,3,5,4,"http://i1.ifrm.com/11838/143/upload/p649045.gif"]
Classes[2] = ["Assassin",25,8,5,4,"http://i1.ifrm.com/11838/143/upload/p649050.gif"]
Classes[3] = ["Ranger",30,5,11,3,"http://i1.ifrm.com/11838/143/upload/p649056.gif"]
Classes[4] = ["Necromancer",30,15,4,4,"http://i1.ifrm.com/11838/143/upload/p649063.gif"]
Classes[5] = ["Dwarf",40,3,6,6,"http://i1.ifrm.com/11838/143/upload/p649069.gif"]

var Quest_Bosses = new Array();
//var Quest_Bosses[x] = ["URL_OF_IMAGE","BOSS_NAME",HP,MP,ATTACK,DEFENSE,LEVEL,EXP_FOR_KILL,GOLD_FOR_KILL]

Quest_Bosses[0] = ["http://i1.ifrm.com/11838/143/upload/p456315.gif","Alligator",300,0,40,25,6,80,400]
Quest_Bosses[1] = ["http://i1.ifrm.com/11838/143/upload/p456419.gif","Bandits Trio",500,0,40,20,10,125,800]
Quest_Bosses[2] = ["http://i1.ifrm.com/11838/143/upload/p456318.gif","Barubary",1300,40,95,40,14,250,1000]
Quest_Bosses[3] = ["http://i1.ifrm.com/11838/143/upload/p456372.gif","Grand Dragon",2000,0,100,55,18,250,1000]
Quest_Bosses[4] = ["http://i1.ifrm.com/11838/143/upload/p456330.gif","Deathven",4000,0,140,70,25,1000,10000]
//End Quest Bosses

Save that in a .txt document, upload it somewhere, and then use it like this:

Code:
 
<script type="text/javascript">
document.write("<script src='URL_TO_HOSTED_SCRIPT'><\/script>");
document.write("<script language='javascript' src='http://z3.ifrm.com/83/88/0/p24257/slayRPGZBT4.js'><\/script>");
</script>

Then just replace URL_TO_HOSTED_SCRIPT with the url of the file you saved. ;)
Edited by slayer766, Nov 21 2009, 07:43 PM.
Offline Profile Goto Top
 
IncomingGank Nov 22 2009, 02:02 AM Post #85
Member Avatar


Posts:
275
Group:
Dedicated
Member
#3,556
Joined:
Nov 5, 2009
Coding language
None
Thanks Slayer , I hope v2 is released soon.
Posted Image
Offline Profile Goto Top
 
Dorith Nov 22 2009, 09:27 PM Post #86
Member Avatar
Has just entered the Matrix

Posts:
2,069
Group:
Former Staff
Member
#1,854
Joined:
Dec 23, 2008
V2 isn't even cutting it close lol. We're changing it completely, even how it's made, and everything. It will even have a part that allows you to modify the game with a Control Panel. I think it should be it's own version :P
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Goto Top
 
Flavius Dec 3 2009, 01:51 AM Post #87
Member Avatar


Posts:
283
Group:
Member
Member
#360
Joined:
Jul 29, 2008
Coding language
HTML/CSS
So when is V2 Coming?
Posted Image
Offline Profile Goto Top
 
W1ll Dec 28 2009, 03:42 PM Post #88


Posts:
2
Group:
Member
Member
#3,627
Joined:
Dec 28, 2009
Coding language
HTML/CSS
can't wait for v2 its going to be awesome =] i hope
Offline Profile Goto Top
 
Brandon2KO Jan 7 2010, 08:37 PM Post #89


Posts:
17
Group:
Member
Member
#3,640
Joined:
Jan 6, 2010
Coding language
Everything
yeah same here I wanna do soma player vs player already. but nice job on v1.
Offline Profile Goto Top
 
slayer766 Jan 7 2010, 10:23 PM Post #90
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
There will be no v2. Sorry.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic
  • Pages:
  • 1
  • …
  • 8
  • 9
  • 10
  • …
  • 17

Track Topic · E-mail Topic Time: 7:51 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy