Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 00:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[SERVICE] Die Questkontrolle

Discussion on [SERVICE] Die Questkontrolle within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old 05/01/2014, 16:05   #10126
 
elite*gold: 0
Join Date: Aug 2011
Posts: 8
Received Thanks: 0
Kann mir einer bitte helfen ? Warpring Quest Problem

PHP Code:
quest warpring begin 
    state start begin 
        when 70007.
use begin 
            local x 
            local y 
            local t 
            local e 
pc.get_empire() 
            
say_title("Warpring"
            
say("Wohin möchtest du teleporiert werden?"
            
local s select("Reich""Tal von Seungryong""Yongbi-Wueste""Berg Sohan""Feuerland""Weiter""Abbrechen"
            if 
s==6 then 
                say_title
("Warpring"
                
say("Wohin möchtest du teleporiert werden?"
                
local p select("Metin Map""Dämonenturm""Spinnendungoen""Geisterwald""Roter Wald""Grotte der Verbannung""Abbrechen"
                if 
p==1 then 
                    
if e==1 then 
                        x
="128500" 
                        
y="1000"                         
                    
elseif e==2 then 
                        x
="179500" 
                        
y="1000" 
                    
elseif e==3 then 
                        x
="271800" 
                        
y="13000" 
                    
end 
                
elseif p==2 then 
                    x
="590400" 
                    
y="110500" 
                
elseif p==3 then 
                    x
="91900" 
                    
y="525400" 
                
elseif p==4 then 
                    x
="289000" 
                    
y="5800" 
                
elseif p==5 then 
                    say_title
("Warpring"
                    
say("Wohin möchtest du teleporiert werden?"
                    
select("Anfang""Ende""Abbrechen"
                    if 
t==1 then 
                        x
="1119900" 
                        
y="70800" 
                    
elseif t==2 then 
                        x
="1119200" 
                        
y="7000" 
                    
end 
                end 
                
elseif p==6 then 
                    x
="284200" 
                    
y="809600" 
                
end 
            
elseif s==1 then 
                say_title
("Warpring"
                
say("Wohin möchtest du teleporiert werden?"
                
select("Map1 Blau""Map2 Blau""Map1 Rot""Map2 Rot""Map1 Gelb""Map2 Gelb""Abbrechen"
                if 
t==1 then 
                    x
="959600" 
                    
y="269700" 
                
elseif t==2 then 
                    x
="863800" 
                    
y="246000" 
                
elseif t==3 then 
                    x
="473900" 
                    
y="954600" 
                
elseif t==4 then 
                    x
="352300" 
                    
y="882700" 
                
elseif t==5 then 
                    x
="63200" 
                    
y="166700" 
                
elseif t==6 then 
                    x
="145700" 
                    
y="239800" 
                
end 
            
elseif s==2 then 
                say_title
("Warpring"
                
say("Wohin möchtest du teleporiert werden?"
                
select("Anfang""Mitte""Rek-Wiese""Abbrechen"
                if 
t==1 then 
                    
if e==1 then 
                        x
="402100" 
                        
y="673900"                         
                    
elseif e==2 then 
                        x
="270400" 
                        
y="739900" 
                    
elseif e==3 then 
                        x
="321300" 
                        
y="808000" 
                    
end 
                
elseif t==2 then 
                    x
="332700" 
                    
y="745600" 
                
elseif t==3 then 
                    x
="282800" 
                    
y="792800" 
                
end 
            
elseif s==3 then 
                say_title
("Warpring"
                
say("Wohin möchtest du teleporiert werden?"
                
select("Anfang""Mitte""Abbrechen"
                if 
t==1 then 
                    
if e==1 then 
                        x
="217800" 
                        
y="627200"                         
                    
elseif e==2 then 
                        x
="221900" 
                        
y="502700" 
                    
elseif e==3 then 
                        x
="344000" 
                        
y="502500" 
                    
end 
                
elseif t==2 then 
                    x
="296300" 
                    
y="547500" 
                
end 
            
elseif s==4 then 
                say_title
("Warpring"
                
say("Wohin möchtest du teleporiert werden?"
                
select("Anfang""Mitte""Abbrechen"
                if 
t==1 then 
                    
if e==1 then 
                        x
="434200" 
                        
y="290600"                         
                    
elseif e==2 then 
                        x
="375200" 
                        
y="174900" 
                    
elseif e==3 then 
                        x
="491800" 
                        
y="173600" 
                    
end 
                
elseif t==2 then 
                    x
="436200" 
                    
y="215300" 
                
end 
            
elseif p==5 then 
                say_title
("Warpring"
                
say("Wohin möchtest du teleporiert werden?"
                
select("Anfang""Teleporter""Abbrechen"
                if 
t==1 then 
                    
if e==1 then 
                        x
="599400" 
                        
y="756300"                         
                    
elseif e==2 then 
                        x
="597800" 
                        
y="622200" 
                    
elseif e==3 then 
                        x
="730700" 
                        
y="689800" 
                    
end 
                
elseif t==2 then 
                    x
="600500" 
                    
y="687400"     
                
end     
            end 
        end 
    end 
end 
Und es kommt immer ein Fehler in Virtual Box:

syntax error : [string "start"]:48 <eof> expected near `elseif´
warpring.quest:153:Error occured on compile warpring.quest
PvPBombBorz is offline  
Old 05/01/2014, 21:08   #10127
 
elite*gold: 0
Join Date: Aug 2013
Posts: 301
Received Thanks: 88
Hallöchen.

Ich habe zwar keinen Fehler in der Quest aber ich würde gerne son Zeit teil rein haben haha ^^

Könnte einer von euch netterweise ein zeitlimit von 15minuten dort rein setzen?
Und wenn man es nicht innerhalb dieser zeit geschafft hat, das man die Quest so oft wies sein muss, wiederholen kann?

Wäre unglaublich nett

Die Quest:
©Fitchi is offline  
Old 05/02/2014, 02:20   #10128

 
elite*gold: 150
The Black Market: 147/0/0
Join Date: Jan 2014
Posts: 11,338
Received Thanks: 3,780
Könnte mir wer die Map1/Map2/SDs/Grotten untersortieren? Danke
PHP Code:
quest warpring1 begin
    state start begin
        when 70007.
use begin
            local s 
select("Gelbes Reich (Map1)""Rotes Reich (Map1)""Blaues Reich (Map1)""Gelbes Reich (Map2)""Rotes Reich (Map2)""Blaues Reich (Map2)""Orktal""Schließen""Wüste""Eisland""Feuerland""Dämonenturm""Geisterwald""Roter Wald""Land der Riesen""Schließen""Spinnendungeon""Spinnendungeon 2""Spinnendungeon 3""Spinnendungeon Bosskammer""Grotte der Verbannung""Grotte der Verbannung 2""Schließen")
            if 
s==1 then
                pc
.warp(63800166400)
            
end
            
if s==2 then
                pc
.warp(474300954800)
            
end
            
if s==3 then
                pc
.warp(959900269200)
            
end
            
if s==4 then
            pc
.warp(145500240000)
            
end
            
if s==5 then
            pc
.warp(353100882900)
            
end
            
if s==6 then
            pc
.warp(863900246000)
            
end
            
if s==7 then
            pc
.warp(332800745600)
            
end
            
if s==8 then
                
return
            
end    
            
if s==9 then
            pc
.warp(296800547100)
            
end
            
if s==10 then
            pc
.warp(436500215400)
            
end
            
if s==11 then
            pc
.warp(600800687100)
            
end
            
if s==12 then
            pc
.warp(590500110800)
            
end
            
if s==13 then
            pc
.warp(28640044200)
            
end
            
if s==14 then
            pc
.warp(1119900,70800)
            
end
            
if s==15 then
            pc
.warp(845100,745900)
            
end
            
if s==16 then
                
return
            
end    
            
if s==17 then
            pc
.warp(91700525300)
            
end
            
if s==18 then
            pc
.warp(703800462500)
            
end
            
if s==19 then
            pc
.warp(95900571000)
            
end
            
if s==20 then
            pc
.warp(88266617463)
            
end
            
if s==21 then
            pc
.warp(100001214200)
            
end
            
if s==22 then
            pc
.warp(2418001275000)
            
end
            
if s==23 then
                
return
            
end    
        end
    end
end 
Shigatu is offline  
Old 05/02/2014, 11:14   #10129
 
elite*gold: 85
Join Date: Jan 2014
Posts: 26
Received Thanks: 1
PHP Code:
quest slot2 begin
    state start begin
        when 20353.chat
."Slot Maschine" begin
    say 
"Salut Croatul" 
    
say "Doresti sa joci la casino?" 
    
say "Poti castiga premii mari" 
    
say_reward "Fiecare runda costa 25kk" 
    
say "" 
    
say "Vrei sa joci?" 
    
local s select "Da" "Nu" 
            if 
== 2 then 
            say 
"Am inteles .. jocurile de noroc nu sunt pentru tine." 
            return 
                
end 
            
if pc count_item 19 ) > 0 then 
                say 
"Nu ai destul yang!" 
                
say "" 
                
say "Intoarcete cand ai Sabie 19" 
                return 
                
end 
                pc 
remove_item 19 )  
                
say_item "." "" 
                
say_item "." "" 
                
say_item "." "" 
                
say_reward "Incepem?!" 
                
local option select "Da" "Nu" 
                if 
option == 2 then 
                
return 
                
end 
                pc 
remove_item 19 )  
                
local s number 27802 27823 
                
local m number 27802 27823 
                
local l number 27802 27823 
                
say_title "Alege un peste" 
                
say_item "." "" 
                
say_item "." "" 
                
say_item "." "" 
                
local cambia select "Peste 1" "Peste 2" "Peste 3" "Anuleza" 
                    if 
cambia == 1 then 
                    local m 
number 27802 27823 
                    
local l number 27802 27823 
                    
say_item "." "" 
                    
say_item "." "" 
                    
say_item "." "" 
                    if 
== == l then 
                        say 
"Felicitari! Ati castigat 300kk yang" 
                        
pc change_gold 3e+08 
                        
notice_all "---> " .. pc get_name ( ) .. " a castigat 300kk yang! <---" 
                        
end 
                    
if == m then 
                        say 
"Felicitari! Ai castigat 150kk yang" 
                        
pc change_gold 1e+08 
                        
notice_all "---> " .. pc get_name ( ) .. " a castigat 100kk yang! <---" 
                        
end 
                    
if == l then 
                        say 
"Felicitari! Ati castigat iteme upp." 
                        
pc give_item2 124400 
                        
pc give_item2 70023 
                        
pc give_item2 90000 15 
                        
notice_all "---> " .. pc get_name ( ) .. " a castigat iteme up!<---" 
                        
end 
                    
if == l then 
                        say 
"Felicitari! Ati castigat iteme upp." 
                        
pc give_item2 124400 
                        
pc give_item2 70023 
                        
pc give_item2 90000 15 
                        
notice_all "---> " .. pc get_name ( ) .. " a castigat iteme up!<---" 
                        
end 
                    
if == 27822 and 
                    
== 27822 and 
                    
== 27822 then 
            say 
"Felicitari! Ati castigat yang" 
            
pc give_item2 "81013" 
            
pc give_item2 "81013" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat 1kkk yang <---" 
            
end 
            
if == 27816 and 
            
== 27816 and 
            
== 27816 then 
            say 
"Felicitari! Ai castigat 35 bastoane!" 
            
pc give_item2 "70023" 35 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat 35 de bastoane! <---" 
            
end 
            
if == 30047 and 
            
== 30047 and 
            
== 30047 then 
            say 
"Felicitari! Ai castigat Harta comorii" 
            
pc give_item2 "27988" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Harta comorii! <---" 
            
end 
            
if == 30050 and 
            
== 30050 and 
            
== 30050 then 
            say 
"Felicitari! Ai castigat inel exp 10ore." 
            
pc give_item2 "72001" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat inel exp 10h! <---" 
            
end 
            
if == 30021 and 
            
== 30021 and 
            
== 30021 then 
            say 
"Felicitari!!Ai castigat Sabie Lunara +9." 
            
pc give_item2 "229" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Sabie Lunara +9 <---" 
            
end 
            
if == 30010 and 
            
== 30010 and 
            
== 30010 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end 
            
if == 30005 and 
            
== 30005 and 
            
== 30005 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end 
            
if == 30002 and 
            
== 30002 and 
            
== 30002 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end 
            
if == 30008 and 
            
== 30008 and 
            
== 30008 then 
            say 
"Felicitari!! Ai castigat 3kkk yang" 
            
pc give_item2 "81013" 
            
pc give_item2 "81013" 
            
pc give_item2 "81013" 
            
notice_all "---> " .. pc get_name ( ) .. "A castigat 3kkk yang!! <---" 
            
end 
            say 
"Noroc la carti, ghinion în dragoste" 
            
end 
            
if cambia == 2 then 
            local m 
number 27802 27823 
            
local l number 27802 27823 
            
say_item "." "" 
            
say_item "." "" 
            
say_item "." "" 
            if 
== == l then 
            say 
"Felicitari !Ai castigat 300kk yang" 
            
pc change_gold 300000000 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat 300kk yang! <---" 
            
end 
            
if == m then 
            say 
"Herzlichen Glückwunsch! Sie haben 1 Millionen Yang gewonnen." 
            
pc change_gold 100000000 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat 100kk yang! <---" 
            
end 
            
if == l then 
            say 
"Felicitari! Ati castigat iteme upp." 
            
pc give_item2 124400 10 
            
pc give_item2 70023 
            
pc give_item2 90000 15 
            
notice_all "---> " .. pc get_name ( ) .. " a castigat iteme up!<---" 
            
end 
            
if == l then 
            say 
"Felicitari! Ati castigat iteme upp." 
            
pc give_item2 124400 15 
            
pc give_item2 70023 
            
pc give_item2 90000 15 
            
notice_all "---> " .. pc get_name ( ) .. " a castigat iteme up!<---" 
            
end 
            
if == 27822 and 
            
== 27822 and 
            
== 27822 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end 
            
if == 27816 and 
            
== 27816 and 
            
== 27816 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end
            
if == 30047 and 
            
== 30047 and 
            
== 30047 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end
            
if == 30050 and 
            
== 30050 and 
            
== 30050 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end
            
if == 30021 and 
            
== 30021 and 
            
== 30021 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end 
            
if == 30010 and 
            
== 30010 and 
            
== 30010 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end  
            
if == 30005 and 
            
== 30005 and 
            
== 30005 then 
            say 
"Felicitari!!Ai castigat 500kk" 
            
pc give_item2 "81013" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat 500kk <---" 
            
end
            
if == 30002 and 
            
== 30002 and 
            
== 30002 then 
            say 
"Felicitari!! Ai castigat Cufar de Testoasa" 
            
pc give_item2 "50076" 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat Cufar de Testoasa <---" 
            
end 
            
if == 30008 and 
            
== 30008 and 
            
== 30008 then 
            say 
"Felicitari!! Ai castigat 3kkk yang" 
            
pc give_item2 "81013" 
            
pc give_item2 "81013" 
            
pc give_item2 "81013" 
            
notice_all "---> " .. pc get_name ( ) .. "A castigat 3kkk yang!! <---" )  
            
end 
            say 
"Noroc la carti, ghinion in dragoste" 
            
end 
            
if cambia == 3 then 
            local m 
number 27802 27823 
            
local l number 27802 27823 
            
say_item "." "" 
            
say_item "." "" 
            
say_item "." "" 
            if 
== == l then 
            say 
"Felicitari! Ati castigat iteme upp." 
            
pc give_item2 124400 15 
            
pc give_item2 70023 
            
pc give_item2 90000 15 
            
notice_all "---> " .. pc get_name ( ) .. " a castigat iteme up!<---" 
            
end 
            
if == m then 
            say 
"Felicitari! Ati castigat iteme upp." 
            
pc give_item2 124400 15 
            
pc give_item2 70023 
            
pc give_item2 90000 15 
            
notice_all "---> " .. pc get_name ( ) .. " a castigat iteme up!<---" 
            
end
            
if == l then 
            say 
"Felicitari! Ai castigat iteme upp!" 
            
pc give_item2 124400 20 
            
pc give_item2 70023 20 
            
pc give_item2 90000 200 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat iteme upp!<---" 
            
end 
            
if == l then 
            say 
"Felicitari! Ai castigat iteme upp!" 
            
pc give_item2 124400 20 
            
pc give_item2 70023 20 
            
pc give_item2 90000 200 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat iteme upp!<---" 
            
end 
            
if == 27822 and 
            
== 27822 and 
            
== 27822 then 
            say 
"Felicitari! Ai castigat x200 marihuana si x50 perle plasma!" 
            
pc give_item2 "300011" 50 
            
pc give_item2 "90000" 200 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x200 marihuana si x50 perle plasma!! <---" 
            
end 
            
if == 27816 and 
            
== 27816 and 
            
== 27816 then 
            say 
"Felicitari! Ai castigat x100 marihuana si x50 perle plasma!" 
            
pc give_item2 "300011" 50 
            
pc give_item2 "90000" 100 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x100 marihuana si x50 perle plasma!! <---" 
            
end 
            
if == 30047 and 
            
== 30047 and 
            
== 30047 then 
            say 
"Ghinion nu ai castigat nimic" 
            
pc give_item2 "50513" 
            
notice_all "---> " .. pc get_name ( ) .. " hat einen Seelenstein gewonnen! <---" 
            
end 
            
if == 30050 and 
            
== 30050 and 
            
== 30050 then 
            say 
"Felicitari! Ai castigat x50 marihuana si x100 perle plasma!" 
            
pc give_item2 "300011" 100 
            
pc give_item2 "90000" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x100 marihuana si x50 perle plasma!! <---" 
            
end
            
if == 30021 and 
            
== 30021 and 
            
== 30021 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end 
            
if == 30010 and 
            
== 30010 and 
            
== 30010 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end 
            
if == 30005 and 
            
== 30005 and 
            
== 30005 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end
            
if == 30002 and 
            
== 30002 and 
            
== 30002 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end
            
if == 30008 and 
            
== 30008 and 
            
== 30008 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end 
            say 
"Noroc la carți, ghinion in dragoste" 
            
end 
            
if cambia == 4 then 
            
if == == l then 
            say 
"Herzlichen Glückwunsch! Sie haben 3 Millionen Yang gewonnen." 
            
pc changegold 3e+06 
            
notice_all "---> " .. pc get_name ( ) .. " hat 3 Millionen Yang gewonnen! <---" 
            
end 
            
if == m then 
            say 
"Complimenti! Hai vinto 1 milione di Yang." 
            
pc changegold 1e+06 
            
notice_all "---> " .. pc get_name ( ) .. " hat 1 Millionen Yang gewonnen! <---" 
            
end 
            
if == l then 
            say 
"Felicitari! Ai castigat iteme upp!" 
            
pc give_item2 124400 20 
            
pc give_item2 70023 20 
            
pc give_item2 90000 200 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat iteme upp!<---" 
            
end 
            
if == l then 
            say 
"Felicitari! Ai castigat iteme upp!" 
            
pc give_item2 124400 20 
            
pc give_item2 70023 20 
            
pc give_item2 90000 200 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat iteme upp!<---" 
            
end 
            
if == 27822 and 
            
== 27822 and 
            
== 27822 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end 
            
if == 27816 and 
            
== 27816 and 
            
== 27816 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end
            
if == 30047 and 
            
== 30047 and 
            
== 30047 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end
            
if == 30050 and 
            
== 30050 and 
            
== 30050 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end
            
if == 30021 and 
            
== 30021 and 
            
== 30021 then 
            say 
"Felicitari ai castigat abrazive" 
            
pc give_item2 "124400" 50 
            
notice_all "---> " .. pc get_name ( ) .. " A castigat x50 abrazive <---" 
            
end 
            
if == 30010 and 
            
== 30010 and 
            
== 30010 then 
            say 
"Herzlichen Glückwunsch! Sie haben eine Rote Perle gewonnen.!" 
            
pc give_item2 "27994" 
            
notice_all "---> " .. pc get_name ( ) .. " hat eine Rote Perle gewonnen! <---" 
            
end 
            
if == 30005 and 
            
== 30005 and 
            
== 30005 then 
            say 
"Herzlichen Glückwunsch! Sie haben ein Magisches Metal gewonnen.!" 
            
pc give_item2 "25041" 
            
notice_all "---> " .. pc get_name ( ) .. " hat ein Magisches Metal gewonnen! <---" 
            
end 
            
if == 30002 and 
            
== 30002 and 
            
== 30002 then 
            say 
"Herzlichen Glückwunsch! Sie haben eine Muschel gewonnen." 
            
pc give_item2 "27987" 
            
notice_all "---> " .. pc get_name ( ) .. " hat eine Muschel gewonnen! <---" 
            
end 
            
if == 30008 and 
            
== 30008 and 
            
== 30008 then 
            say 
"Herzlichen Glückwunsch! Sie haben 3 Segenschriftrollen gewonnen.!" 
            
pc give_item2 "25040" 
            
pc give_item2 "25040" 
            
pc give_item2 "25040" 
            
notice_all "---> " .. pc get_name ( ) .. " hat 3 Segenschriftrollen gewonnen!! <---" 
            
end 
            say 
"Noroc la carți, ghinion in dragoste" )
            
end
        end
    end
end 
When i got this item (19 - Sword) this quest block me and show me this message :

say ( "Nu ai destul yang!" )
say ( "" )
say ( "Intoarcete cand ai Sabie 19" )

And when i don't got that item this quest works , can't any body reverse this quest?
When i got item 19 to show me local = camba .
.Fr3zy94™ is offline  
Old 05/02/2014, 12:38   #10130
 
Themaster92's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 4
Received Thanks: 0
Moin ich wohlte mal fragen ob mir einer bei der quest helfen kann soweit funktioniert die quest mit den sachen 3 sachen wegnehmen aber wenn man den schmuckteil abholen will braucht man nicht 3 gegenstände sondern nur die "104008" 100 mal und da sind 100 pro anfängerfehler drinne ist die erste quest die ich geschrieben habe

PHP Code:
quest Der_Götterschmuck begin
    state start begin
        when 20091.chat
."Der Heilige Götterschmuck" begin
            say_title
("Heiliger Götterschmuck")
            
say("Hallo ".. pc.get_name() .." "
            
say("HIER KOMMT DER TEXT REIN")
            
wait() 
            
say("Möchtest du die Sachen Besorgen?")
            
local s select("Ja""Nein")
            if 
== 2 then return end
            
if pc.count_item(104006104007104008) < 100 then
            say
"Du besitzt nicht genügend gegenstände" 
            return 
            
end        
            say_title
("Der Heilige Götterschmuck")
            
say("HIER KOMMT DER TEXT REIN")
            
pc.remove_item(104006100)         
            
pc.remove_item(104007100)     
            
pc.remove_item(104008100)     
            
say_reward("Wähle ein Item aus")
            
local a select("Götter Armband""Götter Kette""Götter Ohrringe")
            if 
== 1 then pc.give_item2(6230)
            
end
            
if == 2 then pc.give_item2(6210)
            
end
            
if == 3 then pc.give_item2(6220)
            
end
        end    
    end
end 
Themaster92 is offline  
Old 05/02/2014, 22:40   #10131
 
Rofelmau's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 294
Received Thanks: 157
Quote:
Originally Posted by Themaster92 View Post
Moin ich wohlte mal fragen ob mir einer bei der quest helfen kann soweit funktioniert die quest mit den sachen 3 sachen wegnehmen aber wenn man den schmuckteil abholen will braucht man nicht 3 gegenstände sondern nur die "104008" 100 mal und da sind 100 pro anfängerfehler drinne ist die erste quest die ich geschrieben habe

PHP Code:
quest Der_Götterschmuck begin
    state start begin
        when 20091.chat
."Der Heilige Götterschmuck" begin
            say_title
("Heiliger Götterschmuck")
            
say("Hallo ".. pc.get_name() .." "
            
say("HIER KOMMT DER TEXT REIN")
            
wait() 
            
say("Möchtest du die Sachen Besorgen?")
            
local s select("Ja""Nein")
            if 
== 2 then return end
            
if pc.count_item(104006104007104008) < 100 then
            say
"Du besitzt nicht genügend gegenstände" 
            return 
            
end        
            say_title
("Der Heilige Götterschmuck")
            
say("HIER KOMMT DER TEXT REIN")
            
pc.remove_item(104006100)         
            
pc.remove_item(104007100)     
            
pc.remove_item(104008100)     
            
say_reward("Wähle ein Item aus")
            
local a select("Götter Armband""Götter Kette""Götter Ohrringe")
            if 
== 1 then pc.give_item2(6230)
            
end
            
if == 2 then pc.give_item2(6210)
            
end
            
if == 3 then pc.give_item2(6220)
            
end
        end    
    end
end 
Mach aus
PHP Code:
if pc.count_item(104006104007104008) < 100 then 
einfach
PHP Code:
if pc.count_item(1004006)<100 or pc.count_item(1004007)<100 or pc.count_item(1004008)<100 then 
Rofelmau is offline  
Thanks
1 User
Old 05/03/2014, 13:46   #10132
 
elite*gold: 0
Join Date: Apr 2012
Posts: 10
Received Thanks: 0
Exclamation Shop-quest klappt nicht

Hey,
habe eine Quest erstellt, um auf einem NPC mehrere Shops zu haben.

Jedoch ist jetzt mein Problem, dass er die Shops nicht öffnet, obwohl sie existieren..


Code.
Die Shops wurden auch richtig angepasst!
Wenn ich jetzt eine Auswahl anklicke, passiert nichts, außer dass ich meine Leiste da unten nicht mehr sehen kann etc..

Kann mir jemand helfen?
xxx0Master0xxx is offline  
Old 05/03/2014, 14:56   #10133

 
elite*gold: 150
The Black Market: 147/0/0
Join Date: Jan 2014
Posts: 11,338
Received Thanks: 3,780
Quote:
Originally Posted by xxx0Master0xxx View Post
Hey,
habe eine Quest erstellt, um auf einem NPC mehrere Shops zu haben.

Jedoch ist jetzt mein Problem, dass er die Shops nicht öffnet, obwohl sie existieren..


Code.
Die Shops wurden auch richtig angepasst!
Wenn ich jetzt eine Auswahl anklicke, passiert nichts, außer dass ich meine Leiste da unten nicht mehr sehen kann etc..

Kann mir jemand helfen?
PHP Code:
quest npc_shop begin
    state start begin
        when 9012.chat
."Waffen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(7)
        
end
        when 9012.chat
."Krieger Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(1)
        
end
        when 9012.chat
."Ninja Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(2)
        
end
        when 9012.chat
."Sura Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(3)
        
end
        when 9012.chat
."Schamane Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(4)
        
end
        when 9012.chat
."Schmuck" begin
        setskin
(NOWINDOW)
        
npc.open_shop(5)
        
end
        when 9012.chat
."Schuhe" begin
        setskin
(NOWINDOW)
        
npc.open_shop(6)
        
end
    end 
Shigatu is offline  
Thanks
1 User
Old 05/03/2014, 15:11   #10134
 
elite*gold: 0
Join Date: Apr 2012
Posts: 10
Received Thanks: 0
Quote:
Originally Posted by arti​ View Post
PHP Code:
quest npc_shop begin
    state start begin
        when 9012.chat
."Waffen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(7)
        
end
        when 9012.chat
."Krieger Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(1)
        
end
        when 9012.chat
."Ninja Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(2)
        
end
        when 9012.chat
."Sura Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(3)
        
end
        when 9012.chat
."Schamane Rüstungen" begin
        setskin
(NOWINDOW)
        
npc.open_shop(4)
        
end
        when 9012.chat
."Schmuck" begin
        setskin
(NOWINDOW)
        
npc.open_shop(5)
        
end
        when 9012.chat
."Schuhe" begin
        setskin
(NOWINDOW)
        
npc.open_shop(6)
        
end
    end 
Jetzt kommt aber immer noch kein Fenster, jedoch kann ich die Leiste dann immer sehen, danke schonmal..

Wieso kommt denn eig nichts?
Habe eig alles richtig eingestellt..

//Edit
Code ist jetzt so:
Code:
quest shops begin
	state start begin
		when 9001.chat."Schwerter / Zweihand" begin
			setskin(NOWINDOW)
			npc.open_shop(1020)
		end
		when 9001.chat."Ninja" begin
			setskin(NOWINDOW)
			npc.open_shop(1022)
		end
		when 9001.chat."Schamane" begin
			setskin(NOWINDOW)
			npc.open_shop(1021)
		end
	end
end
Habe die ShopIds wieder geändert, auch in der Query, jedoch klappt nichts :/
xxx0Master0xxx is offline  
Old 05/03/2014, 18:23   #10135

 
.yorliK's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 1,448
Received Thanks: 1,257
Ich hab mit dem Befehl "confirm(who, text, timeout)" ein komisches Problem.

Erstmal der Code-Schnipsel:
PHP Code:
local a input()
local b find_pc_by_name(a)
local c confirm(b"Text"30)
if 
!= CONFIRM_OK then return end
say
("Angenommen"
Alles funktioniert wunderbar Annehmen und Abbrechen von Empfänger, bis es zum betätigen des "Abbrech"-Buttons den der Confirm-Befehl bereit stellt als Sender kommt, sollte ich als Sender innerhalb der Zeit "Abbrechen" und der Empfänger dann doch noch zustimmen, wird fortgefahren. (Das sollte doch nicht passieren oder??)

Ich weiß nicht wie es bei euch ist, dieser "Fehler"(so nenn ich ihn jetzt mal) liegt zumindest so bei mir vor.
.yorliK is offline  
Old 05/03/2014, 22:10   #10136



 
elite*gold: 0
The Black Market: 265/0/0
Join Date: Jul 2012
Posts: 24,491
Received Thanks: 3,215
Hey

Kann jemand eine Quest erstellen, wenn man sich ein neuen Charakter erstellt und einloggt das man da gleich die Klasse wählen kann? (Als Krieger halt Körper und Mental zur Auswahl)
Ab Level 1, also ganz normal.
LG
Sintiax is offline  
Old 05/04/2014, 13:12   #10137

 
.yorliK's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 1,448
Received Thanks: 1,257
Quote:
Originally Posted by Sintiax View Post
Hey

Kann jemand eine Quest erstellen, wenn man sich ein neuen Charakter erstellt und einloggt das man da gleich die Klasse wählen kann? (Als Krieger halt Körper und Mental zur Auswahl)
Ab Level 1, also ganz normal.
LG
PHP Code:
quest skill_group begin
    state start begin
        when login with pc
.level >=and pc.get_skill_group() == 0 begin
            timer
("fertigkeit"2)
        
end
        when fertigkeit
.timer with pc.get_skill_group() == 0 begin
            local job 
pc.get_job()+1
            local lehre
= {
                [
1] = { "Körper-Kampf-Lehre""Mental-Kampf-Lehre" },
                [
2] = { "Nahkampf-Lehre""Fernkampf-Lehre" },
                [
3] = { "Magische-Waffen-Lehre""Schwarze-Magie-Lehre" },
                [
4] = { "Drachenmacht-Lehre""Lehre der Heilung" }
                }
            
table.insert(lehre[job], "Noch nicht.")
            
say_title("Die Ausbildung")
            
say("")
            
say("Wähle deine Fertigkeitenrichtung.")
            
say("")
            
local s select_table(lehre[job])
            if 
== table.getn(lehre[job]) then return end
            pc
.set_skill_group(s)
            
pc.clear_skill()
            
syschat(lehre[job][s].." gewählt. Du erhielst "..(pc.level-1).." Fertigkeitspunkte.")
        
end
    end
end 

_______________________________________________-

Weiß einer wie man es richtig macht?
Quote:
Originally Posted by Kilroy. View Post
Ich hab mit dem Befehl "confirm(who, text, timeout)" ein komisches Problem.

Erstmal der Code-Schnipsel:
PHP Code:
local a input()
local b find_pc_by_name(a)
local c confirm(b"Text"30)
if 
!= CONFIRM_OK then return end
say
("Angenommen"
Alles funktioniert wunderbar Annehmen und Abbrechen von Empfänger, bis es zum betätigen des "Abbrech"-Buttons den der Confirm-Befehl bereit stellt als Sender kommt, sollte ich als Sender innerhalb der Zeit "Abbrechen" und der Empfänger dann doch noch zustimmen, wird fortgefahren. (Das sollte doch nicht passieren oder??)

Ich weiß nicht wie es bei euch ist, dieser "Fehler"(so nenn ich ihn jetzt mal) liegt zumindest so bei mir vor.
.yorliK is offline  
Thanks
1 User
Old 05/04/2014, 13:33   #10138
 
elite*gold: 0
Join Date: Apr 2012
Posts: 10
Received Thanks: 0
Quote:
Originally Posted by xxx0Master0xxx View Post
Jetzt kommt aber immer noch kein Fenster, jedoch kann ich die Leiste dann immer sehen, danke schonmal..

Wieso kommt denn eig nichts?
Habe eig alles richtig eingestellt..

//Edit
Code ist jetzt so:
Code:
quest shops begin
	state start begin
		when 9001.chat."Schwerter / Zweihand" begin
			setskin(NOWINDOW)
			npc.open_shop(1020)
		end
		when 9001.chat."Ninja" begin
			setskin(NOWINDOW)
			npc.open_shop(1022)
		end
		when 9001.chat."Schamane" begin
			setskin(NOWINDOW)
			npc.open_shop(1021)
		end
	end
end
Habe die ShopIds wieder geändert, auch in der Query, jedoch klappt nichts :/
Es funzt immer noch nicht..
Kann mir jemand helfen?
xxx0Master0xxx is offline  
Old 05/04/2014, 15:09   #10139
 
HighWave's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 487
Received Thanks: 76

Wieso tut sich nichts, wenn ich auf den Warpring klicke ? :-(
HighWave is offline  
Old 05/04/2014, 16:27   #10140

 
.yorliK's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 1,448
Received Thanks: 1,257
Quote:
Originally Posted by xxx0Master0xxx View Post
Es funzt immer noch nicht..
Kann mir jemand helfen?
Schonmal mit der Shop ID der Gemi versucht?
PHP Code:
npc.open_shop(3
oder nen reboot gemacht?
__________________________________________________ ___

Quote:
Originally Posted by HighWave View Post

Wieso tut sich nichts, wenn ich auf den Warpring klicke ? :-(
Warpring in Navicat auf Type 18 gestellt?
.yorliK is offline  
Reply




All times are GMT +1. The time now is 00:33.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.