|
You last visited: Today at 16:45
Advertisement
[Quest Release]Metin Event *hot*
Discussion on [Quest Release]Metin Event *hot* within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
08/25/2010, 01:08
|
#1
|
elite*gold: 0
Join Date: Apr 2008
Posts: 113
Received Thanks: 236
|
[Quest Release]Metin Event *hot*
this quest is a very nice event, that i made.
best event i made so far.... it's a master piece
soon i will release more events like this one
if you like it, thank it =)
Features:
-when the event is running players use a quest scroll to go to the event map
-after 10 minutes the invitation stops, and players cannot join anymore
-then the event starts
-3 metin stones are spawned
-each kingdom has to destroy the 2 other stones , when defending there own
-when the stone is destroyed from you kingdom, you will be teleported away
-the last kingdom remaining get's the reward
-after 10 minutes the winners are removed aswell
Maps used:
-metin2_map_t1
NPC's used:
-20090 * if you use this npc for something else then change it
Installation:
mysql:
run this query in table player:
Code:
UPDATE `mob_proto` SET `name`='Metin event' WHERE (`vnum`='20090') LIMIT 1;
UPDATE `mob_proto` SET `gb2312name`='Metin event' WHERE (`vnum`='20090') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8022') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8022') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8022') LIMIT 1
* if you have 20090 used for something else, change the vnum into a different npc
map modification:
goto: /usr/rain/channel/share_data/locale/hongkong/map/metin2_map_t1
open npc.txt
and place this code:
Code:
m 369 320 1 1 0 0 60s 100 1 20090
* if you have 20090 used for something else, change the vnum into a different npc
open town.txt
and place this code:
Code:
209 302
469 197
452 579
quest files
copy the quest files and save them
upload them into: /usr/rain/channel/share_data/locale/hongkong/quest
add them into hongkong_list
run sh make.sh
then /reload in game
after that /reload q in game
then reboot the whole server
Start event:
as a gm open the scroll
and you will be teleported to the npc
talk to her and you will get an option to start the event
from then on , the event runs by itself, you have to do nothing
just enjoy the show.
Important:
I tested this event on my local server, and it works
i never tried it on a real server with players
if you find a bug or a mistake, let me know so i can fix it.
Quest files:
metinevent.quest
PHP Code:
quest metinevent begin state start begin when 20090.chat."GM: Start metin event" with pc.is_gm() and game.get_event_flag("metinEventJoin") == 0 begin say("Event started, you must stay in this map") timer("phase1", 600) notice_all("You have 10 minutes to enter the metin Event!") game.set_event_flag("metinEventJoin", 2) end when phase1.timer begin game.set_event_flag("metinEventJoin", 1) game.set_event_flag("metinEvent", 1) notice_all("The Metin Event is just started") notice_all("You cannot teleport there anymore!") notice_in_map(103,"Objective: Destroy the other metin stones") notice_in_map(103,"Objective: Protect your own metin stone") mob.spawn(8020,466,226,1) mob.spawn(8021,235,303,1) mob.spawn(8022,429,563,1) game.set_event_flag("redStone",1) game.set_event_flag("yellowStone",1) game.set_event_flag("blueStone",1) end when 8020.kill begin local yellowStone = game.get_event_flag("yellowStone") local blueStone = game.get_event_flag("blueStone") game.set_event_flag("redStone",0) if blueStone == 0 then notice_in_map(103,"Yellow empire is the winner!") timer("reward", 5) elseif yellowStone == 0 then notice_in_map(103,"Blue empire is the winner!") timer("reward", 5) else notice_in_map(103,"Red empire lost his stone!") end end when 8021.kill begin local redStone = game.get_event_flag("redStone") local yellowStone = game.get_event_flag("yellowStone") game.set_event_flag("blueStone",0) if yellowStone == 0 then notice_in_map(103,"Red empire is the winner!") timer("reward", 5) elseif redStone == 0 then notice_in_map(103,"Yellow empire is the winner!") timer("reward", 5) else notice_in_map(103,"Blue empire lost his stone!") end end when 8022.kill begin local redStone = game.get_event_flag("redStone") local blueStone = game.get_event_flag("blueStone") game.set_event_flag("yellowStone",0) if blueStone == 0 then notice_in_map(103,"Red empire is the winner!") timer("reward", 5) elseif redStone == 0 then notice_in_map(103,"Blue empire is the winner!") timer("reward", 5) else notice_in_map(103,"Yellow empire lost his stone!") end end when reward.timer begin notice_in_map(103,"Congratulations with the victory!") notice_in_map(103,"Claim your prise in the center off the map!") notice_in_map(103,"In 10 minutes you will be removed!") mob.spawn(8027,406,375,1) mob.spawn(8026,406,394,1) mob.spawn(8027,392,407,1) mob.spawn(8026,375,408,1) mob.spawn(8027,361,394,1) mob.spawn(8026,360,374,1) mob.spawn(8027,374,360,1) mob.spawn(8026,394,361,1) mob.spawn(20074,384,384,1) mob.spawn(20075,387,387,1) mob.spawn(20076,381,381,1) timer('finish', 600) end when finish.timer begin game.set_event_flag("metinEventJoin",0) game.set_event_flag("metinEvent", 0) game.set_event_flag("redStone",0) game.set_event_flag("yellowStone",0) game.set_event_flag("blueStone",0) kill_all_in_map(103) end end end
metinjoin.quest
PHP Code:
quest metinjoin begin state start begin when login begin set_state(information) end end state information begin when letter begin send_letter("Metin Event") end when button or info begin local gm = pc.get_gm_level() if gm > 0 then say("teleport to event map?") local teleport = select("yes","no") if teleport == 1 then pc.warp(36872, 57933) else setskin(NOWINDOW) end else local metinEventJoin = game.get_event_flag("metinEventJoin") if metinEventJoin == 0 then say_title("Metin Event") say("The event is not running!") say("Wait for a gm to start it.") return elseif metinEventJoin == 1 then say_title("Metin Event") say("The event already started!") say("Perhaps you have more luck next time.") return else say_title("Metin Event") say("This invitiation will bring you") say("to the metin event.") say("") say_reward("Do you want to participate?") local a = select("Yes","No") if a == 2 then say_title("Metin Event") say("No problem you can stay here") return else set_state(eventMap) local empire = pc.get_empire() if empire == 1 then pc.warp(46885, 45850) elseif empire == 2 then pc.warp(45300, 83500) else pc.warp(20761, 55779) end end end end end end state eventMap begin when letter begin send_letter("Metin Event") timer("checkStartFirst", 2) end when button or info begin say_title("Metin Event") say("You want to go home?") local home = select("Yes","No") if home == 2 then setskin(NOWINDOW) return else set_state(information) local empire = pc.get_empire() if empire == 1 then pc.warp(409600, 896000 ) elseif empire == 2 then pc.warp(0, 102400 ) else pc.warp(921600, 204800 ) end end end when checkStartFirst.timer begin if game.get_event_flag("metinEvent") == 1 then timer("checkNationFirst", 2) else timer("checkStartSecond", 2) end end when checkStartSecond.timer begin if game.get_event_flag("metinEvent") == 1 then timer("checkNationFirst", 2) else timer("checkStartFirst", 2) end end when checkNationFirst.timer with game.get_event_flag("metinEvent") == 1 begin local empire = pc.get_empire() local blueStone = game.get_event_flag("blueStone") local redStone = game.get_event_flag("redStone") local yellowStone = game.get_event_flag("yellowStone") if empire == 3 and blueStone == 0 then pc.warp(921600, 204800 ) set_state(information) end if empire == 2 and yellowStone == 0 then pc.warp(0, 102400 ) set_state(information) end if empire == 1 and redStone == 0 then pc.warp(409600, 896000 ) set_state(information) else timer("checkNationSecond", 2) end end when checkNationSecond.timer with game.get_event_flag("metinEvent") == 1 begin local empire = pc.get_empire() local blueStone = game.get_event_flag("blueStone") local redStone = game.get_event_flag("redStone") local yellowStone = game.get_event_flag("yellowStone") if empire == 3 and blueStone == 0 then pc.warp(921600, 204800 ) set_state(information) end if empire == 2 and yellowStone == 0 then pc.warp(0, 102400 ) set_state(information) end if empire == 1 and redStone == 0 then pc.warp(409600, 896000 ) set_state(information) else timer("checkNationFirst", 2) end end end end
|
|
|
08/25/2010, 01:08
|
#2
|
elite*gold: 0
Join Date: Jun 2010
Posts: 1,085
Received Thanks: 354
|
on german plz
|
|
|
08/25/2010, 01:10
|
#3
|
elite*gold: 0
Join Date: Apr 2008
Posts: 113
Received Thanks: 236
|
dont' speak german, but i'm sure this quest will be translated very soon, since it's a great event
|
|
|
08/25/2010, 01:11
|
#4
|
elite*gold: 0
Join Date: Jul 2009
Posts: 2,583
Received Thanks: 808
|
Kannst Du kein English?^^
|
|
|
08/25/2010, 01:28
|
#5
|
elite*gold: 90
Join Date: Apr 2010
Posts: 1,887
Received Thanks: 1,793
|
It looks nice
I will test it
|
|
|
08/25/2010, 01:32
|
#6
|
elite*gold: 0
Join Date: Apr 2008
Posts: 113
Received Thanks: 236
|
i think the biggest problem can be lagg and dc's
|
|
|
08/25/2010, 02:11
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 4,086
Received Thanks: 3,786
|
Very Nice
That comes on my Server
|
|
|
08/25/2010, 02:24
|
#8
|
elite*gold: 15
Join Date: Feb 2010
Posts: 4,410
Received Thanks: 3,105
|
Hmm, thats nice, but i have this event quest since 2 months : )
|
|
|
08/25/2010, 02:31
|
#9
|
elite*gold: 1
Join Date: Apr 2009
Posts: 141
Received Thanks: 64
|
So Jetzt mal auf Deutsch
Quote:
Originally Posted by sennah
Das ist eine von mir selbst gemacht Quest.
Vielleicht das Beste Event was ich jemals gemacht habe.... Ein Meisterstück.
Bald werde ich noch mehr solcher Quests Releasen
Wenn du es Magst bedank dich =)
Features:
-Dies ist ein großes Event welches 2 Questfiles benötigt
-Du musst es installieren um es dir besser anzuguckn
Maps used:
-metin2_map_t1
NPC's used:
-20090 * Wenn du diesen NPC schon benutzt such dir nen anderen aus...
Installation:
mysql:
Starte dir Tabelle player:
Code:
UPDATE `mob_proto` SET `name`='Metin event' WHERE (`vnum`='20090') LIMIT 1;
UPDATE `mob_proto` SET `gb2312name`='Metin event' WHERE (`vnum`='20090') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8022') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8022') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8022') LIMIT 1
* Wenn du den Npc 20090 schon für etwas anderes benutzt such dir nen anderen aus ^^
Map Verändern:
goto: /usr/rain/channel/share_data/locale/hongkong/map/metin2_map_t1
Öffne: npc.txt
Und füge dort diesen Code ein:
Code:
m 369 320 1 1 0 0 60s 100 1 20090
* Wenn du den Npc 20090 schon für etwas anderes benutzt such dir nen anderen aus ^^
Öffne: town.txt
und füge dies dort ein:
Code:
209 302
469 197
452 579
Quest files
Kopiere dir die Questfiles und Speicher sie nun,
lade sie hier hoch:: /usr/rain/channel/share_data/locale/hongkong/quest
Jetzt füg sie in die hongkong_list ein.
Nun sh make.shausführen.
Dann Ingame: /reload
Dannach /reload q in Game eingeben.
und dann reboot des Gesammten Servers
Start event:
Öffne die Rolle (Nur als GM)
und dann solltest du zum NPC teleportiert werden
Sprech sie an un du kommst zu Eventmenü
von dort aus läuft das Event von allein du hast nichts mehr zu tuhen
außer die show zu genießen.
Important:
Ich habs mal auf meinem eigenen Server Probiert, und es klappt
habe es allerding noch nicht mit vielen Spielern probiert
Wenn du nen Bug findest sag mir bescheid und ich werde ihn fixxen =D
Quest files:
metinevent.quest
PHP Code:
quest metinevent begin
state start begin
when 20090.chat."GM: Start metin event" with pc.is_gm() and game.get_event_flag("metinEventJoin") == 0 begin
say("Event started, you must stay in this map")
timer("phase1", 600)
notice_all("You have 10 minutes to enter the metin Event!")
game.set_event_flag("metinEventJoin", 2)
end
when phase1.timer begin
game.set_event_flag("metinEventJoin", 1)
game.set_event_flag("metinEvent", 1)
notice_all("The Metin Event is just started")
notice_all("You cannot teleport there anymore!")
notice_in_map(103,"Objective: Destroy the other metin stones")
notice_in_map(103,"Objective: Protect your own metin stone")
mob.spawn(8020,466,226,1)
mob.spawn(8021,235,303,1)
mob.spawn(8022,429,563,1)
game.set_event_flag("redStone",1)
game.set_event_flag("yellowStone",1)
game.set_event_flag("blueStone",1)
end
when 8020.kill begin
local yellowStone = game.get_event_flag("yellowStone")
local blueStone = game.get_event_flag("blueStone")
game.set_event_flag("redStone",0)
if blueStone == 0 then
notice_in_map(103,"Yellow empire is the winner!")
timer("reward", 5)
elseif yellowStone == 0 then
notice_in_map(103,"Blue empire is the winner!")
timer("reward", 5)
else
notice_in_map(103,"Red empire lost his stone!")
end
end
when 8021.kill begin
local redStone = game.get_event_flag("redStone")
local yellowStone = game.get_event_flag("yellowStone")
game.set_event_flag("blueStone",0)
if yellowStone == 0 then
notice_in_map(103,"Red empire is the winner!")
timer("reward", 5)
elseif redStone == 0 then
notice_in_map(103,"Yellow empire is the winner!")
timer("reward", 5)
else
notice_in_map(103,"Blue empire lost his stone!")
end
end
when 8022.kill begin
local redStone = game.get_event_flag("redStone")
local blueStone = game.get_event_flag("blueStone")
game.set_event_flag("yellowStone",0)
if blueStone == 0 then
notice_in_map(103,"Red empire is the winner!")
timer("reward", 5)
elseif redStone == 0 then
notice_in_map(103,"Blue empire is the winner!")
timer("reward", 5)
else
notice_in_map(103,"Yellow empire lost his stone!")
end
end
when reward.timer begin
notice_in_map(103,"Congratulations with the victory!")
notice_in_map(103,"Claim your prise in the center off the map!")
notice_in_map(103,"In 10 minutes you will be removed!")
mob.spawn(8027,406,375,1)
mob.spawn(8026,406,394,1)
mob.spawn(8027,392,407,1)
mob.spawn(8026,375,408,1)
mob.spawn(8027,361,394,1)
mob.spawn(8026,360,374,1)
mob.spawn(8027,374,360,1)
mob.spawn(8026,394,361,1)
mob.spawn(20074,384,384,1)
mob.spawn(20075,387,387,1)
mob.spawn(20076,381,381,1)
timer('finish', 600)
end
when finish.timer begin
game.set_event_flag("metinEventJoin",0)
game.set_event_flag("metinEvent", 0)
game.set_event_flag("redStone",0)
game.set_event_flag("yellowStone",0)
game.set_event_flag("blueStone",0)
kill_all_in_map(103)
end
end
end
metinjoin.quest
PHP Code:
quest metinjoin begin
state start begin
when login begin
set_state(information)
end
end
state information begin
when letter begin
send_letter("Metin Event")
end
when button or info begin
local gm = pc.get_gm_level()
if gm > 0 then
say("teleport to event map?")
local teleport = select("yes","no")
if teleport == 1 then
pc.warp(36872, 57933)
else
setskin(NOWINDOW)
end
else
local metinEventJoin = game.get_event_flag("metinEventJoin")
if metinEventJoin == 0 then
say_title("Metin Event")
say("The event is not running!")
say("Wait for a gm to start it.")
return
elseif metinEventJoin == 1 then
say_title("Metin Event")
say("The event already started!")
say("Perhaps you have more luck next time.")
return
else
say_title("Metin Event")
say("This invitiation will bring you")
say("to the metin event.")
say("")
say_reward("Do you want to participate?")
local a = select("Yes","No")
if a == 2 then
say_title("Metin Event")
say("No problem you can stay here")
return
else
set_state(eventMap)
local empire = pc.get_empire()
if empire == 1 then
pc.warp(46885, 45850)
elseif empire == 2 then
pc.warp(45300, 83500)
else
pc.warp(20761, 55779)
end
end
end
end
end
end
state eventMap begin
when letter begin
send_letter("Metin Event")
timer("checkStartFirst", 2)
end
when button or info begin
say_title("Metin Event")
say("You want to go home?")
local home = select("Yes","No")
if home == 2 then
setskin(NOWINDOW)
return
else
set_state(information)
local empire = pc.get_empire()
if empire == 1 then
pc.warp(409600, 896000 )
elseif empire == 2 then
pc.warp(0, 102400 )
else
pc.warp(921600, 204800 )
end
end
end
when checkStartFirst.timer begin
if game.get_event_flag("metinEvent") == 1 then
timer("checkNationFirst", 2)
else
timer("checkStartSecond", 2)
end
end
when checkStartSecond.timer begin
if game.get_event_flag("metinEvent") == 1 then
timer("checkNationFirst", 2)
else
timer("checkStartFirst", 2)
end
end
when checkNationFirst.timer with game.get_event_flag("metinEvent") == 1 begin
local empire = pc.get_empire()
local blueStone = game.get_event_flag("blueStone")
local redStone = game.get_event_flag("redStone")
local yellowStone = game.get_event_flag("yellowStone")
if empire == 3 and blueStone == 0 then
pc.warp(921600, 204800 )
set_state(information)
end
if empire == 2 and yellowStone == 0 then
pc.warp(0, 102400 )
set_state(information)
end
if empire == 1 and redStone == 0 then
pc.warp(409600, 896000 )
set_state(information)
else
timer("checkNationSecond", 2)
end
end
when checkNationSecond.timer with game.get_event_flag("metinEvent") == 1 begin
local empire = pc.get_empire()
local blueStone = game.get_event_flag("blueStone")
local redStone = game.get_event_flag("redStone")
local yellowStone = game.get_event_flag("yellowStone")
if empire == 3 and blueStone == 0 then
pc.warp(921600, 204800 )
set_state(information)
end
if empire == 2 and yellowStone == 0 then
pc.warp(0, 102400 )
set_state(information)
end
if empire == 1 and redStone == 0 then
pc.warp(409600, 896000 )
set_state(information)
else
timer("checkNationFirst", 2)
end
end
end
end
|
|
|
|
08/25/2010, 02:36
|
#10
|
elite*gold: 15
Join Date: Mar 2010
Posts: 4,270
Received Thanks: 2,499
|
@Chris120292 dein Google hat die Quests nicht übersezt ^^
|
|
|
08/25/2010, 02:40
|
#11
|
elite*gold: 1
Join Date: Apr 2009
Posts: 141
Received Thanks: 64
|
Neee mir war langweilig xD und ich finde Die Quest hats verdient übersetzt zu werden.
Nice Guy pls more off such Stuff !
|
|
|
08/25/2010, 07:38
|
#12
|
elite*gold: 1
Join Date: Jan 2010
Posts: 2,571
Received Thanks: 1,141
|
The Quest are nice =) But i have a other Quest write for a event in all empires
|
|
|
08/25/2010, 08:02
|
#13
|
elite*gold: 77
Join Date: Jan 2009
Posts: 9,732
Received Thanks: 5,599
|
Quote:
Das ist eine von mir selbst gemacht Quest.
Vielleicht das Beste Event was ich jemals gemacht habe.... Ein Meisterstück.
Bald werde ich noch mehr solcher Quests Releasen
Wenn du es magst klicke auf den Thanks Button! =)
Features:
-Dies ist ein großes Event welches 2 Questfiles benötigt
-Du musst es installieren um es dir besser anzuguckn
-Gibt auch direkt an wer der Gewinner ist
Benutzte Map:
-metin2_map_t1
Benutzter NPC:
-20090 * Falls du diesen Code schon als NPC hast dann such dir einen anderen aus
Installation:
mysql:
Spiel diesen Query code in der Tabelle player ab:
Code:
UPDATE `mob_proto` SET `name`='Metin event' WHERE (`vnum`='20090') LIMIT 1;
UPDATE `mob_proto` SET `gb2312name`='Metin event' WHERE (`vnum`='20090') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8020') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8021') LIMIT 1;
UPDATE `mob_proto` SET `max_hp`='1000000' WHERE (`vnum`='8022') LIMIT 1;
UPDATE `mob_proto` SET `regen_cycle`='1' WHERE (`vnum`='8022') LIMIT 1;
UPDATE `mob_proto` SET `regen_percent`='0' WHERE (`vnum`='8022') LIMIT 1
* falls du 20090 schon benutzt und ein anderen NPC für hast dann änder es bitte oben ab!
Map Bearbeiten:
Geh in den Ordner: /usr/rain/channel/share_data/locale/hongkong/map/metin2_map_t1
öffne die npc.txt
Und schreib dies rein
Code:
m 369 320 1 1 0 0 60s 100 1 20090
* Falls du anderen Code benutzt hast als 20090 dann nicht vergessen auch ändern!
öffne dann town.txt
Und schreib dies rein:
Code:
209 302
469 197
452 579
quest files
Kopiere dir die Questfiles und Speicher sie nun,
Jetzt füg sie in die hongkong_list ein.
Nun sh make.shausführen.
Dann Ingame: /reload
Dannach /reload q in Game eingeben.
und dann reboot des Gesammten Servers
lade sie hier hoch: /usr/rain/channel/share_data/locale/hongkong/quest
Jetzt füg sie in die hongkong_list ein.
Jetzt sh make.sh
Dann /reload Ingame
danach /reload q nochmal Ingame
Dann reboot den ganzen Server
Start event:
Öffne die Rolle (Nur als GM)
und dann solltest du zum NPC teleportiert werden
Sprech sie an un du kommst zu Eventmenü
von dort aus läuft das Event von allein du hast nichts mehr zu tuhen
außer die show zu genießen.
Important:
Ich habs mal auf meinem eigenen Server Probiert, und es klappt
habe es allerding noch nicht mit vielen Spielern probiert
Wenn du nen Bug findest sag mir bescheid und ich werde ihn fixxen.
Quest Datein:
metinevent.quest
PHP Code:
quest metinevent begin state start begin when 20090.chat."GM: Start Metin Event" with pc.is_gm() and game.get_event_flag("metinEventJoin") == 0 begin say("Event ist gestartet! Bitte begeben sie sich zur Map ") timer("phase1", 600) notice_all("Du hast 10minuten Zeit bis das Event Startet!") game.set_event_flag("metinEventJoin", 2) end when phase1.timer begin game.set_event_flag("metinEventJoin", 1) game.set_event_flag("metinEvent", 1) notice_all("Metin Event ist nun gestartet") notice_all("Ihr könnt nun nicht mehr euch zum Event Porten!") notice_in_map(103,"Objective: Zerstöre die anderen Metins") notice_in_map(103,"Objective: Und beschütze deinen Metin") mob.spawn(8020,466,226,1) mob.spawn(8021,235,303,1) mob.spawn(8022,429,563,1) game.set_event_flag("redStone",1) game.set_event_flag("yellowStone",1) game.set_event_flag("blueStone",1) end when 8020.kill begin local yellowStone = game.get_event_flag("yellowStone") local blueStone = game.get_event_flag("blueStone") game.set_event_flag("redStone",0) if blueStone == 0 then notice_in_map(103,"Chunjo(Gelb) Reich gewann das Event!") timer("reward", 5) elseif yellowStone == 0 then notice_in_map(103,"Jinno(Blaue) Reich gewann das Event!") timer("reward", 5) else notice_in_map(103,"Shinsoo(Rot) Verlor das Event!") end end when 8021.kill begin local redStone = game.get_event_flag("redStone") local yellowStone = game.get_event_flag("yellowStone") game.set_event_flag("blueStone",0) if yellowStone == 0 then notice_in_map(103,"Shinsoo(Rot)Reich gewann das Event!") timer("reward", 5) elseif redStone == 0 then notice_in_map(103,"Chunjo(Gelb) Reich gewann das Event!") timer("reward", 5) else notice_in_map(103,"Jinno(Blaue) Verlor das Event!") end end when 8022.kill begin local redStone = game.get_event_flag("redStone") local blueStone = game.get_event_flag("blueStone") game.set_event_flag("yellowStone",0) if blueStone == 0 then notice_in_map(103,"Shinsoo(Rot)Reich gewann das Event!") timer("reward", 5) elseif redStone == 0 then notice_in_map(103,"Jinno(Blaue) Reich gewann das Event!") timer("reward", 5) else notice_in_map(103,"Chunjo(Gelb) Reich gewann das Event!") end end when reward.timer begin notice_in_map(103,"Gratulation zum Sieg!") notice_in_map(103,"Hole dein Preis in mitten der Map ab!") notice_in_map(103,"In 10minuten wirst du wieder zurück geported!") mob.spawn(8027,406,375,1) mob.spawn(8026,406,394,1) mob.spawn(8027,392,407,1) mob.spawn(8026,375,408,1) mob.spawn(8027,361,394,1) mob.spawn(8026,360,374,1) mob.spawn(8027,374,360,1) mob.spawn(8026,394,361,1) mob.spawn(20074,384,384,1) mob.spawn(20075,387,387,1) mob.spawn(20076,381,381,1) timer('finish', 600) end when finish.timer begin game.set_event_flag("metinEventJoin",0) game.set_event_flag("metinEvent", 0) game.set_event_flag("redStone",0) game.set_event_flag("yellowStone",0) game.set_event_flag("blueStone",0) kill_all_in_map(103) end end end
metinjoin.quest
PHP Code:
quest metinjoin begin state start begin when login begin set_state(information) end end state information begin when letter begin send_letter("Metin Event") end when button or info begin local gm = pc.get_gm_level() if gm > 0 then say("Zum Event Teleportieren lassen?") local teleport = select("Ja","Nein") if teleport == 1 then pc.warp(36872, 57933) else setskin(NOWINDOW) end else local metinEventJoin = game.get_event_flag("metinEventJoin") if metinEventJoin == 0 then say_title("Metin Event") say("Das Event ist nicht an!") say("Warte ab bis ein GM das Event startet") return elseif metinEventJoin == 1 then say_title("Metin Event") say("Das Event ist längst gestartet!") say("Hoffen wir mal das du nächstes mal mehr Glück hast.") return else say_title("Metin Event") say("Die Einladung wird dich in die Map hinporten") say("zu dem Metin Event.") say("") say_reward("Willst du geported werden?") local a = select("Ja","Nein") if a == 2 then say_title("Metin Event") say("Kein Problem kannst auch hier bleiben") return else set_state(eventMap) local empire = pc.get_empire() if empire == 1 then pc.warp(46885, 45850) elseif empire == 2 then pc.warp(45300, 83500) else pc.warp(20761, 55779) end end end end end end state eventMap begin when letter begin send_letter("Metin Event") timer("checkStartFirst", 2) end when button or info begin say_title("Metin Event") say("Du willst wieder in dein Heimatsreich?") local home = select("Ja","Nein") if home == 2 then setskin(NOWINDOW) return else set_state(information) local empire = pc.get_empire() if empire == 1 then pc.warp(409600, 896000 ) elseif empire == 2 then pc.warp(0, 102400 ) else pc.warp(921600, 204800 ) end end end when checkStartFirst.timer begin if game.get_event_flag("metinEvent") == 1 then timer("checkNationFirst", 2) else timer("checkStartSecond", 2) end end when checkStartSecond.timer begin if game.get_event_flag("metinEvent") == 1 then timer("checkNationFirst", 2) else timer("checkStartFirst", 2) end end when checkNationFirst.timer with game.get_event_flag("metinEvent") == 1 begin local empire = pc.get_empire() local blueStone = game.get_event_flag("blueStone") local redStone = game.get_event_flag("redStone") local yellowStone = game.get_event_flag("yellowStone") if empire == 3 and blueStone == 0 then pc.warp(921600, 204800 ) set_state(information) end if empire == 2 and yellowStone == 0 then pc.warp(0, 102400 ) set_state(information) end if empire == 1 and redStone == 0 then pc.warp(409600, 896000 ) set_state(information) else timer("checkNationSecond", 2) end end when checkNationSecond.timer with game.get_event_flag("metinEvent") == 1 begin local empire = pc.get_empire() local blueStone = game.get_event_flag("blueStone") local redStone = game.get_event_flag("redStone") local yellowStone = game.get_event_flag("yellowStone") if empire == 3 and blueStone == 0 then pc.warp(921600, 204800 ) set_state(information) end if empire == 2 and yellowStone == 0 then pc.warp(0, 102400 ) set_state(information) end if empire == 1 and redStone == 0 then pc.warp(409600, 896000 ) set_state(information) else timer("checkNationFirst", 2) end end end end
|
So fertig übersetzt.
Viel Spaß
Best Regards,
.Dark.
|
|
|
08/25/2010, 09:12
|
#14
|
elite*gold: 0
Join Date: Aug 2010
Posts: 223
Received Thanks: 50
|
@.Dark.: So fertig übersetzt.
thx das du für uns das übersetzt hast thx
|
|
|
08/25/2010, 11:31
|
#15
|
elite*gold: 77
Join Date: Jan 2009
Posts: 9,732
Received Thanks: 5,599
|
Kein Problem.
Topic starter if you would you can put my Translate into our first Post
Best Regards,
.Dark.
|
|
|
 |
