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)

Telchar 09-04-2003 05:55 PM

The buff for my shield is a bitt higher than his.
The option to use the shield for defence dosn't show up for me.

Bitsys 09-04-2003 06:06 PM

Quote:

Today at 01:55 PM Telchar said this in Post #2221
The buff for my shield is a bitt higher than his.
The option to use the shield for defence dosn't show up for me.


Did you set the Battle Type of your Item Category for your shield to "Shields". Is the other admin's shield in the same item category as yours?

Telchar 09-04-2003 06:07 PM

yes and yes.

These are my options:
Quote:

Your Moves:
Use your Grond
Use your fists.
Use your Potion
Cast your Vilya (Heal: 120 MA)
Cast your The Staff of Light (Attack and Heal: 75 MA)
Request a draw.
Retreat
These are the options of another admin:
Quote:

Use your Iron Spear
Use your Glamdring
Use your fists.
Use your Hp-Potion
Cast your Ring of Barahir (Heal: 30 MA)
Defend with your Dwarven Shield
Request a draw.
Retreat

LightBringer 09-04-2003 06:28 PM

Bitsys, will you be moving this to vb3.0 when it's released?

Bitsys 09-04-2003 06:48 PM

Quote:

Today at 02:28 PM LightBringer said this in Post #2224
Bitsys, will you be moving this to vb3.0 when it's released?
I have not decided one way or the other yet.

I am not very keen on the idea of "porting" it to vb3.

lioncool1589 09-05-2003 12:36 AM

bitsys when ppl use spell to attack it didnt show Debug Variables

http://clan-ice.com/showthread.php?s=&threadid=4050

Bitsys 09-05-2003 12:58 AM

Quote:

Today at 08:36 PM lioncool1589 said this in Post #2226
bitsys when ppl use spell to attack it didnt show Debug Variables

http://clan-ice.com/showthread.php?s=&threadid=4050


Spells don't have any battle debug messages.

lioncool1589 09-05-2003 03:47 AM

bitsys if i want decrease percent miss in battle without decrease def armor, etc.. which codes i change in battleupdate.php

Bitsys 09-05-2003 04:57 PM

Quote:

Yesterday at 11:47 PM lioncool1589 said this in Post #2228
bitsys if i want decrease percent miss in battle without decrease def armor, etc.. which codes i change in battleupdate.php
The following code handle the % chance to hit.

It should be pretty self-explanatory.

PHP Code:

// ############ % Chance to hit code ############
            
if ($oevade 0)
            {
                
$hitchance 0.6 log10($uspeed $oevade);
            }
            else
            {
                
$hitchance .9;
            }
            if (
$hitchance .4)
            {
                
$aphitchance = ($user[ap] - 40) / 100;
                if (
$aphitchance 0)
                {
                    
$aphitchance 0;
                }
                
$hitchance .4 $aphitchance;
            }
            if (
$hitchance .9)
            {
                
$hitchance .9;
            }
            
$debugvariables .= "Hit Chance (\$hitchance): $hitchance\n"


Bitsys 09-05-2003 08:59 PM

Quote:

Today at 04:07 PM Me! said this in Post #2230
Is it possible to set it so that the itemshop and bank are not viewable to guests?

In itemshop.php, find:
PHP Code:

require('./global.php'); 

and BELOW it, add:
PHP Code:

if ($bbuserinfo['userid'] == 0)
{
    
show_nopermission();




All times are GMT. The time now is 03:42 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.03616 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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