View Single Post
  #930  
Old 02-21-2003, 04:42 PM
Bitsys's Avatar
Bitsys Bitsys is offline
 
Join Date: Oct 2002
Posts: 444
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by geniuscrew
Just a little add-on, code thingy which allows Admins, Mods, and Supermods to use the system even if it's turned off.
Heh, don't forget to turn it back on if you turn it off

Quote:
Originally posted by chrisz
I am using the auto update is that bad??
If it is I will take it out...
So is it or what?
It is not bad. 5 queries only on a reply or new thread isn't too bad, but since I can make it better I wouldn't recommend doing it right now. I only released it because several people have asked.


Quote:
Originally posted by geniuscrew
Therefore mroe bandwidth is used too.
I am pretty sure it doesn't use more bandwidth, however it will use up a little more of the server's resources.

Quote:
Originally posted by chrisz
And Bitsys when you release the shorter one can you tell me how to edit the anger so it goes up like 50-80% each time they miss?
This involves editing battleupdate.php. All you have to do is find the code that calculates the anger percentage and change it to a higher number.

Quote:
Originally posted by Darkwaltz4
Bug Fix: When editing categories in the itemshop, and leaving 'item type' alone (non-battle, 1/2 handed, etc) (so it displays like "Current (Non-Battle)") and submitted it, it would store null to the battle type.
Thanks for pointing that out. The incorrect variable is $cateid. It stores the ID of the category you are currently editing. It seems I accidentally left that in there from a version from a long time ago. Here's a quick fix:

In itemadmin.php, find:
PHP Code:
<option value=\"$cateid\">Current $curtype</option> 
and change it to:
PHP Code:
<option value=\"$selcat[battletype]\">Current $curtype</option> 

Quote:
Originally posted by Sonikku
Alright...! Everything seemed to work properly until we started buying things...it doesnt recognize items, if someone buys a weapon and has it while in battle it shows in the itemlist but says that user hasnt got a weapon
Did you do what it says in the FAQ located in the RPG Admin Panel menu in the Admin cp? It says:
Quote:
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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01975 seconds
  • Memory Usage 1,783KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete