Issue information

Issue ID
#4983
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jun 27, 2011 0:30
Last Post
Hercules Elf Bot
Mar 5, 2012 15:53
Confirmation
N/A

Hercules Elf Bot - Jun 27, 2011 0:30

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

CODE
241                                                    for( set .@i, 1; .@i <= 6; set .@i, .@i + 1 ) {
242                                                            if( instance_attachmap(.@i + "@tower", .@instance) == "" )
243                                                                    break;
244                                                    }
245                                                    if( .@i < 6 ) {
246                                                            mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
247                                                            instance_destroy(.@instance);
248                                                            close;
249                                                    }


If instance_attachmap() fails on "6@tower" it passes the reservation failed check.