EOSERV Forum > EOSERV > EO+ Quest Guide
Topic is locked.
Page: << 1 2 3 >>
EO+ Quest Guide
Author Message
Post #45735 Re: EO+ Quest Guide
Addison posted: (2nd Aug 2010 06:29 pm)

You forgot your \ character for when you use ' or " in parantheses. Please read the guide Apollo made.


I am too hasty xD Okay, thanks fixed it, I had "Won't" and added \ before ', and it started to work!


=)

---
Eoserv classes: Forum ghost, test player, ex-server owner, TOP 50, mapper & an
oldbie
14 years, 39 weeks ago
Post #45745 Re: EO+ Quest Guide
Nirion posted: (2nd Aug 2010 06:33 pm)

Septharoth posted: (2nd Aug 2010 04:28 pm)

Apollo, I know how the quest system works pretty well, so if you want you can direct people to me when they can't understand your guide. xD

I noticed WHY your quest didn't work.. simply because you didn't end it after the warp.  Remember to ALWAYS use  action End(); or action Reset(); after you're done the quest, and I'd say debug it a few times as well, it helps a lot.  When I wrote my first quest, I made it makemekill3piggies in newbland, then gave me 10k exp, made it warp me to aeven, kill 3 sheep, then warp me to hell and walk to apo's room, in front of the books, then gave me 10k exp again, then I made it make me kill 10 gnomes and rewarded myself with a lens of truth, everything worked.  Iforgottoputaction End(); and it fucked up ;P  It's an important thing to do, at the end of a quest add: action Reset(); <-- for Repeatable Quests.  and:  action End(); <-- for Terminal Quests.

State Reward
{
desc "Go back to get your reward"
action AddNpcText(4, "You have finished the quest, choose a reward");
action AddNpcInput(4, 2, "Exp");
action AddNpcInput(4, 3, "Item");
action AddNpcInput(4, 4, "Warp");

rule InputNpc(2) goto Exp
rule InputNpc(3) goto Item
rule InputNpc(4) goto Warp
}
State Exp
{
action GiveExp(1000);
action End();
}
State Item
{
action GiveItem(541, 10);
action End();
}
State Warp
{
action SetCoord(3, 50, 50);

action End();

}

No my quest worked, thats just an example of what mine looked like ...There was a bug with warping but Addison fixed it :)

Still should try to put action Reset(); or action end(); after, after the SetCoord, it probably would crash without resetting or ending the quest. :P

14 years, 39 weeks ago
Post #45763 Re: EO+ Quest Guide

For those that "say" they understand EO+ pretty well (Seph), forgetting to use Reset() or End() will not cause the quest to crash EVER. It is only poor quest writing. There was one bug that caused a crash, and it may still if Addison didn't come up with a way to handle it. It had to do with an improper use of RemoveItem and LostItems in the same state (bad idea to remove what you are checking to have lost all in the same state, right?).

Quests can be very complex in their nature. From what I have seen of snippets people have made, they are designed very straight-forward. I may write a quest to demonstrate how cool EO+ really is. There can be a lot more quest branching, alternate rules, good rewards/bad rewards, etc... See what you can really come up with. It takes time to write a quest, and it takes a lot of time to write a good quest. :P

14 years, 39 weeks ago
Post #45887 Re: EO+ Quest Guide

Found the problem forgot to change the (1) to (17)

---
http://www.torn.com/478456
14 years, 39 weeks ago
Post #45891 Re: EO+ Quest Guide

If you use ' or " in quotes you must put a escape(\) character. There's one in begin.

---
http://www.addipop.com
14 years, 39 weeks ago
Post #46518 Re: EO+ Quest Guide

after i make a quest how to add it in server?

i mean in which folder to save the file u just made?

and do u have change code anywhere in any existing files?

14 years, 38 weeks ago
Post #46527 Re: EO+ Quest Guide

data > quests 00001.eqf

14 years, 38 weeks ago
Post #46533 Re: EO+ Quest Guide


just adding there will make it work??

no need to make any changes in source code???


14 years, 38 weeks ago
Post #46534 Re: EO+ Quest Guide
Guest posted: (15th Aug 2010 06:53 pm)

just adding there will make it work automatically???

no need to add anything in source code???


And modify amount of quests in your config.ini ('Quests' value I believe)
14 years, 38 weeks ago
Post #46535 Re: EO+ Quest Guide

thnx

14 years, 38 weeks ago
Post #46561 Re: EO+ Quest Guide
vivekagrawal57 posted: (15th Aug 2010 06:55 pm)


just adding there will make it work??

no need to make any changes in source code???


You must code in the quest reader and rules from Addison's release to begin using the EO+ system. This guide is only for servers that have added Addison's release to their own source code. Simply adding it into the data/quests folder will not accomplish anything.

14 years, 38 weeks ago
Post #47072 Re: EO+ Quest Guide

I get this


[WRN] Syntax error loading quest 1: Invalid brace: No starting brace

[WRN] Syntax error loading quest 1: Invalid brace: No starting brace

[WRN] Syntax error loading quest 1: Invalid brace: No starting brace

[WRN] Syntax error loading quest 1: Invalid brace: No starting brace

[WRN] Syntax error loading quest 1: Invalid brace: No starting brace


---
Fate-Gaming/Forgotten Memories Owner.
14 years, 36 weeks ago
Post #47088 Re: EO+ Quest Guide

There is a problem with Addison's quest handler. The file read size is smaller than the file actual size. Fear not, I plan on releasing a full build of EOSERV with every feature from EO main working within the next 2 weeks. There will also be a minor update to the EO+ guide at that time as well.

14 years, 36 weeks ago
Post #47138 Re: EO+ Quest Guide

I apologize apollo for double posting

And i fixed the error already i sorta fixed the error it was in quest.cpp

---
Fate-Gaming/Forgotten Memories Owner.
14 years, 36 weeks ago
Post #47604 Re: EO+ Quest Guide

Im sorry for posting in a Dead topic but i thought it would be better to post it here instead of making another topic over it.

I tried making a quest and i get to State KillRats and when ever i kill the 5 rats i needed to, it still just says Kill 5 Rats and never continues to the Reward. I know this quest is bad but its just a test for me.

Can anyone see why its not going to Reward? I read Apollo's guide which helped alot but cant seem to get it to complete the whole quest and i dont want to do    SetState Reward.

Main

{

questname "Test Quest"

version 1.0

}

State Begin

{

desc "Talk to Susan"

action  AddNpcText(1, "Hey there this is a Test Quest.");


rule TalkedToNpc(1) goto KillRats

}

State KillRats

{

desc "Kill 5 Rats"

action AddNpcText(1, "Kill 5 Rats.");

action AddNpcInput(1, "Ok");


rule KilledNpcs(2, 5) goto Reward

}

State Reward

{

action GiveExp(100);

action GiveItem(1, 500);

action End();

}

---
Owner of Endless Online Insanity
Looking for: 2 Artists
Darkrulerjoe
14 years, 35 weeks ago
Page: << 1 2 3 >>
Topic is locked.
EOSERV Forum > EOSERV > EO+ Quest Guide