Jump to content
  • 0
Sign in to follow this  
Outfox

daily quest

Question

Please help me to fix this script of daily quest

 

[Error run_script: infinity loop !
[debug] Source (NPC): Daily QuestItem Changer (invisible/not on a map)

daily.txt

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

OMG I haven't seen a more poorly done script in years.

 

For your infinity loop, simply change this:

- script DailyQuestItemChanger -1,{

OnInit

Start

set $QuestItem1, rand(701,1065);

set $QuestItem1HM, rand(1,200);

set $QuestItem2, rand(701,1065);

set $QuestItem2HM, rand(1,150);

set $QuestItem3, rand(701,1065);

set $QuestItem3HM, rand(1,50);

set $DailyQuestsToday,0;

OnHour24

set $QuestItem1, rand(701,1065);

set $QuestItem1HM, rand(1,200);

set $QuestItem2, rand(701,1065);

set $QuestItem2HM, rand(1,150);

set $QuestItem3, rand(701,1065);

set $QuestItem3HM, rand(1,50);

set $DailyQuestToday,0;

goto Start;

end;

}

 

To this:

 

To this:

-  script  DailyQuestItemChanger  -1,{

 OnInit:

 OnHour24:

 set $QuestItem1, rand(701,1065);

 set $QuestItem1HM, rand(1,200);

 set $QuestItem2, rand(701,1065);

 set $QuestItem2HM, rand(1,150);

 set $QuestItem3, rand(701,1065);

 set $QuestItem3HM, rand(1,50);

 set $DailyQuestToday,0;

 end;

}

 

I hope this helps you.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.