antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
RealJ

[Ajuda] Torre Do Demonio

Question

Boas pessoal ...

 

Gostaria de saber se alguém sabe me explicar como configurar a torre do demonio?Mais precisamente o 4º andar , onde tem que ter as Metins e partir a correcta para subir de andar ....Resumindo fui testar a minha torre , e chegando ao 4º andar não tem Metins nenhumas :xGostaria de saber se alguém me pode explicar como corrigir isso? obrigado .

 

Agradecido desde já e vale :+1: ;)

Share this post


Link to post
Share on other sites

10 answers to this question

  • 0

Resolvido !

 

Obrigado .
@

danhakhavro

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 1

apartir do 4º piso senao me engano tem de ser no mínimo 2já tentei em 3 sv's, se for sozinho chego a esse piso e n tem as Metins, mas se for eu e mais alguém elas apareceremtenta levar outra char cntg a ver se resulta

Share this post


Link to post
Share on other sites
  • 0

Boas pessoal ...

 

Gostaria de saber se alguém sabe me explicar como configurar a torre do demonio?Mais precisamente o 4º andar , onde tem que ter as Metins e partir a correcta para subir de andar ....Resumindo fui testar a minha torre , e chegando ao 4º andar não tem Metins nenhumas :xGostaria de saber se alguém me pode explicar como corrigir isso? obrigado .

 

Agradecido desde já e vale :+1: ;)

 

/usr/home/game/share/data/dungeon

 

Vê os ficheiros "deviltower2_regen.txt", "deviltower3_regen.txt", etc...

Share this post


Link to post
Share on other sites
  • 0

/usr/home/game/share/data/dungeon

 

Vê os ficheiros "deviltower2_regen.txt", "deviltower3_regen.txt", etc...

 

Não me leves a mal ...Mas aquilo é só números , não percebo nadinha do que ta dentro desses ficheiros >.<

 

Uma ajuda mais simplificada éra o ideal xDObrigado

Share this post


Link to post
Share on other sites
  • 0
 

apartir do 4º piso senao me engano tem de ser no mínimo 2

já tentei em 3 sv's, se for sozinho chego a esse piso e n tem as Metins, mas se for eu e mais alguém elas aparecerem

tenta levar outra char cntg a ver se resulta

 

Isso não pode ser assim, mesmo que vás sozinho devia funcionar.

 

 

 

Não me leves a mal ...
Mas aquilo é só números , não percebo nadinha do que ta dentro desses ficheiros >.<

 

Uma ajuda mais simplificada éra o ideal xD
Obrigado

 

Faz assim:

 

Usa esta quest:

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("Guard of the Demon Tower:")
                        say("")
                        ---                                                   l
                        say("This tower is abounds with demons.")
                        say("Only the strongest can reach the top.")
                        say("It is said, that nobody who enters")
                        say("the tower has left it alive.")
                        say("You cannot enter it, because you have not")
                        say("reached level 40 yet.")
                else
                        say_title("Guard of the Demon Tower:")
                        say("")
                        ---                                                   l
                        say("This tower is abounds with demons.")
                        say("Only the strongest can reach the top.")
                        say("It is said, that nobody who enters")
                        say("the tower has left it alive.")
                        say("Do you still want to enter the Demon Tower?")
                        say("")
                        local s = select("Enter.", "Leave.")
                        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("You arrived at the Gate of Choice on the 4th floor.");
            d.notice("Many false Metin stones will irritate your eyes and ears.");
            d.notice("Find the right Metin stone and destroy it within 15 Minutes");
            d.notice("It is the only way to pass this gate.");
        end
 
        when devil_stone4_fail1.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("Minutes left: 10")
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("Minutes left: 5")
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("The time is over.")
                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("The fake Metin stone disappears...");
                            end
                        end
                    end
                else
                    server_timer("devil_stone4_end", 5, get_server_timer_arg())
                 
                    d.notice("You proved yourself and showed good instinct.");
                    d.notice("You have destroyed the correct Metin stone.")
                    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("You arrived at the Sealed Gate on the 5th floor.")
                d.notice("A few monsters have an Unlock Stone that can be")
                d.notice("used to open the Ancient Seals.")
                d.notice("Open the 5 seals within 20 Minutes to advance")
                d.notice("to the next floor!")
 
             
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("Minutes left: 15")
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("Minutes left: 10")
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("Minutes left: 5")
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("The time is over.")
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.notice("You have opened the last Seal. You will")
                d.notice("now arrive on the 6th floor!")
 
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("Defeat all the demons on the 6th floor")
                d.notice("before attacking the King!")
 
            else
                d.notice("You opened the Seal! There are "..d.getf("stone_count").." left.")
            end
        end
 
        when devil_stone6.kill begin
            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."Top floors of Demon Tower" 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("They found the way to reach 7th floor.")
          say("It requires a lot of ability and skills to go there.")
          say("Hmmmm...")
          say("After I examined your status to go up stairs.....")
          wait()
          if pc.level >=75 then
          say_title(""..mob_name(20074)..":")
          say("")
              say("You are good to go up.")
              say("I will let you know the way..")
              timer("devil_jump_7", 6)
              npc.unlock()
              d.purge()
              return
          end
          say_title(""..mob_name(20074)..":")
          say("")
          say("You need more training to go up there.")
          say("Come back when you have more experience.")
 
