Page: << 1 >>
Quest issue
Author Message
Post #201673 Quest issue

Can't seem to get this working. Each change-up I do provides a different error.


Current error:  > Validation Error: Unknown quest state: collect (State: helpbronse)


Main

{

    questname  "Slimey Evening"

    version    1.0

}

state TalkToBronse

{

    desc    "Talk with Bronse"

    action  AddNpcText(3, "Do, you think you can collect me 10 Slime balls?");

    action  AddNpcInput(3,1,"Yes, im ready to collect");

    action  AddNpcInput(3,2,"No, im not ready for this challenge");

    rule    InputNpc(1) goto Bronse

    rule    InputNpc(2) goto No

}

state No

{

    desc    "Talk To Bronse"

    action  AddNpcText(3, "that's a shame you wont help me");

    rule    TalkedToNpc(3) goto EndReset

}

state HelpBronse

{

    desc    "Talk with Bronse)"

    action  AddNpcText(3, "Collect 10 slime balls");

    action  AddNpcInput(3,1,"Yes");

    action  AddNpcInput(3,2,"No");

    rule    InputNpc(1) goto Collect

    rule    InputNpc(2) goto No2

}

state No2

{

    desc    "Talk with Bronse"

    action  AddNpcText(3, "that's a shame you wont help me");

    rule    TalkedToNpc(3) goto EndReset

}

state CollectSlime

{

    desc    "Collect 10 slime balls"

    action  AddNpcText(3, "thanks for helping me come back once you are finished.");

    rule    GotItems(569,10) goto ReturnToBronse

}

state ReturnToBronse

{

    desc    "Return to Bronse"

    action  ShowHint("You collected all slime balls");

    action  AddNpcText(3, "thanks for helping me");

    rule    TalkedToNpc(3) goto Reward

}

state Reward

{

    action  ShowHint("Bronse hands you a powerful bow and arrow");

    action  GiveItem(297,1);

    action  GiveItem(425,1);

    action  End();

}

state EndReset

{

    action  Reset();

}

7 years, 20 weeks ago
Post #201674 Re: Quest issue

In your HelpBronse state, you have rule InputNpc(1) goto Collect, but you have no state named Collect. I guess you meant CollectSlime? Just replace rule InputNpc(1) goto Collect with: rule InputNpc(1) goto CollectSlime (or what state you intended to go to.)

---
stay tuned.
7 years, 20 weeks ago
Post #201675 Re: Quest issue

To add onto what andrew said, you also have no state named bronse. Change rule InputNpc(1)  goto Bronse to InputNpc(1) goto HelpBronse

Change both the one he mentioned, and this one.

7 years, 20 weeks ago
Post #201676 Re: Quest issue
andrewbob1 posted: (6th Dec 2016, 08:16 pm)

In your HelpBronse state, you have rule InputNpc(1) goto Collect, but you have no state named Collect. I guess you meant CollectSlime? Just replace rule InputNpc(1) goto Collect with: rule InputNpc(1) goto CollectSlime (or what state you intended to go to.)



Are you a God?

7 years, 20 weeks ago
Post #201677 Re: Quest issue
Lucifer's Dog posted: (6th Dec 2016, 08:22 pm)

andrewbob1 posted: (6th Dec 2016, 08:16 pm)

In your HelpBronse state, you have rule InputNpc(1) goto Collect, but you have no state named Collect. I guess you meant CollectSlime? Just replace rule InputNpc(1) goto Collect with: rule InputNpc(1) goto CollectSlime (or what state you intended to go to.)



Are you a God?


I mean your error log points it out pretty clearly.. "Current error:  > Validation Error: Unknown quest state: collect (State: helpbronse)". But glad I could help. And also fix the problem that demon pointed out above ^^
---
stay tuned.
7 years, 20 weeks ago
Post #201682 Re: Quest issue

damn lol 

---
Insomniac:I like how in the lounges forum description sausage says "Bitches go crazy." and that's
exactly what you do!
Pixel artist | Mapping artist | Alternative artist | Heavenly Karma | oldbie | top 50  |
Attention whore | main player |
7 years, 20 weeks ago
Page: << 1 >>