I modified the script of this npc described in this topic:
In addition to the choice of the percentage of Base and Job EXP, now the NPC also asks you how many hours you want the event to be active, also notifies with an announcement (in addition to the global one at the start of the event) all the players who enter at a later time if the event has already started so that they are informed of the active event in progress.
Everything seems to be working well but the problem is that I think the timer is linked to the GM that triggers the event and not to the NPC, because if the GM remains connected in the game, the event starts and ends regularly at the set times, but if the GM will start the Happy Hour EXP and then exit the game, the event never stops.
Can anyone help me and debug it?
Question
CyberDevil
Hi,
I modified the script of this npc described in this topic:
In addition to the choice of the percentage of Base and Job EXP, now the NPC also asks you how many hours you want the event to be active, also notifies with an announcement (in addition to the global one at the start of the event) all the players who enter at a later time if the event has already started so that they are informed of the active event in progress.
Everything seems to be working well but the problem is that I think the timer is linked to the GM that triggers the event and not to the NPC, because if the GM remains connected in the game, the event starts and ends regularly at the set times, but if the GM will start the Happy Hour EXP and then exit the game, the event never stops.
Can anyone help me and debug it?
happy_hour_npc.txt
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.