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)

Darkwaltz4 02-12-2003 09:55 PM

aha. yes, i just noticed that version .61 allows for element negatives. that is very nice, and i retract my suggestion, which is now void, heh--i did warn that it was from the .55 system i was coming from. oh well

sonic3d 02-13-2003 09:36 PM

can ne1 help me on this plz.

where do i go to change how much experience you need to go onto the next level. thanx

l8er
sonic

mr e 02-13-2003 09:55 PM

in admin cp, go to Battle Options and there is a place to enter a number 1-5, higher number means you level faster

sonic3d 02-13-2003 10:01 PM

mines is 1 but its still way too fast. is there a way too configure it through php?

l8er
sonic

Bitsys 02-14-2003 10:42 AM

Quote:

Originally posted by sonic3d
mines is 1 but its still way too fast. is there a way too configure it through php?

l8er
sonic

Unfortunately, the lowest number is 1 and the maximum number is 5 due to a php function limitation. If you are still leveling too fast, then I suggest you lower the amount of XP gained per win in battle and/or the amount of experience gained per turn in battle. Also, assuming you are giving experience for posts, you can lower that as well. If all of these values are at a minimum, then there is nothing else you can do except adjust the level function.

The level function is located in functions.php. It is called 'getlevel'. This function computes a user's level and returns either a float or an integer, depending on what is passed to it. If you want to lower everyone's level, than you can probably perform some division on the numbers before they are rounded off and this would give the allusion that they are at a lower level, for all practical purposes. In fact, if you are not happy with the way levels are gained and you want a linear leveling system, then you can change the function to do this as well. All changes done to the level function apply immediatley and will affect users who are in battle. However, it will not lower a user's stats to the correct setting until they update their stats.

PSI|Dr-X 02-14-2003 11:39 AM

Bytisis When :P do you gonna release the full version/next version
:)

I am waiting for it :)

sonic3d 02-14-2003 03:28 PM

Quote:

Originally posted by Bitsys


Unfortunately, the lowest number is 1 and the maximum number is 5 due to a php function limitation. If you are still leveling too fast, then I suggest you lower the amount of XP gained per win in battle and/or the amount of experience gained per turn in battle. Also, assuming you are giving experience for posts, you can lower that as well. If all of these values are at a minimum, then there is nothing else you can do except adjust the level function.

The level function is located in functions.php. It is called 'getlevel'. This function computes a user's level and returns either a float or an integer, depending on what is passed to it. If you want to lower everyone's level, than you can probably perform some division on the numbers before they are rounded off and this would give the allusion that they are at a lower level, for all practical purposes. In fact, if you are not happy with the way levels are gained and you want a linear leveling system, then you can change the function to do this as well. All changes done to the level function apply immediatley and will affect users who are in battle. However, it will not lower a user's stats to the correct setting until they update their stats.

thanx will try it soon as i get home.

Bitsys 02-14-2003 04:08 PM

Quote:

Originally posted by PSI|Dr-X
Bytisis When :P do you gonna release the full version/next version
:)

I am waiting for it :)

I am still working out some bugs in it. There have been some major changes that are not wanting to work together properly ;)

Also, with 2.3.0 out now, that is one more thing I have to test ;)

sonic3d 02-15-2003 03:04 AM

when some1 retreats from a battle the winner get the money and both opponents are refunded with the money?

can ne1 help me on this?

l8er
sonic

PSI|Dr-X 02-15-2003 10:12 AM

Check Screenshot :pirate:


All times are GMT. The time now is 12:41 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.02873 seconds
  • Memory Usage 1,744KB
  • 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_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