could you show the part where you type quest complete and he sees if you'v
completed the quest.

----- Original Message -----
From: "Nicholas Hutzell" <[EMAIL PROTECTED]>
To: "ROM" <[email protected]>
Sent: Tuesday, July 16, 2002 9:12 PM
Subject: quest code bug


> while basicly redoing one of vassago's quest codes i
> have ran into a slight problem with the quest counter
> for object quests. It seem's very odd since the if
> check is for both the mobile and object. When you
> quest request it will say you have like 20 minutes to
> finish the quest but it doesnt update the counter time
> for the pc. So when you quest complete the quest
> master doesnt think he sent you on a quest. The if
> check shows that the counter is being set and the
> player is being set with the PLR_QUESTOR flag. Here is
> the check.
>
>              if (ch->questmob > 0 || ch->questobj > 0)
>                 {
>                 ch->countdown = number_range(10, 30);
>                         SET_BIT(ch->act, PLR_QUESTOR);
>                         ++ch->totalquests;
> sprintf(buf, "You have %d minutes to complete this
> quest.'{x",
>                         ch->countdown);
>    act("$N tells you '$t", ch, buf ,questman,
> TO_CHAR);
>    act("$N tells you 'May The Gods go with you!'{x",
>                   ch, NULL, questman, TO_CHAR);
>                 }
>
> If you need to look at more code just let me know but
> as far as everything looks this would be the only
> thing that i could see that would have anything to do
> with the counter time for mob/obj quests.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>


Reply via email to