script:add_word: invalid word

pidow

New member
Messages
10
Points
0
Hello,

I have an error (since i update hercule, before all works fine)

    script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.


*   65:                         if (query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 1)
 

 
I don't understand what's wrong, can you help me ?
Thx a lot !
Oups please move to script support... so sorry. miss clic.

 
Maybe post the script?

I don't see any problem in this line.

 
function    script    ControleIP    {
set .@checkip,0;
            if (query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 1)) {
                logmes "WSS: "+strcharinfo(0)+" est en double account !";
                set @fullmessage$, " est en double account !";
                callfunc "AlerteForum";
                set .@checkip,1;
                }
return .@checkip;
}
 
Sur, this is the script.

I don't understand why i have this error :/

(Thx to have moving the post
default_smile.png


 
Back
Top