Originally posted by [b]Yonimelavo[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1798
[codebox]
CODE
lhz_cube,224,197,0 script Experiment Tube#cube 111,{
if (@lhz_secret01 < 8) {
mes "^3355FFYou find a strange";
mes "tube that seems to";
mes "contain something.";
mes "Underneath the tube is";
mes "a thin plate with a keyhole";
mes "and a card insertion slot.^000000";
next;
input .@input$;
mes "^3355FFNothing happened.";
mes "You'll probably need";
mes "to find the right key for";
mes "the keyhole and the correct";
mes "card to insert into the slot.^000000";
close;
}
...
else {
if (lhz_sincube == 10) {
mes "^3355FFThere is a narrow,";
mes "rectangular card slot";
mes "in front of the tube.^000000";
next;
input .@input$;
if (.@input$ == "Laboratory Permit") {
if (countitem(2657) == 1) {
//Warp to the tube
...
[/codebox]
If you relog without writting that name, @lhz_secret01 is set to 0, because the @-vars are cleaned by the emulator. When you're back, the quest is bugged because of this.
Another thing, if you go with 2 or more Laboratory Permits in your inventory, you can't enter to the tube, altought you have the permit. For this: if (countitem(2657) == 1) -> if (countitem(2657))