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
Divinity Lands RPG v3.0.5 Final Release; By .Scott
Topic Started: Jan 23 2010, 01:06 AM (170 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: .Scott
Divinity Lands RPG v3.0.5 Final Release
 
Name: Divinity Lands RPG v3.0.5 Final Release
Description: To one this seems like the old Divinity RPG's I've been created, but not anymore. As I haven't released any other versions around anywhere or done anything with it I was writing it on a live board. MUCH has been added and fixed.

The features in this JavaScript RPG is too long to post here, so I will list some key features:

Features:

  • A great handful of quests
  • PvP battles (Still opponent AI controlled, yeah I know I never got around to writing a true PvP...)
  • Player Owned Shops
  • Guild (This guild system is very unique, you'll have to install it to find out yourself) Key features of this include, promotions, demotions, kick, join, create, delete, etc.
  • New monsters, everything is very well balanced including new items, weapons, and everything
  • New spell system! Complete with a load of spells, and everything is class specific
  • Number formatting
  • So much more...


Preview: Here
You will need to be Logged In to view the RPG.


Copyright: slayer766
Known Bugs: Align tags screw up the code in the showtopic pages.
Browser compatibility: All newer browsers - FF2/FF3/Google Chrome/ not sure why it's not working in IE anymore, though if it does you are lucky!
Installation:

Ok, first off you need to go to your Admin CP > Skinning & Styles > Board Wrappers > Header & Body:

Replace your <% BOARD %> tag with the following:

Quote:
 
<div id="slayer_rpg">
<% BOARD %>
</div>



Alright, now you will need to create TWO forums, one for the shops and one for the guild. Follow these directions carefully.
It's best to create a new category for this and then place the forums in that category.


But first we will need to go to Forum Control > New Forum > place this forum under the new category you've created > you can name this forum whatever you want > scroll down to Posts in this forum increase member's cumulative post count? and set this to No > for your permissions you would set all of them to Read, Reply, and Start(Do not set this for guests/validating/banned members). Repeat this process ONE more time so you have two forums, though the other forum will be for the guilds. :)

Alright, once you have those forums created, go to the forum list on your board and get the url of the first forum you created which would be something like this(http://YOUR_BOARD/index.php?showforum=1) Now you see where it says "showforum=1", we need this number. The same with your other forum you created, which these will need to be placed in the code below(Near the bottom where it says "FORUM_NUM_FOR_SHOP" and "FORUM_NUM_FOR_GUILD"

After you have all of the forum numbers and have created them, you can go ahead and Edit your category state to Disable.

Now for the code bit. Board Wrappers > Footer:
Code:
 

<script type="text/javascript">
/****************************************
Divinity RPG v3+ - By slayer766
From thecodingzone.com phantom-designs.net
Please keep copyright intact
All Modifications for this RPG are permitted!
****************************************/

//How much gold/money you earn for posting replies,topics, and polls
var Posting = [35,65,85]

//The amount a users starts with
var default_amount = 200;

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

//Price to heal at the Inn
var Inn_price = 100;

//How many monsters to display per row
var monsters_per_row = 5;

//How many stat points you get per level and how much each stat increases per point
var Stat_Amount = 4;
var Up_HP = 8;
var Up_MP = 10;
var Up_ATK = 3;
var Up_DEF = 3;

//Max level to heal for free in the Inn
var Max_Levelh = 3;

//Max amount you can bet in the pet arena
var Max_Bet = 10;

//How much the beer will cost
var beer_price = 700;
var max_beers = 2;

//Max level you can achieve in the RPG
var max_level = 30;

//This is the post requirement needed to create a guild
var amount = 10;

//This is the forum number in which you created for the Shop
var forum_num = FORUM_NUM_FOR_SHOP;

//This is the forum number in which you created for the Guild
var forum_numz = FORUM_NUM_FOR_GUILD;

document.write("<script language='javascript' src='http://z3.ifrm.com/171/8/0/p94447/HostedDefaultz50.txt'><\/script>");
document.write("<script language='javascript' src='http://z3.ifrm.com/161/27/0/p110134/FinalDRPG.js'><\/script>");

if(location.href==top.location.href){
if(location.href.match(/act=Post&CODE/i)){
document.write("<script language='javascript' src='http://z3.ifrm.com/161/27/0/p93324/DivinityPostCode1.js'><\/script>");
}
if(location.href.match(/showuser=/i)){
document.write("<script language='javascript' src='http://z3.ifrm.com/161/27/0/p93330/DivinityShowuserCode3.js'><\/script>");
}
if(location.href.match(/showtopic=/i) || location.href.match(/act=Msg&CODE=(03|3)/i)){
document.write("<script language='javascript' src='http://z3.ifrm.com/161/27/0/p93329/DivinityShowtopicCode2.js'><\/script>");
}
}
</script>



And that's it! You should've successfully installed the code! Remember to test it out first before you let your members at it. Any questions/comments please feel free to add them.


I would like to thank a number of people. Firstly a good friend of mine who has created just about every single image you see in the RPG and that would be Blackwolfe. All image credits go to him. :)
Another bunch of people would be some great testers who have helped test the code thouroughly.

Achilles, Blackwolfe, levon, Wraith, Extreme01459, Gothic-Kratos, glubgluby, LunarShadow, Chireru, and many others. Sorry to those who I left out as I couldn't remember all of you! XD
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply