from mob drop ...
if you are tracing the GM to give item to players...there are much more work you gonna do ..
check at picklog for "drop/pick" which given by "player/npc" then check the time it drop...what is dropped..who picked..who dropped....and lots more. .. ==''
just one simple thing ..
why would you give the @item commands if you dont trust your staff ....just simply remove it
@kill command doesnt check for GM Level ...
if you want to perform gm group id checking..
if( pc_get_group_level(pl_sd) > pc_get_group_level(sd) ){
clif_displaymessage(fd, "You cant kill higher group id GM." );
return 0;
}
$query = "SELECT name, master FROM {$session->loginAthenaGroup->loginDatabase}.guild WHERE guild_id = ? ";
hmm ?? guild_id = ?
pick entry based on "unknown" guild_id ??
make sure you bind it / declared it somewhere... before you fetch all the data.
................
first post , you dont have the column ...
second post , .. you have that column ...
==''
you loaded it twice ?? or you actually have it since the beginning..
or you using wrong database ??
I think you should use .@char_id ...
your .char_id will be overwrite by other character if they logout at the same time.
ensure your server have the privilege to delete data from your table.
the item is generated by script...not "drop" by monster ... @alootid only loot item that drop by monster itself...
other than this....erm...
you can use bindatcmd to do some trick to make it work ..
assign a temporary variable when they used @alootid ...
then...when killed a monster..check for the variable..
if true...then use getitem ...
else.... then use makeitem ..
you can use older client which revert back to the old hallucination effect.
or
tick this option to disable the client from displaying the effect
Disable Hallucination Wavy Screen
or..
just type /effect ...i think this work to remove the effect.
by default you cant display any refine value at shop.
anyway if you want..you can try find the source mod made by Epoque back in eathena ...
not sure if it's still compatible with latest rA or not.
try this
src/map/script.c#L11520
if(!sd || sd->bl.m != m)
return 0;
add below
if( pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) return 0;
every user that have this permission will not warped out by the maprespawnguildid
you cant really determine if they are GM or not using source since we are now using Group ID..