Issue information

Issue ID
#6611
Status
Invalid
Severity
None
Started
Hercules Elf Bot
Sep 3, 2012 4:00
Last Post
Hercules Elf Bot
Sep 3, 2012 11:31
Confirmation
Yes (0)
No (1)

Hercules Elf Bot - Sep 3, 2012 4:00

Originally posted by [b]peopleperson49[/b]
The knight quest mob count is off for non-RE. It says MyMobs,12; and there are only 4 mobs there with nowhere to spawn more. So when you kill those 4 mobs it does not carry out the OnMyMobDead part that checks MyMobs<1. Its pretty much the same with all three sets of monsters.

[CODE]
OnEnable:
enablenpc "Knight1";
if (!checkre(0)) {
set .MyMobs,12;
monster "job_knt",39,150,"Dustiness",1114,1,"Knight1::OnMyMobDead";
monster "job_knt",47,150,"Dustiness",1114,1,"Knight1::OnMyMobDead";
monster "job_knt",39,142,"Dustiness",1114,1,"Knight1::OnMyMobDead";
monster "job_knt",47,142,"Dustiness",1114,1,"Knight1::OnMyMobDead";
}
else
set .MyMobs,8;
monster "job_knt",43,137,"Piere",1160,1,"Knight1::OnMyMobDead";
monster "job_knt",43,137,"Andre",1095,1,"Knight1::OnMyMobDead";
monster "job_knt",43,137,"Deniro",1105,1,"Knight1::OnMyMobDead";
monster "job_knt",43,155,"Piere",1160,1,"Knight1::OnMyMobDead";
monster "job_knt",43,155,"Andre",1095,1,"Knight1::OnMyMobDead";
monster "job_knt",43,155,"Deniro",1105,1,"Knight1::OnMyMobDead";
monster "job_knt",35,146,"Argos",1100,1,"Knight1::OnMyMobDead";
monster "job_knt",52,146,"Argos",1100,1,"Knight1::OnMyMobDead";
initnpctimer;
end;
OnDisable:
killmonster "job_knt", "Knight1::OnMyMobDead";
disablenpc "Knight1";
end;
OnMyMobDead:
set .MyMobs,.MyMobs-1;
if (.MyMobs < 1) {
mes "[Sir Windsor]";
mes "...";
next;
mes "[Sir Windsor]";
mes "...On to";
mes "the next level.";
close2;
warp "job_knt",43,52;
donpcevent "Knight1::OnDisable";
donpcevent "Knight2::OnEnable";
stopnpctimer;
}
end;
[/CODE]

Hercules Elf Bot - Sep 3, 2012 11:31

Originally posted by [b]Joseph[/b]
Look carefully, the 4 Dustiness was removed in renewal mode. Hence, you'll get the 12 when you add the following 8 mobs.

Changing status to invalid.

This post has been edited by Joseph on Sep 3, 2012 11:31