say("")
wait()
pc.warp(590500, 110500)
return
   end
   when 20075.chat."Top floors of Demon Tower" 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("They found the way to reach 7th floor.")
        say("It requires a lot of ability and skills to go there.")
        say("Hmmmm...")
        say("After I examined your status to go up stairs.....")
        wait()
        if pc.level >=75 then
      say_title(""..mob_name(20075)..":") 
      say("")
      say("You are good to go up.")
      say("I will let you know the way..")
      timer("devil_jump_7", 6)
      npc.unlock()
      d.purge()
      return
        end
say_title(""..mob_name(20075)..":") 
say("")
        say("You need more training to go up there.")
        say("Come back when you have more experience.")
say("")
wait()
pc.warp(590500, 110500)
return
    end
   when 20076.chat."Top floors of Demon Tower" 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("It requires a lot of ability and skills to go there.")
          say("Hmmmm...")
          say("After I examined your status to go up stairs.....")
          wait()
          if pc.level >=75 then
                say_title(""..mob_name(20076)..":") 
                say("")
                say("You are good to go up.")
            say("I will let you know the way..")
            timer("devil_jump_7", 6)
            npc.unlock()
            d.purge()
               return
          end
  say_title(""..mob_name(20076)..":") 
  say("")
           say("You need more training to go up there.")
       say("Come back when you have more experience.")
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,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("With this map, I can warp to next floor!")
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()
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

 
Depois vai em "/usr/home/game/share/data/dungeon"
 
Substitui o que vou mandar dentro dos teus ficheiros:
 
deviltower2_regen.txt

ga 189 424 10 10 0 0 0s 100 1 1007
ga 202 424 10 10 0 0 0s 100 1 1008
ga 203 429 10 10 0 0 0s 100 1 1005
ga 190 432 10 10 0 0 0s 100 1 1007
ga 187 438 10 10 0 0 0s 100 1 1008
ga 214 438 10 10 0 0 0s 100 1 1008
ga 188 443 10 10 0 0 0s 100 1 1009
ga 169 453 10 10 0 0 0s 100 1 1007
ga 200 458 10 10 0 0 0s 100 1 1009
ga 214 461 10 10 0 0 0s 100 1 1009
ga 183 465 10 10 0 0 0s 100 1 1009
ga 201 465 10 10 0 0 0s 100 1 1005
ga 188 470 10 10 0 0 0s 100 1 1005
ga 189 470 10 10 0 0 0s 100 1 1005
ga 183 472 10 10 0 0 0s 100 1 1008
ga 182 475 10 10 0 0 0s 100 1 1007
ga 122 386 10 10 0 0 0s 100 1 1004
ga 145 386 10 10 0 0 0s 100 1 1004
ga 155 387 10 10 0 0 0s 100 1 1003
ga 114 388 10 10 0 0 0s 100 1 1001
ga 196 390 10 10 0 0 0s 100 1 1004
ga 106 393 10 10 0 0 0s 100 1 1001
ga 208 394 10 10 0 0 0s 100 1 1002
ga 107 395 10 10 0 0 0s 100 1 1004
ga 210 396 10 10 0 0 0s 100 1 1003
ga 121 404 10 10 0 0 0s 100 1 1004
ga 217 405 10 10 0 0 0s 100 1 1002
ga 134 409 10 10 0 0 0s 100 1 1002
ga 123 450 10 10 0 0 0s 100 1 1004
ga 117 458 10 10 0 0 0s 100 1 1003
ga 143 473 10 10 0 0 0s 100 1 1004
ga 179 392 10 10 0 0 0s 100 1 1006
ga 153 399 10 10 0 0 0s 100 1 1006
ga 184 408 10 10 0 0 0s 100 1 1006
ga 204 411 10 10 0 0 0s 100 1 1003
ga 140 414 10 10 0 0 0s 100 1 1006
ga 177 415 10 10 0 0 0s 100 1 1006
ga 156 428 10 10 0 0 0s 100 1 1003
ga 147 440 10 10 0 0 0s 100 1 1003
ga 140 453 10 10 0 0 0s 100 1 1006
ga 152 459 10 10 0 0 0s 100 1 1003

 
deviltower3_regen.txt

