PDA

View Full Version : RPG Class Hack v1.0


[D]Vincent
07-10-2002, 10:00 PM
Vincent]Okay okay I know there's been like 2 other ones released already but this one is special :P Anyways what's special about it is that each class has five level ups. Determining how many post the user has will show what level s/he's on with the class s/he choses. Anyways this is my first hack and I'm not a PHP Expert so if you have a major problem then I probably can't help, you can still ask anyways though. Here's what this hack includes.

- A list of classes that your users can chose from
- Level ups for those classes depending on the posts
- A Picture for each class

Umm... that's about it lmao anyways here's the credit I'm giving, I also include this in the readme.txt and install.txt

This only is tested on vB2.2.6

- Most of the credit goes to zajako since I used part of his RPG Elements Hack, most of it is used from that.
- Some credit also goes to Aerith for making this easier for me since I didn't have to type everything up completely since I could just edit the stuff on hers and add my coding.
- Some more credit goes to Atian for teaching me a little bit of PHP and for answering my question on this

Okay well for a demo go to http://www.fflounge.com/board
And screenshots are included in the zip, they suck though because my computer is starting to freeze up and Paint messed up the coloring of the pictures, I'm in a hurry to restart so I couldn't cut them down to just what you wanted to see.
Enjoy :P

Go here for v3.0! (https://vborg.vbsupport.ru/showthread.php?s=&threadid=43558)

MrLister
07-10-2002, 11:00 PM
Here the more the merrier :)

[D]Vincent
07-10-2002, 11:01 PM
Thanks, I'm glad the first post wasn't someone yelling at me -_-

DestyNova
07-10-2002, 11:03 PM
heh naw

your hack does look good, I m going to test it out right away

Aerith_Freak
07-10-2002, 11:21 PM
Oh haw haw you've made my job class 2.0.0 a lot easier now. I was working on a seperate Levelling up function for the classes but I'm gonna take a look at yours.

But first things first.. thanks for giving me credit.. much appreciated.

Don't suppose we could have some screenshots?

[D]Vincent
07-10-2002, 11:23 PM
The screenshots are in the zip :P and no problem Aerith, don't want to be yelled at for my first hack x_x

Aerith_Freak
07-10-2002, 11:28 PM
LOL Jynx! My job class was my first hack too LOL. Then I went over my head and did my store directory ( http://forums.zcentralhq.com/forums/directory.php?s= ) which I ain't gonna release as it's strewn with bugs and is being a proper pain in the ass.

Anyway good luck in the future :)

[D]Vincent
07-10-2002, 11:59 PM
Vincent]lol cool, looks great, I don't know enough PHP to make anything other than simple If coded hacks x_x Anyways nice site, I like your graphics has a nice and clean look to it, unlike my site that me and the other admins mess everything up and don't have great organization x_x http://www.fflounge.com/board we're getting better though, maybe if we didn't fight all the time x_x anyways time to stop rambling

zajako
07-11-2002, 12:11 AM
Nice work

Vivi Ornitier
07-11-2002, 12:15 AM
nice Vincent, i updagrated, lol.

Anyway, did you get these pics from Xenogears? Cause some of the spirtes, I've never seen before and I only remembered that Final Fantasy 5 had Red and Time Mages. Unless this is not from a FF, then i don't nkow.

[D]Vincent
07-11-2002, 12:24 AM
Got them all from FFT, some may not be though, my friend sent most of them over, but I believe they're all from FFT

I had more but I figured adding more classes would make it way too long

Aerith_Freak
07-11-2002, 12:31 AM
Yea that was a key mistake in my hack.. too many classes. Although with version 2.0.0 I did want to add Admin CP support so the end-user could add classes themselves through the admin CP. But that sort of PHP is beyond me...... I wouldn't know where to start.

BTW if you could possibly gimme some credit on your forums it would be appreciated.

[D]Vincent
07-11-2002, 12:35 AM
Ummm... what do you mean by that? Anyways that type of PHP is beyond me also, maybe Atian will actaully teach me some more later on lmao

Vivi Ornitier
07-11-2002, 12:46 AM
Yea, Aerith, I was hoping for something along those lines. Though that would require a lot of queries and file changes, have fun writing that, lol.

Vincent's hack is pretty easy to edit and add new classes but can get very very big. After adding this hack, my functions.php (user to be 98 kb) is now 122 kb, lol.

Mystic Gohan
07-11-2002, 02:36 AM
nice I might add it later

[D]Vincent
07-11-2002, 02:37 AM
I know, I would shorten it if I could but I really don't know how to :ermm: Mine jumped from 87 to 100 and something :ermm:

Vivi Ornitier
07-11-2002, 02:52 AM
lol, not like there's anything wrong with that .. .i hope.

Grealm
07-11-2002, 04:01 AM
question: is there anyway u can add a class for admins only? like special class for admins only.. ??

Neo
07-11-2002, 06:12 AM
There are now about 6 different variations of this ...

[D]Vincent
07-11-2002, 02:41 PM
Ummm.. yeah there is a way to add a class only for admins. I'll PM it to you later if I get around to it.

DestyNova
07-11-2002, 05:34 PM
[D]Vincent, whenever you get "class only for admin" out, can you post at here? I d like to use that feature too.

And also is there possible to add/custom job class just like what add profile did at AdminCP and also including upload the images (Job class icon)?

Thanks for this cool hack =)

Aerith_Freak
07-11-2002, 09:18 PM
The Admin/Mod/Super Mod only classes will be a part of my job classes Version 2.0.0 as well as several other nifty features.

GamerNext
07-12-2002, 12:58 AM
How do I do a query? I have done all the template mods and .php mods, but I didn't do the

ALTER TABLE user ADD rpgclass SMALLINT (6) not null

query. How do I do this?

DestyNova
07-12-2002, 01:38 AM
Originally posted by Aerith_Freak
The Admin/Mod/Super Mod only classes will be a part of my job classes Version 2.0.0 as well as several other nifty features.

Great =)

DestyNova
07-12-2002, 01:44 AM
Originally posted by GamerNext
How do I do a query? I have done all the template mods and .php mods, but I didn't do the

ALTER TABLE user ADD rpgclass SMALLINT (6) not null

query. How do I do this?

use phpMyAdmin from phpMyAdmin (http://phpmyadmin.sourceforge.net) or use Firefly's query hack

Atian
07-12-2002, 07:03 PM
hey,good to see you released it :)

i wont be using it since i made my level stuff,but i will use the images o_O

and ther eis no red mage in fft,so im guessing that was custom made aswell,however did it, :thumbsup:

proxyMX
07-24-2002, 06:20 PM
Final Fantasy is beginning to bore me. I cant be bothered spending hours on end playing them any more