|
You last visited: Today at 19:20
Advertisement
[HELP] Quest Problem
Discussion on [HELP] Quest Problem within the Metin2 Private Server forum part of the Metin2 category.
09/05/2012, 17:38
|
#1
|
elite*gold: 0
Join Date: May 2010
Posts: 61
Received Thanks: 3
|
[HELP] Quest Problem
-German-
Die Suche ist etwa 20091 geben die hwang Rüstungen für den Spieler, wenn sie die erforderlichen Materialien
Ich habe meine eigene Suche, aber wenn i Eingang in die Server und starten Sie ihn neu i mir eine Behauptung Fehler. Könnte jemand in der Quest schauen und mir sagen, was ich falsch gemacht haben?
Bitte
-English-
The quest is about 20091 giving the hwang armor to the player if they have the required materials.
I created my own quest, however when i input it into the server and reboot it i gives me a assertion error. Could anyone look into the quest and tell me what I have done wrong?
Please
PHP Code:
quest king_armor begin state start begin when 20091.chat."Tyrax" begin say_title("Request a King Armor") say("Hello "..pc.get_name()) say("So you want the legendary") say("Royal armors do ya?!") say("very well, I'll tell you what") say("you get me the required materials") say("which are:") say("50") say_item_vnum(25040) say("10") say_item_vnum(70031) say("25") say_item_vnum(90004) say("only then I'll award you with a Royal Armor") if pc.count_item("25040")==0 then say("Please go get 50 Blessing Scrolls") say("Then I'll give you the Royal Armor.") return end if pc.count_item("70031")==0 then say("Please go get 10 Counterattack Strategy") say("Then I'll give you the Royal Armor.") return end if pc.count_item("90004")==0 then say("Please go get 25 Water Gems") say("Then I'll give you the Royal Armor.") return end say("Would you like a Royal Armor?") local s=select("Yes", "No") if s==2 then say_title("Tyrax") say("Then please go away.") return end pc.remove_item("25040", 50) pc.remove_item("70031", 10) pc.remove_item("90004", 25) pc.give_item("11971", 1) if pc.get_job() == 1 then pc.give_item("11972", 1) elseif pc.get_job() == 2 then pc.give_item("11973", 1) elseif pc.get_job() == 3 then pc.give_item("11974", 1) say_title("Tyrax") say("Oh, thank you! Here is your Royal Armor.") end end end
|
|
|
09/05/2012, 20:01
|
#2
|
elite*gold: 0
Join Date: May 2012
Posts: 273
Received Thanks: 30
|
php please :/
|
|
|
09/06/2012, 00:55
|
#3
|
elite*gold: 0
Join Date: May 2010
Posts: 61
Received Thanks: 3
|
ok its in PHP.
|
|
|
09/07/2012, 01:42
|
#4
|
elite*gold: 0
Join Date: May 2010
Posts: 61
Received Thanks: 3
|
bump can anyone help plz?
|
|
|
09/07/2012, 01:49
|
#5
|
elite*gold: 0
Join Date: Sep 2012
Posts: 105
Received Thanks: 27
|
Hello blurgh,
please share the exact error code with us.
PHP Code:
quest king_armor begin state start begin when 20091.chat."Tyrax" begin say_title("Request a King Armor") say("Hello "..pc.get_name()) say("So you want the legendary") say("Royal armors do ya?!") say("very well, I'll tell you what") say("you get me the required materials") say("which are:") say("50") say_item_vnum(25040) say("10") say_item_vnum(70031) say("25") say_item_vnum(90004) say("only then I'll award you with a Royal Armor") if pc.count_item("25040") <=0 then say("Please go get 50 Blessing Scrolls") say("Then I'll give you the Royal Armor.") return elseif pc.count_item("70031") <=0 then say("Please go get 10 Counterattack Strategy") say("Then I'll give you the Royal Armor.") return
elseif pc.count_item("90004") <=0 then say("Please go get 25 Water Gems") say("Then I'll give you the Royal Armor.") return end wait() say("Would you like a Royal Armor?") local s = select("Yes", "No") if s == 2 then say_title("Tyrax") say("Then please go away.") elseif s == 1 and pc.count_item(25040) >= 50 and pc.count_item(70031) >= 10 and pc.count_item(90004) >= 25 then pc.remove_item("25040", 50) pc.remove_item("70031", 10) pc.remove_item("90004", 25) if pc.get_job() == 1 then pc.give_item("11971", 1) elseif pc.get_job() == 1 then pc.give_item("11972", 1) elseif pc.get_job() == 2 then pc.give_item("11973", 1) elseif pc.get_job() == 3 then pc.give_item("11974", 1) end say_title("Tyrax") say("Oh, thank you! Here is your Royal Armor.") end end end end
Try it like this, I'm not sure of the pc.get_job() but the rest should work.
|
|
|
09/10/2012, 12:11
|
#6
|
elite*gold: 0
Join Date: May 2010
Posts: 61
Received Thanks: 3
|
Quote:
Originally Posted by ๖ۣۜιɴѕαɴιтyツ
Hello blurgh,
please share the exact error code with us.
PHP Code:
quest king_armor begin state start begin when 20091.chat."Tyrax" begin say_title("Request a King Armor") say("Hello "..pc.get_name()) say("So you want the legendary") say("Royal armors do ya?!") say("very well, I'll tell you what") say("you get me the required materials") say("which are:") say("50") say_item_vnum(25040) say("10") say_item_vnum(70031) say("25") say_item_vnum(90004) say("only then I'll award you with a Royal Armor") if pc.count_item("25040") <=0 then say("Please go get 50 Blessing Scrolls") say("Then I'll give you the Royal Armor.") return elseif pc.count_item("70031") <=0 then say("Please go get 10 Counterattack Strategy") say("Then I'll give you the Royal Armor.") return elseif pc.count_item("90004") <=0 then say("Please go get 25 Water Gems") say("Then I'll give you the Royal Armor.") return end wait() say("Would you like a Royal Armor?") local s = select("Yes", "No") if s == 2 then say_title("Tyrax") say("Then please go away.") elseif s == 1 and pc.count_item(25040) >= 50 and pc.count_item(70031) >= 10 and pc.count_item(90004) >= 25 then pc.remove_item("25040", 50) pc.remove_item("70031", 10) pc.remove_item("90004", 25) if pc.get_job() == 1 then pc.give_item("11971", 1) elseif pc.get_job() == 1 then pc.give_item("11972", 1) elseif pc.get_job() == 2 then pc.give_item("11973", 1) elseif pc.get_job() == 3 then pc.give_item("11974", 1) end say_title("Tyrax") say("Oh, thank you! Here is your Royal Armor.") end end end end
Try it like this, I'm not sure of the pc.get_job() but the rest should work.
|
the quest doesnt work, it takes the item but it doesnt give me the armor that i needed
|
|
|
|
Similar Threads
|
HB Quest Problem
04/20/2012 - WoW Bots - 6 Replies
Hat jmd eine Ahnung wie man eine Quest überspringen kann. Der Char steht gerade bei der Kadrak Quest im Brachland und die ist Buggy. Wenn ich jetzt woanders hinlaufe und den Bot neu starte lauft oder fliegt er wieder dort hin.
|
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH
Hello dear community, this is a very simple guide but at the same time useful.
How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"?
Easy!
Open the file "make" and replace the content of the file with this:
for f in *.quest; do ./qc $f; done
Oki. Now set the 0777 permission to the file.
Finally open a SSH client and sign in. Write the command:
cd /game_file_folder
|
Problem mit Quest
09/19/2010 - Metin2 Private Server - 2 Replies
ja also habe jetzt einfach den warpringquest in filezilla in den questordner rein und den warpring.quest damit überschrieben
quest warp_ring begin
state start begin
when 70007.use begin
say_title("Warpring")
say("")
say("Mit dem Warpring kannst du dich zu folgenden")
say("Orten teleportieren:")
local s = select("Map1","Orktal","H wang Tempel","Wueste","Anfang der Seelengrotte","Daemonenturm"," SD2","Abrechen")
|
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello!
I have this same problem as here when i'm starting my server:
http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html
But I didn't know the answer.. how to repair this?
Greetings
|
All times are GMT +2. The time now is 19:20.
|
|