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 |
#1532
|
|||
|
|||
.
|
#1533
|
|||
|
|||
I'm having more problems...he stuff won't show up in the threads. Shouldn't it be showing experience?
|
#1534
|
|||
|
|||
Nintel, it's easier to understand the problem if you elaborate what you mean by that.
|
#1535
|
||||
|
||||
My members keep challenging other members that are way out of their league... so I was wondering if there was a way to create a new field in the memberlist that displays each member's level. Can this be done?
|
#1536
|
|||
|
|||
Quote:
Did you add the variables to your postbit template? |
#1537
|
||||
|
||||
How can i possibly remove extra templates.. like i accidentally processed the insert db of the tempaltes a few times now i have like
battle [changeorginal] battle [changeorginal] battle [changeorginal] battle [changeorginal] battle [changeorginal] tons of duplicates; how doi remove them? |
#1538
|
||||||||
|
||||||||
Quote:
In battleupdate.php, find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
For all of you getting the following error: Fatal error: Call to undefined function: getlevel() in /hsphere/local/home/side5411/forums.nintel.com/forums/admin/functions.php Do the following: In admin/functions.php, find: PHP Code:
PHP Code:
Quote:
Quote:
Yes, I noticed that there was a spam count in the postbit. I believe I read a post stating that you can't have too many spam counts or it takes away money from the itemshop. Maybe I was dreaming Quote:
Code:
<tr><td bgcolor="$bgcolor"><normalfont><b>Element Type:</b></normalfont><br> <smallfont>The Element type you want to be at the boards.</smallfont></td> <td bgcolor="$bgcolor"><normalfont> <select name="element"> $elementoptions </select> </normalfont></td> </tr> <tr> <td bgcolor="$bgcolor"><normalfont><b>RPG Alignment:</b></normalfont><br> <smallfont>The side you want your character to be on the RPG.</smallfont></td> <td bgcolor="$bgcolor"><normalfont> <select name="alignment" onchange="updateRaces()"> $alignmentoptions </select></normalfont></td> </tr> <tr> <td bgcolor="$bgcolor"><normalfont><b>RPG Race:</b></normalfont><br> <smallfont>The Race you want your character to be on the RPG.</smallfont></td> <td bgcolor="$bgcolor"><normalfont> <select name="rpgrace"> $raceoptions </select></normalfont></td> </tr> <tr> <td bgcolor="$bgcolor"><normalfont><b>RPG Gender:</b></normalfont><br> <smallfont>This would be your RPG Character's Gender, not your gender in real life.</smallfont></td> <td bgcolor="$bgcolor"><normalfont> <select name="rpggender" onchange="updateClasses()"> $genderoptions </select></normalfont></td> </tr> <tr> <td bgcolor="$bgcolor"><normalfont><b>RPG Class:</b></normalfont><br> <smallfont>The Class you want your character to be on the RPG.</td> <td bgcolor="$bgcolor"><smallfont> <select name="rpgclass" onchange="updateType()"> $classoptions </select></smallfont> </td> </tr> <tr> <td bgcolor="$bgcolor"><normalfont><b>RPG Type:</b></normalfont><br><smallfont>Your type is automatically determined by your class.</smallfont></td> <td bgcolor="$bgcolor" > <input type="text" class="bginput" name="rpgtypename" value="$rpgtypename" length="30" READONLY><input type="hidden" name="rpgtypeid" value="$rpgtypeid"> </td> </tr> <tr> <td bgcolor="$bgcolor"><normalfont><b>Build Stats</b></normalfont><br> <smallfont>Click here if you want to have stats shown on the board.</smallfont></td> <td bgcolor="$bgcolor"><normalfont> <input type="checkbox" name="updatestats">Update stats </normalfont></td> </tr> Try the attached postbit. I will see about changing that template edit so that it quits duplicating. Quote:
Quote:
Yes, it can be done. Someone was working on it a while ago. Quote:
Can you go into phpmyadmin and verify that the appropriate data is in the tables? Just make sure the table that begin with rpg_ aren't empty. Quote:
You will need to go into phpmyadmin, find the template table, and delete them manually. As for why I haven't responded in a while, well, I had a rough week. Internet keeps going out, power went out for a few hours, fire alarm keeps malfunctioning, etc. Plus, it is exam week. |
#1539
|
|||
|
|||
Quote:
hacks added, Added Store Hack by Lesane Added Spam Killer Hack (store version) by g-force2k2 Added Rpg Battle System to the site by Bitsys Added Update to Store Hack, seperate from battle system after adding some of these hacks, I had to custom edit the postbit/profile to make the contents show up for each of these systems which was a great learning exterience, and about 2 hours of juggling and tweaking. Example shots of how it looks: my custom postbit, http://www.xtremegames.ca/code/imgs/new_postbit1.gif what profile link in postbit looks like http://www.xtremegames.ca/code/imgs/new_profile.gif Try talking to g-force2k2 to see if a version could get setup for your next release / future release of the rgg battle system. I tried to fix most of the bugs I found, my bad, I'll be installing it again on my other site so will make bug list and post it here, and what I changed. as for requests, I'd love to see away to change what type of currency the rgp system uses, and also have room to add userfields for adding possible multi-currency types to the rpg hack. aka pyreal, Platinum, Gold, Silver, Bronze, etc. sorry for the long message ... |
#1540
|
|||
|
|||
I made a very small add-on that makes the hack even more RPG like.
If you fight a high level opponent it would make sense if you gained more experience than if you fight a low level opponent. So what this hack does is simply to multiply the experience-factor that you set for winning the battle with the opponents level. Open battleupdate.php and find: ------- if($battleopt[givewinexp] == 1 && $battleopt[expperwin] > 0) { if($battle[winnerid] > 0) $DB_site->query("UPDATE user SET xp=xp+$battleopt[expperwin] WHERE userid='$battle[winnerid]'"); } ------- And replace with: ------- if($battleopt[givewinexp] == 1 && $battleopt[expperwin] > 0) { if($battle[winnerid] > 0) $DB_site->query("UPDATE user SET xp=xp+($opponentlevel*$battleopt[expperwin] WHERE userid='$battle[winnerid]'"); } ------- Very simple hack, but it can prevent some abuse of the fighting system. For example the so called Bottom-feeding. Perhaps this could be included in the next update? Personally, I think it would make more sense than the current system =) Bitsys, would it be possible to make different forums gain you a different amount of creds and exp? I've made a raw code hack now, but I have to alter it through the code instead of the admin panel. For example, I want my users to gain more experience and credits for posting in a serious forum such as "Forum Suggestions". And less if they use "General Discussions". Perhaps implent a multiplier in the Forum Moderation-system. |
#1541
|
|||
|
|||
Hi,
this's a nice hack 1. when i go to the itemshop and then click on bank nothing change, i am still in the itemshop 2. i don't want to fight a user, i want to add a battle room without a password and any user can come and fight me , can i do that ? sorry 4 my bad english thanks, Sun Boy |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|