Page 1 of 1

Problem with Hasan

Posted: 18 May 2012, 10:28
by draft
Ahoi,
My Problem is that Hasan seems to be bugged. I talked to the Girl and Kaan and found out he is afraid of Scorpions. Kaan has a plan and i can select the option to scratch my head so Kaan can throw a scorpion at Hasan when i stand next to him. When i select that option i get this Message:
Image

Other Players seem to have the same problem. I tried leveling up, level 7 atm. I tried reconnecting. I tried talking to all NPC's again.
Nothing could help me so far.

Any ideas or suggestions?

edit: sorry for not posting in the feedback section, hope this isnt against a rule or smthn ^^

Re: Problem with Hasan

Posted: 18 May 2012, 11:22
by Jenalya
Hello, thanks for the report!
I just looked in the script, found the problem, fixed it and asked for a restart. So as soon as someone of the admins gets available, you'll be able to finish the tutorial. Sorry for the trouble. :|

For everyone interested to know about the bug, when someone logged out right before that close2 in that code snippet, the NPC got blocked, but the timer which would unblock it again when the player logs out or a certain time has passed, wasn't started:

Code: Select all

    mes "While you're scratching your head, you see Kaan coming nearer to the cliff above you.";
    set $@ScorpionTimer, 0;
    set $@ScorpionFighter, getcharid(3);
    set $@ScorpDeath, PC_DIE_COUNTER;
    // close2 blocks
    close2;
    monster "042-1.gat",110,70,"Scorpion",1003,1, "Hasan::onScorpionDeath";
    initnpctimer;
    end;
To fix it I moved the close2 above the part where the variables are set: https://github.com/themanaworld/tmwa-se ... 7dc60d5c03

Re: Problem with Hasan

Posted: 18 May 2012, 11:57
by draft
Great, thank you!