Welcome Guest [Log In] [Register]
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
Topic Started: Jan 29 2006, 08:04 AM (6,027 Views)
Duveaux
Member Avatar
PD-founder, Ifusion, IFCS coding staff, IFD skin staff
 *   *   *   *  
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://69.93.183.37/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://67.15.129.139/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
 
RyuraGS
Member
 *   *   *  
Seems buggy.

Whenever I fight, I get this:
NaN damage has been given.(NaN HP left)
Offline Profile Quote Post Goto Top
 
Duveaux
Member Avatar
PD-founder, Ifusion, IFCS coding staff, IFD skin staff
 *   *   *   *  
That's only if you fight without having XP..
Offline Profile Quote Post Goto Top
 
RyuraGS
Member
 *   *   *  
Weellll excuuuse me, princess! :P

Seriously, change that. I LIKE fighting without XP :P
Offline Profile Quote Post Goto Top
 
dx169
Quit
 *   *   *   *   *   *  
aww thats sweet
Offline Profile Quote Post Goto Top
 
omg
Member
 *   *  
Awesome!
For next version:-
Add animated avatars...
Add some images, weapons and stuff.
B)

Offline Profile Quote Post Goto Top
 
kaiba1234
Member Avatar
†hê $†®øñgê$† Ðuêli$† †ø ê×i$†
 *   *  
Just what I've been wanting forever. An INTERACTIVE battle system with both PvP (I know it just assumes moves but it's still cool) and Player against bot that is NOT RPG INFERNO. All I can say is awsome job.

EDIT: Ahh! Beaten by the level 9 scarecrow...how could you?!! XD
Offline Profile Quote Post Goto Top
 
InfernoEX
Member
 *   *  
NICE! i never saw this a while back, good job!
Offline Profile Quote Post Goto Top
 
W4RRlOR
RPGen Co-Founder
 *  
Hi. I was wondering if you would let me extract your bot fight and guild system for my RPG hack I am writing. I would really appreciate it! I will give you credit in the copyright for it. :D
Offline Profile Quote Post Goto Top
 
LABaller
Member Avatar
Latino Heat
 *   *   *   *   *  
Very nice. Although I'm sure people will begin taking your PvP system without your permission anyways lol. It's one of the first of its kind for InvisionFree (well, from what I've seen).
Offline Profile Quote Post Goto Top
 
Zelnen
Member Avatar
//*iampErFeCtIoN-
 *   *   *   *   *  
Hey nice code, really great, your bring them out quick! Is there anyway i can add levels so every time to person posts there levels will increase by a certain amount?
Offline Profile Quote Post Goto Top
 
Duveaux
Member Avatar
PD-founder, Ifusion, IFCS coding staff, IFD skin staff
 *   *   *   *  
W4RRlOR
January 29, 2006 08:43 PM
Hi. I was wondering if you would let me extract your bot fight and guild system for my RPG hack I am writing. I would really appreciate it!  I will give you credit in the copyright for it. :D

Well, as the source code sais.. If you fully involve me :P No, you can use it, but I don't see the use. If you're writing a code and you're copying what I've written then you aren't writing it.

And besides that, it'll be hard to extract, unless you extract all of it. It's because my interactive fighting system works with extracting information from the profile, wich is the different part of the code.. So you cannot just extract the part of the code and put it in yours.. It won't work.

But as long as you put in a link to http://www.phantom-designs.net and my name in it, it's okay with me..

Quote:
 
Very nice. Although I'm sure people will begin taking your PvP system without your permission anyways lol. It's one of the first of its kind for InvisionFree (well, from what I've seen).


:no: I don't hope so.. It was a load of work :/

Quote:
 
Hey nice code, really great, your bring them out quick! Is there anyway i can add levels so every time to person posts there levels will increase by a certain amount?


I'm not sure what you mean.. If you put xpperpost to 50 and xpforlevelup to 25 their level increases with 2 each post.. But I'm not sure if that's what you want..
Offline Profile Quote Post Goto Top
 
slaytanist
Member Avatar
Dread Lamer
 *   *   *   *   *  
Excellent work again mate! :O
Offline Profile Quote Post Goto Top
 
Viral.
Member Avatar
Member
 *   *   *   *   *   *  
ill use it if u can fix the spaces between names bug
Offline Profile Quote Post Goto Top
 
joey.jo0
Member
 *   *  
nice job!!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Code Snippets · Next Topic »
Add Reply