View Full Version : RPG Class Hack v3.3
[D]Vincent
09-14-2002, 10:00 PM
Vincent]Bleh, I finished this a while back but I never wanted to release it, I just decided to release it although there's not much of a change with the classes besides the images working with the gender hack. Anyways let's get on with it.
--- New features from 2.0
-- Up to 32 different classes! Each with a male and female image!
-- Classes now effect your stats!
-- Class Levels have been switched to Class Ranks!
Rank 1: Learner
Rank 2: Beginner
Rank 3: Novice
Rank 4: Apprentice
Rank 5: Journeyman
Rank 6: Expert
Rank 7: Teacher
Rank 8: Grand Teacher
Rank 9: Master
Rank 10(final rank): Grand Master
-- Races added that effect your stats!
-- Alignments added that effect the outcome of your name of your race(I.E. if you're evil and you're a human you're race name appears as Dark Human)!
-- Class images that are effect by your gender!
-- Easier to customize in the postbit template!
--- Features that may be included in the next version(if there is a next version)
-- Admin CP Functions
-- Special Skills for each class
-- Special Skills for each class are effected by race
-- RPG Type
-- Class effects total HP/MP(I have an idea for this, it would be an add-on for the level hack)
-- And more added in the txt file for this in the zip(some features that I listed here were not listed on the txt file).
--- Screenshot
https://vborg.vbsupport.ru/attachment.php?s=&postid=299261
Credit is given in the readme file. Please read it.
Any bugs you find please report by PMing me or posting it here. You can also drop me an e-mail at DarkVincent@fflounge.zzn.com.
If there's anything I missed please point it out.
************* UPDATE
Updated to v3.3
--- New Features
-- Added in RPG Gender instead of you having to install the Gender hack
-- Added in RPG Types that effect your stats, the types are as follows:
- Fighter: Higher Physical Stats, Lower Magic Stats
- Mage: Higher Magic Stats, Lower Physical Stats
- Thief: Higher Speed and Evade, lower defense stats
- Attacker: Higher Attacking stats(m.attack, p.attack, and speed), lower Defense stats(m.defense, p.defense, and evade)
- Defender: Higher Defending stats(m.defense, p.defense, and evade), lower Attacking stats(m.attack, p.attack, and speed)
-- 5 limit breaks for each RPG Type
Enjoy.
************* UPDATE
Fixed an error in the types and in the limit breaks. Zip updated.
Enjoy.
************* UPDATE
Fixed an error in the template part with the RPG types and fixed the rclass problem.
To fix the problems if you already installd it then just overwrite the classes part with the new classes.txt and overwrite the template part with the new template.txt.
Enjoy.
Goldknight
09-15-2002, 04:05 AM
Kewl hack, I have been wait for this hack.
But aw... I was hoping that it will including AdminCP function and special skills for each class.
Anyway thanks for this hack, I m definetly going to use it. :)
[D]Vincent
09-15-2002, 04:11 AM
Thanks ^^
I could write the special skills up within the night. But I think it would be better if I did the RPG Type thing and made the special skills for your RPG Type instead since 32 classes is alot of skills lmao
-Edit-
Screenshot attached
Goldknight
09-15-2002, 04:19 AM
True, but I plan to add more classes lol... your hack is very easy to customize for add new classes. Good job, and now I m definetly keep my eyes on this one.
Again thanks :)
[D]Vincent
09-15-2002, 04:21 AM
I could do the RPG Type thing by tonight also lol but the only problem is figuring out how much stats is added/removed with each type and how many types I decide to have. I'll go work on that, but I can't test it because my database is down.
[D]Vincent
09-15-2002, 05:28 AM
I believe I have the RPG Type down ^^ The only problem is that I fear it will go into a further decimal than .x which it is already in. Anyone know a way to round it?
Brainmaster
09-15-2002, 05:09 PM
What to do? It don't works on my vBB.
See the bug in the attachment. The User of this screenshot got more then 500 Posts.
Can somebody help?
[D]Vincent
09-15-2002, 07:55 PM
Hold on let me check the zip.
[D]Vincent
09-15-2002, 07:57 PM
Okay so is the problem that the stats don't display? Or what?
Webmasta XT
09-15-2002, 11:05 PM
is this like a RPG battle system?
[D]Vincent
09-16-2002, 01:02 AM
No, it's a Class Hack.
Colon33
09-16-2002, 04:23 AM
Will there ever be a LIMIT BREAK mod or something for this? Right now i am just adding Abilities manually with the old Limit Break Modification.
Also, will there be an easier way to add characters.. like Via the admin panel?
[D]Vincent
09-16-2002, 05:34 AM
That would be the admin cp functions for adding via admin cp. I doubt I will get that in there until I make the 4th version which may be a while ^^ I'm very busy with my site and rarely have time to even work on it.
The Limit Break one should come soon when I have a few hours to spare to work on thinking all of the limit breaks up for each RPG Type.
Colon33
09-16-2002, 07:38 AM
Instead of having the characters sex change if i do.. can we implement a "switch" Maybe just a drop down box in the MODIFY PROFILE page that asks, Male or Female Character. Cause like me for example.. i am a guy. But i want a Female Vampire, and dont want to have to create a whole new class for it. It would be simple just so specify via menu that i want this class but female. That way i can still keep my MALE image next to my name in the forums. Ya know?
How easy is something like this to make? I havent tried my self personally yet. But all it is i would assume is that if Female = 1 then goto female image... Male can just be default.
Brainmaster
09-16-2002, 01:16 PM
OK I got it, I must put the Queries again to the Database, but don't ask me why? :D
Arekusan
09-16-2002, 05:30 PM
I'm just new to vB and its hacks, so sorry to ask, but what is this hack useful for?
What does it exactly do?
[D]Vincent
09-16-2002, 05:32 PM
Well just go into getinfo after installing the Gender hack, switch this:
<tr>
<td bgcolor="{ firstaltcolor}"><normalfont><b>Gender:</b></normalfont></td>
<td bgcolor="{ firstaltcolor}"><smallfont><select name="gender">
<option value="0" selected>Undisclosed</option>
<option value="1" >Female</option>
<option value="2" >Male</option>
</select></smallfont></td>
</tr>
With this:
<tr>
<td bgcolor="{ firstaltcolor}"><normalfont><b>RPG Gender:</b></normalfont><br><smallfont>The Gender for your RPG Character.</td>
<td bgcolor="( firstaltcolor}"><smallfont><select name="gender">
<option value="0" selected>Undisclosed</option>
<option value="1" >Female Character</option>
<option value="2" >Male Character</option>
</select></smallfont></td>
</tr>
And you're done.
BTW you have to remove the space in { firstaltcolor}
[D]Vincent
09-16-2002, 05:35 PM
Vincent]The hack is just for fun on an RPG board like an FF board of RPG Board or something, if you're board isn't connected to RPGs in any way then it's not for you :D
Arekusan
09-16-2002, 06:03 PM
I already noticed that, I love RPGs so I was wondering about the functionality of the bars, if any... do they represent posts? random attributes? does level update at all? does user select ALL the data?
concept
09-16-2002, 06:59 PM
awsome hack i really like this one i don't knwo if i wil use it but its sweet i might alter it for my post bit but great idea.. gj
Colon33
09-17-2002, 01:03 AM
Originally posted by Colon33
Instead of having the characters sex change if i do.. can we implement a "switch" Maybe just a drop down box in the MODIFY PROFILE page that asks, Male or Female Character. Cause like me for example.. i am a guy. But i want a Female Vampire, and dont want to have to create a whole new class for it. It would be simple just so specify via menu that i want this class but female. That way i can still keep my MALE image next to my name in the forums. Ya know?
How easy is something like this to make? I havent tried my self personally yet. But all it is i would assume is that if Female = 1 then goto female image... Male can just be default.
Nono, i dont want it to change my board Gender. I want to select a female class but still be a MALE on the board. In every RPG i play i am always a Sorceress. When i switch classes in my profile my Gender image changes to a FEMALE., lol I just want to change my character class. So i was thinking this hack but without the GENDER hack added in. Just a seperate selection for female.
Ninth Dimension
09-18-2002, 03:56 PM
I would have to say that being able to choose the sex of you char is a very good idea, and if this get's added i'll be installing this hack :)
Colon33
09-19-2002, 06:33 AM
Choosing gender is great, but it also tells everyone else on the board that your a girl instead of a guy with female class. Not a big deal but i rather stay a guy and choose a chick.
I still installed this hack as its an awesome improvement. I just skipped the Gender switching code for the time being. Check it out. http://www.forums.gamer-pit.com pick the Role-playing STYLE
Its pretty tight i have about 15 custom classes in there.
Arekusan
09-19-2002, 07:44 AM
Can any1 explain me plz how the bars update and how levels work, if any? I guess it's easy to implement RPGs onto other non RPGs environment and still have the fun of the bars to showcase... what? # of posts? what else?
Thanks!
Areku
09-20-2002, 11:42 AM
So, is it for example that, every 1 post means 1% on the EXP bar, so when u're full at 100%, u proceed to next level?
How could we dress Health and magic onto a non RPG forum?
I think one clear use of this is to conver any Non RPG forum onto a more appealing forum where users showcase their levels based on their good health on posting messages...
Also, chances of Admins to assign (throw) spells against lamers so they drop levels? ;)
Aerith_Freak
09-20-2002, 03:09 PM
[D]Vincent, I know how to change the hack so that users could specify which gender they wanted their CLASS to be.
If you want me to help then I'd be happy too.
[D]Vincent
09-23-2002, 03:52 AM
Hold on. I'll go write up a quick install for that and what you need to do.
[D]Vincent
09-23-2002, 05:18 AM
Updated Zip.
I went ahead and added in the Limit Breaks and RPG Types. I seriously suggest you change the limit breaks though because they are pretty awful, I was in a hurry lol.
Ninth Dimension
09-24-2002, 10:12 AM
I've just discovered two problems, the first is that you are missing an ; off the end of the RPG Types code
replace:
$rpgtype1 = "Defender"
with
$rpgtype1 = "Defender";
the second problem is in the RPG Limit Breaks, but as of yet, I can't find it :( it's just bring up a parse error.
[D]Vincent
09-24-2002, 11:03 AM
Oops. I found the error in the limit breaks and fixed the one in the types. Updated zip.
Ninth Dimension
09-24-2002, 12:02 PM
dude, i'm still getting an error with the limit break code, and I still can't find it :(
Ninth Dimension
09-24-2002, 04:34 PM
I've now got this fantastic hack installed (demo here http://gamevine.co.uk/forum/showthread.php?s=&threadid=546) with some minor changes (like changing the gender, type and alignment into images).
Can I just point out that you have another few errors in your code (a tiny bit of bad HTML, and a wrong variable) but the code below should fix it (just copy into modifyprofile under $customfields) :
<tr>
<td bgcolor="#1C5780"><normalfont><b>RPG Race:</b></normalfont><br>
<smallfont>The Race you want your character to be on the RPG.</smallfont></td>
<td bgcolor="#1C5780"><normalfont>
<select name="rpgrace">
<option value="0"$rpgrace_select[0]>Unknown</option>
<option value="1"$rpgrace_select[1]>Human</option>
<option value="3"$rpgrace_select[2]>Elf</option>
<option value="4"$rpgrace_select[3]>Dwarf</option>
<option value="6"$rpgrace_select[4]>Orc</option>
<option value="7"$rpgrace_select[5]>Ogre</option>
<option value="8"$rpgrace_select[6]>Goblin</option>
<option value="9"$rpgrace_select[7]>Dragonian</option>
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>RPG Class:</b></normalfont><br>
<smallfont>The Class you want your character to be on the RPG.</td>
<td bgcolor="#13486D"><smallfont><select name="rpgclass">
<option value="0"$rpgclass_select[0]>None</option>
<option value="1"$rpgclass_select[1]>Sky Reaper</option>
<option value="2"$rpgclass_select[2]>Archer</option>
<option value="3"$rpgclass_select[3]>Arch Mage</option>
<option value="4"$rpgclass_select[4]>Assassin</option>
<option value="5"$rpgclass_select[5]>Black Mage</option>
<option value="6"$rpgclass_select[6]>Black Smith</option>
<option value="7"$rpgclass_select[7]>Bodyguard</option>
<option value="8"$rpgclass_select[8]>Calculator</option>
<option value="9"$rpgclass_select[9]>Captain</option>
<option value="10"$rpgclass_select[10]>Chemist</option>
<option value="11"$rpgclass_select[11]>Dark Knight</option>
<option value="12"$rpgclass_select[12]>Dragoon</option>
<option value="13"$rpgclass_select[13]>Ex-Soldier</option>
<option value="14"$rpgclass_select[14]>Foot Soldier</option>
<option value="15"$rpgclass_select[15]>Gambler</option>
<option value="16"$rpgclass_select[16]>Geomancer</option>
<option value="17"$rpgclass_select[17]>Holy Knight</option>
<option value="18"$rpgclass_select[18]>Knight</option>
<option value="19"$rpgclass_select[19]>Mediator</option>
<option value="20"$rpgclass_select[20]>Mercenary</option>
<option value="21"$rpgclass_select[21]>Mime</option>
<option value="22"$rpgclass_select[22]>Monk</option>
<option value="23"$rpgclass_select[23]>Ninja</option>
<option value="24"$rpgclass_select[24]>Oracle</option>
<option value="25"$rpgclass_select[25]>Red Mage</option>
<option value="26"$rpgclass_select[26]>Samurai</option>
<option value="27"$rpgclass_select[27]>Sniper</option>
<option value="28"$rpgclass_select[28]>Squire</option>
<option value="29"$rpgclass_select[29]>Summoner</option>
<option value="30"$rpgclass_select[30]>Thief</option>
<option value="31"$rpgclass_select[31]>Time Mage</option>
<option value="32"$rpgclass_select[32]>Vampire</option>
<option value="33"$rpgclass_select[33]>White Mage</option>
</select></smallfont></td>
</tr>
<tr>
<td bgcolor="#1C5780"><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="#1C5780"><normalfont>
<select name="rpggender">
<option value="0"$rpggender_select[0]>Unknown</option>
<option value="1"$rpggender_select[1]>Female</option>
<option value="2"$rpggender_select[2]>Male</option>
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>RPG Alignment:</b></normalfont><br>
<smallfont>The side you want your character to be on the RPG.</smallfont></td>
<td bgcolor="#13486D"><normalfont>
<select name="alignment">
<option value="0"$rpgalign_select[0]>Neutral</option>
<option value="1"$rpgalign_select[1]>Good</option>
<option value="2"$rpgalign_select[2]>Evil</option>
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="#1C5780"><normalfont><b>RPG Type:</b></normalfont><br>
<smallfont>The RPG Type you want your character to be on the RPG.</smallfont></td>
<td bgcolor="#1C5780"><normalfont>
<select name="rpgtype">
<option value="0"$rpgtype_select[0]>None</option>
<option value="1"$rpgtype_select[1]>Fighter</option>
<option value="2"$rpgtype_select[2]>Mage</option>
<option value="3"$rpgtype_select[3]>Thief</option>
<option value="4"$rpgtype_select[4]>Attacker</option>
<option value="5"$rpgtype_select[5]>Defender</option>
</select></normalfont></td>
</tr>
</table>
</td></tr></table>
ExAvIoUr
09-25-2002, 02:50 AM
i get an error in the admin/functions.php too. here....
error:
Parse error: parse error, unexpected T_IS_SMALLER_OR_EQUAL in /usr/local/psa/home/vhosts/finalfantasy-world.com/web_users/static/admin/functions.php on line 1002
here's that line:
if ($classrank2 >="1" and <= "2") {
wuts wrong with it??
then i get another error in the admin/sessions.php
error:
Fatal error: Call to undefined function: getuserinfo() in /usr/local/psa/home/vhosts/finalfantasy-world.com/web_users/static/admin/sessions.php on line 324
the line:
$bbuserinfo=getuserinfo($session['userid']);
wuts wrong with taht one as well??
ExAvIoUr
09-25-2002, 02:58 AM
ok, im gonna attach my whole functions.php file and someone plz find the error!
if u want me to attact my session.php file too i can do that.
[D]Vincent
09-25-2002, 09:51 AM
Bleh. Hold on let me go check it out again.
[D]Vincent
09-25-2002, 10:05 AM
Okay I think I have it now lol. I fixed the problem in the template also. Updated zip. Now let's hope I don't still have things screwed up -_-
nghiasi
09-25-2002, 10:36 AM
I got error :
Parse error: parse error in functions.php on line 917
Fatal error: Call to undefined function: getuserinfo() in sessions.php on line 108
ExAvIoUr
09-25-2002, 11:53 AM
ok [D], i'll go test it out later and see what it does.
nghiasi
09-26-2002, 03:46 AM
I guess there are not so many support for V3.3 so anyknow where can I get V2.0 ? I visited the thread but they linked me in here :( ? Please anyeone?
[D]Vincent
09-26-2002, 07:50 AM
What's on line 917?
Sorry I have been busy with my own site that I have not been able to help you guys. Now that my site is back up and running I can go test it for myself and see the errors.
[D]Vincent
09-26-2002, 08:32 AM
Bleh. I think it's fixed now. All I changed was the limit breaks so if you installed it and got the error then replace the old limit breaks with everything in the new one. I didn't get any errors on my board so it should work.
nghiasi
09-26-2002, 10:24 AM
Thanks I'll try out the new updated one.
and see what happen. :)
Areku
09-26-2002, 10:49 AM
Has any1 implemented this onto a futuristic/cyberpunk/matrix style RPG ambient instead of classic D&D ambient?
Would it be so hard to do?
geniuscrew
09-26-2002, 11:25 AM
How do the limit breaks work?
Can you make it so that the mages/everyone can learn spells instead?
Thanx
Silenced Soul
09-26-2002, 05:55 PM
quite nice, but, you should try rounding the attack levels and all that. Looks a lot cleaner that way.
Silenced Soul
09-26-2002, 05:56 PM
Funny, all these people got errors and I had a clean installation in a week old vb227....
Aerith_Freak
09-26-2002, 06:52 PM
If existing hacks have already modified the files, it can cause conflict..... but the install file clearly states what should be done if other hacks are already present.
MultiSync
09-26-2002, 10:40 PM
Does this hack work on v2.2.8?
nghiasi
09-27-2002, 02:43 AM
Originally posted by [D]Vincent
Bleh. I think it's fixed now. All I changed was the limit breaks so if you installed it and got the error then replace the old limit breaks with everything in the new one. I didn't get any errors on my board so it should work.
Thanks it worked now........ :)
and Thanks agin for your hack.
But a few more question whats:
Attack :
etc...... do? I mean how Do I get it? and hwo the rank go......? But the posts number?
p.S : thanks again.
Xenon
09-27-2002, 10:03 AM
ExAvIoUr, please go to this (http://www.vbulletin.com/members/vbulletin.org.php) page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.
[D]Vincent
09-27-2002, 11:50 AM
I could make a spell system perhaps. But I would have to think up a buy for them to gain the spells. How the spells are listed, where would be the best place to list the spells, what the spells were, what effects the spells had. I might be able to do this when I have some free time.
Areku
09-27-2002, 12:14 PM
Vincent,
I'm VERY sorry to ask this once more, and I already know this is for RPG oriented sites, but how the bars/levels work?
;)
geniuscrew
09-28-2002, 11:56 PM
Originally posted by [D]Vincent
I could make a spell system perhaps. But I would have to think up a buy for them to gain the spells. How the spells are listed, where would be the best place to list the spells, what the spells were, what effects the spells had. I might be able to do this when I have some free time.
Thanx for replying - that's sounds brilliant.
To display the spells maybe you could have them in a drop down box with "Latest Spell Attained : Telekinisis" underneath it?
BTW I can't seem to find $showlevel = floor ($level + 1); in admin/functions.php.
I'm running 2.2.7.
Thanx for any help
[D]Vincent
09-29-2002, 04:42 PM
To geniuscrew: Did you install the Yet Another Stats/Level Hack by Knoman?
Areku: And do you mean the bars for the Yet Another Stats/Level Hack by Knoman? Because there are no bars in my hack.
geniuscrew
09-29-2002, 06:32 PM
Nope, Do I need to?
Arekusan
09-30-2002, 06:21 PM
DVincent,
Geez... I just look into the RPG3.3 screenshot and saw all the RPG data PLUS the bars, so I thought bars where yours too!
geniuscrew
10-01-2002, 09:04 PM
Hey it's working great =D
Would be possile to show ALL the limit breaks that the person has learnt?
Thanx
Silenced Soul
10-03-2002, 12:10 AM
Hmm D, I'm having a problem, it may be in my forums Cookies, and I think it is, but, I'll let you know anyways.
When a user selects a type or something, it isn't the one they chose, it is something different. Does this for Type and Race. I've checked the PHP file about 10 times and I've even rewritten it entirely, still does it. I'll check the template and make sure all of that is in order.
I've found an error in your Classes file coding:
} elseif ($post[posts] >= "250" and($post[posts] <= "449")) {
$rclassrank = "Apprentice";
$classrank2 = "4";
should be:
} elseif ($post[posts] >= "250" and($post[posts] <= "449")) {
$classrank = "Apprentice";
$classrank2 = "4";
You'll notice there is a rclassrank instead of classrank. Thought I'd point that out.
I've also done a few edits to you code, and I think it'd be nice to tell you what I've done.
1) I've added a new classrank
elseif ($post[posts] >= "2500") {
$classrank = "Legend";
$classrank2 = "11";
}
Basically, just for someone over a good number of posts. Going along with that, is the ability for users to set their own limit break as long as they have a certain amount classrank. (includes making a customfield)
elseif ($classrank2 >= "10") {
if ($post[rpgtype] == "0") {
$limitbreak = "$bbuserinfo[field7]";
} elseif ($post[rpgtype] == "1") {
$limitbreak = "$bbuserinfo[field7]";
} elseif ($post[rpgtype] == "2") {
$limitbreak = "$bbuserinfo[field7]";
} elseif ($post[rpgtype] == "3") {
$limitbreak = "$bbuserinfo[field7]";
} elseif ($post[rpgtype] == "4") {
$limitbreak = "$bbuserinfo[field7]";
} elseif ($post[rpgtype] == "5") {
$limitbreak = "$bbuserinfo[field7]";
}
}
I've also made it so certain rpgtypes level up faster, some slower, and mages gain MP quicker, I'm still working on adding fighters with HP, and such.
Faster:
if ($post[rpgclass]=="1" || $post[rpgclass]=="4" || $post[rpgclass]=="10" || $post[rpgclass]=="19"|| $post[rpgclass]=="22" || $post[rpgclass]=="23" || $post[rpgclass]=="24" || $post[rpgclass]=="26" || $post[rpgclass]=="31") {
$level = pow (log10 ($post[posts]), 4);
$ep = floor (100 * ($level - floor ($level)));
$showlevel = floor ($level + 1);
}
Slower:
if ($post[rpgclass]=="2" || $post[rpgclass]=="5" || $post[rpgclass]=="8" || $post[rpgclass]=="15" || $post[rpgclass]=="16" || $post[rpgclass]=="29" || $post[rpgclass]=="33") {
$level = pow (log10 ($post[posts]), 2);
$ep = floor (100 * ($level - floor ($level)));
$showlevel = floor ($level + 1);
}
Quicker MP:
if ($post[rpgclass]=="2" || $post[rpgclass]=="5" || $post[rpgclass]=="8" || $post[rpgclass]=="15" || $post[rpgclass]=="16" || $post[rpgclass]=="29" || $post[rpgclass]=="33") {
$level = pow (log10 ($post[posts]), 2);
$ep = floor (100 * ($level - floor ($level)));
$showlevel = floor ($level + 1);
}
Just a few extras for those members who participate.
By the way, beautiful FF site. Great forum set up and I can't wait to see the actual site.
[D]Vincent
10-03-2002, 02:36 AM
I fixed a few problems in the hack read the last update on the first post to see what was fixed and how to fix it.
Henry-RS
10-03-2002, 03:26 AM
OK ok ok ...
I just installed this, and everything seems to be fine.
My MP bar isn't going up, but the rest are fine
i noticed on your forum, you have an image for the element type their character is. is that not in this version?
also, i see no input field where a user can enter their name of the character. that is present on both your forum 9th dimension's.
if we can get these problems figured out, i would be set to go! :)
Goldknight
10-03-2002, 07:11 AM
Originally posted by [D]Vincent
I could make a spell system perhaps. But I would have to think up a buy for them to gain the spells. How the spells are listed, where would be the best place to list the spells, what the spells were, what effects the spells had. I might be able to do this when I have some free time.
Do you still need the list or ? If so pls let me know, I ll more than glad to provide you the list. :)
Ninth Dimension
10-03-2002, 11:02 AM
Is there anychance that you could set-up elements for this as well? If you can't, or don't want to, it's fair enough because I know how to do it myself, I just fancied being lazy :)
Silenced Soul
10-03-2002, 09:44 PM
Henry, that is something HE added. Just add a customfield, find the field number and then $post[field#].
And I found the error, it was in the templates, but, like you said you have it fixed so no need to post it.
Either way, amazing hack my man, I really appriciate you posting this so I didn't have to code it all... er, that's just lazy, well, thank you :nods:
DarkDraco07
10-09-2002, 11:21 PM
when me or my members want to change alignment, class or race. some of them dont work. say u want to be an elf, it sets you to dwarf. if u want to be good or bad, it sets you to neutral. and stuff like that
BloodThirsty229
10-13-2002, 04:11 PM
Everytime I go to change my profile and I click Elf it switches it to Dwarf. Is this a database error?
I installed this in vB2.2.8 and thats not the only error but everytime someone logs in it brings them back to the index and says they're logged out. I'm not sure if this is an error from this hack, but is there anyway for me to fix any of these?
wolfe
10-15-2002, 10:07 PM
Very Nice Hack
DarkDraco07
10-16-2002, 05:14 AM
can someoen answer my question??
Ninth Dimension
10-16-2002, 09:47 AM
Originally posted by DarkDraco07
when me or my members want to change alignment, class or race. some of them dont work. say u want to be an elf, it sets you to dwarf. if u want to be good or bad, it sets you to neutral. and stuff like that This hack has some bugs in it, but bugs that are very simple to fix. You need to find the changes that you made in the member.php file and edit it to fix the problem.
You will find all of the code looks something like this: if ($bbuserinfo[rpgrace] == "0") {
$rpgrace_select[0] = " selected";
} elseif ($bbuserinfo[rpgrace] == "1") {
$rpgrace_select[1] = " selected";
} , you will need to go though and make sure that at the number of the square brackets []'s matches the one in the quotes.
Once you have done this for all the new elements added to this file, you will need to do something like this in the template.
open "modifyprofile" and find the class hack html code and replace with the following:<tr>
<td bgcolor="#1C5780"><normalfont><b>RPG Race:</b></normalfont><br>
<smallfont>The Race you want your character to be on the RPG.</smallfont></td>
<td bgcolor="#1C5780"><normalfont>
<select name="rpgrace">
<option value="0"$rpgrace_select[0]>Unknown</option>
<option value="1"$rpgrace_select[1]>Human</option>
<option value="2"$rpgrace_select[2]>Elf</option>
<option value="3"$rpgrace_select[3]>Dwarf</option>
<option value="4"$rpgrace_select[4]>Orc</option>
<option value="5"$rpgrace_select[5]>Ogre</option>
<option value="6"$rpgrace_select[6]>Goblin</option>
<option value="7"$rpgrace_select[7]>Dragonian</option>
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>RPG Class:</b></normalfont><br>
<smallfont>The Class you want your character to be on the RPG.</td>
<td bgcolor="#13486D"><smallfont><select name="rpgclass">
<option value="0"$rpgclass_select[0]>None</option>
<option value="1"$rpgclass_select[1]>Sky Reaper</option>
<option value="2"$rpgclass_select[2]>Archer</option>
<option value="3"$rpgclass_select[3]>Arch Mage</option>
<option value="4"$rpgclass_select[4]>Assassin</option>
<option value="5"$rpgclass_select[5]>Black Mage</option>
<option value="6"$rpgclass_select[6]>Black Smith</option>
<option value="7"$rpgclass_select[7]>Bodyguard</option>
<option value="8"$rpgclass_select[8]>Calculator</option>
<option value="9"$rpgclass_select[9]>Captain</option>
<option value="10"$rpgclass_select[10]>Chemist</option>
<option value="11"$rpgclass_select[11]>Dark Knight</option>
<option value="12"$rpgclass_select[12]>Dragoon</option>
<option value="13"$rpgclass_select[13]>Ex-Soldier</option>
<option value="14"$rpgclass_select[14]>Foot Soldier</option>
<option value="15"$rpgclass_select[15]>Gambler</option>
<option value="16"$rpgclass_select[16]>Geomancer</option>
<option value="17"$rpgclass_select[17]>Holy Knight</option>
<option value="18"$rpgclass_select[18]>Knight</option>
<option value="19"$rpgclass_select[19]>Mediator</option>
<option value="20"$rpgclass_select[20]>Mercenary</option>
<option value="21"$rpgclass_select[21]>Mime</option>
<option value="22"$rpgclass_select[22]>Monk</option>
<option value="23"$rpgclass_select[23]>Ninja</option>
<option value="24"$rpgclass_select[24]>Oracle</option>
<option value="25"$rpgclass_select[25]>Red Mage</option>
<option value="26"$rpgclass_select[26]>Samurai</option>
<option value="27"$rpgclass_select[27]>Sniper</option>
<option value="28"$rpgclass_select[28]>Squire</option>
<option value="29"$rpgclass_select[29]>Summoner</option>
<option value="30"$rpgclass_select[30]>Thief</option>
<option value="31"$rpgclass_select[31]>Time Mage</option>
<option value="32"$rpgclass_select[32]>Vampire</option>
<option value="33"$rpgclass_select[33]>White Mage</option>
</select></smallfont></td>
</tr>
<tr>
<td bgcolor="#1C5780"><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="#1C5780"><normalfont>
<select name="rpggender">
<option value="0"$rpggender_select[0]>Unknown</option>
<option value="1"$rpggender_select[1]>Female</option>
<option value="2"$rpggender_select[2]>Male</option>
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>RPG Alignment:</b></normalfont><br>
<smallfont>The side you want your character to be on the RPG.</smallfont></td>
<td bgcolor="#13486D"><normalfont>
<select name="alignment">
<option value="0"$rpgalign_select[0]>Neutral</option>
<option value="1"$rpgalign_select[1]>Good</option>
<option value="2"$rpgalign_select[2]>Evil</option>
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="#1C5780"><normalfont><b>RPG Type:</b></normalfont><br>
<smallfont>The RPG Type you want your character to be on the RPG.</smallfont></td>
<td bgcolor="#1C5780"><normalfont>
<select name="rpgtype">
<option value="0"$rpgtype_select[0]>None</option>
<option value="1"$rpgtype_select[1]>Fighter</option>
<option value="2"$rpgtype_select[2]>Mage</option>
<option value="3"$rpgtype_select[3]>Thief</option>
<option value="4"$rpgtype_select[4]>Attacker</option>
<option value="5"$rpgtype_select[5]>Defender</option>
</select></normalfont></td>
</tr>
</table>
</td></tr></table>
<br>
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td align="center"><normalfont>
<input type="hidden" name="action" value="updateprofile">
<input type="submit" class="bginput" name="Submit" value="Submit Modifications" accesskey="s">
<input type="reset" class="bginput" name="Reset" value="Reset Fields">
</normalfont></td>
</tr>
That should fix the bugs in the code, if not, pester the author a little more :)
Ninth Dimension
10-16-2002, 09:48 AM
Originally posted by BloodThirsty229
Everytime I go to change my profile and I click Elf it switches it to Dwarf. Is this a database error?
I installed this in vB2.2.8 and thats not the only error but everytime someone logs in it brings them back to the index and says they're logged out. I'm not sure if this is an error from this hack, but is there anyway for me to fix any of these? My post above should fix your problem too.
Jitway
10-22-2002, 01:39 AM
Can someone tell me why everyone on my board get these numbers by the RPG looks like this
Vampire
123.2 117.6 78 45 49 33.6
Novice Dark Goblin
Evil Male Attacker x200% Attack
Thanks!
Glenn379
10-27-2002, 03:53 AM
For some reason the EXP isn't working for me.. but the HP/MP does work
LordHelmut
11-07-2002, 02:07 AM
Its all working for me accept the bars top part wont show. Like the purple part does but not the red bars and stuff. Also I think if you could post a example way of using all the RPG Stats in mini tables would be great. I personally have no clue how to do it and think that would help a great deal :)
Shadow_NL
11-20-2002, 02:18 PM
I don't know if this has been asked before, I haven't fully read the thread yet. Anyway thanks for the hack, I got a problem though:
If you select:
Draconian - it changes it to "unknown"
Elf - it changes the class to "orc"
Ogre - it changes it to "Draconian"
Human - stays as Human
Dwarf - changes to Orc
Orc - changes to Goblin
Goblin changes to unknown
unknown - stays as unknown
basically what these mean is, if you hit "set modifications" with the class on the left, it will change to the one that is on the right, and more importantly you cant select dwarf or elf with these errors, human is fine, unknown is also working, but you dont have any stats if you select unknown.
Can anyone tell me what I did wrong?
Thanks in advance.
Ninth Dimension
11-20-2002, 04:13 PM
you have done nothing wrong, the hack just has some minor problems, look at post number 68 for some extra help on fixing it (http://205.214.66.221/forum/showthread.php?postid=310383#post310383)
Hi all,
I'm trying to install this hack in vbulletin 2.2.8 but I got a problem with the installation. In the install.txt files it says
--- Find
$showlevel = floor ($level + 1);
-- Copy what's in the Stats.txt file and add that underneath it.
--- Save and Close admin/functions.php
But there isn't that line in the functions.php file!
What should I do?
Ok I saw the answer above. It's a great hack, but if you would make things a bit more clear in the install file it would be even greater! Btw, thanks, that's great stuff.
Mijae
11-24-2002, 11:54 PM
How can I add this info the the getinfo template?
neolithic
12-18-2002, 02:36 PM
NT
Ember
01-02-2003, 09:53 PM
I am installing this now, and I must say, it looks excellent :)
gameplanetz
01-22-2003, 01:44 AM
everytime i change my RPGtype and RPG gender,it always change to "none" and "male"
what`s wrong with me?
Ninth Dimension
01-22-2003, 06:44 AM
there are some problems with the templates, I've put some fix's for them somewhere in this thread, but you will have to have a look for them (or pester the author to release a new fixed verson :))
gameplanetz
01-23-2003, 01:12 AM
Originally posted by Ninth Dimension
there are some problems with the templates, I've put some fix's for them somewhere in this thread, but you will have to have a look for them (or pester the author to release a new fixed verson :))
yeah i`ve already used your fix template but still didn`t work well
i`ve install this hack on my test board and it work prefect !
but when i installed to my live forum,the types and rpggender won`t work :( :(
Ninth Dimension
01-23-2003, 12:59 PM
strange, i can't help you i'm sorry to say, i guess this is just another dead hack.
Aerith_Freak
01-28-2003, 10:26 AM
gamerplanetz: There could be conflict between the SQL tables. I'd recommend that you uninstall the entire hack then try again. If you need the queries to delete the SQL data the hack then I can provide them for you.
lioncool1589
02-11-2003, 02:39 AM
i'm using latest vb
how come i cant find $showlevel = floor ($level + 1); in admin/functions.php i copy and paste everythign already
mforster
02-19-2003, 11:37 AM
Gotta love the way it changes php into smilies :)
Colon33
02-28-2003, 03:44 AM
Hey Vincent! Question for ya Bro. I have been trying but i think i have been doing it wrong. How do i get this information to appear in the USERS Control panel or even the persons Biography page? Trying to SPRUCE things up a bit in these areas.
Thanks man!
One-Team
02-28-2003, 08:35 AM
i am Using rpg_integration_hack
does it work with it :rolleyes: :rolleyes: :rolleyes:
Lineman28645
07-15-2003, 01:29 PM
I'm new to this and haven't read the above, but, how do you have it so you can pick the rpg class, alignment, and have the stats show up without doing it manually?
camauonline1
05-08-2004, 02:27 PM
PRg game have battle, where download ?
for vbb2.3
please show me
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.