Zelda
Joined: 14th Jul 2011
Posts: 520
Whats wrong with this quest?
Main
{
questname "Killing Rat"
version 1.0
}
state Begin
{
desc "Talk to Honai"
action AddNpcText(257, "Hello My name is Honai");
action AddNpcText(257, "I will teach you how to start your adventure young Kokiri");
action AddNpcText(257, "Kill one rat for me, Pressing CNTRL to kill them. ");
action AddNpcInput(257,1r,"I know how to do it OK!?");
action AddNpcInput(257,2,"Ok, but I want extra exp!");
rule InputNpc(1) goto Coward
rule InputNpc(2) goto KillRat
}
state KillRat
{
desc "Kill 1 Rat"
rule KilledNpcs(2,1) goto TalkToHonai
}
state TalkToHonai
{
desc "Talk to Honai"
action AddNpcText(257, "Well Done young one. Here is your Reward!");
rule TalkedToNpc(257) goto Reward
}
state Reward
{
action GiveExp(300);
action End();
}
state Coward
{
action AddNpcText(257, "ok, Good Luck, more exp for me!");
action Reset();
}
---
Nice, Get Hacked Bro.
13 years, 17 weeks ago
|
maori
Joined: 16th May 2010
Posts: 302
Re: Whats wrong with this quest?
look for this action AddNpcInput(257,1r,"I know how to do it OK!?"); that is your problem :)
edit you need to remove the r
13 years, 17 weeks ago
|
Zelda
Joined: 14th Jul 2011
Posts: 520
Re: Whats wrong with this quest?
Tyvm. But it didn´t work again:
Main
{
questname "Killing Rat"
version 1.0
}
state Begin
{
desc "Talk to Honai"
action AddNpcText(257, "Hello My name is Honai");
action AddNpcText(257, "I will teach you how to start your adventure young Kokiri");
action AddNpcText(257, "Kill one rat for me, Pressing CNTRL to kill them. ");
action AddNpcInput(257,1,"I know how to do it OK!?");
action AddNpcInput(257,2,"Ok, but I want extra exp!");
rule InputNpc(1) goto Coward
rule InputNpc(2) goto KillRat
}
state KillRat
{
desc "Kill 1 Rat"
rule KilledNpcs(2,1) goto TalkToHonai
}
state TalkToHonai
{
desc "Talk to Honai"
action AddNpcText(257, "Well Done young one. Here is your Reward!");
rule TalkedToNpc(257) goto Reward
}
state Reward
{
action GiveExp(300);
action End();
}
state Coward
{
action AddNpcText(257, "ok, Good Luck, more exp for me!");
action Reset();
}
---
Nice, Get Hacked Bro.
13 years, 17 weeks ago
|
maori
Joined: 16th May 2010
Posts: 302
Re: Whats wrong with this quest?
do you get any quest error when you start the server up this might help me abit
13 years, 17 weeks ago
|
AustinB

Joined: 9th Jul 2010
Posts: 1400
Re: Whats wrong with this quest?
for the actions, it's the Quest ID. Not the npc ID.
---
Create your own destiny, don't let someone else do it for you.
13 years, 17 weeks ago
|
Zelda
Joined: 14th Jul 2011
Posts: 520
Re: Whats wrong with this quest?
If you are sure you´re right: (it stills don´t work)
Main
{
questname "Killing Rat"
version 1.0
}
state Begin
{
desc "Talk to Honai"
action AddNpcText(1, "Hello My name is Honai");
action AddNpcText(1, "I will teach you how to start your adventure young Kokiri");
action AddNpcText(1, "Kill one rat for me, Pressing CNTRL to kill them. ");
action AddNpcInput(1,1,"I know how to do it OK!?");
action AddNpcInput(1,2,"Ok, but I want extra exp!");
rule InputNpc(1) goto Coward
rule InputNpc(2) goto KillRat
}
state KillRat
{
desc "Kill 1 Rat"
rule KilledNpcs(2,1) goto TalkToHonai
}
state TalkToHonai
{
desc "Talk to Honai"
action AddNpcText(1, "Well Done young one. Here is your Reward!");
rule TalkedToNpc(257) goto Reward
}
state Reward
{
action GiveExp(300);
action End();
}
---
Nice, Get Hacked Bro.
13 years, 17 weeks ago
|
AustinB

