Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Running the server ➜ Got it working....partially

Got it working....partially

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Saint   (16 posts)  Bio
Date Sun 10 Apr 2005 10:10 AM (UTC)
Message
Well I got Vassago's Quest Code to work on my rom24b6. However, theres a problem. Whenever the questmaster sends me on a quest to kill a mobile, it dosent work. Say if I get a quest to kill a hobbit. I kill every single hobbit in the game, and it still dosent let me complete my quest. Says you have not completed your quest. Any help? Here is a portion of my quest.c file, the part where it sends players to kill a mob.
--------------------------------------------- /* Quest to kill a mob */

else
{
switch(number_range(0,1))
{
case 0:
sprintf(buf, "It seems someone has been doing alot of killing lately. This is not good for evil OR good.",victim->short_descr);
do_say(questman, buf);
sprintf(buf, "This problem must be corrected.");
do_say(questman, buf);
break;

case 1:
sprintf(buf, "It seems %s has been doing alot of killing lately. This is not good for evil OR good.",victim->short_descr);
do_say(questman, buf);
sprintf(buf, "Since last night, %s has murdered %d people!",victim->short_descr, number_range(2,20));
do_say(questman, buf);
do_say(questman,"This must be stopped. I look to you to complete this task!");

break;
}

if (room->name != NULL)
{
sprintf(buf, "You can find %s somewhere within the vicinity of %s!",victim->short_descr,room->name);
do_say(questman, buf);

sprintf(buf, "That location is in the general area of %s.",room->area->name);
do_say(questman, buf);
}
ch->pcdata->questmob = victim->pIndexData->vnum;
}

return;
}
------------------------------------
Not sure whats wrong, any help would be most appreciated.

Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


7,355 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.