Jump to content
  • 0

Please help me fix Mission Board Script


zaruramen

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  08/27/15
  • Last Seen:  

Hello

 

I have a problem with the quest that have re-do delay. I cant pick a quest it told me "You cant pick this mission, you have mission redo delay isnt finish yet." I think the problem is at line 309-311

 

 

if ( .@redo_delay ) {
query_sql "select timestampdiff( hour, completion, now() ), unix_timestamp( date_add( completion, interval "+ .@redo_delay +" hour ) ) from player_mission where cid = "+ getcharid(0) +" order by completion desc limit 1", .@diff_delay, .@deny_time;

 

if ( .@diff_delay < .@redo_delay ){

 

anyone use this script and fixed it?


Solved

 

Change

 

 

 

if ( .@diff_delay < .@redo_delay ){

 

to

 

 

if (.@deny_time != 0) && ( .@diff_delay < .@redo_delay ){

 

for someone who got the same error with me.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...