Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-23-2002, 02:54 PM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default my battle hack

I'm looking for suggestions for an algorithm to use for battling.

I've already finished the challenge system, and I've installed that, just haven't enabled it, because it's kinda useless without the battle hack. I've planned out the coding for the battle hack, it's probably 70% done with planning, I'm integrating the Itemshop and the different classes. I'm thinking of integrating a points system, which won't be hard, just time consuming to code. Itemshop stuff will be used, people can choose different items to go in different "slots".

Any suggestions?
Reply With Quote
  #2  
Old 07-23-2002, 03:03 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hit points?
The More you post, the higher your Hit points go with each Level you climb...
Magical Ability?
The More you post, the more Magical ability you get with each level you climb...

Stuff like that...

Satan
Reply With Quote
  #3  
Old 07-23-2002, 03:15 PM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was thinking that, but it might be harder.

what im doing now is that as you post, you get points in the item shop, you get items which will be used. you can equip the items.

im also adding a skill tree, you get different points depending on which class, and every x amount of posts, you get x amount of points to spend on skill
Reply With Quote
  #4  
Old 07-23-2002, 03:21 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm...

So what are you doing for a Hit Points system? Surely your members arent Invincible?

Satan
Reply With Quote
  #5  
Old 07-23-2002, 03:27 PM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well ive setup teh basic skill points system, now i need to modify the values for the different classes.

so far ive come up with attack, defense, speed, agility, and they'll all play roles in the algorithm. ive also finished the little thing for every 50 posts, add 3 skill points which they can distribute wherever they want

hit points, itll depen on their attack rating, and the weapons their using (fists, sword, dagger etc)
Reply With Quote
  #6  
Old 07-23-2002, 03:31 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm I see...

It sounds very good!

Are you going to need BETA testers?

*Grins*

Satan
Reply With Quote
  #7  
Old 07-23-2002, 03:34 PM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe...ive got a few accounts setup for testing...but you can lend me ideas
Reply With Quote
  #8  
Old 07-23-2002, 03:42 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm...

I got one!

How about a healing algorithm? Your members surely have to be able to heal...When they buy Elixirs, or other Healing potions, why not have an option where, if they click on the item, a link appears saying "Heal myself!"...It then replaces some or all of the lost HP!

Satan
Reply With Quote
  #9  
Old 07-23-2002, 03:53 PM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah thats what i was thinking off too.

ill have a character page where you can set your "loadout", and then use potions and stuff. cool.

almost done with the default skill points, the thing is if you change your class, then the poitns will be reset. i like how that worked out
Reply With Quote
  #10  
Old 07-23-2002, 03:58 PM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok heres where i need help

i have 5 variables:
attack, defense, magic, speed, agility

i help with making an alorithm that uses the 5 to work out something like:

while(challenger_health != 0 || challenged_chealth !=0{
challenger goes:
choose first item
calculate probabilty of hitting
hit
calculate probabilty of challenged moving
get damage taken by challenged (hit - defense)
chellenged goes:
same thing
}

that hard thing would be what kinda of hit....physical or magical. blah, it could be chosen by random

then experience would be calculated, the results but into the challenege table, and status updated
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07679 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete