Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Poprawa] Nie tepa na dungen


Rekomendowane odpowiedzi

Opublikowano

witam nie tepa na dungen

warp to 981200 981200

 

 

quest diamondt begin
state start begin
when 20348.chat."kk" begin
if pc.level >= 35 then
say_title("Straznik Wiezy: ")
say_title("kk jest przeklęta...")
say_reward("Czy masz odwage wejść do niej?")
local s = select("Wejdz", "Anuluj")
if a == 1 then
pc.setqf("priv_se_pong", 1)
d.join(205)
end
else
say("Posiadasz zbyt maly level")
end
end
when login begin
if pc.get_map_index() == 65 then
if pc.getqf("priv_se_pong") > 0 then
pc.setqf("priv_se_pong", 0)
end
endw
if pc.get_map_index() == 205 then
if pc.get_x() < 9812+88 or pc.get_y() < 9812+577 or pc.get_x() > 9812+236 or pc.get_y() > 9812+737 then
pc.warp((5376+532)*100, (512+596+4)*100, 65)
end
pc.set_warp_location(65, 5376+532, 512+596+4)
elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
pc.set_warp_location(65, 5376+532, 512+596+4)
end
end
when login with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
if pc.getqf("priv_se_pong") > 0 then
pc.setqf("priv_se_pong", 0)
d.regen_file("data/dungeon/se_pong_regen.txt")
d.spawn_mob(8036, 195, 690)
end
end
when 8036.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
timer("se_pong", 6)
end
when se_pong.timer begin
d.new_jump_all(205, special.devil_tower[1][1], special.devil_tower[1][2])
d.regen_file("data/dungeon/se_pong_regen2.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/se_pong_regen3.txt")
end
when 691.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.jump_all(special.devil_tower[3][1], special.devil_tower[3][2])
d.spawn_mob(8036, 372, 631)
end
when 8036.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.regen_file("data/dungeon/se_pong_regen4.txt")
end
when 692.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.setf("pieczenci", 5)
d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
d.regen_file("data/dungeon/se_pong_regen5.txt")
end
when 693.kill with pc.in_dungeon() begin
pc.give_item2(50084, 1)
end
when 20353.take with item.vnum == 50084 begin
npc.purge()
item.remove()
d.setf("pieczenci", d.getf("pieczenci") - 1)
if d.getf("pieczenci") <= 0 then
d.clear_regen()
d.regen_file("data/dungeon/se_pong_regen6.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/se_pong_regen7.txt")
end
end
when 2604.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.clear_regen()
d.spawn_mob(2501, 617, 676)
d.jump_all(9812+590, 9812+638)
end
when 2501.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.spawn_mob(20074, 617, 676)
d.regen_file("data/dungeon/se_pong_regen7.txt")
end
when 20087.chat."Wyjdz" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
say("Chcesz wyjść ")
local b = select("Wyjdz", "Anuluj")
if b == 1 then
timer("wyjdz_se_pong", 12)
end
end
when wyjdz_se_pong.timer begin
d.exit_all()
end
end
end
Opublikowano

Jeśli stosujesz d.join to index mapy z której się dostajesz [przenosisz] musi być dodany w tym samym CONFIG channelu/podchannelu co mapa na którą się przenosisz ;)

dCrwk2h.gif

Opublikowano

Spróbuj tak:

