Issue information

Issue ID
#4163
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Apr 2, 2010 5:54
Last Post
Hercules Elf Bot
Mar 5, 2012 15:03
Confirmation
N/A

Hercules Elf Bot - Apr 2, 2010 5:54

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

Hi. On the Koshei The Inmortal in the part when yo can use the npc Baba Yaga to make Condensed potions we have detected that the npc crash; meaby is by this:

Here is the part when yo input the quantity
CODE
input .@input;


But later on the script:

CODE
if (.@input$ == 0) {
                                                        mes "[Baba Yaga]";
                                                        mes "You don't want it?";
                                                        next;
                                                        mes "[Baba Yaga]";
                                                        mes "I don't understand you. What do you want? Kehehehehe.";
                                                        close;
                                                }
                                                else if (.@input$ > 100) {
                                                        mes "[Baba Yaga]";
                                                        mes "I said no more then 100 at a time. Kehehehehe.";
                                                        next;
                                                }
                                                else {

The scrip use an alphanumeric check ( @input$) so it must be only like this @input

Thnx.