Aaeria Posted June 23, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 06/02/17 Last Seen: April 15, 2018 Share 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 Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 23, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share 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 Link to comment Share on other sites More sharing options...
0 Aaeria Posted June 23, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 06/02/17 Last Seen: April 15, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 23, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share 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 Link to comment Share on other sites More sharing options...
0 Aaeria Posted June 23, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 06/02/17 Last Seen: April 15, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 23, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted June 24, 2017 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.