this script is not working for some reason. Did anyone know whats the problem?
- script g_activ -1,{
OnSat1437:
query_sql "SELECT `this_week` FROM `char` WHERE `account_id` = " + getcharid(3) + "", .@this_week;
query_sql"UPDATE `char` SET `last_week` = "+.@this_week+" WHERE `account_id` = " + getcharid(3);
query_sql"UPDATE `char` SET `this_week` = 0 WHERE `account_id` = " + getcharid(3);
}
Error:
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: getcharid (1 parameter):
[Debug]: Data: number value=3
[Debug]: Source (NPC): g_activ (invisible/not on a map)
Question
Vincent
Hello,
this script is not working for some reason. Did anyone know whats the problem?
Error:
Link to comment
Share on other sites
4 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.