Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
RPG Integration Hack /w Battle (BETA) Details »»
RPG Integration Hack /w Battle (BETA)
Mod Version: 1.00, by Bitsys (Coder) Bitsys is offline
Developer Last Online: Aug 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (31 votes - 4.23 average) Installs: 278
Released: 06 Dec 2002 Last Update: Never Downloads: 121
Not Supported Is in Beta Stage  

RPG Integration Hack BETA by Bitsys
(vBulletin versions 2.2.6?, 2.2.7, 2.2.8, 2.2.9, and 2.3.0)

This hack combines several RPG hacks into one and adds a battle hack. The hacks included in this hack are:

In addition to re-releasing thse hacks, I have added features to all of them (or else there would be no point in re-releasing).
  • The RPG hacks are now all editable via the admin control panel.
  • The itemshop has been somewhat optimized and some fixes are included that reduce queries in showthread.php and itemshop.php . Also, Lesane's Store Hack has been integrated with the Itemshop. This can be toggled in the admin cp.

This means that the RPG hacks are database driven and have been partially integrated with the Itemshop. This was necessary in order to make a battle hack, which is also included.

Since most people are familiar with the RPG and Itemshop hacks, I will give a brief description of the Battle hack. If you want more information about either of the other two hacks, then refer to their original posts or download the .zip file and read the "readme.txt". If you are a visual learner, then you can scroll down to the second post in this thread, which contains the pictures of all of these hacks.


Battle Features:
  • The battle format is turn-based.
  • HP, AP, PP, and MA are automatically deducted based on what action a user takes, the damage dealt to an opponent, etc.
  • Opponents in battle can use spells, one-handed weapons, two-handed weapons, shields, potions, or their fists.
  • A battle is over when a combatant dies, retreats, or there is a draw. Battles can also be ended via the admin control panel.
  • A wager can be set on a battle. Whoever wins the battle recieves the amount of money as specified in the wager. Outside bets are not supported yet.
  • Battles can be either public or private, as determined by the admin control panel. If private, battles require a password and battles can not be browsed. If public, then any user can view any battle, but only the original combatants can fight.
  • The results of a battle can be posted into a designated "Battle" forum, as specified in the admin control panel.
  • Inactive battles can be pruned.

Getting started with the battle hack:
  • In order to get items to disply in the item shop, you must select which items go with which RPG Type in the "Edit Item Type" Menu of the admin cp.
  • In order to assign which weapon categories do what kind of damage in battle, you must go to the "Edit Category" link located in the "Edit Items" menu of the admin cp. Select a Battle type for the category and save changes.
  • In order to do damage to your opponent when in battle, you must assign the amount of damage each weapon does in the "Edit Items" menu of the admin cp. The default damage is set to 0. The same principle goes for armor, potions, spells, shields, etc.
Please refer to the screenshots or "readme.txt" for more information.


Why is this a BETA hack?

I have tested the installation of this hack on vBulletin versions 2.2.7, 2.2.8, 2.2.9, and 2.3.0. However, because of the scale of this hack, there is plenty of room for errors. Therefore I am making the following disclaimer while this hack is in the BETA stage:


WARNINGS:
  • Do not install this hack on a production board. Please keep this hack, while in the BETA stage, to a test board. The reason for not installing this on a production board is that I cannot provide upgrade instructions for going from one version of the beta hack to the next version of the beta hack. Also, this hack does not have an un-install script yet. So please remember, if you decide to install this on a production board, you are doing so at your own risk.
  • Do not apply this hack if you already have ANY of the included hacks installed. Please refer to the list at the top to see if you have any of the conflicting hacks installed. Since I am asking that you install this on a test board right now, this should not be a problem since you can re-install a fresh copy of vBulletin in under 5 minutes, as a test board of course.
  • There is currently no upgrade script for installing this over any of the included hacks. I will make one when this beta is completed.
  • If you choose to install the postbit features, then an additional query will be added to showthread.php. This query is a SELECT COUNT(*) query and adds around .001 seconds to the page generation. If you don't like the idea of adding an additional query to showthread.php, then you have the option of not installing that part of the hack. See the install file for more information.


