Cum se seteaza dropul cheii zin din etajul 8 DT

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
suraskill1234
Nivel 1

Nivel 1
Mesaje: 53
Membru din: 06 Feb 2016, 18:27
Server: Metin2Hope
Regat: Jinno
Aprecieri: 3  
Mulţumiri: 0
 Contact:
Medalii

Buna!Am si eu o mica problema,la etajul 8 din dt nu dropeaza cheie zin,cum fac sa dropeze mai exact?
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

suraskill1234 scrie:Buna!Am si eu o mica problema,la etajul 8 din dt nu dropeaza cheie zin,cum fac sa dropeze mai exact?
se setează din quest
Imagine
Afișează semnătura
Avatar utilizator
suraskill1234
Nivel 1

Nivel 1
Mesaje: 53
Membru din: 06 Feb 2016, 18:27
Server: Metin2Hope
Regat: Jinno
Aprecieri: 3  
Mulţumiri: 0
 Contact:
Medalii

Poti sa imi expemplifici mai exact unde?Am intrat la quest-uri dar nu gasesc..
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

suraskill1234 scrie:Poti sa imi expemplifici mai exact unde?Am intrat la quest-uri dar nu gasesc..
dropul trebuie să fie setat din quest-ul de la dt omule.. nu stau eu acum să-ți fac quest-ul.. dacă nu pică cheile nu pică și gata.. încearcă alt quest dacă pe al tău nu te descurci să-l modifici.. piatra o ai în item_proto?
Imagine
Afișează semnătura
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

suraskill1234 scrie:Buna!Am si eu o mica problema,la etajul 8 din dt nu dropeaza cheie zin,cum fac sa dropeze mai exact?
quest deviltower_zone begin
state start begin
when login begin
if pc.get_map_index() == 66 then
if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then
pc.warp(590500, 110500)
end
pc.set_warp_location(65, 5905, 1105)
elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
pc.set_warp_location(65, 5905, 1105)
deviltower_zone.register_player(pc.get_vid())
end
end

when logout begin
if pc.count_item(30300) >= 1 then
pc.remove_item(30300, pc.count_item(30300))
end
if pc.count_item(30302) >= 1 then
pc.remove_item(30302, pc.count_item(30302))
end
if pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
deviltower_zone.unregister_player(pc.get_vid())
end
end
when deviltower_man.chat.locale.deviltower_man_chat begin
if pc.get_level() < 40 then
say_title("Paznicul turnului demonilor:")
say ( "Nu ai inca destula experienta.Vino inapoi cand vrei avea cel putin Level 40!" )
say ( "" )
else
say_title("Paznicul turnului demonilor:")
say ( "Acest turn este plin de demoni.Numai cei mai" )
say ( "puternici pot ajunge in varf.Zvonul zice ca" )
say ( "nimeni care a intrat nu a iesit viu." )
say ( "" )
say ( "Inca iti mai doresti sa intri in Turnul Demonilor?" )
say ( "" )
local s = select ( "Intra" , "Nu intra" )
if s == 1 then
-- warp into!
pc.warp(216500,727000)
end
end
end
when devil_stone1.kill begin
timer("devil_stone1_1", 8)
end
when devil_stone1_1.timer begin
d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])
d.regen_file("data/dungeon/deviltower2_regen.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")
end
when devil_stone3.kill begin
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[3][1], special.devil_tower[3][2], "data/dungeon/deviltower4_regen.txt")
d.check_eliminated()
end
function get_4floor_stone_pos()
local positions =
{
{368, 629}, {419, 630}, {428, 653}, {422, 679},
{395, 689}, {369, 679}, {361, 658},
}
for i = 1, 6 do
local j = number(i, 7)
if i != j then
local t = positions;
positions = positions[j];
positions[j] = t;
end
end
return positions
end
when 8016.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.setf("level", 4)
local positions = deviltower_zone.get_4floor_stone_pos()
for i = 1, 6 do
d.set_unique("fake" .. i , d.spawn_mob(8017, positions[1], positions[2]))
end
local vid = d.spawn_mob(8017, positions[7][1], positions[7][2])
d.set_unique("real", vid)
server_loop_timer('devil_stone4_update', 10, pc.get_map_index())
server_timer('devil_stone4_fail1', 5*60, pc.get_map_index())

