vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   RPG Class Hack v3.3 (https://vborg.vbsupport.ru/showthread.php?t=43558)

[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

Quote:

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:
PHP Code:

        } elseif ($post[posts] >= "250" and($post[posts] <= "449")) {
         
$rclassrank "Apprentice";
         
$classrank2 "4"

should be:
PHP Code:

        } 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
PHP Code:

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)

PHP Code:

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:
PHP Code:

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:
PHP Code:

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:
PHP Code:

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! :)


All times are GMT. The time now is 11:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01256 seconds
  • Memory Usage 1,782KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete