Jump to content
  • 0

Please help me fix Mission Board Script


Question

Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...