d.notice("Gaseste Piatra Cheie adevarata,");
d.notice("Pentru a trece mai departe.");
d.notice("Doar o piatra metin este buna!");
d.notice("Ai la dispozitie 15 minute!");
end

when devil_stone4_fail1.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Timp ramas: 10 Minute")
server_timer('devil_stone4_fail2', 5*60, get_server_timer_arg())
end
end

when devil_stone4_fail2.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Timp ramas: 5 Minute")
server_timer('devil_stone4_fail', 5*60, get_server_timer_arg())
end
end

when devil_stone4_fail.server_timer begin
if d.select(get_server_timer_arg()) and d.getf("level") == 4 then
d.notice("Timpul a expirat.")
d.exit_all()
end
end

when devil_stone4_update.server_timer begin
if d.select(get_server_timer_arg()) then
if not d.is_unique_dead("real") then
for i = 1, 6 do
if d.getf("fakedead" .. i) == 0 then
if d.unique_get_hp_perc("fake" .. i) < 50 then
d.purge_unique("fake" .. i)
d.setf("fakedead" .. i, 1)
d.notice("Pietrele Metin false dispar...");
end
end
end
else
server_timer("devil_stone4_end", 5, get_server_timer_arg())

d.notice("Ati distrus Piatra Metin adevarata!")
d.purge()
end
else
server_timer('devil_stone4_stop_timer', 1, get_server_timer_arg())
end
end

when devil_stone4_stop_timer.server_timer begin
clear_server_timer('devil_stone4_update', get_server_timer_arg())
end

when devil_stone4_end.server_timer begin
if d.select(get_server_timer_arg()) then
clear_server_timer('devil_stone4_update', get_server_timer_arg())
clear_server_timer('devil_stone4_fail1', get_server_timer_arg())
clear_server_timer('devil_stone4_fail2', get_server_timer_arg())
clear_server_timer('devil_stone4_fail', get_server_timer_arg())

d.setf("level", 5)
d.setf("stone_count", 5)

d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
d.notice("Ati ajuns la etajul 5.")
d.notice("Trebuie sa desfaceti toate sigiliile")
d.notice("cu piatra cheie.Aveti la dispozitie 20 minute.")


server_timer('devil_stone5_fail1', 5*60, get_server_timer_arg())
clear_server_timer('devil_stone4_update', get_server_timer_arg())

d.set_regen_file("data/dungeon/deviltower5_regen.txt")

d.spawn_mob(20073, 421, 452)
d.spawn_mob(20073, 380, 460)
d.spawn_mob(20073, 428, 414)
d.spawn_mob(20073, 398, 392)
d.spawn_mob(20073, 359, 426)
end
end
when devil_stone5_fail1.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Timp ramas: 15 Minute")
server_timer('devil_stone5_fail2', 5*60, get_server_timer_arg())
end
end

when devil_stone5_fail2.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Timp ramas: 10 Minute")
server_timer('devil_stone5_fail3', 5*60, get_server_timer_arg())
end
end

when devil_stone5_fail3.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Timp ramas: 10 Minute")
server_timer('devil_stone5_fail', 5*60, get_server_timer_arg())
end
end

when devil_stone5_fail.server_timer begin
if d.select(get_server_timer_arg()) and d.getf("level") == 5 then
d.notice("Timpul a expirat!")
d.exit_all()
end
end

when 1062.kill with pc.in_dungeon() and d.getf("level") == 5 begin
local KILL_COUNT_FOR_DROP_KEY = 50
local n =d.getf("count") + 1
d.setf("count", n)
if n == KILL_COUNT_FOR_DROP_KEY then
game.drop_item(50084, 1)
d.setf("count", 0)
end
end
when devil_stone5.take with item.vnum == 50084 begin
npc.purge()
item.remove()
d.setf("stone_count", d.getf("stone_count") - 1)
if d.getf("stone_count") <= 0 then
d.clear_regen()
d.kill_all()
d.kill_all()
d.kill_all()
d.kill_all()
d.kill_all()
d.notice("Ati reusit sa deschideti toate sigiliile.")

