Quest problem

08/07/2011 02:10 Staubkornツ#1
Hallo,

undzwar sollte es eine wirklich leichte Quest sein aber irgendwie will sie nicht.
Funktion:
Normalerweise sollte man das Bündel anklicken und dort wird dein mapIndex überprüft. Bist du auf einer map 1 (Blaues,Rotes,Gelbes) wirst du teleportiert.
Ist es nicht der Fall kannst du deinen Shop eröffnen.

Hier die Quest.
PHP Code:
quest shop begin
    state start begin
        when 71049.
use
            if 
pc.getcurrentmapindex(1,21,41then 
            pc
.warp(koords,koords)
        
end
    end
end 
mfg. Staubi
08/07/2011 02:12 .Wollsocke#2
Hey Staubkornツ,

melde dich mal bei der Questkontrolle, da wird dir sicherlich jemand helfen. Dafür ist sie schließlich da. -> [Only registered and activated users can see links. Click Here To Register...].

MfG.
08/07/2011 02:16 lucy08#3
Code:
quest shop begin 
    state start begin 
        when 71049.use begin
            if pc.get_map_index()==1 and pc.get_map_index()==21 and pc.get_map_index()==41 then  
                pc.warp(koords,koords)
            end
        end 
    end 
end

yes, my mistake upthere, fixed
08/07/2011 02:26 Staubkornツ#4
hm.. danke hat aber leider nicht funktioniert. es steht auch:
test.quest:8:Abort trap (core dumped)
08/07/2011 04:07 .Tolive#5
Gebe dir mal einen Tipp, schau nochmal alles genau durch. z.B. Map index, meistens reicht es wenn man ein Buchstabe/Zahl vergisst.
08/07/2011 17:53 Staubkornツ#6
irgendwie..sehe ich da keine vergessenen Zahlen,Symbole oder Buchstaben.
Sorry...entweder ich bin blind oder blind.

Mfg. Staubi
08/07/2011 18:18 √π.#7
Quote:
Originally Posted by Staubkornツ View Post
PHP Code:
quest shop begin
    state start begin
        when 71049.
use begin
            
if pc.get_map_index()==or pc.get_map_index()==21 or pc.get_map_index()==41 then 
                pc
.warp(koords 00koords 00)
                        
end
        end
    end
end 
+00 heißt soviel, dass wenn die Koords 981, 721 (BSP) wären, du 98100, 72100 eintragen musst.
08/07/2011 18:29 Staubkornツ#8
Quote:
Originally Posted by √π. View Post
+00 heißt soviel, dass wenn die Koords 981, 721 (BSP) wären, du 98100, 72100 eintragen musst.
jop danke dir. das mit dem 00 ist mir bewusst
08/07/2011 19:37 j-mäx#9
Versuchs mal mit mehreren When´s!

PHP Code:
quest shop begin
    state start begin
        when 71049.
use with pc.get_map_index() == 1 begin
            wait
()
            
pc.warp(Koords,koords)
        
end
        when 71049.
use with pc.get_map_index() == 21 begin
            wait
()
            
pc.warp(Koords,koords)
        
end
        when 71049.
use with pc.get_map_index() == 41 begin
            wait
()
            
pc.warp(Koords,Koords)
        
end
    end
end 
soo müsste es eig. klappen!
Mfg