Heroes MapQuest Info help

Dan1el

Dedicated Member
Dedicated Member
Apr 23, 2012
86
0
32
Hey guys i know how to get this working i have quests in place but if TWO quests/Flags contain the same mob only the ONE quest is effected untill its finished. Is there a why to get 2 or more Killquests with the same mob to update the variables?

This is anoying as i have a quest to kill 250 Omas
then another to kill 10

But the 10 Oma one wont update untill the other is finished. When i want them BOTH to update with each kill.

Any help would be thanks
 

neo16uk

LOMCN Veteran
Veteran
Aug 20, 2006
563
14
125
this is how I did it on my server :
Code:
[@MQ1P44]
#IF
CHECKNAMELIST Quests\Maps\BichonQ\RakingHookingQ.txt
#ACT
goto @MQ1P4444
#ELSESAY
Hello <$USERNAME> welcome to the beginners quest.\
To complete this quest you need to kill 25 RakingCats & HookingCats.\ \
<Start Part 4/@MQ1P444>\
<Not now thanks/@exit>
[@MQ1P444]
#ACT
ADDNAMELIST Quests\Maps\BichonQ\RakingHookingQ.txt
SET [904] 1
Var Integer Human RakingCat
Var Integer Human HookingCat
#SAY
Good luck,\
come back to me to check how many mobs you have killed.\ \
<Close/@exit>
[@MQ1P4444]
#IF
CheckVar Human RakingCat > 24
CheckVar Human HookingCat > 24
#ACT
ADDNAMELIST Quests\Maps\BichonQ\RakingHookingQD.txt
#SAY
Well done, you have killed enough mobs \
Take this reward. \ \
<Here/@MQ1R4>
#ELSESAY
Number of RakingCats killed : <$HUMAN(RakingCat)>/25 \
Number of HookingCats killed : <$HUMAN(HookingCat)>/25 \
<Back/@main1>   <Close/@exit>
[@MQ1R4]
#if
GENDER MAN
#act
Give LightArmour(M) 1
SET [903] 0
CLOSE
#elseactG
ive LightArmour(F) 1
SET [903] 0
GOTO @main
CLOSE

PS sorry about the way lomcn posted it lomcn abit **** imo changes the code cause of hash taging
 
Last edited:
Upvote 0

Dan1el

Dedicated Member
Dedicated Member
Apr 23, 2012
86
0
32
heya mate sorry think i didnt explain good though. I have two Kill quests that run through the mapquest.txt

The one has 5 different types of mobs
the second has 2 types

These quests work fine by themselfs. But each quest require to kill a Oma BUT if u have them both activated only the first quest gets updated through the mapquest. I was wondering if theres a way to have both quests update the variables once the trigger to kill the oma takes place.
 
Upvote 0

neo16uk

LOMCN Veteran
Veteran
Aug 20, 2006
563
14
125
I follow now so basicly u need to use a set / check flag

---------- Post Merged at 03:44 AM ---------- Previous Post was at 03:40 AM ----------

like this check flag for 5 files using all the same flag if they for the same quest
Code:
Like this basicly I have here 2 mobs to kill for my quest but both use the same check flag 905 but using 2 different files for the checkvar
0 [905] 1 Oma  *  OmaQ
0 [905] 1 SpittingSpider *  SPSQ
0 [904] 1 HookingCat *  HookingCatQ
0 [904] 1 RakingCat *  RakingCatQ

---------- Post Merged at 03:50 AM ---------- Previous Post was at 03:40 AM ----------

[@Attack] is the way the heroes files works soon as u hit some thing it checks what ur target is so if ur hitting an oma it would be like
but for some over files I think its [@onmobkill] or some thing like that
Code:
 [@Attack]
 #IF
 COMPARETEXT <$TARGETNAME> Oma
 #ACT
 LINEMSG 5 "You are killing an Oma."
 goto @GOTOTURNFLAGONFORQUEST
 #ELSEACT
 BREAK
 [@GOTOTURNFLAGONFORQUEST]
 #ACT
 SET [URFLAG] 1
BREAK
again this is for the heroes files but this happens once mob is dead
Code:
[@KillMon]
#IF
COMPARETEXT <$TARGETNAME> CHGRMONE
#ACT
sendmsg 6 "You have killed a challenge mob."
#ELSEACT
GOTO @KillMon1

hope this all helps and sorry admins for the triple posting :P
 
Last edited:
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
125
No, what he is saying is he has 2 different quests, both asking to kill omas. If both quests are accepted, the kill count will only count for one quest at a time instead of counting for both quests.
I have tested this and confirmed but haven't found a way around it, I guess something needs added/changed in source code.
 
Upvote 0

neo16uk

LOMCN Veteran
Veteran
Aug 20, 2006
563
14
125
I see so two quest asking to kill 2 sets of mobs at the same time you could rename the mob to oma1 and oma2
 
Upvote 0

Dan1el

Dedicated Member
Dedicated Member
Apr 23, 2012
86
0
32
ye u could but then ud have to spawn to many mobs to compensate :( think ill have to just make do with them having to finish the quest first i cant think of a way around it grr lol
 
Upvote 0