Aaeria Posted June 23, 2017 Posted June 23, 2017 (edited) Not exactly sure what's up, I'm new to scripting Edit: Solved. If someone got same error, you need to uncomment a function at the top. Sorry, I missed it. feel dumb now haha Edited June 23, 2017 by Aaeria Solved Quote
0 Deleted User Posted June 23, 2017 Posted June 23, 2017 20 minutes ago, Aaeria said: Not exactly sure what's up, I'm new to scripting I don't know what is epoch_time probably its Time2Str dispbottom "[EXP Reset System]: You have accumulated "+ F_InstertComma( #EXP_RESET_BASE ) +" / "+ F_InsertComma( #EXP_RESET_JOB) +" EXP. ("+ epoch_time( .@gettimetick) +")"; Try this one. Quote
0 Aaeria Posted June 23, 2017 Author Posted June 23, 2017 (edited) Still got the same error, weird ;| edit: Emistry is the creator of this script Edited June 23, 2017 by Aaeria Quote
0 Deleted User Posted June 23, 2017 Posted June 23, 2017 (edited) 25 minutes ago, Aaeria said: Still got the same error, weird ;| edit: Emistry is the creator of this script can you post the error pls? Try this: dispbottom "[EXP Reset System]: You have accumulated "+ F_InstertComma( #EXP_RESET_BASE ) +" / "+ F_InsertComma( #EXP_RESET_JOB) +" EXP: "+ epoch_time( .@gettimetick ); Edited June 23, 2017 by Kaze Quote
0 Aaeria Posted June 23, 2017 Author Posted June 23, 2017 Same error, :| Sorry I don't think I can, this is a paid script. I also notified Emistry of this topic Quote
0 Deleted User Posted June 23, 2017 Posted June 23, 2017 4 minutes ago, Aaeria said: Same error, :| Sorry I don't think I can, this is a paid script. I also notified Emistry of this topic I'm sorry, I cannot help you with this without the whole script that I can take a looked. does EXP_RESET_BASE is a functions or something? Quote
0 Emistry Posted June 24, 2017 Posted June 24, 2017 (edited) 20 hours ago, Aaeria said: I also notified Emistry of this topic Next time, kindly drop a PM in forum instead. Add the missing function ... function script epoch_time { .@time = getarg(0); .@hour = ( .@time / 3600 ); .@min = ( .@time % 3600 ) / 60 ; .@sec = ( ( .@time % 3600 ) % 60 ) % 60; return sprintf( "%02d:%02d:%02d",.@hour,.@min,.@sec ); } I added all these on top of each script that needed it most of the time. Edited June 24, 2017 by Emistry Quote
Question
Aaeria
Not exactly sure what's up, I'm new to scripting
Edit: Solved. If someone got same error, you need to uncomment a function at the top. Sorry, I missed it. feel dumb now haha
Edited by AaeriaSolved
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.