ga 184 196 10 10 0 0 0s 100 1 1010
ga 193 196 10 10 0 0 0s 100 1 1010
ga 182 202 10 10 0 0 0s 100 1 1007
ga 184 203 10 10 0 0 0s 100 1 1008
ga 208 205 10 10 0 0 0s 100 1 1010
ga 194 207 10 10 0 0 0s 100 1 1008
ga 187 210 10 10 0 0 0s 100 1 1007
ga 206 216 10 10 0 0 0s 100 1 1008
ga 221 217 10 10 0 0 0s 100 1 1008
ga 229 217 10 10 0 0 0s 100 1 1008
ga 228 219 10 10 0 0 0s 100 1 1008
ga 205 240 10 10 0 0 0s 100 1 1008
ga 169 123 10 10 0 0 0s 100 1 1002
ga 188 126 10 10 0 0 0s 100 1 1001
ga 154 127 10 10 0 0 0s 100 1 1002
ga 190 131 10 10 0 0 0s 100 1 1001
ga 176 132 10 10 0 0 0s 100 1 1004
ga 149 137 10 10 0 0 0s 100 1 1003
ga 135 143 10 10 0 0 0s 100 1 1001
ga 169 146 10 10 0 0 0s 100 1 1002
ga 202 146 10 10 0 0 0s 100 1 1001
ga 216 146 10 10 0 0 0s 100 1 1001
ga 175 151 10 10 0 0 0s 100 1 1003
ga 169 153 10 10 0 0 0s 100 1 1004
ga 127 157 10 10 0 0 0s 100 1 1004
ga 159 161 10 10 0 0 0s 100 1 1002
ga 157 163 10 10 0 0 0s 100 1 1001
ga 131 165 10 10 0 0 0s 100 1 1002
ga 118 176 10 10 0 0 0s 100 1 1003
ga 144 178 10 10 0 0 0s 100 1 1004
ga 235 180 10 10 0 0 0s 100 1 1004
ga 238 180 10 10 0 0 0s 100 1 1004
ga 141 182 10 10 0 0 0s 100 1 1004
ga 144 186 10 10 0 0 0s 100 1 1003
ga 128 187 10 10 0 0 0s 100 1 1003
ga 133 204 10 10 0 0 0s 100 1 1002
ga 146 236 10 10 0 0 0s 100 1 1003
ga 170 166 10 10 0 0 0s 100 1 1005
ga 172 166 10 10 0 0 0s 100 1 1003
ga 216 168 10 10 0 0 0s 100 1 1004
ga 168 178 10 10 0 0 0s 100 1 1004
ga 188 178 10 10 0 0 0s 100 1 1005
ga 150 189 10 10 0 0 0s 100 1 1006
ga 147 190 10 10 0 0 0s 100 1 1006
ga 157 193 10 10 0 0 0s 100 1 1005
ga 164 194 10 10 0 0 0s 100 1 1003
ga 162 207 10 10 0 0 0s 100 1 1003
ga 170 207 10 10 0 0 0s 100 1 1004
ga 155 218 10 10 0 0 0s 100 1 1006
ga 158 222 10 10 0 0 0s 100 1 1005
ga 171 229 10 10 0 0 0s 100 1 1005
ga 210 210 10 10 0 0 0s 100 1 1024

Share this post


Link to post
Share on other sites
  • 0
deviltower4_regen.txt

ma 372 631 0 0 0 0 0s 100 1 8016

 
deviltower5_regen.txt

r 401 410 10 10 0 0 180s 100 1 1053
r 400 412 10 10 0 0 180s 100 1 1053
r 403 415 10 10 0 0 180s 100 1 1053
r 382 418 10 10 0 0 180s 100 1 1053
r 384 418 10 10 0 0 180s 100 1 1053
r 383 420 10 10 0 0 180s 100 1 1053
r 379 425 10 10 0 0 180s 100 1 1053
r 382 427 10 10 0 0 180s 100 1 1053
r 409 429 10 10 0 0 180s 100 1 1053
r 380 432 10 10 0 0 180s 100 1 1053
r 389 391 10 10 0 0 180s 100 1 1051
r 383 392 10 10 0 0 180s 100 1 1051
r 408 396 10 10 0 0 180s 100 1 1051
r 372 400 10 10 0 0 180s 100 1 1051
r 417 402 10 10 0 0 180s 100 1 1051
r 360 412 10 10 0 0 180s 100 1 1051
r 433 413 10 10 0 0 180s 100 1 1051
r 428 419 10 10 0 0 180s 100 1 1051
r 433 426 10 10 0 0 180s 100 1 1051
r 428 444 10 10 0 0 180s 100 1 1051
r 361 445 10 10 0 0 180s 100 1 1051
r 365 449 10 10 0 0 180s 100 1 1051
r 361 450 10 10 0 0 180s 100 1 1051
r 425 451 10 10 0 0 180s 100 1 1051
r 423 454 10 10 0 0 180s 100 1 1051
r 402 397 10 10 0 0 180s 100 1 1052
r 402 400 10 10 0 0 180s 100 1 1052
r 378 410 10 10 0 0 180s 100 1 1052
r 422 429 10 10 0 0 180s 100 1 1052
r 375 433 10 10 0 0 180s 100 1 1052
r 373 436 10 10 0 0 180s 100 1 1052
r 376 441 10 10 0 0 180s 100 1 1052
r 421 441 10 10 0 0 180s 100 1 1052
r 375 443 10 10 0 0 180s 100 1 1052
r 373 445 10 10 0 0 180s 100 1 1052
r 376 445 10 10 0 0 180s 100 1 1052
r 385 447 10 10 0 0 180s 100 1 1052

 
deviltower6_regen.txt

ra 398 175 10 10 0 0 0s 100 1 1063
ra 396 180 10 10 0 0 0s 100 1 1063
ra 404 180 10 10 0 0 0s 100 1 1063
ra 382 185 10 10 0 0 0s 100 1 1063
ra 391 197 10 10 0 0 0s 100 1 1063
ra 401 198 10 10 0 0 0s 100 1 1063
ra 395 202 10 10 0 0 0s 100 1 1063
ra 411 204 10 10 0 0 0s 100 1 1063
ra 410 206 10 10 0 0 0s 100 1 1063
ra 370 164 10 10 0 0 0s 100 1 1061
ra 369 176 10 10 0 0 0s 100 1 1061
ra 362 196 10 10 0 0 0s 100 1 1061
ra 365 208 10 10 0 0 0s 100 1 1061
ra 363 216 10 10 0 0 0s 100 1 1061
ra 366 219 10 10 0 0 0s 100 1 1061
ra 374 223 10 10 0 0 0s 100 1 1061
ra 418 223 10 10 0 0 0s 100 1 1061
ra 384 224 10 10 0 0 0s 100 1 1061
ra 417 224 10 10 0 0 0s 100 1 1061
ra 383 168 10 10 0 0 0s 100 1 1062
ra 401 168 10 10 0 0 0s 100 1 1062
ra 388 170 10 10 0 0 0s 100 1 1062
ra 383 171 10 10 0 0 0s 100 1 1062
ra 418 174 10 10 0 0 0s 100 1 1062
ra 376 190 10 10 0 0 0s 100 1 1062
ra 429 192 10 10 0 0 0s 100 1 1062
ra 426 198 10 10 0 0 0s 100 1 1062
 
ma 418 208 10 10 0 0 0s 100 1 1092

 
deviltower7_regen.txt

r 625 680 10 10 0 0 60s 100 1 1065
r 632 679 10 10 0 0 60s 100 1 1065
r 612 678 10 10 0 0 60s 100 1 1065
r 611 678 10 10 0 0 60s 100 1 1065
r 601 676 10 10 0 0 60s 100 1 1065
r 626 673 10 10 0 0 60s 100 1 1065
r 641 638 10 10 0 0 60s 100 1 1064
r 587 684 10 10 0 0 60s 100 1 1064
r 641 643 10 10 0 0 60s 100 1 1064
r 599 695 10 10 0 0 60s 100 1 1064
r 585 648 10 10 0 0 60s 100 1 1064
r 632 696 10 10 0 0 60s 100 1 1064
r 588 665 10 10 0 0 60s 100 1 1064
r 632 634 10 10 0 0 60s 100 1 1064
r 579 678 10 10 0 0 60s 100 1 1064
r 596 639 10 10 0 0 60s 100 1 1064
r 591 688 10 10 0 0 60s 100 1 1064
r 629 669 10 10 0 0 60s 100 1 1065
r 597 669 10 10 0 0 60s 100 1 1065
r 597 666 10 10 0 0 60s 100 1 1065
r 632 658 10 10 0 0 60s 100 1 1065
r 634 656 10 10 0 0 60s 100 1 1065
r 633 656 10 10 0 0 60s 100 1 1065
r 600 632 10 10 0 0 60s 100 1 1064
r 642 671 10 10 0 0 60s 100 1 1064
r 607 635 10 10 0 0 60s 100 1 1064
r 581 680 10 10 0 0 60s 100 1 1064
r 592 636 10 10 0 0 60s 100 1 1064
r 638 680 10 10 0 0 60s 100 1 1064
r 639 639 10 10 0 0 60s 100 1 1064
r 616 691 10 10 0 0 60s 100 1 1064
r 647 665 10 10 0 0 60s 100 1 1064
r 621 632 10 10 0 0 60s 100 1 1064
r 641 673 10 10 0 0 60s 100 1 1064
 
 
 
 
 
m 617 676 0 0 0 0 9s 100 1 8019

 
deviltower8_regen.txt

r 616 399 10 10 0 0 60s 100 1 1066
r 586 445 10 10 0 0 60s 100 1 1066
r 635 409 10 10 0 0 60s 100 1 1066
r 635 451 10 10 0 0 60s 100 1 1066
r 653 416 10 10 0 0 60s 100 1 1066
r 614 458 10 10 0 0 60s 100 1 1066
r 583 430 10 10 0 0 60s 100 1 1066
r 608 469 10 10 0 0 60s 100 1 1066
r 614 443 10 10 0 0 60s 100 1 1067
r 628 439 10 10 0 0 60s 100 1 1067
r 628 432 10 10 0 0 60s 100 1 1067
r 628 427 10 10 0 0 60s 100 1 1067
r 636 409 10 10 0 0 60s 100 1 1066
r 593 452 10 10 0 0 60s 100 1 1066
r 586 421 10 10 0 0 60s 100 1 1066
r 605 461 10 10 0 0 60s 100 1 1066
r 582 432 10 10 0 0 60s 100 1 1066
r 605 396 10 10 0 0 60s 100 1 1066
r 593 443 10 10 0 0 60s 100 1 1066
r 626 419 10 10 0 0 60s 100 1 1067
r 625 410 10 10 0 0 60s 100 1 1067
r 609 447 10 10 0 0 60s 100 1 1067
r 635 441 10 10 0 0 60s 100 1 1067
r 605 437 10 10 0 0 60s 100 1 1067
r 593 421 10 10 0 0 60s 100 1 1066
r 617 463 10 10 0 0 60s 100 1 1066
r 587 436 10 10 0 0 60s 100 1 1066
r 625 396 10 10 0 0 60s 100 1 1066
r 580 444 10 10 0 0 60s 100 1 1066
r 595 404 10 10 0 0 60s 100 1 1066
r 642 449 10 10 0 0 60s 100 1 1066
r 636 428 10 10 0 0 60s 100 1 1067
r 614 420 10 10 0 0 60s 100 1 1067
r 601 415 10 10 0 0 60s 100 1 1067
r 623 453 10 10 0 0 60s 100 1 1067
r 602 442 10 10 0 0 60s 100 1 1067

 
deviltower9_regen.txt

