Jump to content
Lumba

script fehler

Recommended Posts

Hallo, 

 

ich habe ein Problem und zwar wenn ich das ( Talon = 1 ) setzte in case1: setzt er die Quest nicht fort und ich kriege eine Meldung set not variable.

Könnte mir evt. einer weiterhelfen?

izlude,118,178,4	script	Talon	468,{
	set [email protected]$, "[^0101DF Talon ^000000]";
			
			if (Talon == 1) {
				if (countitem(4001) == 0 || countitem(4003) == 0) {
				mes [email protected]$;
				mes "Du hast noch nicht alles.";
				close;
			}
			mes [email protected]$;
			mes "Ah, du hast ja alles dabei, hier ist dann deine Belohnung.";
			delitem 4001,1;
			delitem 4003,1;
			getitem 1290,1;
			next;
			mes [email protected]$;
			mes "Such jetzt Harald in Prontera.";
			Talon = 0;
			close;
		}
		mes [email protected]$;
			mes "Ich bin Talon, was führt dich zu mir mein Freund.";
				switch(select("Ich suche MoMa:Ahhh, nichts:Cancel")) {
					case 1:
					next;
						mes [email protected]$;
						mes "MoMa ist ein Schwert. Wenn du willst kann ich es dir Herstellen.";
							switch(select("Was brauchst du dafür?:Irgendwann mal:Cancel")) {
								case 1:
									Talon = 1;
									next;
									mes [email protected]$;
									mes "Ich brauche dann";
									mes "[1x Poring  Card]";
									mes "[1x Puppa Card]";
									mes "Wenn du alles hast dann komm wieder.";
									close;
								case 2:
									next;
									mes [email protected]$;
									mes "Dann komm nochmal wieder.";
									close;
								case 3:
								close;
							}
					case 2:
						next;
						mes [email protected]$;
						mes "Dann Wünsche ich dir was.";
						close;
					case 3:
					close;
				}
				
		
}		
Link to comment
Share on other sites

Da gibt's jetzt 2 Möglichkeiten, was mir einfallen:

1: Deine rAthena Revision ist nicht auf den neuesten Stand, welche "set" nicht mehr benötigt.

2: alternativ kannst du es wie es vorher war mit "set Talon,1;" versuchen statt "Talon = 1;" als Beispiel.

Wenn jemand eine andere Lösung hat, lass ich mich gerne belehren .

Lg,

Chris

Link to comment
Share on other sites

Hat sich alles geklärt, den Namen "Talon" hat er nicht akzeptiert. Ich habe ihn durch einen anderen Namen ersetzt und es funktioniert wieder.   

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.