Usenet.com

www.Usenet.com

Group Index

Rec Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Sacrificing cats



"mcv" <
> Ray Dillinger <[EMAIL PROTECTED]> wrote:

> : Cat Lord's idea of # of cats killed back to zero.  It could be quite
> : a daunting quest.  If it's a less-than-or-equal-to-zero check though,
> : you'd just need to kill at least X but no more than Y to put the
> : counter somewhere in the negative range.

> So let this be a lesson for all programmers: when counting killed
monsters,
> use unsigned ints (or longs, shorts, chars or whatever, although longer is
> probably better).

TB at least used a 2byte signed int... probably even more...

reasoning:
i once killed more than 3 thousand gremlins while scumming
the pick-pocket skill...
3000 is more than 255...
the next logical minimal maximum would be 32767...
that would be a signed 2byte integer... 65356(?) for unsigned...

you're not really suggesting to kill more then 30.thousands(!!!)
cats just to recreate a good kitty karma?!?

what's the maximum monster kill count anyone ever had?
after 3K gremlins tend to get REAL ugly... :-( (c)

*shakes-head*
heng





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.