The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
RPG Integration Hack /w Battle (BETA) Details »» | |||||||||||||||||||||||||
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).
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:
Getting started with the battle hack:
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:
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:
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 https://vborg.vbsupport.ru/showpost....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 https://vborg.vbsupport.ru/showthrea...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 https://vborg.vbsupport.ru/showthrea...652#post408652 Battle Background Midi System by Darkwaltz4 Full control over the music that plays during your battles! The add-on is located at https://vborg.vbsupport.ru/showthrea...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 https://vborg.vbsupport.ru/showthrea...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 https://vborg.vbsupport.ru/showthrea...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 https://vborg.vbsupport.ru/showthrea...328#post426328 Challengable Option by Darkwaltz4 Allows users to set themselves against recieving battle challenges. This add-on can be found at https://vborg.vbsupport.ru/showthrea...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): Show Your Support
|
Comments |
#2032
|
|||
|
|||
I'll edit the txt file, gj Pricyber
|
#2033
|
|||
|
|||
well nice hack, but i can get icon for item in postbit.
he display nothing. |
#2034
|
|||
|
|||
Can somebody make the files in the mod directory,bank.php, and points.php work with the store hack?
|
#2035
|
|||
|
|||
Just like to mention there are a few bugs with the following:
1. Putting no password in battles results in invalid password display. 2. Having the 'unknown' class allows users to open up the items via the unknown and purchase them whether they have permission to or not (i removed that field from my dbase for now). 3. The healer sometimes shows a bad value, such as intead of 18 it will show 8, then the user wonders why they can't heal because they have 10 gold. |
#2036
|
|||
|
|||
Just an update on my removal of the unknown field from the rpg_types table.
If you do this to prevent users from buying items they shouldn't, then you are left with all of the categories upon first going to the itemshop, however they can't be expanded. This looks messy... so I fixed it. Simply open itemshop.php Find (right at the end of the file): Code:
eval("dooutput(\"".gettemplate("itemshop")."\");"); Code:
if($action=="" && $itemtype < 1) { eval("dooutput(\"".gettemplate("itemshop_viewfirst")."\");"); } else { eval("dooutput(\"".gettemplate("itemshop")."\");"); } Code:
{htmldoctype} <html> <head> $metarefresh <title>$bbtitle - Itemshop</title> $headinclude </head> <body> $header <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td width="100%"><img src="{imagesfolder}/vb_bullet.gif" alt="" border="0" align="absmiddle"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > Itemshop</b></normalfont></td> </tr> </table> <br> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr id="cat"> <td bgcolor="{tableheadbgcolor}" colspan="5"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><smallfont color="{tableheadtextcolor}"><b>$bbuserinfo[username]'s Current Status</b></smallfont></td><td align="right"><smallfont color="{tableheadtextcolor}"><b>$points Gold</b></smallfont></td></tr></table></td> </tr> </tr> <tr> <td bgcolor="{categorybackcolor}" width="5%" align="center"><normalfont color="{categoryfontcolor}"><b>Icon</b></normalfont></td> <td bgcolor="{categorybackcolor}" width="35%" align="center"><normalfont color="{categoryfontcolor}"><b>Name</b></normalfont></td> <td bgcolor="{categorybackcolor}" width="50%" align="center"><normalfont color="{categoryfontcolor}"><b>Description</b></normalfont></td> <td bgcolor="{categorybackcolor}" width="5%" align="center"><normalfont color="{categoryfontcolor}"><b>Cost</b></normalfont></td> <td bgcolor="{categorybackcolor}" width="5%" align="center"><normalfont color="{categoryfontcolor}"><b>Refund</b></normalfont></td> </tr> $loop $loopp <tr id="cat"> <td bgcolor="{tableheadbgcolor}" colspan="5"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><smallfont color="{tableheadtextcolor}"><b>Bank Deposit: $bankuser[bankval]</b></smallfont></td><td align="right"><smallfont color="{tableheadtextcolor}"><b>Total Bank Property: $banktotal | Total Bank Clients: $clients</b></smallfont></td></tr></table></td> </tr> </table> </td></tr></table> <br> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr id="cat"> <td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$PHP_SELF?action=bank">Visit The Bank</a></b></smallfont></td> <td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="34%" align="center"><smallfont color="{tableheadtextcolor}"><b>Total Profit: $options[profit] | Total Sold Items: $options[sold]</b></smallfont></td> <td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$PHP_SELF?action=buypers">Buy Personal Itemshop</a></b></smallfont> </td></tr> <tr id="cat"> <td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$bburl/store.php">Visit The Traveller's Shop</a></b></smallfont></td> <td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="34%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$bburl/battle.php">Go To The Battle Arena</a></b></smallfont></td> <td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$bburl/heal.php">Visit The Healer</a></b></smallfont> </td></tr></table> </td></tr></table> <br> <center>$typelinks <br> <normalfont>Please choose a class to view the items...</normalfont> </center> <br> <br> <br> <br> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr id="cat"> <td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="100%"><smallfont color="{tableheadtextcolor}"><b>Copyright 2002 <a href="mailto:gheghe@rnc.ro">Mewtwo</a>. <a href="http://ffd.ffrepublic.com">FFDiscovery</a></b></smallfont></td> </tr> </table> </td></tr></table> <br> $footer </body> </html> |
#2037
|
|||||||||||||||
|
|||||||||||||||
Wow, gone for 2 days and I miss a page and a half of posts.
Quote:
Go to your forums database. Find the rpg_type, rpg_race, rpg_classf, and rpg_classm tables. Click "Browse" on each of these. Verfiy that there is dat in these tables. If there isn't any data, then clicking "Browse" will return an empty set. Quote:
Generally, Buffs should be between 10 and 1000. HP on elements should be between 30 and 100. Quote:
Please try the following: ADmin CP -> Edit Items. Find the "[Edit]" link next to a category name (the one for spells). Click the link. On the next menu, select "Spells" as the battle type and save changes. Back at the Edit Items screen, make sure that you have given the spell a buff value and an MA cost. Additionally, either the "Attack" or "Heal" checkbox (or both) must be checked. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Personal shops allow a little more user interaction. The items they add are novelty items only. Allowing users to assign buff values for items would jeapardize the integrity and balance of battles. Quote:
See my above response to Legendary Kid's post. Quote:
Quote:
Quote:
Quote:
|
#2038
|
|||
|
|||
Quote:
I made an addon that is really close to this... it locks a user's RPG stats when they reach a certain level. I have mine set to level 5, that way my members can examine all characters, but once they get to level 5 they have to make a permanant decision because it locks and users can't change stats anymore. Bitsys, would you mind adding this addon to the front page, I have had a few people ask me for it. Its been working on my board for over a month now. Heres the link: CLICK HERE for Auto-Lock Stats Addon |
#2039
|
|||
|
|||
I just installed your hack and I am having some problems with member.php
http://69.57.156.44/~dras/1.jpg http://69.57.156.44/~dras/2.jpg The addtional info is shown twice! I tried to edit modifyprofile but no luck. I also looked at member.php but TOO long to look at. Any help would be nice. |
#2040
|
|||
|
|||
Quote:
I thought this: Allow users to put buff in items... but... with a certain range, and with a cost. I think we can put also an image library for the user items. Example: in the add item shop, put a select box with buff +10 +20 +30 +100 +1000 ecc. Another box with Att, Def, Att+Def if someone choose a buff in another window will display the price. if i made an armour with +10 in Att. i'll pay 1000 if it's +50 i'll pay 5000 if it's +50 Add+Def i'll pay 10000 If i make 2 of this i'll pay 20000 This will influence also the sell price, so nobody can make a +1000 item sold for 20 gil. i'm not a php programmer (but i want to study for it), so someone think it's possible and easy to do? |
#2041
|
|||
|
|||
Quote:
Hey, it is simple template error that has been known to happen with this RPG Hack. In the modifyprofile template, simply delete the first instance of: Quote:
-mor |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|