EOSERV Forum > EOSERV > Ananas' Item related Quests (Release)
Topic is locked.
Page: << 1 2 3 >>
Ananas' Item related Quests (Release)
Author Message
Post #36744 Re: Ananas' Item related Quests (Release)

Yea theres only 1 Quest npc in the map yet still the 2 quest sorta mix up in eachother

so theres like text from the 1st quest on the 2nd one.

---
Fate-Gaming/Forgotten Memories Owner.
15 years, 21 weeks ago
Post #36748 Re: Ananas' Item related Quests (Release)

If it's Still not reading the Quest,Take out the ### you have below the rat quest and it should work fine,there's no need to have them there after each quest,So just leave a gap between and continue.

15 years, 21 weeks ago
Post #36749 Re: Ananas' Item related Quests (Release)

Ok, there should never be a quest defined by map id. Everyone needs to take a moment to look at their pub files. Each quest npc has a unique quest id. This ID is what is used to identify the npc as part of a quest. If you are using map id's, you are already on your way to being limited to 1 quest per map. If you seriously must hard code this, I can hard code the entire EO main Quest handler for you, but if you would like to wait, I have been working with Bart on finishing eoserv. We should have this ready to release before summer.

15 years, 21 weeks ago
Post #36751 Re: Ananas' Item related Quests (Release)
epicnoob posted: (2nd May 2010 11:04 pm)

I tried adding another quest but it only reads the last quest it doesnt read both quest im not sure wats wrong with it ill post the quests here


### Rat Quest ###

#

### Main Dialog Screen ###

1.mapid = 94

1.questtitle = Witch Quest

1.questptitle = Rat Murderer

1.questmmessage = Oh man... I'm in deep trouble..

### First Dialog Screen ###

1.qfmessage = Hey you! Can you help me collect 5 rat tails for the witch?

1.qfmessageoption1 = Yes sure!

1.qfmessageoption2 = Ewww.. Rats..

1.rqfmessageoption1 = Thank you! You can kill some rats here for there tails!

### Second Dialog Screen ###

1.qsmessage = Got the 5 rat tails for me?

1.aqmessageoption1 = Yes here they are!

1.aqmessageoption2 = Ehm.. I don't think so..

1.qfinishmessage = Thank you! Here take this reward!

1.qnoitemsmessage = Seems like you don't got the items..

1.raqmessageoption2 = Ok well, Come back later if you want.

### Requirements ###

1.ritemid = 249

1.ritemamount = 5

### Reward ###

1.rewardid = 1

1.rewardamount = 800

###


### Pet Quest ###

#

### Main Dialog Screen ###

1.mapid = 293

1.questtitle = Goat Pet Quest

1.questptitle = Goaty!!!!

1.questmmessage = Do u want a pet nikka?!?!?!

### First Dialog Screen ###

1.qfmessage = Hey you! Can you help me collect 100 Goat Horns Bish?!!?

1.qfmessageoption1 = Yes sure!

1.qfmessageoption2 = Ewww.. Goats...

1.rqfmessageoption1 = Thank you! You can kill some Goats for there horns!?!!?

### Second Dialog Screen ###

1.qsmessage = Got the goat horns 4 me bish???

1.aqmessageoption1 = Yes here they are!

1.aqmessageoption2 = Ehm.. I don't think so..

1.qfinishmessage = Thank you! Here take this reward!

1.qnoitemsmessage = Seems like you don't got the items..

1.raqmessageoption2 = Ok well, Come back later if you want.

### Requirements ###

1.ritemid = 258

1.ritemamount = 100

### Reward ###

1.rewardid = 617

1.rewardamount = 1

##

And on quest amount i put 2 but it only reads 1 quest


You should also make the second quest have 2's in front of it. I notice you got 1's.
---
"Pineapples and shit."
15 years, 21 weeks ago
Post #36757 Re: Ananas' Item related Quests (Release)

Edit: I did what u told me ananas but it still mixes both quest together

this is how i have it now ###500k Exp Quest ###

#

### Main Dialog Screen ###

1.mapid = 5

1.questtitle = 500k Exp Quest

1.questptitle = Im A Nub!

1.questmmessage = Oh man... I'm in deep trouble..

### First Dialog Screen ###

1.qfmessage = Hey you! Can you help me collect 250 Dragon Wings for the Prince?

1.qfmessageoption1 = Yes sure!

1.qfmessageoption2 = Ewww..Fuck Dat

1.rqfmessageoption1 = Thank you! You can kill some Dragons For there Wings

### Second Dialog Screen ###

1.qsmessage = Got Mai Shit Yet Nikka

1.aqmessageoption1 = Yes here they are!

1.aqmessageoption2 = Ehm.. I don't think so..

1.qfinishmessage = Thank you! Here take this reward!

1.qnoitemsmessage = Seems like you don't got the items..

1.raqmessageoption2 = Ok well, Come back later if you want.

### Requirements ###

1.ritemid = 470

1.ritemamount = 250

### Reward ###

1.rewardid = 614

1.rewardamount = 1


###Pet Quest###

#

### Main Dialog Screen ###

2.mapid = 293

2.questtitle = Goat Pet Quest

2.questptitle = Goaty!!!!

2.questmmessage = Do u want a pet nikka?!?!?!

### First Dialog Screen ###

2.qfmessage = Hey you! Can you help me collect 100 Goat Horns Bish?!!?

2.qfmessageoption1 = Yes sure!

2.qfmessageoption2 = Ewww.. Goats...

