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

[PROBLEM] Problem z DT i lua.


Rekomendowane odpowiedzi

Opublikowano

Witam!

Od kilku dni mam problem z DT i lua. Błąd polega na tym że jak jestem na piętrach z pieczątkami i chce ją oddać, jest brak reakcji ze strony serwera a w syslogu pokazuje się błąd. Mam system 64 bitowy wersja 8.2.

Quest na DT:

quest deviltower_zone begin
   state start begin
when login begin
    if pc.get_map_index() == 66 then
	-- Nicht in einer Etage, die wieder nach drau?1/4n .
	-- Layer Range 
	-- 1F   88  577  236 737
	-- 2F   91  343  238 504
	-- 3F  104  107  248 269
	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((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 deviltower_man.chat.locale.deviltower_man_chat begin
    if pc.get_level() < 40 then
	say(locale.deviltower_man_say_you_cant)
    else
	say(locale.deviltower_man_say)
	local s = select(locale.deviltower_enter,locale.deviltower_no_enter)
	if s == 1 then
	    -- warp into!
	    pc.warp(216500,727000)
	end
    end
end
when devil_stone1.kill begin
    timer("devil_stone1_1", 6)
end
when devil_stone1_1.timer begin
	local mapto7= pc.count_item(30302)  -- Ich weiß nicht, das wahre Tilgung der die Existenz der Seele des Turms 
	pc.remove_item(30302,mapto7)

	local boxto7= pc.count_item(30300)  -- Beseitigung des unbekannten weiß nicht, ob es sich um ein Feld 
	pc.remove_item(30300,boxto7)

    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_stone2.kill begin
--d.jump_all_local(special.devil_tower[2][1], special.devil_tower[2][2])
--end
when devil_stone3.kill begin
    --d.jump_all_local(special.devil_tower[3][1], special.devil_tower[3][2])
    --d.set_exit_all_at_eliminate(6)
    --d.set_warp_at_eliminate(6, d.get_map_index(), 100, 100)
    --d.set_warp_at_eliminate(4, 65, 5376+532, 512+596+4)
    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()
    --d.exit_all()
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[i];
	    positions[i] = positions[j];
	    positions[j] = t;
	end
    end
    --for i = 1, 7 do
--	positions[i][1] = positions[i][1] * 100
--	positions[i][2] = positions[i][2] * 100
 --   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)
    -- Reproduzieren eine gro?1/4 Anzahl von Monstern und Herstellung von wahr und falsch Steine Steine 
    --d.regen_file("data/dungeon/deviltower4_regen.txt")
    local positions = deviltower_zone.get_4floor_stone_pos()
    for i = 1, 6 do
	chat(positions[i][1], positions[i][2])
	d.set_unique("fake" .. i , d.spawn_mob(8017, positions[i][1], positions[i][2]))
    end
    chat(positions[7][1], positions[7][2])
    local vid = d.spawn_mob(8017, positions[7][1], positions[7][2])
    chat(vid)
    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("Hier ist der 4. Etage,");
    d.notice("findet den Echten Metinstein");
    d.notice("innerhalb von 15 Minuten,");
    d.notice("Sonst werdet ihr vor die Tür gesetzt.");
end

when devil_stone4_fail1.server_timer begin
    if d.select(get_server_timer_arg()) then
	d.notice("Noch 10 Minuten!")
	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("Noch 5 Minuten!")
	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()) then
	d.notice("Die Zeit ist abgelaufen")
	d.exit_all()
	clear_server_timer('devil_stone4_update', get_server_timer_arg())
    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("Ein falscher Metinstein verschwindet.");
		    end
		end
	    end
	else
	    --d.clear_regen()
	    --d.regen_file("data/dungeon/deviltower5_regen.txt")
	    server_timer("devil_stone4_end", 5, get_server_timer_arg())
	    d.notice("Glückwunsch Euch ist es geglückt den Echten Metinstein");
	    d.notice("zu finden... Auf in die nächste Etage.")
	    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())
	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
	d.setf("level", 5)
	d.setf("stone_count", 5)
	d.notice("Willkommen auf der 5.ten Etage")
	d.notice("Tötet alle Monster denn manche Tragen den Schlüssel")
	d.notice("für die nächste Etage mit sich")
	d.notice("Öffnet alle Säulen mit hilfe der Schlüsselsteine (Ihr habt 20 Minuten Zeit)")
	d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
	server_timer('devil_stone5_fail1', 5*60, get_server_timer_arg())
	clear_server_timer('devil_stone4_update', get_server_timer_arg())

	-- 5. Stock, weiter zu reproduzieren 
	d.set_regen_file("data/dungeon/deviltower5_regen.txt")

	-- 5. Stock, Seal Stone Reproduktion 
	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("Noch 15 Minuten.")
	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("Noch 10 Minuten.")
	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("Noch 5 Minuten.")
	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()) then
	d.notice("Die Zeit ist abgelaufen.")
	d.exit_all()
    end
end

--when devil_stone4.kill begin
    --d.setf("level", 5)
    --d.setf("stone_count", 4)
    --d.clear_regen()
    --d.regen_file("data/dungeon/deviltower5_regen.txt")
    --d.jump_all_local(special.devil_tower[4][1], special.devil_tower[4][2])
--end

when 1062.kill with pc.in_dungeon() and d.getf("level") == 5 begin
    local KILL_COUNT_FOR_DROP_KEY = 50
    --if is_test_server() then
	--KILL_COUNT_FOR_DROP_KEY = 1
    --end
    local n =d.getf("count") + 1
    d.setf("count", n) 
    if n == KILL_COUNT_FOR_DROP_KEY then
	-- Falling Tasten 
	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.setf("level", 6)
	d.clear_regen()
	d.regen_file("data/dungeon/deviltower6_regen.txt")

	d.notice("Glückwunsch ihr habt alle Säulen Geöffnet")
	d.notice("Ihr werdet in die nächste Etage aufsteigen.")
	d.jump_all(special.devil_tower[5][1], special.devil_tower[5][2])
	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())
    else
	d.notice("Säule entfernt... Noch "..d.getf("stone_count").."Viel Glück")
    end
end

when devil_stone6.kill begin
    -- Geschickt, um eine Karte, wo die Verfeinerung St. 
    -- Ansonsten ?1/4fnen Sie ein neues Lian Sheng 
    --d.jump_all(special.devil_tower[6][1], special.devil_tower[6][2])
    d.kill_all()
   -- d.set_warp_at_eliminate(3*60, 65, 5376+532, 512+596+4)
    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

--------------------------------------
-- 7 D kommt man aus dem Zugriff vor dem 8. Stock 
--------------------------------------

when 20074.chat."Die Oberen Stockwerke" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	say(""..mob_name(20074).."")
	say("Möchtet ihr Weiter herrauf")
	say("und euer können weiterhin unter Beweiss stellen?")
	say("Ich jedenfalls bleibe hier")
	say("")
	wait()
	if pc.level >=75 then
		say("Ihr seid zumindest gross genug.")
		say("Doch seid ihr auch Tapfer genug?")
		say("Es gibt nur eine möglichkeit das festzustellen.")
		timer("devil_jump_7", 6)
		return
	end
	say("Ihr seid leider noch nicht ")
	say("gross genug um weiter aufzusteigen")
	say("Übt noch ein wenig und kommt dann wieder.")
	say("Viel Glück auf eurer Reise.")
	say("")
	wait()
	pc.warp(590500, 110500)
	return
   end
when 20075.chat."Mit Bezug auf den oberen Turm .." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	say(""..mob_name(20075).."")
	say("Möchtet ihr Weiter herrauf")
	say("und euer können weiterhin unter Beweiss stellen?")
	say("Ich jedenfalls bleibe hier")
	say("")
	wait()
	if pc.level >=75 then
		say("Ihr seid zumindest gross genug.")
		say("Doch seid ihr auch Tapfer genug?")
		say("Es gibt nur eine möglichkeit das festzustellen.")
		timer("devil_jump_7", 6)
		return
	end
	say("Ihr seid leider noch nicht ")
	say("gross genug um weiter aufzusteigen")
	say("Übt noch ein wenig und kommt dann wieder.")
	say("Viel Glück auf eurer Reise.")
	say("")
	wait()
	pc.warp(590500, 110500)
	return
   end
when 20076.chat."Mit Bezug auf den oberen Turm .." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	say(""..mob_name(20076).."")
	say("Möchtet ihr Weiter herrauf")
	say("und euer können weiterhin unter Beweiss stellen?")
	say("Ich jedenfalls bleibe hier")
	say("")
	wait()
	if pc.level >=75 then
		say("Ihr seid zumindest gross genug.")
		say("Doch seid ihr auch Tapfer genug?")
		say("Es gibt nur eine möglichkeit das festzustellen.")
		timer("devil_jump_7", 6)
		return
	end
	say("Ihr seid leider noch nicht ")
	say("gross genug um weiter aufzusteigen")
	say("Übt noch ein wenig und kommt dann wieder.")
	say("Viel Glück auf eurer Reise.")
	say("")
	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,10)

	if pct == 1 then
		-- Fall wahr Karte
		game.drop_item(30302, 1)
		d.clear_regen()
	else
		-- Fall wahr Karte
		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
	-- An der 8th Floor 
	say("Du wirst in die Zin Grotte teleportiert. Viel Glück.")
	pc.remove_item("30302", 1)
    timer("devil_jump_8", 6)
	d.clear_regen()
end

--------------------------------------------
-- Von 8 F vor der Ankunft geben Sie die 9 F 
--------------------------------------------
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)-- True Tilgung Dead Turm 
	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
	local pct1 = number(1, 5)
	if pct1 == 1 then
		local pct2 = number(1, 10)
		if pct2 == 1 then
			-- Fall wahre Schl?1/4sel 
			game.drop_item(30304, 1)
		else
			-- Keys fiel 
			game.drop_item(30303, 1)
		end
	else
		return
	end
end

when 20366.take with item.vnum == 30304 begin
	-- 9 F-Zeichen aufgehoben 
	npc.purge()
	item.remove()
	timer("devil_jump_9", 6)
end

---------------------------------------------
-- 9 F ein Ende, indem Sie 
---------------------------------------------
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()
	timer("devil_end_jump", 10)
	d.notice("Glückwunsch!!!")
	d.notice("Du hast den Sensenmann getötet!!!")
	d.notice("Du gelangst nun in die Etage des Gemeinen Dämonenkönigs!!!")
end

when devil_end_jump.timer begin
    d.setf("level", 7)
	d.jump_all(2048+590, 6656+638)
	d.clear_regen()
	d.spawn_mob(1094, 639, 658)
end

when 1094.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	d.notice("Glückwunsch!!!")
	d.notice("Du hast den Gemeinen Dämonenkönig getötet!!!")
	d.notice("Du gelangst nun in die Etage des Blauen Todes!!!")
	d.kill_all()
	timer("devil_end_jump_schmied", 10)
end

when devil_end_jump_schmied.timer begin
	d.setf("level", 9)
	d.jump_all(2048+590, 6656+155)
	d.clear_regen()
	d.spawn_mob(1095, 605, 178)
end

when 1095.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
    notice_all("".. pc.get_name() .." hat den Blauen Tod bezwungen!!!")
       notice_all("Wir sind alle soo stolz XDDD")
	d.notice("Glückwunsch!!!")
	d.notice("Du hast den Blauen Tod getötet!!!")
	d.notice("Als belohnung spawnen nun alle 3 Dt-Schmiede!!!")
	d.check_eliminated()
    local reward_alchemist = {20074, 20075, 20076}
    d.spawn_mob(20074, 609, 179);
	d.spawn_mob(20075, 609, 172);
	d.spawn_mob(20076, 609, 185);
	d.spawn_mob(9012, 619, 170);
	d.setqf("can_refine", 1)
end
end
end

Błąd w syserr:

Feb 23 15:12:17 :: TakeItem zzz 20073 Kamień Otwarcia
SYSERR: Feb 23 16:12:17 :: RunState: LUA_ERROR: [string "deviltower_zone"]:1: attempt to index global `item' (a number value)
SYSERR: Feb 23 16:12:17 :: WriteRunningStateToSyserr: LUA_ERROR: quest deviltower_zone.start click
Feb 23 15:12:20 :: TakeItem zzz 20073 Kamień Otwarcia
SYSERR: Feb 23 16:12:20 :: RunState: LUA_ERROR: [string "deviltower_zone"]:1: attempt to index global `item' (a number value)
SYSERR: Feb 23 16:12:20 :: WriteRunningStateToSyserr: LUA_ERROR: quest deviltower_zone.start click

Proszę o pomoc i szybką odpowiedź :)

Z góry dziękuję.

Kocham mpcforum.pl!!!

18706.png

Opublikowano

Proszę

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((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 deviltower_man.chat."Wejdz do wiezy z Kolega" with pc.countitem(10) >= 1 begin
		say("Nie wiem1")
		say("")
		if pc.level < 40 then
			say(locale.deviltower_man_say_you_cant)
			else
			say(locale.deviltower_man_say)
			return
		end

		local dt_item = pc.countitem(10)
		local dt_item2 = dt_item > 0
		if not dt_item2 then
			say("Musisz posiadać xxx")
		end

		local NEED_MONEY2 = 1000000
		if pc.get_money() < NEED_MONEY2 then
			say("")
			say("")
			say("")
			say("")
		end

		say_title("Starsza Pani:")
		say("Jesli chcesz tam wejsc")
		say("wpisac imie swojego kolegi!")
		say("")
		say_reward("Wpisz je ponizej!")

		local dname = input()
		if dname == "" then
			say("Czy nie znasz imienia swojego kolegi?")
			say("")
			return
		end

		local u_dk = find_pc_by_name(dname)
		local m_dk = pc.get_vid()
		if u_dk == 0 then
			say_title("Starsza Pani:")
			say("Takiej osoby nie ma...")
			say("Czyzbys zapomnial imienia swojego partnera?")
			say("")
			say_reward(string.format("Imienia takiego jak %s nie ma!", dname))
			say("")
			npc.unlock()
			return
		end

		if not npc.is_near_vid(u_dk, 50) then
			say_title("Starsza Pani:")
			say("Twoj kolega musi tutaj podejsc!")
			say("")
			say("")
			say_reward(string.format("%s musi tutaj podejsc!", dname))
			say("")
			npc.unlock()
			return
		end

		local old = pc.select(u_dk)
		local u_level = pc.get_level()
		local u_name = pc.name
		local u_gold = pc.get_money()
		local u_has_ring = pc.countitem(70301) > 0
		pc.select(old)
		local m_level = pc.get_level()

		if u_dk == m_dk then
			say("Czy ty oszalales?")
			say("Nie mozesz wejsc tam samemu!")
			say_reward("")
			say("")
			npc.unlock()
			return
		end


		if u_level < 40 then
			say("Twoj kolega musi miec 40 poziom")
			say_reward("")
			say("")
			npc.unlock()
			return
		end

		if not u_has_ring then
			if m_ring_num >= 2 then
				say("Twoj partner nie ma")
				say("xxx")
			else
				say("Twoj partner nie ma")
				say("xxx")
				say("")
			end

			say_item("Miecz+0", 10, "")
			say("")
			npc.unlock()
			return
		end

		local ok_sign = confirm(  u_dk, "Czy chcesz tam wejsc z: "..pc.name.. "", 60)
		if ok_sign == CONFIRM_OK then
			local m_name = pc.name
			if pc.get_gold()>=NEED_MONEY then
				pc.change_gold(-NEED_MONEY)

				pc.removeitem(70301, 1)
				pc.give_item2(70302, 1)
				local old = pc.select(u_dk)
				pc.removeitem(70301, 1)
				pc.give_item2(70302, 1)
				pc.select(old)

				say("Zostaniesz przeniesiony do specjalnej")
				say("lokacji!")
				say("")
				say_reward("Wcisnij kontynuuj!")
				say("")
				wait()
				setskin(NOWINDOW)
				pc.warp(216500,727000)
			end
		else
			say("?zŞşąď?H¤Ł?Q¸ň?z?˛?B.")
			say("?z¸ňĄL?n?n˝Í˝Í§a.")
			say("")
			say_reward("ąď?H?Ú?´¸ň?z?˛?B")
		end
		say("")
		npc.unlock()
	end

	when 20074.chat."Ukończyłem zadanie" or 20075.chat."Ukończyłem zadanie" or 20076.chat."Ukończyłem zadanie" begin
		pc.warp(590500, 110500)
	end


when deviltower_man.chat.locale.deviltower_man_chat begin
  	 if pc.get_level() < 40 then
	say(locale.deviltower_man_say_you_cant)
  	 else
	say(locale.deviltower_man_say)
	local ok_sign = confirm(  u_vid, "Czy chcesz wejsc do Wiezy z: "..pc.name.. "", 30)
	local s = select(locale.deviltower_enter,locale.deviltower_no_enter)
	if s == 1 then
   	 -- warp into!
   	 pc.warp(216500,727000)
	end
  	 end
end

when devil_stone1.kill begin
  	 timer("devil_stone1_1", 6)
end

when devil_stone1_1.timer begin
	local mapto7= pc.count_item(30302)
	pc.remove_item(30302,mapto7)

	local boxto7= pc.count_item(30300)
	pc.remove_item(30300,boxto7)

  	 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_stone2.kill begin
--d.jump_all_local(special.devil_tower[2][1], special.devil_tower[2][2])
--end
when devil_stone3.kill begin
  	 --d.jump_all_local(special.devil_tower[3][1], special.devil_tower[3][2])
  	 --d.set_exit_all_at_eliminate(6)
  	 --d.set_warp_at_eliminate(6, d.get_map_index(), 100, 100)
  	 --d.set_warp_at_eliminate(4, 65, 5376+532, 512+596+4)
  	 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()
  	 --d.exit_all()
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[i];
   	 positions[i] = positions[j];
   	 positions[j] = t;
	end
  	 end
  	 --for i = 1, 7 do
--	positions[i][1] = positions[i][1] * 100
--	positions[i][2] = positions[i][2] * 100
 --   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)
  	 --d.regen_file("data/dungeon/deviltower4_regen.txt")
  	 local positions = deviltower_zone.get_4floor_stone_pos()
  	 for i = 1, 6 do
	chat(positions[i][1], positions[i][2])
	d.set_unique("fake" .. i , d.spawn_mob(8017, positions[i][1], positions[i][2]))
  	 end
  	 chat(positions[7][1], positions[7][2])
  	 local vid = d.spawn_mob(8017, positions[7][1], positions[7][2])
  	 chat(vid)
  	 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("Brawo, udalo sie Tobie");
  	 d.notice("zniszczyc kamien metin!");
  	 d.notice("Macie 15 minut na nastepnym pietrze[ENTER] zanim zostaniecie wylogowani.");
  	 d.notice("Spieszcie sie!");
end

when devil_stone4_fail1.server_timer begin
  	 if d.select(get_server_timer_arg()) then
	d.notice("Pozostalo 10 minut!")
	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("Pozostalo 5 minut!")
	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()) then
	d.notice("Nie udalo sie, zostaniecie wylogowany!")
	d.exit_all()
	clear_server_timer('devil_stone4_update', get_server_timer_arg())
  	 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("To nie ten kamien!");
	   	 end
		end
   	 end
	else
   	 --d.clear_regen()
   	 --d.regen_file("data/dungeon/deviltower5_regen.txt")
   	 server_timer("devil_stone4_end", 5, get_server_timer_arg())
   	 d.notice("Udalo sie! Zabij wszystkie potwory na nastepnym");
   	 d.notice("pietrze, aby zdobyc kamien otwarcia!")
   	 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())
	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
	d.setf("level", 5)
	d.setf("stone_count", 5)
	d.notice("Brawo, jestes na 5 pietrze!")
	d.notice("Aby przejsc na 6 pietro musisz zabic")
	d.notice("wszystkie potwory tutaj, zdobyc kamien")
	d.notice("otwarcia i otworzyc pieczecie przed czasem!")
	d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
	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("Pozostalo 15 minut!")
	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("Pozostalo 10 minut!")
	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("Pozostalo 5 minut!")
	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()) then
	d.notice("Nie udalo sie, zostaniesz wylogowany!")
	d.exit_all()
  	 end
end

--when devil_stone4.kill begin
  	 --d.setf("level", 5)
  	 --d.setf("stone_count", 4)
  	 --d.clear_regen()
  	 --d.regen_file("data/dungeon/deviltower5_regen.txt")
  	 --d.jump_all_local(special.devil_tower[4][1], special.devil_tower[4][2])
--end

when 1062.kill with pc.in_dungeon() and d.getf("level") == 5 begin
  	 local KILL_COUNT_FOR_DROP_KEY = 50
  	 --if is_test_server() then
	--KILL_COUNT_FOR_DROP_KEY = 1
  	 --end
  	 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.setf("level", 6)
	d.clear_regen()
	d.regen_file("data/dungeon/deviltower6_regen.txt")

	d.notice("Brawo udalo sie! jestes na 6 pietrze!")
	d.notice("Zabij wszystkie potwory!")
	d.jump_all(special.devil_tower[5][1], special.devil_tower[5][2])
	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())
  	 else
	d.notice("Nie wiem1"..d.getf("stone_count").."Nie wiem 2")
  	 end
end

when devil_stone6.kill begin
  	 --d.jump_all(special.devil_tower[6][1], special.devil_tower[6][2])
  	 d.kill_all()
   -- d.set_warp_at_eliminate(3*60, 65, 5376+532, 512+596+4)
  	 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."Chce przejsc dalej" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	say(""..mob_name(20074).."")
	say("Zostaniesz przeniesiony")
	say("na 7 pietro Wiezy Demonow!")
	say("Lecz uwazaj...")
	say("Tam nie bedzie tak latwo jak wczesniej!")
	wait()
	if pc.level >=75 then
		say("Kazdy z graczy zostanie przeniesiony!")
		timer("devil_jump_7", 6)
		return
	end
	say("Mozesz przejsc dalej!")
	say("")
	say("")
	wait()
	pc.warp(590500, 110500)
	return