Miscellaneous:

The beta of this hack is free. The full/final release will also be free.

All installation instructions and credits are included in the attachment. If you find a bug or have problems, feel free to post them here and I will try to fix them. Please read the included readme file if you have questions. If you can't find the answer, then post your question here and I will answer it.

All hacks included in this hack have been re-released with permission of their original creators.

Screenshots are in the second post of this thread.


Installation:

Installation instructions are included in the .zip file.


ACKK! I NEED HELP!!!

If you are having trouble and need some help, please refer to the help documentation included in the .zip file. It is located in the "extra" directory.

If you need help and you have already installed the hack, make sure you check the RPG Manual link in the admin cp. Also, make sure you read the FAQ included with the manual.

MY THREADS STOPPED DISPLAYING CORRECTLY!!!
See if you are experiencing one of the following symptoms:
  • All of my users are being labeled as "Guest" in the postbit template.
  • No posts are showing up.
  • None of the RPG variables will display in the postbit. The element/gender/class images are broken.
  • I get database errors when I go to showthread.php

If you are experiencing one or more of the above problems, then your showthread.php file was not edited correctly by the installer. This problem usually occurs on boards with other hacks installed that modify the queries in showthread.php. Please go to http://www.vbulletin.org/forum/showp...postcount=2261 and follow the instructions there.


Add-ons:
The following add-ons are not included in the default installation. You must apply these add-ons after you have installed the hack successfully.

Member profile add-on
This add-on let's you display the user's RPG Stats in their member profile. See the .zip file for the add-on. It is located in the "Member Profile Add-on" directory.

Auto-update stats after posting
This add-on automatically updates the user's stats after they make a post, instead of having to click on the update stats button in the user cp. This add-on involves 2 file edits. The add-on is located at http://www.vbulletin.org/forum/showt...452#post356452

Donation Queue by Darkwaltz4
Moderate all Donations. See Who is Donating to Who. All Donations go through Admins or Mods. The add-on is located at http://www.vbulletin.org/forum/showt...652#post408652

Battle Background Midi System by Darkwaltz4
Full control over the music that plays during your battles! The add-on is located at http://www.vbulletin.org/forum/showt...530#post410530

Randomized First Turn Addon by Moreliator
"The following code gives the challenger a 33% chance to start the battle and the challenged person a 66% chance. Works quite well. I also included instructions on how to display "Determining..." on the battle.php browse page, that way people won't decline a challenge if they see they aren't going first. ". The add-on is located at http://www.vbulletin.org/forum/showt...614#post410614

Lock RPG Options at a Specified Level Addon by Moreliator
This addon allows you to lock all users' RPG options in their USER CP when they reach a certain level. This add-on is located at http://www.vbulletin.org/forum/showt...111#post411111

Personal Shop Items Have Battle Bonuses by Triade
The original personal shop, allows to have an item the don't do nothing in battle. With this add-on, you can build items with bonus in battle (the bonus is in the attack now). This add-on is located at http://www.vbulletin.org/forum/showt...328#post426328

Challengable Option by Darkwaltz4
Allows users to set themselves against recieving battle challenges. This add-on can be found at http://www.vbulletin.org/forum/showt...143#post411143


Contact Info:
Bitsys
Email: bitsys AT mail DOT com
PM me for a faster response. I prefer PMs.

~~~~~~~~~~~~
Update 09/04/03 @ 1:46pm
v0.68c

Battle debug messages were accidentally left on.
Minor shield bug was fixed in battlefight.php (Thanks Telchar).

Re-upload battleupdate.php and battlefight.php.

The new .zip file is located at the bottom of this post.


Finally, here is the .zip file (v0.68c):

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
DigiChat Integration V3.0 BETA Pseudomizer vBulletin 3.0 Beta Releases 28 10 Aug 2005 08:37
Ultima Battle System -- vB Integration Link14716 vBulletin 2.x Beta Releases 37 15 Jul 2003 14:54

  #1756  
Old 06 Jun 2003, 01:19
Bitsys's Avatar
Bitsys Bitsys is offline
 