ra 636 170 10 10 0 0 0s 100 1 1069
ra 600 173 10 10 0 0 0s 100 1 1069
ra 649 159 10 10 0 0 0s 100 1 1068
ra 623 208 10 10 0 0 0s 100 1 1068
ra 644 171 10 10 0 0 0s 100 1 1068
ra 607 218 10 10 0 0 0s 100 1 1068
ra 623 200 10 10 0 0 0s 100 1 1069
ra 624 142 10 10 0 0 0s 100 1 1068
ra 589 196 10 10 0 0 0s 100 1 1068
ra 646 159 10 10 0 0 0s 100 1 1068
ra 597 207 10 10 0 0 0s 100 1 1068
ra 637 181 10 10 0 0 0s 100 1 1069
ra 600 183 10 10 0 0 0s 100 1 1069
ra 657 168 10 10 0 0 0s 100 1 1068
ra 628 215 10 10 0 0 0s 100 1 1068
ra 651 186 10 10 0 0 0s 100 1 1068
ra 606 168 10 10 0 0 0s 100 1 1069
ra 629 170 10 10 0 0 0s 100 1 1069
ra 607 158 10 10 0 0 0s 100 1 1068
ra 600 205 10 10 0 0 0s 100 1 1068
ra 656 168 10 10 0 0 0s 100 1 1068
ra 607 213 10 10 0 0 0s 100 1 1068
ra 622 194 10 10 0 0 0s 100 1 1069
ra 608 196 10 10 0 0 0s 100 1 1069
ra 646 183 10 10 0 0 0s 100 1 1068
ra 615 153 10 10 0 0 0s 100 1 1068
ra 633 203 10 10 0 0 0s 100 1 1068
ra 630 178 10 10 0 0 0s 100 1 1069
ra 640 179 10 10 0 0 0s 100 1 1069
ra 584 166 10 10 0 0 0s 100 1 1068
ra 618 212 10 10 0 0 0s 100 1 1068
ra 649 182 10 10 0 0 0s 100 1 1068
 
ga 607 218 10 10 0 0 0s 100 1 1031

 
Cumprimentos,

Share this post


Link to post
Share on other sites
  • 0

 

 

 

Isso não pode ser assim, mesmo que vás sozinho devia funcionar.

 

 

 

 

Faz assim:

 

Usa esta quest:

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("Guard of the Demon Tower:")
                        say("")
                        ---                                                   l
                        say("This tower is abounds with demons.")
                        say("Only the strongest can reach the top.")
                        say("It is said, that nobody who enters")
                        say("the tower has left it alive.")
                        say("You cannot enter it, because you have not")
                        say("reached level 40 yet.")
                else
                        say_title("Guard of the Demon Tower:")
                        say("")
                        ---                                                   l
                        say("This tower is abounds with demons.")
                        say("Only the strongest can reach the top.")
                        say("It is said, that nobody who enters")
                        say("the tower has left it alive.")
                        say("Do you still want to enter the Demon Tower?")
                        say("")
                        local s = select("Enter.", "Leave.")
                        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("You arrived at the Gate of Choice on the 4th floor.");
            d.notice("Many false Metin stones will irritate your eyes and ears.");
            d.notice("Find the right Metin stone and destroy it within 15 Minutes");
            d.notice("It is the only way to pass this gate.");
        end
 
        when devil_stone4_fail1.server_timer begin
            if d.select(get_server_timer_arg()) then
                d.notice("Minutes left: 10")
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("Minutes left: 5")
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("The time is over.")
                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("The fake Metin stone disappears...");
                            end
                        end
                    end
                else
                    server_timer("devil_stone4_end", 5, get_server_timer_arg())
                 
                    d.notice("You proved yourself and showed good instinct.");
                    d.notice("You have destroyed the correct Metin stone.")
                    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("You arrived at the Sealed Gate on the 5th floor.")
                d.notice("A few monsters have an Unlock Stone that can be")
                d.notice("used to open the Ancient Seals.")
                d.notice("Open the 5 seals within 20 Minutes to advance")
                d.notice("to the next floor!")
 
             
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("Minutes left: 15")
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("Minutes left: 10")
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("Minutes left: 5")
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("The time is over.")
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.notice("You have opened the last Seal. You will")
                d.notice("now arrive on the 6th floor!")
 
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("Defeat all the demons on the 6th floor")
                d.notice("before attacking the King!")
 
            else
                d.notice("You opened the Seal! There are "..d.getf("stone_count").." left.")
            end
        end
 
        when devil_stone6.kill begin
            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."Top floors of Demon Tower" 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("They found the way to reach 7th floor.")
          say("It requires a lot of ability and skills to go there.")
          say("Hmmmm...")
          say("After I examined your status to go up stairs.....")
          wait()
          if pc.level >=75 then
          say_title(""..mob_name(20074)..":")
          say("")
              say("You are good to go up.")
              say("I will let you know the way..")
              timer("devil_jump_7", 6)
              npc.unlock()
              d.purge()
              return
          end
          say_title(""..mob_name(20074)..":")
          say("")
          say("You need more training to go up there.")
          say("Come back when you have more experience.")
 
say("")
wait()
pc.warp(590500, 110500)
return
   end
   when 20075.chat."Top floors of Demon Tower" 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("They found the way to reach 7th floor.")
        say("It requires a lot of ability and skills to go there.")
        say("Hmmmm...")
        say("After I examined your status to go up stairs.....")
        wait()
        if pc.level >=75 then
      say_title(""..mob_name(20075)..":") 
      say("")
      say("You are good to go up.")
      say("I will let you know the way..")
      timer("devil_jump_7", 6)
      npc.unlock()
      d.purge()
      return
        end
say_title(""..mob_name(20075)..":") 
say("")
        say("You need more training to go up there.")
        say("Come back when you have more experience.")
say("")
wait()
pc.warp(590500, 110500)
return
    end
   when 20076.chat."Top floors of Demon Tower" 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("It requires a lot of ability and skills to go there.")
          say("Hmmmm...")
          say("After I examined your status to go up stairs.....")
          wait()
          if pc.level >=75 then
                say_title(""..mob_name(20076)..":") 
                say("")
                say("You are good to go up.")
            say("I will let you know the way..")
            timer("devil_jump_7", 6)
            npc.unlock()
            d.purge()
               return
          end
  say_title(""..mob_name(20076)..":") 
  say("")
           say("You need more training to go up there.")
       say("Come back when you have more experience.")
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,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("With this map, I can warp to next floor!")
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()
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

 
Depois vai em "/usr/home/game/share/data/dungeon"
 
Substitui o que vou mandar dentro dos teus ficheiros:
 
deviltower2_regen.txt

ga 189 424 10 10 0 0 0s 100 1 1007
ga 202 424 10 10 0 0 0s 100 1 1008
ga 203 429 10 10 0 0 0s 100 1 1005
ga 190 432 10 10 0 0 0s 100 1 1007
ga 187 438 10 10 0 0 0s 100 1 1008
ga 214 438 10 10 0 0 0s 100 1 1008
ga 188 443 10 10 0 0 0s 100 1 1009
ga 169 453 10 10 0 0 0s 100 1 1007
ga 200 458 10 10 0 0 0s 100 1 1009
ga 214 461 10 10 0 0 0s 100 1 1009
ga 183 465 10 10 0 0 0s 100 1 1009
ga 201 465 10 10 0 0 0s 100 1 1005
ga 188 470 10 10 0 0 0s 100 1 1005
ga 189 470 10 10 0 0 0s 100 1 1005
ga 183 472 10 10 0 0 0s 100 1 1008
ga 182 475 10 10 0 0 0s 100 1 1007
ga 122 386 10 10 0 0 0s 100 1 1004
ga 145 386 10 10 0 0 0s 100 1 1004
ga 155 387 10 10 0 0 0s 100 1 1003
ga 114 388 10 10 0 0 0s 100 1 1001
ga 196 390 10 10 0 0 0s 100 1 1004
ga 106 393 10 10 0 0 0s 100 1 1001
ga 208 394 10 10 0 0 0s 100 1 1002
ga 107 395 10 10 0 0 0s 100 1 1004
ga 210 396 10 10 0 0 0s 100 1 1003
ga 121 404 10 10 0 0 0s 100 1 1004
ga 217 405 10 10 0 0 0s 100 1 1002
ga 134 409 10 10 0 0 0s 100 1 1002
ga 123 450 10 10 0 0 0s 100 1 1004
ga 117 458 10 10 0 0 0s 100 1 1003
ga 143 473 10 10 0 0 0s 100 1 1004
ga 179 392 10 10 0 0 0s 100 1 1006
ga 153 399 10 10 0 0 0s 100 1 1006
ga 184 408 10 10 0 0 0s 100 1 1006
ga 204 411 10 10 0 0 0s 100 1 1003
ga 140 414 10 10 0 0 0s 100 1 1006
ga 177 415 10 10 0 0 0s 100 1 1006
ga 156 428 10 10 0 0 0s 100 1 1003
ga 147 440 10 10 0 0 0s 100 1 1003
ga 140 453 10 10 0 0 0s 100 1 1006
ga 152 459 10 10 0 0 0s 100 1 1003

 
deviltower3_regen.txt

