Since r15503, rAthena no longer supports TXT save engine, which I think trunk\logs is no longer needed as well. Logs (picklog/atcommandlog/etc...) that generated into the logs folder is in a huge huge mess (so-not-organized). You'd spend hours and days searching for something in those files, especially when you're using it in your productive servers (test server doesn't seems to be easy also).
You should use string variable for username.
input .@input2$;
query_sql("SELECT `account_id` FROM `login` WHERE `userid`='"+escape_sql(.@input2$)+"' LIMIT 1", .@aid);
mes "Account ID: "+.@aid;
close;
Are you trying to obtain the value of the variable or just the variable itself?
input .@input;
query_sql("SELECT `value` FROM `global_reg_value` WHERE `account_id` ="+.@input+" AND `str`='#2ndpas$' LIMIT 1", .@value$);
mes .@value$;
It should automatically clear up the room.
// if the room left empty for # minutes, will be treat as give up the room. Do Not set this as 0
set .nobodygiveup, 5;
And, don't forget to change:
getmapmobs("this")
to:
mobcount("this","all")
Probably you have NPCs with the same name.
http://upaste.me/58fd957ade0615f
If its still the same, try the default one.
https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/events/disguise.txt
Edit the part where I commented.
<header>,{
OnNPCKillEvent:
set @monstercount,@monstercount+1;
if (@monstercount >= 30) {
// Check Bot
}
end;
}
IMO, this will be very interrupting.