Join Date: Oct 2002
Today at 06:56 PM kaotic said this in Post #1772
Where is the text used in battles located? I need to adjust the spells text (Spreading his arms in a fit of rage...) since I have mercenaries set as spells. For example, here is the battle text when one attacks with a mercenary:

"Spreading his arms in a fit of rage, someone casts Archer on someone and deals X points of damage. Archer cost 0 MA to cast."

See what I'm saying?
All of those lines should be spread throughout battleupdate.php
Reply With Quote
  #1757  
Old 06 Jun 2003, 02:24
Zalastri Zalastri is offline
 
Join Date: Apr 2003
Real name: Zalastri
I just have to show off my site... www.zalastri.com The defualt template might show if your not logged in though Its really maxed out. It has the RPG hack as pretty much the second main feature in the boards. Its a RP Community and this helped tremendousley !!!1!1!Eleventy11!!
Reply With Quote
  #1758  
Old 06 Jun 2003, 08:31
PixelFx PixelFx is offline
 
Join Date: Dec 2002
I've been working on custom 3d art for the battle system, should be interesting when done, I don't have them installed in my sites battle system yet, as I'm still bug testing but I've got so far 250 items/weapons/armor/spells/jewels/potions etc etc hope people will check it out later
Reply With Quote
  #1759  
Old 06 Jun 2003, 19:29
Spark Spark is offline
 
Join Date: May 2003
uhm thx but i mean, give it any problems with the Store hack and the RPG Hack? Bugs?
Reply With Quote
  #1760  
Old 06 Jun 2003, 23:15
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
Yesterday at 02:19 AM Bitsys said this in Post #1773
All of those lines should be spread throughout battleupdate.php
Thanks!
Reply With Quote
  #1761  
Old 06 Jun 2003, 23:59
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Real name: Matt
DAAAAAAMMMMMNNNN that was a really, really, really long hack!!! but it was well worth it!!! Amazing, installed first time no problems and I didnt have trouble finding anything at all. thanks

Last edited by Xelation : 07 Jun 2003 at 00:19.
Reply With Quote
  #1762  
Old 07 Jun 2003, 04:42
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Real name: Matt
question, how are people making items like Magic Tag that Cures Zombie status? Because what does zombie status do, is there even zombie status in this hack? Becuase I want to create a spell that causes poison and will take away 3% of a persons health away each turn until its cured but I have no clue how I can do this.
Reply With Quote
  #1763  
Old 07 Jun 2003, 14:21
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Real name: Matt
Today at 06:39 AM Me! said this in Post #1781
Bitsy is it possible for me to lock Race and Element once the user picks? People tend to go with the strongest instead of using this as an rpg extenstion of their persona and some of my members wish for me to lock this feature. They suggested in order to change it you'd have to pay money or reach a certain level.

That would be really cool if that could be done.
I agree, I would really like that to
Reply With Quote
  #1764  
Old 07 Jun 2003, 14:25
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Bytsis, I found yet another money abuse bug. When you enter wager, you can enter a negative number (lets say -50,000). And when the battle is over it will clear both fighter's money to 0.
Reply With Quote
  #1765  
Old 07 Jun 2003, 23:39
Zalastri Zalastri is offline
 
Join Date: Apr 2003
Real name: Zalastri
Is there any way that I can prevent a user from gaining EXP from posting in a certain forum?
Reply With Quote
  #1766  
Old 07 Jun 2003, 23:45
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
(IMO) Disabling the post count might work.

Btw, do you guys know any good sites that I could gather sprites from?

Last edited by kaotic : 08 Jun 2003 at 00:04.
Reply With Quote
  #1767  
Old 07 Jun 2003, 23:47
Zalastri Zalastri is offline
 
Join Date: Apr 2003
Real name: Zalastri
I dont think it has anything to do with post count.
Reply With Quote
  #1768  
Old 08 Jun 2003, 00:04
Zalastri Zalastri is offline
 
Join Date: Apr 2003
Real name: Zalastri
in a SPECIFIC forum I want people not to get EXP when posting. Not to disable in all forums
Reply With Quote
  #1769  