2.rqfmessageoption1 = Thank you! You can kill some Goats for there horns!?!!?

### Second Dialog Screen ###

2.qsmessage = Got the goat horns 4 me bish???

2.aqmessageoption1 = Yes here they are!

2.aqmessageoption2 = Ehm.. I don't think so..

2.qfinishmessage = Thank you! Here take this reward!

2.qnoitemsmessage = Seems like you don't got the items..

2.raqmessageoption2 = Ok well, Come back later if you want.

### Requirements ###

2.ritemid = 258

2.ritemamount = 100

### Reward ###

2.rewardid = 617

2.rewardamount = 1

---
Fate-Gaming/Forgotten Memories Owner.
15 years, 21 weeks ago
Post #36781 Re: Ananas' Item related Quests (Release)
Ananas posted: (3rd May 2010 06:09 am)

epicnoob posted: (2nd May 2010 11:04 pm)

I tried adding another quest but it only reads the last quest it doesnt read both quest im not sure wats wrong with it ill post the quests here


### Rat Quest ###

#

### Main Dialog Screen ###

1.mapid = 94

1.questtitle = Witch Quest

1.questptitle = Rat Murderer

1.questmmessage = Oh man... I'm in deep trouble..

### First Dialog Screen ###

1.qfmessage = Hey you! Can you help me collect 5 rat tails for the witch?

1.qfmessageoption1 = Yes sure!

1.qfmessageoption2 = Ewww.. Rats..

1.rqfmessageoption1 = Thank you! You can kill some rats here for there tails!

### Second Dialog Screen ###

1.qsmessage = Got the 5 rat tails for me?

1.aqmessageoption1 = Yes here they are!

1.aqmessageoption2 = Ehm.. I don't think so..

1.qfinishmessage = Thank you! Here take this reward!

1.qnoitemsmessage = Seems like you don't got the items..

1.raqmessageoption2 = Ok well, Come back later if you want.

### Requirements ###

1.ritemid = 249

1.ritemamount = 5

### Reward ###

1.rewardid = 1

1.rewardamount = 800

###


### Pet Quest ###

#

### Main Dialog Screen ###

1.mapid = 293

1.questtitle = Goat Pet Quest

1.questptitle = Goaty!!!!

1.questmmessage = Do u want a pet nikka?!?!?!

### First Dialog Screen ###

1.qfmessage = Hey you! Can you help me collect 100 Goat Horns Bish?!!?

1.qfmessageoption1 = Yes sure!

1.qfmessageoption2 = Ewww.. Goats...

1.rqfmessageoption1 = Thank you! You can kill some Goats for there horns!?!!?

### Second Dialog Screen ###

1.qsmessage = Got the goat horns 4 me bish???

1.aqmessageoption1 = Yes here they are!

1.aqmessageoption2 = Ehm.. I don't think so..

1.qfinishmessage = Thank you! Here take this reward!

1.qnoitemsmessage = Seems like you don't got the items..

1.raqmessageoption2 = Ok well, Come back later if you want.

### Requirements ###

1.ritemid = 258

1.ritemamount = 100

### Reward ###

1.rewardid = 617

1.rewardamount = 1

##

And on quest amount i put 2 but it only reads 1 quest


You should also make the second quest have 2's in front of it. I notice you got 1's.

i saw that too, and i was going to post, but my fucking internet crashed.
---
Create your own destiny, don't let someone else do it for you.
15 years, 21 weeks ago
Post #36937 Re: Ananas' Item related Quests (Release)

Im trying to see if theres a way to change the code so it reads npc's id not map ids as how apollo said i tried changing it around but it didnt work so i wanted to know is there a way so it wont mapids becuase the quest get all mixed up.

---
Fate-Gaming/Forgotten Memories Owner.
15 years, 21 weeks ago
Post #37830 Re: Ananas' Item related Quests (Release)

Okay so I put everything in, I compiled and got no errors.

I edited Wise Man with Pub Edit so he's a Quest NPC.

I added him to Map 1

I directed the quest map ID to 1

Started the server, logged in

Nothing pops up when I click the Wise Man

Edit:

I couldn't find line "this->formulas_config.Read(static_cast<std::string>(this->config["FormulasFile"]));"

So I put this line "this->quest_config.Read(static_cast<std::string>(this->config["QuestFile"]));" in here:

void World::Rehash()
{
    try
    {
        this->config.Read("config.ini");
        this->admin_config.Read("admin.ini");
        this->drops_config.Read(this->config["DropsFile"]);
        this->shops_config.Read(this->config["ShopsFile"]);
        this->arenas_config.Read(this->config["ArenasFile"]);
        this->formulas_config.Read(this->config["FormulasFile"]);
            this->quest_config.Read(static_cast<std::string>(this->config["QuestFile"]));
        this->home_config.Read(this->config["HomeFile"]);
    }
    catch (std::runtime_error &e)
    {
        Console::Err(e.what());
    }

Was that a mistake to do? I really can't figure it out


Thanks for reading my problem =)

---
[i]Tales of Endless Developer[/i]
15 years, 18 weeks ago
Post #54117 Re: Ananas' Item related Quests (Release)

XDDDDDDD This Isn't Noob Friendly (refferring to myself) 

---
Us people, we are strange, are we not? We deny all hatred, accept all love. But what lurks behind
each and every one of our temporary minds? The exact thing that we believe we hate.
14 years, 44 weeks ago
Page: << 1 2 3 >>
Topic is locked.
EOSERV Forum > EOSERV > Ananas' Item related Quests (Release)