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)

chrisz 02-28-2003 01:27 PM

Also during battle people usually go to use anger and it does less damage then if they use their weapon.
And other times they cant touch the other person even if they are the same lvl.
Can you fix this?

PSI|Dr-X 02-28-2003 02:03 PM

I get an error by itemshop i did something with the profilefields

i accedentially deleted points and now i have add it back on display order 5 but it gives an error i also checked in phpMyAdmin and changed to 5

Invalid SQL: SELECT field5 FROM userfield WHERE userid=2
mysql error: Unknown column 'field5' in 'field list'

PSI|Dr-X 02-28-2003 02:33 PM

Lol fixed

Red Blaze 02-28-2003 04:07 PM

I'd like to ask for a request. For some reason, some weapons don't work at all against some characters. And well, I think it would be usefull to have a secondary weapon incase one of the weapons have no affect. Can that be done as it is?

Dribbles 02-28-2003 04:09 PM

Quote:

Originally posted by Bitsys


No, it only happens when you go to the user cp and update your stats manually.

thnx ... what exactly does it update? I notice experience, hp, and level and automatically updated.

Bitsys 02-28-2003 04:29 PM

Quote:

Originally posted by chrisz
Is there any way to make it so after uses set up their stuff they cant change it?
Can you do this for any of the RPG options at least?

Sorry, I can't do this right now.

Quote:

Originally posted by chrisz
Also during battle people usually go to use anger and it does less damage then if they use their weapon.
And other times they cant touch the other person even if they are the same lvl.
Can you fix this?

Try decreasing the buff on armors while increasing the price. At the same time, adjust the regatt and regdef values for classes. Make the regatt a little higher and the regdef a little lower.

Quote:

Originally posted by Sonikku
I'd like to ask for a request. For some reason, some weapons don't work at all against some characters. And well, I think it would be usefull to have a secondary weapon incase one of the weapons have no affect. Can that be done as it is?
You can create another item category. Call it "Secondary weapons". Users can then buy a primary weapon and a secondary weapon. It will let them choose which one they want to use in battle.

Quote:

Originally posted by Sonikku
thnx ... what exactly does it update? I notice experience, hp, and level and automatically updated.
The database query looks like this:
PHP Code:

$DB_site->query("UPDATE user SET maxhp='$maxhpupdate', hp='$newhp', maxpp='$maxppupdate', pp='$newpp', maxma='$maxmaupdate', ma='$newma', ap='$apmodifier' WHERE userid='$userstats[userid]'"); 

So, it updates the Max HP/MA/PP and the user's HP/MA/PP/AP. The level is automatically updated when the experience reaches a certain point, since the user's level is re-calculated every time it is needed. Updating your stats is just telling the script to increase your HP/etc. after you have reached a new level.

PSI|Dr-X 02-28-2003 08:53 PM

Bytsis when i change my class or other player does then the unknwown 0 0 - - shows up why that? in the profile and in the rpgcp but the postbit not

chrisz 03-01-2003 08:11 AM

Quote:

Originally posted by Bitsys


Sorry, I can't do this right now.


How come? I think it is a very important part of the RPG hack.
People can change whenever they like in figure out which is the strongest class or whatever and change whenever they like.

Dribbles 03-01-2003 08:50 AM

Quote:

Originally posted by Bitsys
$damagedone = @floor(($weapon[damage] + $regattbonus) * $uelemod * $anger + $bonusattack - $armor - $regdefminus);

where:
$damagedone = the total damage done
@floor = a function that rounds down the answer
$weapon[damage] = the damage done by the attacker's weapon
$regattbonus = the regular attack of the attacker
$uelemod = the elemental bonus
$anger = how angry the person is (1 if they are not angry yet)
$bonusattack = any items worn by the attacker that give a plus to attack
$armor = the buff value of the defender's armor
$regdefminus = the reg defense proportion of the defender

Do "evade" and "speed" work into the equation also?

PSI|Dr-X 03-01-2003 09:43 AM

Quote:

Bytsis when i change my class or other player does then the unknwown 0 0 - - shows up why that? in the profile and in the rpgcp but the postbit not postbit is ok.. why>?


All times are GMT. The time now is 12:04 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.02841 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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