Old 08 Jun 2003, 04:59
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Hey Bitsys,

I got some of the custom art I showed you earlier up on the site, and got more of a overall layout starting to come togher as well...

I am Still working on layout, rpg names for items etc, need to change gil to another currency but so far its all good, thanks for your hard work..

http://www.orbsydia.com

Above is what you would see if you had a membership account on my forum, to save people time of registering I put a screenshot together... I need to get a few beta testers as well, to help find bugs etc... so we can send to bitsys :P

http://www.orbsydia.com

I haven't made custom 3d battle scenes YET, but they are on the to list

Possible bug: some items not showing up in normal store, but do show up in the generic section ... not sure how to change that. The catigories are not set to personal....

Last edited by PixelFx : 19 Jan 2004 at 06:29.
Reply With Quote
  #1770  
Old 08 Jun 2003, 13:52
Bitsys's Avatar
Bitsys Bitsys is offline
 
Join Date: Oct 2002
06-06-03 at 03:18 AM Me! said this in Post #1775
One thing some of my members pointed out is that at the end of a battle when the one users accepts that he won the battle sometimes the other person is slow to accept that they lost or just doesn't for some unknown reason.

I forget if you're given the money regardless if the loser accepts defeat or not, but it's just something I thought I'd bring to your attention. My user suggested instead of each user accepting the outcome to just have it automatically do it.

The money should be given as soon as the battle result can be determined, i.e. before both players accept the results. Let me know if this is not the case.

06-06-03 at 02:29 PM Spark said this in Post #1777
uhm thx but i mean, give it any problems with the Store hack and the RPG Hack? Bugs?
06-05-03 at 06:12 PM Bitsys said this in Post #1771
Other than that, the two should work just fine.
06-06-03 at 11:42 PM Xelation said this in Post #1780
question, how are people making items like Magic Tag that Cures Zombie status? Because what does zombie status do, is there even zombie status in this hack? Becuase I want to create a spell that causes poison and will take away 3% of a persons health away each turn until its cured but I have no clue how I can do this.
There are no status modifiers at this time.

Yesterday at 05:39 AM Me! said this in Post #1781
At the moment there are no status effects.

Bitsy is it possible for me to lock Race and Element once the user picks? People tend to go with the strongest instead of using this as an rpg extenstion of their persona and some of my members wish for me to lock this feature. They suggested in order to change it you'd have to pay money or reach a certain level.

That would be really cool if that could be done.
I have looked into doing this before and I found that it would cause more problems than solutions code-wise. Maybe someone could make an add-on.

Yesterday at 09:25 AM v0id said this in Post #1783
Bytsis, I found yet another money abuse bug. When you enter wager, you can enter a negative number (lets say -50,000). And when the battle is over it will clear both fighter's money to 0.

You can disable negative wagers. Search this thread, as it has been discussed quite a bit.

Yesterday at 06:39 PM Zalastri said this in Post #1784
Is there any way that I can prevent a user from gaining EXP from posting in a certain forum?

That would require a custom hack, since your forum IDs are different from everyone else's.


Yesterday at 11:59 PM PixelFx said this in Post #1788
Hey Bitsys,

I got some of the custom art I showed you earlier up on the site, and got more of a overall layout starting to come togher as well...

I am Still working on layout, rpg names for items etc, need to change gil to another currency but so far its all good, thanks for your hard work..



Above is what you would see if you had a membership account on my forum, to save people time of registering I put a screenshot together... I need to get a few beta testers as well, to help find bugs etc... so we can send to bitsys :P

http://www.shukenja.com/forum/itemshop.php?itemtype=1

I haven't made custom 3d battle scenes YET, but they are on the to list

Possible bug: some items not showing up in normal store, but do show up in the generic section ... not sure how to change that. The catigories are not set to personal....
Images look awesome

To fix the items not showing up problem, go in to your database with phpmyadmin. Find the rpg_type table. Change the ID of Generic from 1 to 0. That should fix it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 14:11.

Layout Options | Width: Wide Color: