Remember the Saving Throw table formulas?

From: George (greerga@CIRCLEMUD.ORG)
Date: 11/04/98


I've finally been playing around with the saving throw tables provided by:

From: Edward J Glamkowski <eglamkowski@ANGELFIRE.COM>
From: Rob Baumstark <shirak@CONNECT.AB.CA>

and comparing it against the stock code.  Not too similiar in some cases it
appears.  So I've placed my comparison package (I use the term loosely) in
my web space for them (or others) to test, tweak, etc.

Note: In Rob's version I had to invert the sign of '(-level)' in his
formula or the saving throw values went the wrong way and had to force the
'max_level' calculation because it's not really required and messed up the
30th level in testing.

http://www.circlemud.org/~greerga/st.tgz

Makefile included, just do:

gzip -dc st.tgz | tar -xf -
make
./sav-ed
./sav-rb

It'll spit out the different values, how much they are different by, and
give a final tally of how off each function was.  Just play with the
programs and see how close you can get.

Another important test is (to count number of differences):
./sav-ed | wc -l
./sav-rb | wc -l

Final note: I would prefer a small './sav-?? | wc -l' value and large total
over a large that value and small total.  I can fudge small 'wc' values
with a special fixup table for those entries.

I'll go see how the experience tables compare...

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST