Hercules Elf Bot - Jan 11, 2012 19:51
					
				
				
					Originally posted by [b]Faluk[/b]
Hi,
I dont know the reason, but the Airship Izlude-Rachel script stops working when the invasion must start. The monsters dont appear and the script completly stops.
I checked it in a normal way (waiting) and modifiying the code to launch the monsters always.
Thank you!
				
							 
									
				
					
						Hercules Elf Bot - Jan 22, 2012 20:54
					
				
				
					Originally posted by [b]Vali[/b]
Just installed rAthena in a new machine and the problem still happens.
				
							 
									
				
					
						Hercules Elf Bot - Jan 23, 2012 10:24
					
				
				
					Originally posted by [b]DeePee[/b]
This is caused by the variable changes in airships.txt
[code]
    set .mobinv, .mobinv+1;
    if(.mobinv >= 9 && rand(1,3) == 3) {
        stopnpctimer;
        enablenpc "Airship#airplane02";
        donpcevent "Airship#airplane02::OnInvasion";
    }
    mapannounce "airplane_01","We are heading to Izlude.",bc_map,0x00FF00;
    end;
[/code]
.mobinv was $@mobinv before.
Airship#airplane02::OnInvasion can be found in quests/quests_airship.txt.
That label starts with:
[code]
OnInvasion:
while($@mobinv >= 9 && $@mobrand == 3)
{
[/code]
With that variable changed to an NPC variable, the invasion no longer works and halts the script.
				
							 
									
				
					
						Hercules Elf Bot - Jan 23, 2012 18:27
					
				
				
					Originally posted by [b]Slim[/b]
[b]Fixed[/b] in [url="http://sourceforge.net/apps/trac/rathena/changeset/15512/"]r15512[/url]