clear_server_timer('devil_stone5_fail1', get_server_timer_arg())
clear_server_timer('devil_stone5_fail2', get_server_timer_arg())
clear_server_timer('devil_stone5_fail3', get_server_timer_arg())
clear_server_timer('devil_stone5_fail', get_server_timer_arg())

d.setf("level", 6)
d.jump_all(special.devil_tower[5][1], special.devil_tower[5][2])
d.regen_file("data/dungeon/deviltower6_regen.txt")

d.notice("Inainte sa omorati Demonul Rege,")
d.notice("omorati ceilalti monstrii!")

else
d.notice("Au mai ramas "..d.getf("stone_count").." sigilii")
end
end

when devil_stone6.kill begin
d.kill_all()
d.kill_all()
d.kill_all()
d.kill_all()
d.kill_all()
d.check_eliminated()
local reward_alchemist = {20074, 20075, 20076}
d.spawn_mob(reward_alchemist[number(1,3)], 425, 216);
d.setqf("can_refine", 1)
end


when 20074.chat."Etajul urmator" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and npc.lock() begin
say_title(""..mob_name(20074)..":")
say("")
say("Vrei sa mergi la etajul 7?")
say("Doar cei mai bravi razboinici,")
say("pot invinge monstrii de la urmatorul etaj.")
say("Stai sa verific de ce esti in stare.....")
wait()
if pc.level >=75 then
say_title(""..mob_name(20074)..":")
say("")
say("Se pare ca esti destul de curajos...")
say("Iti doresc mult noroc!")
timer("devil_jump_7", 6)
npc.unlock()
d.purge()
return
end
say_title(""..mob_name(20074)..":")
say("")
say("Citesc in ochii tai frica...")
say("Pentru siguranta ta,nu te voi lasa")
say("sa treci.Revino cand ai lv 75!")

say("")
wait()
pc.warp(590500, 110500)
return
end
when 20075.chat."Etajul urmator" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and npc.lock() begin
say_title(""..mob_name(20075)..":")
say("")
say("Vrei sa mergi la etajul 7?")
say("Doar cei mai bravi razboinici,")
say("pot invinge monstrii de la urmatorul etaj.")
say("Stai sa verific de ce esti in stare.....")
wait()
if pc.level >=75 then
say_title(""..mob_name(20075)..":")
say("")
say("Se pare ca esti destul de curajos...")
say("Iti doresc mult noroc!")
timer("devil_jump_7", 6)
npc.unlock()
d.purge()
return
end
say_title(""..mob_name(20075)..":")
say("")
say("Citesc in ochii tai frica...")
say("Pentru siguranta ta,nu te voi lasa")
say("sa treci.Revino cand ai lv 75!")
wait()
pc.warp(590500, 110500)
return
end
when 20076.chat."Etajul urmator" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and npc.lock() begin
say_title(""..mob_name(20076)..":")
say("")
say("Vrei sa mergi la etajul 7?")
say("Doar cei mai bravi razboinici,")
say("pot invinge monstrii de la urmatorul etaj.")
say("Stai sa verific de ce esti in stare.....")
wait()
if pc.level >=75 then
say_title(""..mob_name(20076)..":")
say("")
say("Se pare ca esti destul de curajos...")
say("Iti doresc mult noroc!")
timer("devil_jump_7", 6)
npc.unlock()
d.purge()
return
end
say_title(""..mob_name(20076)..":")
say("")
say("Citesc in ochii tai frica...")
say("Pentru siguranta ta,nu te voi lasa")
say("sa treci.Revino cand ai lv 75!")
wait()
pc.warp(590500, 110500)
return
end

when devil_jump_7.timer begin
d.clear_regen()

d.spawn_mob(8018, 639, 658)
d.spawn_mob(8018, 611, 637)
d.spawn_mob(8018, 596, 674)
d.spawn_mob(8018, 629, 670)

d.setf("level", 7)

d.jump_all(2048+590, 6656+638)
end

when 8018.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
local cont = d.getf("7_stone_kill") + 1
d.setf("7_stone_kill", cont)

if cont >= 4 then
d.setf("7_stone_kill", 0)
d.set_regen_file("data/dungeon/deviltower7_regen.txt")
end
end

when 8019.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
game.drop_item(30300, 1)
end

when 30300.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
pc.remove_item("30300", 1)

local pct = number(1,8)

