Mailing List
Home
Forum Home
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Subject: Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Subject: Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Subject: Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Subject: Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Subject: Flash Racing
Subject: MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
BUG: sneak

BUG: sneak

2005-01-02       - By Mark Trainor

 Back
Reply:     1     2     3  

Greetings, list people,

Having been away quite some time, I am glad to be back in the thick of it
again.

This is quite basic, and likely has been noted, before, but it seems odd, to
me, that initiating a fight doesn't automatically remove the AFF_SNEAK flag,
as it does for invis and hide. At least, it seems to me, that it would be
extremely difficult to remain sneaky, whilst whooping up on a mob :p

Anyhoo, if you agree with me, then to fix this, you need to go into fight.c
and find the function:

ch_ret damage()

scroll way down (this is a monster function!), and find this:

  /*
  * Inviso attacks ... not.
  */
  if (IS_AFFECTED(ch, AFF_INVISIBLE))
  {
     affect_strip(ch, gsn_invis);
     affect_strip(ch, gsn_mass_invis);
     xREMOVE_BIT(ch->affected_by, AFF_INVISIBLE);
     act(AT_MAGIC, "$n fades into existence.", ch, NULL, NULL, TO_ROOM);
  }

right after that, add the following code:

  /* what is this?!? Sneak needs to go away, too!  --Sadiq  */
  if (IS_AFFECTED(ch, AFF_SNEAK))
  {
    affect_strip(ch, gsn_sneak);
    xREMOVE_BIT(ch->affected_by, AFF_SNEAK);
  }

Anyhoo...not even sure, whether it is a bug, or not, or if it has been
addressed already, or not...if so, give me a break...been out of touch, for
2-3 years ;)

And btw....good to be back ;)

Happy Mudding!

Sadiq

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement