unknown affect being checked

For builders to discuss and ask building questions.
Post Reply
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

unknown affect being checked

Post by Kregor » Sat Dec 17, 2005 3:57 pm

I've started getting this error message on the latest revision of tangledtrees.are:

Log: [*****] BUG: Unknown affect being checked, Room #103623.

This room is a water room, where have a prog to insert a random chance to slip and fall on the river rocks, which up to now, has worked, and as far as I know, I have made no mods on this prog:

Code: Select all

>intercept_prog north~
if ismounted($n)
or isaffected($n) == Levitate
or isaffected($n) == Fly
  mpunintercept
else
  if dex($n) > 15
    mpunintercept
  else
    if rand(5)
      mpforce $n smote slips on the mossy stones and falls into the shallow stream.
      mpforce $n sit
      mpechoat $n Your butt is soaking wet!
    else
      mpunintercept
    endif
  endif
endif

*repeats for south, east, and west*
When I enter the room, and try to leave, I get the error log, and cannot move. Any insight? Both afftects it checks for should be legitimate spells.
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Post by Dalvyn » Sat Dec 17, 2005 4:04 pm

Try with flying intead of fly.
Image
Post Reply