if pct == 1 then
game.drop_item(30302, 1)
d.clear_regen()
else
game.drop_item(30301, 1)

end
end

when 30302.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
-- 8ÃþÀ¸·Î ¿öÇÁ

if d.getf( "level" ) != 7 then
pc.remove_item( "30302", 1)
return
end

say("Ai gasit harta cea buna,pentru urmatorul etaj.")
pc.remove_item("30302", 1)
timer("devil_jump_8", 6)
d.clear_regen()
end

--------------------------------------------
-- 8Ãþ ÁøÀÔºÎÅÍ 9Ãþ ±îÁö
--------------------------------------------
when devil_jump_8.timer begin
d.setf("level", 8)
d.jump_all(2048+590, 6656+403)
d.set_regen_file("data/dungeon/deviltower8_regen.txt")
d.spawn_mob(20366, 640, 460)
local _count = pc.count_item(30302)
pc.remove_item(30302,_count)

end

when 1040.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
if d.getf("level") < 9 then
local pct1 = number(1, 10)
if pct1 == 1 then
local pct2 = number(1, 4)
if pct2 == 1 then
-- ÁøÂ¥ ¿­¼è µå·Ó
game.drop_item(30304, 1)
else
-- °¡Â¥ ¿­¼è µå·Ó
game.drop_item(30303, 1)
end
else
return
end
end
end

when 20366.take with item.vnum == 30304 begin
-- ºÀÀÎ ÇØÃ¼ 9Ãþ ¤¡¤¡
npc.purge()
item.remove()
timer("devil_jump_9", 8)
end

---------------------------------------------
-- 9Ãþ ÁøÀÔºÎÅÍ ¿Ï·á±îÁö
---------------------------------------------
when devil_jump_9.timer begin
d.setf("level", 9)
d.jump_all(2048+590, 6656+155)
d.regen_file("data/dungeon/deviltower9_regen.txt")
end

when 1093.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.kill_all()
d.kill_all()
d.kill_all()
d.kill_all()
d.kill_all()
timer("devil_end_jump", 30)
end

when devil_end_jump.timer begin
d.exit_all()
end
function register_player(vid)
local player_count = d.getf("player_count")
player_count = player_count + 1
d.setf("player_count", tonumber(player_count))
d.setf(string.format("player%d", player_count), tonumber(vid))
end
function unregister_player(vid)
local player_count = d.getf("player_count")
local found = false
for i = 1, player_count, 1 do
if found == true then
d.setf(string.format("player%d", tonumber(i)), d.getf(string.format("player%d", i+1)))
end
p = d.getf("player"..tostring(i))
if p == vid then
i = i -1
found = true
end
end
if found == true then
d.setf("player_count", tonumber(player_count - 1))
end
end
function get_players()
local players = {}
local player_count = d.getf("player_count")
for i = 1, player_count, 1 do
players = d.getf("player"..tostring(i))
end
return players
end
function give_dc_access(pindex)
local self_checked = false
local self = pc.select(d.getf("player"..tostring(pindex)))
--pc.setqf("dcenter", 1)
pc.setf("deviltower_zone", "dcenter", 1)
pc.select(self)
end
end
end

Uite aici un quest complet .
https:/horus-maps.com
Afișează semnătura
Avatar utilizator
suraskill1234
Nivel 1

Nivel 1
Mesaje: 53
Membru din: 06 Feb 2016, 18:27
Server: Metin2Hope
Regat: Jinno
Aprecieri: 3  
Mulţumiri: 0
 Contact:
Medalii

Da,apare in intem_proto
Avatar utilizator
suraskill1234
Nivel 1

Nivel 1
Mesaje: 53
Membru din: 06 Feb 2016, 18:27
Server: Metin2Hope
Regat: Jinno
Aprecieri: 3  
Mulţumiri: 0
 Contact:
Medalii

Mersi!Acum verific questul!
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

Subiect arhivat ,autorul nu a dat nici un semn timp de 3zile.
https:/horus-maps.com
Afișează semnătura
Închis
Răspunsuri
2
Vizualizări
817
Răspunsuri
4
Vizualizări
573
Răspunsuri
2
Vizualizări
247
Răspunsuri
6
Vizualizări
567

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Semrush [Bot] și 29 vizitatori