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 ➜ MUDs ➜ General ➜ Quest Code and Marriage code with Quickmud

Quest Code and Marriage code with Quickmud

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


Posted by Trommerse   (5 posts)  Bio
Date Sat 31 May 2003 09:18 PM (UTC)
Message
For the quest code, the only prob is using "quest request", the error in game is that it acts like you are waiting for the next quest. Once you request a quest, it immidiately does a check on how much time you have left, and then displays You can quest now message.
Quote:
'Quest Request' doesn't go through correctly, something to do with recognizing that they aren't on a quest. 'nextquest' is equal to 0 when the quest is requested.


For the marriage code (this is probably simple) when a spouse uses spousetalk, it says they aren't online right after it. The other spouse who is to recieve the message doesnt recieve the message.
Quote:
'spousetalk' appears to not be detecting the other spouse being online properly.
Top

Posted by Trommerse   (5 posts)  Bio
Date Reply #1 on Sat 31 May 2003 09:23 PM (UTC)
Message
If you have any ideas on how to fix the prob, or want to see any specific code (its a lot of code). Please reply, thanks in advance to any help given.
Top

Posted by Trommerse   (5 posts)  Bio
Date Reply #2 on Mon 09 Jun 2003 06:32 AM (UTC)
Message
This is the code, i am still stuck on this:


for ( d = descriptor_list; d != NULL; d = d->next ) {
CHAR_DATA *victim;
victim = (d->original != NULL) ? d->original : d->character;

// This is the problem, it keeps on going
// past this if statement. I tried removing the
// d->connected part and it still doesn't work.
if ( d->connected == CON_PLAYING && d->character->name == ch->pcdata->spouse_name)

What i'm trying to do is have the code figure out if the spouse is online, if they are send the message (but it never goes through even when the spouse is online).
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.


13,147 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.