|
Similar Threads
|
[Release]All Metin Map Quest-Telport
04/21/2011 - Metin2 PServer Guides & Strategies - 14 Replies
Hi Elitepvpers Community,
Today i will put some quest-teleport and new maps !
First Quest :
Download Here
INFORMATION : This quest will appear at Larry (/m 20093) and it teleport to Water Cavern (V3) for an item (Bera Heart (/i 70022)) or you can give him some gold ~ 2.5kk gold and he let you pass in !
|
Quest Problem <<< Metin Event
08/30/2010 - Metin2 Private Server - 5 Replies
Was kann hier falsch sein ?
Das Event scheint dauer aktiv zu sein, der Timer läuft nicht ab und anklicken kann ich den Npc auch nicht.
Und ja ich habe es in der Mob_proto geändert< bei one_click.
was stimmt da nicht ?
Nr. 1 der Quest
quest metinjoin begin
state start begin
|
Quest für Event?
03/09/2010 - Metin2 Private Server - 4 Replies
Hey Leute !
Da ich mit Quests Scripten bzw Scripten selber nich so erfahren bin wollte ich mal fragen ob jemand sowas scripten könnte:
Eine Quest in der Man auf Ja oder nein drücken kann ... und die Ja's und Nein'S dann von einem GM abrufbar sind!
Oder eine Quest wo man einfach in ein Textfeld reinschreiben kann welches Event man haben mag und das dann an den/die GM's geschickt werden kann!
Falls jemand so nett wär gib auch Thx! MIN!!
|
Akt V Quest/event
11/09/2009 - Flyff - 2 Replies
Dr. Estly hat eine Belohnung auf erste Fotos von den seltenen Masquerpets auf dem neuen Kontinent ausgesetzt. Unternehmt eine Dschungelsafari und nehmt an unserem Event teil!
Die neue Passage ist offen und der Zugang zu einem neuen Kontinent möglich! Dr. Estly ist schon ganz aufgeregt und möchte die neuen Arten von Masquerpets am liebsten persönlich in Augenschein nehmen. Jedoch ist er gerade sehr beschäftigt, muss er doch erst seine wissenschaftlichen Studien abschließen. Da er es aber...
|
All times are GMT +1. The time now is 16:45.
|
|