Jump to content
  • 0

request to fix


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

-	script	FloatingRates	-1,{


OnHour00:
OnHour06:
OnHour12:
OnHour18:



set $@brate,20000;
set $@jrate,20000;
set $@nrate,10000;
set $@drate,10000;
//Base exp
initnpctimer;
setbattleflag("base_exp_rate",$@brate);
//Job exp
setbattleflag("job_exp_rate",$@jrate);
//Card Rate
setbattleflag("item_rate_common",$@drate);
setbattleflag("item_rate_heal",$@drate);
setbattleflag("item_rate_use",$@drate);
setbattleflag("item_rate_equip",$@drate);
setbattleflag("item_rate_card",$@nrate);
//we don't change card drops rate, because these values won't change them anyway
atcommand "@reloadmobdb";
announce "Server: Exp and Drop rate Increase Current Rate: 200.0x/200.0x/100.0x Enjoy",0;
close;
//=================================================================
OnTimer7200000: // after two hours it will reset back to default
//Base exp
setbattleflag("base_exp_rate",15000); // Change all these to your default timers
//Job exp
setbattleflag("job_exp_rate",15000);
//Card Drop Rate
setbattleflag("item_rate_card",5000);
setbattleflag("item_rate_common",5000);
setbattleflag("item_rate_heal",5000);
setbattleflag("item_rate_use",5000);
setbattleflag("item_rate_equip",5000);

atcommand "@reloadmobdb";
stopnpctimer;
announce "Server: Exp and Drop rate Event End",0;
end;

}

 

 

hi guys im have a problem with this script and giving me error when the events trigger

 

 

aaaa-2_zps60a40c00.jpg

 

 

kindly please help me thanks a lot in advance

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

hmm. try to remove the @ on $@
 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

i think not when i remove it rates didnt trigger.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

change close to end

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

ohh master emestry your the best. btw master how to make a rand time on that floating rates?

 

like he will trigger once a day 5 hrs of floating then end.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...