end

when 20075.chat."Chce przejsc dalej" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	say(""..mob_name(20075).."")
	say("Zostaniesz przeniesiony")
	say("na 7 pietro Wiezy Demonow!")
	say("Lecz uwazaj...")
	say("Tam nie bedzie tak latwo jak wczesniej!")
	wait()
	if pc.level >=75 then
		say("Kazdy z graczy zostanie przeniesiony!")
		timer("devil_jump_7", 6)
		return
	end
	say("Mozesz przejsc dalej!")
	say("")
	say("")
	wait()
	pc.warp(590500, 110500)
	return
end
when 20076.chat."Chce przejsc dalej" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	say(""..mob_name(20076).."")
	say("Zostaniesz przeniesiony")
	say("na 7 pietro Wiezy Demonow!")
	say("Lecz uwazaj...")
	say("Tam nie bedzie tak latwo jak wczesniej!")
	wait()
	if pc.level >=75 then
		say("Kazdy z graczy zostanie przeniesiony!")
		timer("devil_jump_7", 6)
		return
	end
	say("Mozesz przejsc dalej!")
	say("")
	say("")
	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,10)

	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
	say("Przeniesiesz sie na 8 pietro!")
	pc.remove_item("30302", 1)
	timer("devil_jump_8", 6)
	d.clear_regen()
end

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
	local pct1 = number(1, 5)
	if pct1 == 1 then
		local pct2 = number(1, 10)
		if pct2 == 1 then
			game.drop_item(30304, 1)
		else
			game.drop_item(30303, 1)
		end
	else
		return
	end
end

when 20366.take with item.vnum == 30304 begin
	d.kill_all()
	d.notice("Zostaniecie przeniesieni na 9 pietro!")
	npc.purge()
	item.remove()
	timer("devil_jump_9", 6)
end

when devil_jump_9.timer begin
	d.kill_all()
	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()
	notice_all(pc.get_name().." zabil Umarlego Rozpruwacza!")
	d.notice("Zostaniecie przeniesieni na 10 pietro!")
	timer("devil_jump_10", 10)
end

when devil_jump_10.timer begin
	d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
	server_timer("metiny", 10*60)
	local a = 5
	if a == 1 then
	d.spawn_mob(11506, 421, 452)
	d.spawn_mob(11506, 380, 460)
	d.spawn_mob(11506, 428, 414)
	d.spawn_mob(11509, 398, 392)
	d.spawn_mob(11506, 359, 426)
	elseif a == 2 then
	d.spawn_mob(11506, 421, 452)
	d.spawn_mob(11509, 380, 460)
	d.spawn_mob(11506, 428, 414)
	d.spawn_mob(11506, 398, 392)
	d.spawn_mob(11506, 359, 426)
	elseif a == 3 then
	d.spawn_mob(11509, 421, 452)
	d.spawn_mob(11506, 380, 460)
	d.spawn_mob(11506, 428, 414)
	d.spawn_mob(11506, 398, 392)
	d.spawn_mob(11506, 359, 426)
	elseif a == 4 then
	d.spawn_mob(11506, 421, 452)
	d.spawn_mob(11506, 380, 460)
	d.spawn_mob(11509, 428, 414)
	d.spawn_mob(11506, 398, 392)
	d.spawn_mob(11506, 359, 426)
	else
	d.spawn_mob(11506, 421, 452)
	d.spawn_mob(11506, 380, 460)
	d.spawn_mob(11506, 428, 414)
	d.spawn_mob(11506, 398, 392)
	d.spawn_mob(11509, 359, 426)
	end
end

when 11509.kill with pc.in_dungeon() begin
	d.notice("Znalazles prawidlowy metin.")
	d.jump_all(2048+590, 6656+155)
	d.regen_file("data/dungeon/deviltower11_regen.txt")
	clear_server_timer('metiny', get_server_timer_arg())
end

when metiny.server_timer begin
	d.notice("Koniec czasu")
	d.exit_all()
end

when 2491.kill with pc.in_dungeon() begin
	game.drop_item(60003)
	d.kill_all()
end

when 60003.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	timer("aaa", 10)
	pc.remove_item("60003", 1)
end

when aaa.timer begin
	d.notice("Gratulacje dotarles do 11 pietra!")
	d.jump_all(2048+590, 6656+155)
	d.spawn_mob(1095, 650, 194)
	d.clear_regen()
end

when 1095.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	d.clear_regen()
	d.notice("Zabiles nieb. Smierc. Ukonczyles 1 zadanie 11 pietra.")
	timer("1095", 10)
end

when 1095.timer begin
	d.spawn_mob(8020, 600, 203)
	d.spawn_mob(8021, 620, 147)
	d.spawn_mob(8022, 644, 204)
	timer("imperialne", 30*60)
	if pc.get_empire() == 1 then
	pc.setqf("8020", 1)
	elseif pc.get_empire() == 2 then
	pc.setqf("8021", 1)
	elseif  empire == 3 then
	pc.setqf("8022", 1)
	end
end

when 8020.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and pc.get_empire() == 1 begin
	pc.setqf("8020", 0)
	d.jump_all(2048+590, 6656+155)
	d.set_warp_at_eliminate("data/dungeon/deviltower12_regen.txt")
	d.check_eliminated()
	game.drop_item(70025)
end

when 8022.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and pc.get_empire() == 2 begin
	pc.setqf("8022", 0)
	d.jump_all(2048+590, 6656+155)
	d.set_warp_at_eliminate("data/dungeon/deviltower12_regen.txt")
	d.check_eliminated()
	game.drop_item(70025)
end

when 8021.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 and pc.get_empire() == 3 begin
	pc.setqf("8021", 0)
	d.jump_all(2048+590, 6656+155)
	d.set_warp_at_eliminate("data/dungeon/deviltower12_regen.txt")
	d.check_eliminated()
	game.drop_item(70025)
end

when 70025.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	timer("ccc", 10)
	pc.remove_item("70025", 1)
end

when ccc.timer begin
	d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
	d.spawn_mob(8023, 377, 409)
end

when 8023.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
	pc.give_item2(30100)
	d.kill_all()
	d.spawn_mob(20076, 417, 448);
	d.spawn_mob(20075, 414, 451);
	d.spawn_mob(20074, 420, 444);
	d.setqf("can_refine", 3)
end

when 20363.take with item.vnum == 30100 begin
	local wieza_nagroda = {11200, 11201, 11202, 11203, 11204, 11205, 11206, 11207, 11208, 11209, 11210, 11211, 11212, 11213, 11214, 11215, 11216, 11217, 11218, 11219, 11220, 11221, 11222, 11223, 11224, 11225, 11226, 11227, 11228, 11229, 11230, 11231, 11232, 11233, 11234, 11235, 11236, 11237, 11238, 11239, 11240, 11241, 11242, 11243, 11244, 11245, 11246, 11247, 11248, 11249, 11250, 11251, 11252, 11253, 11254, 11255, 11256, 11257, 11258, 11259, 11260, 11261, 11262, 11263, 11264, 11265, 11266, 11267, 11268, 11269, 11270, 11271, 11272, 11273, 11274, 11275, 11276, 11277, 11278, 11279, 11280, 11281, 11282, 11283, 11284, 11285, 11286, 11287, 11288, 11289, 11290, 11291, 11292, 11293, 11294, 11295, 11296, 11297, 11298, 1129911400, 11401, 11402, 11403, 11404, 11405, 11406, 11407, 11408, 11409, 11410, 11411, 11412, 11413, 11414, 11415, 11416, 11417, 11418, 11419, 11420, 11421, 11422, 11423, 11424, 11425, 11426, 11427, 11428, 11429, 11430, 11431, 11432, 11433, 11434, 11435, 11436, 11437, 11438, 11439, 11440, 11441, 11442, 11443, 11444, 11445, 11446, 11447, 11448, 11449, 11450, 11451, 11452, 11453, 11454, 11455, 11456, 11457, 11458, 11459, 11460, 11461, 11462, 11463, 11464, 11465, 11466, 11467, 11468, 11469, 11470, 11471, 11472, 11473, 11474, 11475, 11476, 11477, 11478, 11479, 11480, 11481, 11482, 11483, 11484, 11485, 11486, 11487, 11488, 11489, 11490, 11491, 11492, 11493, 11494, 11495, 11496, 11497, 11498, 1149911600, 11601, 11602, 11603, 11604, 11605, 11606, 11607, 11608, 11609, 11610, 11611, 11612, 11613, 11614, 11615, 11616, 11617, 11618, 11619, 11620, 11621, 11622, 11623, 11624, 11625, 11626, 11627, 11628, 11629, 11630, 11631, 11632, 11633, 11634, 11635, 11636, 11637, 11638, 11639, 11640, 11641, 11642, 11643, 11644, 11645, 11646, 11647, 11648, 11649, 11650, 11651, 11652, 11653, 11654, 11655, 11656, 11657, 11658, 11659, 11660, 11661, 11662, 11663, 11664, 11665, 11666, 11667, 11668, 11669, 11670, 11671, 11672, 11673, 11674, 11675, 11676, 11677, 11678, 11679, 11680, 11681, 11682, 11683, 11684, 11685, 11686, 11687, 11688, 11689, 11690, 11691, 11692, 11693, 11694, 11695, 11696, 11697, 11698, 1169911800, 11801, 11802, 11803, 11804, 11805, 11806, 11807, 11808, 11809, 11810, 11811, 11812, 11813, 11814, 11815, 11816, 11817, 11818, 11819, 11820, 11821, 11822, 11823, 11824, 11825, 11826, 11827, 11828, 11829, 11830, 11831, 11832, 11833, 11834, 11835, 11836, 11837, 11838, 11839, 11840, 11841, 11842, 11843, 11844, 11845, 11846, 11847, 11848, 11849, 11850, 11851, 11852, 11853, 11854, 11855, 11856, 11857, 11858, 11859, 11860, 11861, 11862, 11863, 11864, 11865, 11866, 11867, 11868, 11869, 11870, 11871, 11872, 11873, 11874, 11875, 11876, 11877, 11878, 11879, 11880, 11881, 11882, 11883, 11884, 11885, 11886, 11887, 11888, 11889, 11890, 11891, 11892, 11893, 11894, 11895, 11896, 11897, 11898, 11899, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 4009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 4040, 4011, 4012, 4013, 4014, 4015, 4016, 4017, 4018, 4019, 4040, 4021, 4022, 4023, 4024, 4025, 4026, 4027, 4028, 4029, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139}
	pc.give_item2(wieza_nagroda[number(1,767)]);
end
end
end

Rozwiązanie całego problemu: przenieść linie z deviltower_zone.quest na początek pliku locale_list i skompilować komendą sh make

Kocham mpcforum.pl!!!

18706.png

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...