Page 1 of 2

General MajorMUD Formulas

Posted: Mon Sep 08, 2003 1:44 am
by erek
Well recently I've been wanting to test a lot of things before i tryed it on my legit character and this led me dasm and generate some accurate formulas for majormud based off the actual code, instead of relative approximations i have came up with some stats of interest to me sofar:



Dodge:

player->dodge=(((((15*player->dodge2))+(abs(2*player->agility+player->charisma-150)/4)+(2*player->agility+player->charisma-150)/4)+1)*(50+player->level)/100);



Accuracy:

player->acc=((player->combat-1)*5)+(player->combat*player->level/5)+((2*player->agility+player->intellect-150)/2);



i'm working on rewriting them to better suite people writing it for other languages, like mudview, very nicely done

but that's just a very unclean take from the code, going from asm to c



hopefully we can have an addon to mudview or something that will gave 100% accurate combat scenarios with any equipment you want, against any monster you want, without having to do it on your legit char first

Re: General MajorMUD Formulas

Posted: Mon Sep 08, 2003 2:13 am
by Rust In Peace
See.. if you make more posts like this and less stupid posts like all your other ones, you would be tolerable.



Assuming these formulas are correct, something like what you suggest on mudview would be priceless.

Re: General MajorMUD Formulas

Posted: Mon Sep 08, 2003 8:13 am
by Pike
First he has to learn the correct FORUM to post in.

Re: General MajorMUD Formulas

Posted: Mon Sep 08, 2003 1:52 pm
by syntax53
Originally posted by Pike

First he has to learn the correct FORUM to post in.



thread moved.

Re: General MajorMUD Formulas

Posted: Mon Sep 08, 2003 2:31 pm
by Speed
player->dodge =

( ( ( ( 15 * player->dodge2 ) +

( abs( 2 * player->agility + player->charisma - 150 ) / 4 ) +

( 2 * player->agility + player->charisma - 150 ) / 4 ) + 1 ) *

( 50 + player->level ) / 100 );



player->acc =

( ( player->combat - 1 ) * 5 ) +

( player->combat * player->level / 5 ) +

( ( 2 * player->agility + player->intellect - 150 ) / 2 );





Just how I like to see things. I did it anyway to read the equation better, figured I'd post a cleaner version in case someone has my same taste.

Re: General MajorMUD Formulas

Posted: Mon Sep 08, 2003 6:26 pm
by Reckless
Now it makes total sense!

Re: General MajorMUD Formulas

Posted: Mon Sep 08, 2003 7:07 pm
by Platinum
that makes sense, and Rust is right..something of the sort 100% accurate would be priceless...blow all the others outa the water;)

Re: General MajorMUD Formulas

Posted: Tue Sep 09, 2003 2:11 am
by Delete
but nothin is 100% accurate.. the game is still random.. i guess we'll have to settle with 96.4% accuracy.. still works for me

Re: General MajorMUD Formulas

Posted: Tue Sep 09, 2003 3:56 am
by Frizzlat
I thought it was 96.5% accuracy?

Re: General MajorMUD Formulas

Posted: Tue Sep 09, 2003 4:00 am
by War Hawk
yeah... if I wanted to , I could probably program something like that for mudview... but why would I? Some things need to be found out on there own... Mudview is going through a lot of major coding changes right now....