ga 184 196 10 10 0 0 0s 100 1 1010
ga 193 196 10 10 0 0 0s 100 1 1010
ga 182 202 10 10 0 0 0s 100 1 1007
ga 184 203 10 10 0 0 0s 100 1 1008
ga 208 205 10 10 0 0 0s 100 1 1010
ga 194 207 10 10 0 0 0s 100 1 1008
ga 187 210 10 10 0 0 0s 100 1 1007
ga 206 216 10 10 0 0 0s 100 1 1008
ga 221 217 10 10 0 0 0s 100 1 1008
ga 229 217 10 10 0 0 0s 100 1 1008
ga 228 219 10 10 0 0 0s 100 1 1008
ga 205 240 10 10 0 0 0s 100 1 1008
ga 169 123 10 10 0 0 0s 100 1 1002
ga 188 126 10 10 0 0 0s 100 1 1001
ga 154 127 10 10 0 0 0s 100 1 1002
ga 190 131 10 10 0 0 0s 100 1 1001
ga 176 132 10 10 0 0 0s 100 1 1004
ga 149 137 10 10 0 0 0s 100 1 1003
ga 135 143 10 10 0 0 0s 100 1 1001
ga 169 146 10 10 0 0 0s 100 1 1002
ga 202 146 10 10 0 0 0s 100 1 1001
ga 216 146 10 10 0 0 0s 100 1 1001
ga 175 151 10 10 0 0 0s 100 1 1003
ga 169 153 10 10 0 0 0s 100 1 1004
ga 127 157 10 10 0 0 0s 100 1 1004
ga 159 161 10 10 0 0 0s 100 1 1002
ga 157 163 10 10 0 0 0s 100 1 1001
ga 131 165 10 10 0 0 0s 100 1 1002
ga 118 176 10 10 0 0 0s 100 1 1003
ga 144 178 10 10 0 0 0s 100 1 1004
ga 235 180 10 10 0 0 0s 100 1 1004
ga 238 180 10 10 0 0 0s 100 1 1004
ga 141 182 10 10 0 0 0s 100 1 1004
ga 144 186 10 10 0 0 0s 100 1 1003
ga 128 187 10 10 0 0 0s 100 1 1003
ga 133 204 10 10 0 0 0s 100 1 1002
ga 146 236 10 10 0 0 0s 100 1 1003
ga 170 166 10 10 0 0 0s 100 1 1005
ga 172 166 10 10 0 0 0s 100 1 1003
ga 216 168 10 10 0 0 0s 100 1 1004
ga 168 178 10 10 0 0 0s 100 1 1004
ga 188 178 10 10 0 0 0s 100 1 1005
ga 150 189 10 10 0 0 0s 100 1 1006
ga 147 190 10 10 0 0 0s 100 1 1006
ga 157 193 10 10 0 0 0s 100 1 1005
ga 164 194 10 10 0 0 0s 100 1 1003
ga 162 207 10 10 0 0 0s 100 1 1003
ga 170 207 10 10 0 0 0s 100 1 1004
ga 155 218 10 10 0 0 0s 100 1 1006
ga 158 222 10 10 0 0 0s 100 1 1005
ga 171 229 10 10 0 0 0s 100 1 1005
ga 210 210 10 10 0 0 0s 100 1 1024

 

 

A quest nem funciona no NPC da entrada da torre :x

Meti a quest e nada :|

(tou a usar Files Lauling v3) , tou a achar estranho esta cena O.O

*Edit afinal a quest funciona xD (sorry)

VOu expermentar a cena toda e ja dou os +1 :P

Share this post


Link to post
Share on other sites
  • 0

 

Resolvido !

 

Obrigado .

@

danhakhavro

 

 

Não tem problema :)

Share this post


Link to post
Share on other sites
  • 0

Alguem sabe dizer o pq nao consigo entrar? Aparece "ok, vai ser teleportado" dps diz.

O evento não está ativo, fique atendo ao site para....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this