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
[V3.0]Automatic XP/Bot/Guild/PvP/level system; Really cool XD; By Duveaux
Topic Started: Jan 23 2010, 01:02 AM (146 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Duveaux
[V3.0
 
Automatic XP/Bot/Guild/PvP/level system; Really cool XD]Cool! Finally! V3.0. I have been working a lot on the battle system. It now looks, feels and smells good. It's interactive. It carries out functions like hit, block and skip. Also, pretty nice IMO, a battlebot system. You can easily customize bots. See that array beneath? That's all you need to edit ;)

PREVIEW


Code functions:

  • Doesn't take too much board wrappers space, it's hosted.
  • Add a new dimension to your forums. The code adds a lot of information to the postdetails.
  • PVP fighting system
  • Battlebot fighting system
  • automatic guild asigning system
  • Easy customizing
  • XP/level system
  • Note: Displays a small copyright at the footers of your page. It doesn't draw attention or deform your page.
  • Looks good with every skin.

ACP > Board Wrappers > Header & Body > below navigation
Quote:
 
<div id="extrapage"></div>
<script>
/*
Add Submenu Right Link
Created by iFusion

*/

function rightSubmenu(txt, lnk, imag){
var spacer = " &nbsp; &nbsp;<img src='" + imag + "' border='0'>&nbsp;"
if(document.getElementById('submenu') )
document.getElementById('submenu').getElementsByTagName('TD')[1].innerHTML += spacer + "<a href='" + lnk + "'>" + txt + "</a>";
}

rightSubmenu( "Challenge a bot" , "http://s15.invisionfree.com/V3hacks/index.php?act=battlebots" , "http://i6.ifrm.com/style_images/1/atb_members.gif" )
</script>


ACP > board wrappers > footers
Quote:
 
<script type="text/javascript">
//RPG script written by http://www.phantom-designs.net
//By Duveaux
//Do not remove ANY copyright here.

//The terms
var titlea="Level"
var titleb="XP"
var boardname="Testboard"
var boardurl="http://s15.invisionfree.com/V3hacks/index.php"
var xpperpost="50"
var xpforlevelup="500"

var groupname="Guild"

var Guilds=[];
Guilds[0]="NightWarp"
Guilds[1]="NightRavers"
Guilds[2]="NightSouls"

var guilddesc=[];
guilddesc[0]="Nightwarp is a clan containing the bravest members of "+boardname+". If you get assigned into Nightwarp, you'll probably have balls in a battle."
guilddesc[1]="Members of the NightRavers are people that would choose for tactics. If you get assigned into the Nightravers Guild you'll probably think out your moves."
guilddesc[2]="Members of "+boardname+" that get asigned into the NightSouls guild are specified in stealth. They will try to backstab their enemy, and are focused on defense, more then other guilds while attacking."

var shorttechnique=[];
shorttechnique[0]="Bravely"
shorttechnique[1]="Smoothly"
shorttechnique[2]="Stealthy"

var bots=[];
bots[0]="Rudolph"
bots[1]="The ScareCrow"
bots[2]="Ahab Burns"
bots[3]="Hierophant of The Underworld"
bots[4]="Lana Burns"
bots[5]="Marquis of Night"
bots[6]="Devil of Blood"

//Here, for you, is the hosted source code. It saves you a load of boardwrappers space.
</script>
<script type="text/javascript" src="http://i4.ifrm.com/5857/197/upload/p69300.ibf"></script>


Known bugs:

  • People with spaces in their name will be unable to PvP.
  • Same goes with <span tags>
  • Any more bugs can be reported ;)
I hope you'll enjoy this code and take good use of it. Feel free to comment :) I also like to know if you're using this code ;)

I can give support here, but I give faster and better support at http://www.phantom-designs.net
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply