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 |
#2302
|
||||
|
||||
much thanks, Telchar
the battle works perfectly great hack, by the way ^ ^ |
#2303
|
|||
|
|||
Wow thanks telchar=) ur the best=) but i still am having problems with stats being displayed in the postbit and rpgcp lvl's and postbit lvl's not matching each other.
|
#2304
|
||||
|
||||
i have a question
how long, vbb 3.0 beta xx have Mod RPGames.? i very need it. |
#2305
|
|||
|
|||
Ok, my rpg was a hit for the first couple months, but now it's seemed to have died down. Members are losing interest in it. I really wish someone would creat a monster arena hack of some sort so when no one wanted to battle, they could still gain experience, and gil. Also it would be a good way to help newbs get started. As the monsters went up, they got harder and the more experience and gil went up along too. I really wish someone would make this addition, I'm even willing to pay for it.
|
#2306
|
||||
|
||||
Quote:
|
#2307
|
|||
|
|||
i mean some things dont show up at all in the postbit. Like money and # of battles and if the play is alive or dead. It doesnt show any of that regardless of updating. Also the levels keep climbing in the posbit regardless that you've died in battle, even if u update. So i think there is something wrong with my rpg hack.
|
#2308
|
||||
|
||||
first: if there is no trouble, then reinstall it
2nd: ur level grow without battling due to u set users are able to gain EXP per post :devil: and, have u added the code to show in postbit template ? if u did, then add one more thing in the zip file of this hack: add the auto update stats. i think it will work fine |
#2309
|
|||
|
|||
i have the postbit stuff but not all of it is showing up. also i know you gain lvls/exp through posting but rpgpcp and postbit say the same thing no matter wut. so.... i need someone to help me fix it. i dont want to reinstall>_<
|
#2310
|
||||
|
||||
Quote:
let's me say it again: IF you want your status like HP, MP, AP, PP, EXP and your level show correctly in postbit after you gain EXP and/or level up. then YOU MUST, yes, sorry but i said you MUST update your stats by modify your profile and check the box "Update Stats" , then click the Submit Modifications button. After that, your things will be changed for sure. And, Please Please make sure that you put in code in postbit all correct. And, as I've mentioned above, you could let your stats auto up-to-date by doing the THIS: Code:
In newreply.php and newthread.php, between // End Itemshop code by Mewtwo and Battle Code by Bitsys and // send email to moderators in both files, place the following code: //begin auto-update stats add-on for the RPG Integration Hack by Bitsys $userstats = $DB_site->query_first("SELECT inbattle, hp, maxhp, element, ma, maxma, pp, maxpp, ap, posts, xp FROM user WHERE userid='$bbuserinfo[userid]'"); if ($userstats[inbattle] == 0) { //$debugmessage .= "You must be out of a battle in order to update your stats. Please exit or complete battle $userinbattle[inbattle] and try again."; //exit; $extrastats = $DB_site->query_first("SELECT rpg_element.hp AS elehp, rpg_element.ma AS elema, rpg_element.pp AS elepp, rpg_element.ap AS eleap, battle_options.exprate, battle_options.hpmodifier, battle_options.mamodifier, battle_options.ppmodifier FROM battle_options, rpg_element WHERE rpg_element.elementid = $userstats[element] "); $hp = $userstats[hp]; $maxhp = $userstats[maxhp]; $ele = $userstats[element]; $ma = $userstats[ma]; $maxma = $userstats[maxma]; $pp = $userstats[pp]; $maxpp = $userstats[maxpp]; $ap = $userstats[ap]; $posts = $userstats[posts]; $debugmessage .= "HP: $hp | MaxHP: $maxhp | Element: $ele | MA: $ma | MaxMA: $maxma | PP: $pp | MaxPP: $maxpp | AP: $ap | Posts: $posts<br>\n"; $jointime = (time() - $bbuserinfo[joindate]) / 86400; if ($jointime < 1) { $postsperday = "$posts"; } else { $postsperday = sprintf("%.2f",($posts / $jointime)); } $debugmessage .= "Jointime: $jointime<br>\n"; //$battleopt = $DB_site->query_first("SELECT * FROM battle_options"); $level = getlevel($userstats[xp], $extrastats[exprate], 1); $ep = floor (100 * ($level - floor ($level))); $showlevel = floor ($level + 1); $debugmessage .= "Level: $level | Showlevel: $showlevel<br>\n"; $hpmulti =round ($postsperday / 4, 1); if ($hpmulti > 7.5) $hpmulti = 3; if ($hpmulti > 2.5) $hpmulti = 1.5; if ($hpmulti < 1) $hpmulti = 1; $debugmessage .= "HPMulti: $hpmulti<br>\n"; //$element = $DB_site->query_first("SELECT * FROM rpg_element WHERE elementid='$ele'"); $hpmodifier = $extrastats[elehp]; $mamodifier = $extrastats[elema]; $ppmodifier = $extrastats[elepp]; $apmodifier = $extrastats[eleap]; $debugmessage .= "HPmodifier: $hpmodifier | MAmodifier: $mamodifier | PPmodifier: $ppmodifier | APmodifier: $apmodifier<br>\n"; $maxhpupdate = ( $level * $extrastats[hpmodifier] * $hpmulti) + $hpmodifier; $maxhpupdate= floor ($maxhpupdate); $maxmaupdate = $mamodifier + ($jointime * $level * $extrastats[mamodifier]) / 5; $maxmaupdate = floor ($maxmaupdate); $maxppupdate = $ppmodifier + ($jointime * $level * $extrastats[ppmodifier]) / 3; $maxppupdate = floor ($maxppupdate); If ($maxhpupdate < 0) $maxhpupdate = 0; If ($maxmaupdate < 0) $maxmaupdate = 0; If ($maxppupdate < 0) $maxppupdate = 0; If ($apmodifier < 0) $apmodifier = 0; If ($maxhp != 0 && $maxhpupdate != 0) $newhp = $hp * ($maxhpupdate / $maxhp); else $newhp = $maxhpupdate; If ($maxma != 0 && $maxmaupdate != 0) $newma = $ma * ($maxmaupdate / $maxma); else $newma = $maxmaupdate; If ($maxpp != 0 && $maxppupdate != 0) $newpp = $pp * ($maxppupdate / $maxpp); else $newpp = $maxppupdate; $debugmessage .= "MaxHPupdate: $maxhpupdate | MaxMAupdate: $maxmaupdate | MaxPPupdate: $maxppupdate<br>\n"; $debugmessage .= "NewHP: $newhp | NewMA: $newma | NewPP: $newpp<br>\n"; $DB_site->query("UPDATE user SET maxhp='$maxhpupdate', hp='$newhp', maxma='$maxmaupdate', ma='$newma', maxpp='$maxppupdate', pp='$newpp' WHERE userid='$bbuserinfo[userid]'"); $debugmessage .= "Stats Updated."; } else { $debugmessage .= "You are in Battle."; } //end auto-update stats add-on for the RPG Integration Hack by Bitsys That's it! |
#2311
|
|||
|
|||
okay a few questions.
ummm why dont potions work? armour doesnt seem to do anything neither do any oth the other accessories. when i add sheilds how do they work? and is this hack still being worked on...as in more features being added... that is all for now... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|