Joined: 9th Jul 2010
Posts: 1400
Re: Whats wrong with this quest?
rule TalkedToNpc(257) goto state
needs to be;
rule TalkedToNpc(1) goto state
---
Create your own destiny, don't let someone else do it for you.
13 years, 17 weeks ago
|
Zelda
Joined: 14th Jul 2011
Posts: 520
Re: Whats wrong with this quest?
Not woking.....
Main
{
questname "Killing Rat"
version 1.0
}
state Begin
{
desc "Talk to Honai"
action AddNpcText(1, "Hello My name is Honai");
action AddNpcText(1, "I will teach you how to start your adventure young Kokiri");
action AddNpcText(1, "Kill one rat for me, Pressing CNTRL to kill them. ");
action AddNpcInput(1,1,"I know how to do it OK!?");
action AddNpcInput(1,2,"Ok, but I want extra exp!");
rule InputNpc(1) goto Coward
rule InputNpc(2) goto KillRat
}
state KillRat
{
desc "Kill 1 Rat"
rule KilledNpcs(2,1) goto TalkToHonai
}
state TalkToHonai
{
desc "Talk to Honai"
action AddNpcText(1, "Well Done young one. Here is your Reward!");
rule TalkedToNpc(1) goto Reward
}
state Reward
{
action GiveExp(300);
action End();
}
state Coward
{
action AddNpcText(1, "ok, Good Luck, more exp for me!");
action Reset();
---
Nice, Get Hacked Bro.
13 years, 17 weeks ago
|
maori
Joined: 16th May 2010
Posts: 302
Re: Whats wrong with this quest?
What doe's your error.log say about your quest this might help alot
or where does it not work?
13 years, 17 weeks ago
|
Zelda
Joined: 14th Jul 2011
Posts: 520
Re: Whats wrong with this quest?
The error log says nothing about quests, and it doesnt even start quest.
---
Nice, Get Hacked Bro.
13 years, 17 weeks ago
|
maori
Joined: 16th May 2010
Posts: 302
Re: Whats wrong with this quest?
well there is nothing wrong with your quest it should load properly.
im guessing you've already done the Npc n QuestID right
13 years, 17 weeks ago
|
Re: Whats wrong with this quest?
Let's say you want NPC 257 to have the quest, but let's also say you've written 12 quests already.
Change all the AddNpcText(257) and AddNpcText(1) to AddNpcText(13) because the quest ID will be 13.
Also, save it as 00013.eqf. Then, open your pubs, find NPC 257, change him to a Quest type NPC, and change the Quest Script at the bottom right hand corner to 13.
& you forgot a bracket( } ) at the end of the last state. (or at least on the post I'm looking at it's not there.)
&& it might be something in your config.ini. I don't have the actual EOSERV, but something about Max Number of Quests, might want to change that if you have more quests than the config.ini allows.
13 years, 17 weeks ago
|
Zelda
Joined: 14th Jul 2011
Posts: 520
Re: Whats wrong with this quest?
Look, Let me explain everything: I want the quest ID to be number 1 and only one! I changed my character 257 to quest script 1 in editpub... I setted the file name as 00001.eqf, restarted the server and it **** doesn´t work! What the fuck is happening???????
Main
{
questname "Your First Kill"
version 1.0
}
state Begin
{
desc "Talk to Honai"
action AddNpcText(1, "Hello My name is Honai");
action AddNpcText(1, "I will teach you how to start your adventure young Kokiri");
action AddNpcText(1, "Kill one rat for me, Pressing CNTRL to kill them. ");
action AddNpcInput(1,1,"I know how to do it OK!?");
action AddNpcInput(1,2,"Ok, but I want extra exp!");
rule InputNpc(1) goto Coward
rule InputNpc(2) goto KillRat
}
state KillRat
{
desc "Kill 1 Rat"
rule KilledNpcs(2,1) goto TalkToHonai
}
state TalkToHonai
{
desc "Talk to Honai"
action AddNpcText(1, "Well Done young one. Here is your Reward!");
action AddNpcInput(1) Accept Reward
rule InputNpc(1) goto Reward
}
state Reward
{
action GiveExp(300);
action ShowHint("You have gained 300 Exp!")
action End();
}
state Coward
{
action AddNpcText(1, "ok, Good Luck, more exp for me!");
action Reset();
}
---
Nice, Get Hacked Bro.
13 years, 17 weeks ago
|
p2d2r2

Joined: 12th Feb 2011
Posts: 131
Re: Whats wrong with this quest?
Here, I fixed your quest. Also fixed some grammar.
Click -Here-
13 years, 17 weeks ago
|
Zelda
Joined: 14th Jul 2011
Posts: 520
Re: Whats wrong with this quest?
HOLY SHIT ARE YOU GOD!? Could tell me what you did so I can learn??
---
Nice, Get Hacked Bro.
13 years, 17 weeks ago
| | | | | | | | | | | | | | | |