quest diamondt begin
state start begin
when 20348.chat."kk" begin
if pc.level >= 35 then
say_title("Straznik Wiezy: ")
say_title("kk jest przeklęta...")
say_reward("Czy masz odwage wejść do niej?")
local s = select("Wejdz", "Anuluj")
if a == 1 then
pc.setqf("priv_se_pong", 1)
d.join(205)
end
else
say("Posiadasz zbyt maly level")
end
end
when login begin
if pc.get_map_index() == 205 then
if pc.getqf("priv_se_pong") > 0 then
pc.setqf("priv_se_pong", 0)
end
end
if pc.get_map_index() == 205 then
if pc.get_x() < 9812+88 or pc.get_y() < 9812+577 or pc.get_x() > 9812+236 or pc.get_y() > 9812+737 then
pc.warp((5376+532)*100, (512+596+4)*100, 65)
end
pc.set_warp_location(65, 5376+532, 512+596+4)
elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
pc.set_warp_location(65, 5376+532, 512+596+4)
end
end
when login with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
if pc.getqf("priv_se_pong") > 0 then
pc.setqf("priv_se_pong", 0)
d.regen_file("data/dungeon/se_pong_regen.txt")
d.spawn_mob(8036, 195, 690)
end
end
when 8036.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
timer("se_pong", 6)
end
when se_pong.timer begin
d.new_jump_all(205, special.devil_tower[1][1], special.devil_tower[1][2])
d.regen_file("data/dungeon/se_pong_regen2.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/se_pong_regen3.txt")
end
when 691.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.jump_all(special.devil_tower[3][1], special.devil_tower[3][2])
d.spawn_mob(8036, 372, 631)
end
when 8036.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.regen_file("data/dungeon/se_pong_regen4.txt")
end
when 692.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.setf("pieczenci", 5)
d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
d.regen_file("data/dungeon/se_pong_regen5.txt")
end
when 693.kill with pc.in_dungeon() begin
pc.give_item2(50084, 1)
end
when 20353.take with item.vnum == 50084 begin
npc.purge()
item.remove()
d.setf("pieczenci", d.getf("pieczenci") - 1)
if d.getf("pieczenci") <= 0 then
d.clear_regen()
d.regen_file("data/dungeon/se_pong_regen6.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/se_pong_regen7.txt")
end
end
when 2604.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.clear_regen()
d.spawn_mob(2501, 617, 676)
d.jump_all(9812+590, 9812+638)
end
when 2501.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.spawn_mob(20074, 617, 676)
d.regen_file("data/dungeon/se_pong_regen7.txt")
end
when 20087.chat."Wyjdz" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
say("Chcesz wyjść ")
local b = select("Wyjdz", "Anuluj")
if b == 1 then
timer("wyjdz_se_pong", 12)
end
end
when wyjdz_se_pong.timer begin
d.exit_all()
end
end
end
727881401622271220780.jpeg
Opublikowano
Config
MAP_ALLOW: 1 2 3 301 10 202 21 23 200 25 41 43 44 45 61 62 63 64 65 66 67 68 69 70 71 72 73 87 88 89 209 205

Setting

 

ScriptType MapSetting
 
CellScale 200
HeightScale 0.500000
 
ViewRadius 128
 
MapSize 3 3
BasePosition 981200 981200
TextureSet textureset\metin2_map_deviltower1.txt
Environment spiderdungeon.msenv
 
Opublikowano

 

Config
MAP_ALLOW: 1 2 3 301 10 202 21 23 200 25 41 43 44 45 61 62 63 64 65 66 67 68 69 70 71 72 73 87 88 89 209 205

Setting

ScriptType MapSetting
 
CellScale 200
HeightScale 0.500000
 
ViewRadius 128
 
MapSize 3 3
BasePosition 981200 981200
TextureSet textureset\metin2_map_deviltower1.txt
Environment spiderdungeon.msenv
 

Wejdź na tą mapę i na niej wpisz /warp xxx yyy i zobacz, czy przeniesie Cię w odpowiednie miejsce.

727881401622271220780.jpeg
Opublikowano

tak przenosi jak wpisze warp to tak ale u npc nie

Może jest to wina questa?

 

Wgraj zwykły prosty quest, który powinien przenieść Cię na tą mapę:

quest tep begin
	state start begin
		when 20348.chat."Przenieś mnie!" begin
			say_title("Straznik Wiezy: ")
			say_title("kk jest przeklęta...")
			say_reward("Czy masz odwage wejść do niej?")
				local s = select("Wejdz")
					if a == 1 then
						d.join(205)
					end
		end
	end
end

Jeśli przeniesie - quest na wieżę jest zły.

727881401622271220780.jpeg

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...