vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

Kyrie 02-21-2003 06:58 PM

I'm not sure if this is posted already... but when my users have purchased weapons.. they can't use them in battle.. I was wondering how I could fix it?

Vivi Ornitier 02-21-2003 07:08 PM

Hey bitsys, i'm uninstallin all the RPG hacks but what about the queries that were run by them? I haven't looked at the rpg install instructions yet but i'm naturally assumin theres gonna be massive amounts of queries

Mystic Gohan 02-21-2003 07:20 PM

Will you be able to make it random on how much HP you have because right now all it is, is who ever has the higher HP wins a match. Can you randomize the HP taken away from an attack?

Red Blaze 02-21-2003 07:38 PM

Quote:

Originally posted by Kyrie
I'm not sure if this is posted already... but when my users have purchased weapons.. they can't use them in battle.. I was wondering how I could fix it?
Quote:

Originally posted by Bitsys

Did you do what it says in the FAQ located in the RPG Admin Panel menu in the Admin cp? It says:

Q: Why can't I use items in battle? They are always grayed out and it says, "You do not have a [item name]".
A: Do the following: In admin cp, go to "Edit Items". Look at a category name (the category names should be above all of the items). Click on the "[edit]" link next to that category. On the next screen, make sure that there is a battle type associated with that item category.


Kyrie 02-21-2003 07:54 PM

thanks for that, I'll try it now.

Bitsys 02-21-2003 08:39 PM

Quote:

Originally posted by Vivi Ornitier
Hey bitsys, i'm uninstallin all the RPG hacks but what about the queries that were run by them? I haven't looked at the rpg install instructions yet but i'm naturally assumin theres gonna be massive amounts of queries
IIRC, the only queries that were run by the other RPG hacks were the queries to add additional fields to the user table and userfield table. The exception to this is the Itemshop hack. All of the itemshop tables begin with the prefix "items". So, if you remove the extra fields in the user/userfield table and you remove all tables that begin with items, then I think you should be OK. I am not 100% sure, so you should try to find the install files and double-check to make sure.



Quote:

Originally posted by Mystic Gohan
Will you be able to make it random on how much HP you have because right now all it is, is who ever has the higher HP wins a match. Can you randomize the HP taken away from an attack?
That is the way it currently works. Items do +- 25% of their buff value that you assign in the admin cp. Fists do +-15% based a formula that uses the person's level and stats and do a minimum of 5 damage. Spells do +- 15% damage based on the buff value that you assigned in the admin cp.

If you run some tests then you should notice that this is the case. If you find that it isn't, then let me know.

Moreliator 02-21-2003 08:52 PM

Hey Bitsy, nevermind that error I was talking about earlier (with the RPGCP.PHP file not recognizing user)... I think it was just a faulty install... I reinstalled and things seem to be fine.

The only thing I have a question about now is styles. Your instructions say specifically not to choose more than one template set when installing. If my board has multiple styles that users can picks, is there a simple way to implement this hack on all styles? Because right now, if the user isn't on the specific template set the hack was installed on, there won't be the RPG options in their user CP and this may confuse a lot of people.

thanks.

Bitsys 02-21-2003 09:35 PM

Quote:

Originally posted by Moreliator
The only thing I have a question about now is styles. Your instructions say specifically not to choose more than one template set when installing. If my board has multiple styles that users can picks, is there a simple way to implement this hack on all styles? Because right now, if the user isn't on the specific template set the hack was installed on, there won't be the RPG options in their user CP and this may confuse a lot of people.

thanks.

Whenever I tried applying the hack to all template sets, vbhacker would create each template once per set. At the time, my forum had 3 template sets. 51 new templates times 3 template sets equals 153 new templates. I wasn't very happy about this. To avoid confusion, I put that part about not selecting all of the template sets in the install file. I am not sure if there is an easy way to do the template edits on all of the template sets, however, you can try the following:

Go to vbhacker and start to install the hack as usual. When you get to the screen that lists which file edits, template edits, new templates, and queries you want to do, make sure that you select the template edits only (there should only be one). Then, at the bottom of the page, select all of the template sets that you did not do the template edits for when you originally installed the hack.

I have not tested this, but I think it will work. I would suggest backing up the template sets before doing it though, just in case.

DaPro 02-21-2003 09:45 PM

Hey Bitsey, I tried installing version .63 onto my forums and I forgot to chmod the files, so I did the manuall thing and it says congradualtions ur done, or something like that, but when I go to my main forum it says

"Parse error: parse error in .../forums/admin/functions.php on line 354

Fatal error: Call to undefined function: getuserinfo() in .../forums/admin/sessions.php on line 365"

Now I don't know why it says that, can you please tell me how to fix it, my aim s/n is dapro85, but I am on privacy, so let me kno to add you. Thanks

DaPro 02-21-2003 09:51 PM

my aplogies, I copied something wrong, it is fixed, sry about that!


All times are GMT. The time now is 01:40 AM.

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.03236 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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