EOSERV Forum > EO Server Building > Haveing trouble getting my quests to work on my server
Page: << 1 >>
Haveing trouble getting my quests to work on my server
Author Message
Post #204227 Haveing trouble getting my quests to work on my server

im not sure i know hoe to make my ayla quest work when i goto the which house and click ayla it doesnt pop up nothing,



the error on my eoserv 0.7.0 when i load it up is [ERR] Could not load quest:  ./data/quests/00002.eqf

                                                                    [ERR] Validation Error: Unknown quest state: talk2 <State: givelove>



Main
{
        questname       "Ayla Witch Quest"
        version         1.0
}
state Begin
{
    desc    "Kill 20 rats"
    action  AddNpcChat ( 2 , "Hellow stranger");
    action  AddNpcText ( 2 , "Oh my. I have yet to finish my magic spell, my Witch tutor will be mad");
    action  AddNpcText ( 2 , "Could you do me a favor and kill 20 rats so I can cast the spell?");
    rule    KilledNpcs ( 2, 20) goto Ayla
}
state Ayla
{
    desc    "Talk to Ayla"
    action  ShowHint ("You should talk to Ayla again!");
    action  AddNpcChat ( 2 , "Hellow stranger");
    action  AddNpcText ( 2 , "Thank you! You have killed 20 rats for me, my tutor will be so pleased");
    action  AddNpcText ( 2 , "Could you also kill 20 sheep for me and return when you are done?");
    rule    TalkedToNpc ( 2 ) goto Sheep
}
state Sheep
{
    desc    "Kill 20 sheep"
    action  AddNpcText ( 2 , "Could you also kill 20 sheep for me and return when you are done?");
    rule    KilledNpcs ( 170, 20) goto AylaAgain
}
state AylaAgain
{
    desc    "Talk to Ayla"
    action  ShowHint ("You should talk to Ayla again!");
    action  AddNpcChat ( 2 , "Hellow stranger");
    action  AddNpcText ( 2 , "Thank you so much, however there is one last thing i need, I would need a Terror potion to finish it but make sure you dont give me a love potion!");
    rule    GotItems (296,1) goto GiveTeror
    rule    GotItems (292,1) goto GiveLove
 
}
state GiveTeror
{
    desc    "Give a teror potion"
    action  AddNpcText ( 2 , "Do you happen to have a terror potion for me?");
    action  AddNpcInput ( 2 , 1 , "Here, take it ");
    action  AddNpcInput ( 2 , 2 , "No, its mine" );
    rule    LostItems (296,1) goto Talk2
    rule    InputNpc ( 1 ) goto TerrorEnd
}
state GiveLove
{
    desc    "Give a love potion"
    action  AddNpcText ( 2 , "Do you happen to have a love potion for me?");
    action  AddNpcInput ( 2 , 1 , "Here, take it" );
    action  AddNpcInput ( 2 , 2 , "No, its mine" );
    rule    LostItems (292,1) goto Talk2
    rule    InputNpc ( 1 ) goto LoveEnd
}
state TerrorEnd
{
    desc    "Talk to Ayla for a reward"
    action  RemoveItem (296, 1);
    action  PlaySound (68);
    action  AddNpcText ( 2 , "You did it, thank you now i can finish my magic spell. Here is your reward");
    rule    TalkedToNpc (2) goto Reward
}
state Reward
{
    desc    "accepting the reward"
    action  ShowHint ("You gained 500 EXP!");
    action  PlaySound (17);
    action  GiveExp (500);
    action  GiveKarma (100);
    action  Reset ();
}
state LoveEnd
{
    desc    "Talk to Ayla for a reward"
    action  RemoveItem (292, 1);
    action  ShowHint ("Ayla looks very angry!");
    action  AddNpcText ( 2 , "Wait! you ruined my magic spell, for this you shall be cursed for the rest of your life");
    rule    TalkedToNpc ( 2 ) goto Reward2
}
state Reward2
{
    desc    "accepting the reward"
    action  ShowHint ("You gained 300 EXP!");
    action  PlaySound (17);
    action  GiveExp (300);
    action  RemoveKarma (100);
    action  Reset();
}



37 weeks, 2 days ago
Post #204229 Re: Haveing trouble getting my quests to work on my server

... well, let's dissect, shall we?

It says "unknown quest state: talk2".

This indicates you are attempting to access a quest state that doesn't exist.

Then it says that your error is occurring in state "givelove".

So we look at the GiveLove state, and sure enough we find a "goto Talk2". This state doesn't exist in your quest. It's possible that what you wanted to do was "goto AylaAgain" instead, because they've lost the items.


The error message is pretty straightforward. You'll want to learn how to read these properly.

---
Want to learn to pixel?
Pixelsource.org
37 weeks, 2 days ago
Post #204231 Re: Haveing trouble getting my quests to work on my server

well i thought the ayla quest was fixed but when i click the Q for quests in the left top corner my client freezes

any ideas?



37 weeks, 2 days ago
Page: << 1 >>

EOSERV Forum > EO Server Building > Haveing trouble getting my quests to work on my server