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

Quote:
Yesterday at 07:34 PM bharvey42 said this in Post #1237
Is there any way we might see NPC's or Monsters?
Not really.

Quote:
Yesterday at 08:25 PM sonic3d said this in Post #1238
if u can bitsys can u give me the fix?

l8er
sonic
In battle.php find:
PHP Code:
If (!(is_numeric($wager))) { 
and replace it with
PHP Code:
If (!(is_numeric($wager)) || $wager 0) { 
Quote:
Today at 02:15 AM lioncool1589 said this in Post #1240
Bitsys
i still have problems battle stats not save even i run data fix
also claw weapon do alot dmg

i think those are bugs

I visited your forums and it appears that some people's stats are being saved. Is there a certain member whose stats are not being saved?

If the claw weapon is doing too much then reduce its buff value. Remember, weapons will do different amounts of damage depending on the opponent.


Quote:
Today at 10:08 AM bgtking said this in Post #1241
I have gotten weapons to work but not potions. I set them as potions but they still won't work in battle.
That's because you didn't tell the potions whether or not they should heal MA or HP. You do this at the Edit items menu in the admin cp. Look for checkboxes below the columns labeled "Heal HP" and "Heal MA".

Quote:
Today at 10:33 AM TheVoidz said this in Post #1242
I had installed this way back in the beginning, I think it was the first version on a test board (had two lisences). So I gave all my members access to my test board. The problem I found was that there were too many addtional queries (in the newthread and newpost becsaue of the money addtions) and with +80 users on it raped the server so I had to take the battle hack out. Has this been resolved? is there a new way to dish out money?

*edit* Also is there a way to remove a specific user from the battle part of a message board? This would be good becasue you can punish spammers without doing to much work.

Thanks,
Voidz
3 of those queries are from the original itemshop, 2 of them are mine. They can be reduced to 4 total, but that is as small as it can get while maintaining functionality. Glancing over newthread.php, it appears that there are a maximum of 14 queries, not including the ones added by this hack. It does not seem reasonable that the addition of 5 queries max would disrupt a server like that, although it is possible. Other ways of giving money have been proposed by several people, including money for referrals and a default amount of money won at the end of a successful battle.

There is no easy way to exclude certain people from the hack, although you could put them in a separate usergroup and ban that usergroup manually through the .php files. Other than that, the only way is to manually ban them in the .php files.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,786KB
  • 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
  • (5)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