Shazzy

Member
ServUO Version
Publish Unknown
Ultima Expansion
Endless Journey
I know this should be sooooo easy..IF you are on THIS quest...I can't give you this quest...
I am doing a renew of the Book of Truth but do not want to run into the 1 turn in and 10 turn in.
Code:
        {
            if ( Owner.InProgress( quest.GetType( VeracitysPleaQuest ) ) )
            {
                Owner.SendLocalizedMessage( 1077455 ); // Thou hast already begun collecting books for someone else.
                return false;                    
            }
            if ( quest.GetType( VeritaesPleaQuest ) != InProgress );
            {
                Owner.SendLocalizedMessage( 1077455 ); // Thou hast already begun collecting books for someone else.
                return false;                    
            }
            
            return true;
        }
        public override bool CanOffer()
        {        
            return Owner.Quests( !InProgress( VeracitysPleaQuest || VeritaesPleaQuest ) )
        }
*/
[{/end]
 
Found in ProfessionalBountyQuest.cs

public bool HasQuest(PlayerMobile pm)
{
if (pm.Quests == null)
return false;

for (int i = 0; i < pm.Quests.Count; i++)
{
BaseQuest quest = pm.Quests;

if (quest.Quester == this)
{
for (int j = 0; j < quest.Objectives.Count; j++)
{
if (quest.Objectives[j].Update(pm))
quest.Objectives[j].Complete();
}

if (quest.Completed)
{
quest.OnCompleted();
pm.SendGump(new MondainQuestGump(quest, MondainQuestGump.Section.Complete, false, true));
}
else
{
pm.SendGump(new MondainQuestGump(quest, MondainQuestGump.Section.InProgress, false));
quest.InProgress();
}

return true;
}
}
return false;

}
}

 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back