Issue information

Issue ID
#2732
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Feb 1, 2009 21:00
Last Post
Hercules Elf Bot
Mar 5, 2012 9:46
Confirmation
N/A

Hercules Elf Bot - Feb 1, 2009 21:00

Originally posted by [b]Ainsel[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2732

Attachrid doesn't work with $@partymemberaid[] when it's suppose to (since attachrid works with account IDs). I get an error 'player not attached!' in my map-server when attempting to do this:

CODE
if(!getcharid(1)) end;
getpartymember(getcharid(1),2);
set @partymembercount,$@partymembercount;
copyarray @getpartymember_id[0],$@partymemberaid[0],@partymembercount;
for(set .@i,0; .@i < @partymembercount; set .@i,.@i+1) {
attachrid @getpartymember_id[.@i];
dispbottom "rid successful?";
detachrid;
}
close;
end;