Problema run Jotun

  • Autor subiect Olteanu86
  • Dată creare
  • Răspunsuri: Răspunsuri 6
  • Vizualizări: Vizualizări 2K
Stare
Nu este deschis pentru răspunsuri viitoare.

Olteanu86

Member
25 Oct 2018
33
2
8
38
Romania
Monede Dragon
0
In quest este trecut 5 minute sa poti intra iar dar dupa ce faci prima data runul iti apare ca mai poiti intra peste 4555555 minute

Poză: Infomanii - Din pasiune pentru jocuri !


quest enchanted_forest_zone begin
state start begin
function setting()
return
{
["map_index"] = 210,
["ticket_vnum"] = 30613,
["dungeon_entry_pos"] = {7824, 15021},
["boss1"] = 6408,
["boss2"] = 6418,
["spawn"] = {70, 941},
}
end

function make_dungeon(ld_vid, channel)
local setting = enchanted_forest_zone.setting()
local event_flag = string.format("frt_dungeon_status_%d", channel)
game.set_event_flag(event_flag, get_time() + 60 * 30)

d.new_jump_party(setting.map_index, setting.dungeon_entry_pos[1], setting.dungeon_entry_pos[2])
d.setf("frt_party_leader_pid", ld_vid)
party.setf("frt_dungeon_index", d.get_map_index())

d.spawn_mob(setting.boss1, setting.spawn[1], setting.spawn[2])
clear_server_timer("frt_2h_left_timer", get_server_timer_arg())
clear_server_timer("frt_exit_timer", get_server_timer_arg())
server_timer("frt_2h_left_timer", 60 * 120, d.get_map_index())
end

when login begin
local idx = pc.get_map_index()
local setting = enchanted_forest_zone.setting()
if idx >= (setting.map_index * 10000) and idx < (setting.map_index * 10000 + 10000) then
pc.setf("enchanted_forest", "limit_activity", 0)
if pc.getqf("dungeon_enter") > 0 then
pc.setqf("dungeon_enter", 0)
return
end

pc.warp(816700, 1505000)
end
end

when logout begin
local idx = pc.get_map_index()
local setting = enchanted_forest_zone.setting()
if idx >= (setting.map_index * 10000) and idx < (setting.map_index * 10000 + 10000) then
pc.setqf("exit_time_logout", get_global_time() + 5 * 60)
if pc.getqf("dungeon_enter") > 0 then
pc.setqf("dungeon_enter", 0)
end

pc.setf("enchanted_forest", "limit_activity", get_time() + 10 * 60)
end
end

when 6408.kill with pc.in_dungeon() begin
local setting = enchanted_forest_zone.setting()
d.spawn_mob(setting.boss2, setting.spawn[1], setting.spawn[2])
end

when 6418.kill with pc.in_dungeon() begin
local setting = enchanted_forest_zone.setting()
d.set_warp_location(202, 12779, 17347)

d.notice("Felicitari, ai readus pacea in Padurea Fermecata!")
d.notice("Incurand vei fi teleortat.")

server_timer("frt_exit_timer", 30, d.get_map_index())
end

when frt_2h_left_timer.server_timer begin
if d.select(get_server_timer_arg()) then
d.set_warp_location(202, 12779, 17347)
d.notice("Timpul a expirat.")

server_timer("frt_exit_timer", 3, get_server_timer_arg())
end
end

when frt_exit_timer.server_timer begin
if d.select(get_server_timer_arg()) then
clear_server_timer("frt_exit_timer", get_server_timer_arg())
clear_server_timer("frt_2h_left_timer", get_server_timer_arg())
d.setf("frt_party_leader_pid", 0)
d.exit_all()
end
end

when 20412.chat."Camera lui Bagjanamu" begin
local setting = enchanted_forest_zone.setting()

say_title(mob_name(20412))
say("")
say("Vrei sa lupti impotriva lui Bagjanamu?")
local agree = select("Da", "Nu")
if agree == 1 then
say_title(mob_name(20412))
say("")
if not party.is_party() then
say("Pentru a intra in camera trebuie sa faci parte")
say("dintr-o breasla.")
return
end

local party_check = 0
if d.find(party.getf("frt_dungeon_index")) then
party_check = (d.getf_from_map_index("frt_party_leader_pid", party.getf("frt_dungeon_index")) == party.get_leader_pid())
end

if d.find(party.getf("frt_dungeon_index")) and party_check then
if get_global_time() > pc.getqf("exit_time_logout") then
say("De neacceptat, te-ai intors prea tarziu")
say("limita pentru a intra inapoi in dungeon este de")
say("5 minute.")
return
end

pc.setf("enchanted_forest_zone", "dungeon_enter", 1)
say("Vei fi teleportat la grupa ta.")
say("")
wait()
pc.warp(setting.dungeon_entry_pos[1] * 100, setting.dungeon_entry_pos[2] * 100, party.getf("frt_dungeon_index"))
end

local event_flag = string.format("frt_dungeon_status_%d", pc.get_channel_id())
if game.get_event_flag(event_flag) > get_time() then
local next_time = (game.get_event_flag(event_flag) - get_time())
say("Momentan intrarile sunt inchise.")
if next_time < 60 then
say(string.format("Incearca in %d sec.", tonumber(next_time)))
else
say(string.format("Incearca in %d min.", tonumber(next_time / 60)))
end

return
end

if not party.is_leader() then
say("Pentru a accesa aceasta camera trebuie sa fii")
say("liderul grupei.")
return
end

if party.get_near_count() < 2 then
say("Pentru a accesa camera grupul tau trebuie sa aiba")
say("minim 2 membrii.")
return
end

local pids = {party.get_member_pids()}
local ticketCheck = true
local notEnoughTicketMembers = {}

for i, pid in next, pids, nil do
q.begin_other_pc_block(pid)
if pc.count_item(setting.ticket_vnum) < 1 then
table.insert(notEnoughTicketMembers, pc.get_name())
ticketCheck = false
end

q.end_other_pc_block()
end

if not ticketCheck then
say("Pentru a primi acces in camera, toti membrii")
say(string.format("grupei trebuie sa aiba %s.", item_name(setting.ticket_vnum)))
say("")
say("Membrii fara ticket:")
for i, name in next, notEnoughLevelMembers, nil do
say("- "..name.."")
end

return
end

for i, pid in next, pids, nil do
q.begin_other_pc_block(pid)
pc.remove_item(setting.ticket_vnum, 1)
pc.setf("enchanted_forest_zone", "dungeon_enter", 1)
q.end_other_pc_block()
end

say("Dupa ce continui toti membrii grupei")
say("vor fi teleportati in camera.")
wait()
enchanted_forest_zone.make_dungeon(party.get_leader_pid(), pc.get_channel_id())
end
end
end
end
 
asta este tot ce gasesc in syslog
May 24 15:00:04 :: [ 1672300] return 0/0/0 async 0/0/0
May 24 15:00:09 :: [ 1672350] return 0/0/0 async 0/0/0
May 24 15:00:14 :: [ 1672400] return 0/0/0 async 0/0/1
May 24 15:00:19 :: [ 1672450] return 0/0/0 async 0/0/0
May 24 15:00:24 :: [ 1672500] return 0/0/0 async 0/0/0
May 24 15:00:29 :: [ 1672550] return 0/0/0 async 0/0/0
May 24 15:00:34 :: [ 1672600] return 0/0/0 async 0/0/0
May 24 15:00:39 :: [ 1672650] return 0/0/0 async 0/0/9
May 24 15:00:44 :: [ 1672700] return 0/0/0 async 0/0/0
May 24 15:00:49 :: [ 1672750] return 0/0/0 async 0/0/0
May 24 15:00:54 :: [ 1672800] return 0/0/0 async 0/0/0
May 24 15:00:54 :: Current Peer host names...
127.0.0.1 13098 channel : 99
127.0.0.1 14002 channel : 1
127.0.0.1 0 channel : 0
127.0.0.1 14001 channel : 1

May 24 15:00:59 :: [ 1672850] return 0/0/0 async 0/0/0
May 24 15:01:04 :: [ 1672900] return 0/0/0 async 0/0/0
May 24 15:01:09 :: [ 1672950] return 0/0/0 async 0/0/0
May 24 15:01:14 :: [ 1673000] return 0/0/0 async 0/0/0
May 24 15:01:19 :: [ 1673050] return 0/0/0 async 0/0/0
May 24 15:01:24 :: [ 1673100] return 0/0/0 async 0/0/0
May 24 15:01:29 :: [ 1673150] return 0/0/0 async 0/0/0
May 24 15:01:34 :: [ 1673200] return 0/0/0 async 0/0/0
May 24 15:01:39 :: [ 1673250] return 0/0/0 async 0/0/0
May 24 15:01:44 :: [ 1673300] return 0/0/0 async 0/0/0
May 24 15:01:49 :: [ 1673350] return 0/0/0 async 0/0/0
May 24 15:01:54 :: [ 1673400] return 0/0/0 async 0/0/0
May 24 15:01:54 :: Current Peer host names...
127.0.0.1 13098 channel : 99
127.0.0.1 14002 channel : 1
127.0.0.1 0 channel : 0
127.0.0.1 14001 channel : 1

May 24 15:01:59 :: [ 1673450] return 0/0/0 async 0/0/0
May 24 15:02:04 :: [ 1673500] return 0/0/0 async 0/0/0
May 24 15:02:09 :: [ 1673550] return 0/0/0 async 0/0/0
May 24 15:02:14 :: [ 1673600] return 0/0/0 async 0/0/0
May 24 15:02:19 :: [ 1673650] return 0/0/0 async 0/0/0
May 24 15:02:24 :: [ 1673700] return 0/0/0 async 0/0/0
May 24 15:02:29 :: [ 1673750] return 0/0/0 async 0/0/0
May 24 15:02:34 :: [ 1673800] return 0/0/0 async 0/0/0
May 24 15:02:39 :: [ 1673850] return 0/0/0 async 0/0/0
May 24 15:02:44 :: [ 1673900] return 0/0/0 async 0/0/0
May 24 15:02:49 :: [ 1673950] return 0/0/0 async 0/0/0
May 24 15:02:54 :: [ 1674000] return 0/0/1 async 0/0/0
May 24 15:02:54 :: Current Peer host names...
127.0.0.1 13098 channel : 99
127.0.0.1 14002 channel : 1
127.0.0.1 0 channel : 0
127.0.0.1 14001 channel : 1

May 24 15:02:59 :: [ 1674050] return 0/0/0 async 0/0/0
May 24 15:03:04 :: [ 1674100] return 0/0/0 async 0/0/0
May 24 15:03:09 :: [ 1674150] return 0/0/0 async 0/0/0
May 24 15:03:14 :: [ 1674200] return 0/0/0 async 0/0/0
May 24 15:03:19 :: [ 1674250] return 0/0/0 async 0/0/0
May 24 15:03:24 :: [ 1674300] return 0/0/0 async 0/0/0
May 24 15:03:29 :: [ 1674350] return 0/0/0 async 0/0/0
May 24 15:03:34 :: [ 1674400] return 0/0/0 async 0/0/0
May 24 15:03:39 :: [ 1674450] return 0/0/0 async 0/0/0
May 24 15:03:44 :: [ 1674500] return 0/0/0 async 0/0/0
May 24 15:03:49 :: [ 1674550] return 0/0/0 async 0/0/0
May 24 15:03:54 :: [ 1674600] return 0/0/0 async 0/0/0
May 24 15:03:54 :: Current Peer host names...
127.0.0.1 13098 channel : 99
127.0.0.1 14002 channel : 1
127.0.0.1 0 channel : 0
127.0.0.1 14001 channel : 1

May 24 15:03:59 :: [ 1674650] return 0/0/0 async 0/0/4
May 24 15:04:04 :: [ 1674700] return 0/0/0 async 0/0/0
May 24 15:04:09 :: [ 1674750] return 0/0/0 async 0/0/0
May 24 15:04:11 :: SetPlay off 692793961 vlad003
May 24 15:04:11 :: LOGIN_BY_KEY success vlad003 692793961 86.121.65.201
May 24 15:04:11 :: RESULT_LOGIN: login success vlad003 rows: 2
May 24 15:04:11 :: [SA]Olteanu 958748 270792 hair 5049
May 24 15:04:11 :: [VIP]jaak 829100 1418800 hair 5061
May 24 15:04:12 :: SetPlay on 692793961 vlad003
May 24 15:04:12 :: [PLAYER_LOAD] ID [VIP]jaak pid 4989 gold 302625728675
May 24 15:04:12 :: QID_QUEST 131
May 24 15:04:12 :: QUEST_LOAD: count 48 PID 4989
May 24 15:04:12 :: info of pLoginData1 before call ItemAwardfunction 681664000
May 24 15:04:12 :: QID_AFFECT 131
May 24 15:04:12 :: AFFECT_LOAD: count 20 PID 4989
May 24 15:04:13 :: PARTY SetMemberLevel pid [4989] level 100
May 24 15:04:14 :: [ 1674800] return 0/0/35 async 0/0/1
May 24 15:04:14 :: SetPlay off 692793961 vlad003
May 24 15:04:15 :: LOGIN_BY_KEY success vlad003 692793961 86.121.65.201
May 24 15:04:15 :: RESULT_LOGIN: login success vlad003 rows: 2
May 24 15:04:15 :: [SA]Olteanu 958748 270792 hair 5049
May 24 15:04:15 :: [VIP]jaak 1277900 1734700 hair 5061
May 24 15:04:16 :: SetPlay on 692793961 vlad003
May 24 15:04:16 :: [PLAYER_LOAD] ID [VIP]jaak pid 4989 gold 302625728675
May 24 15:04:16 :: QID_QUEST 4
May 24 15:04:16 :: QUEST_LOAD: count 48 PID 4989
May 24 15:04:16 :: info of pLoginData1 before call ItemAwardfunction 681664000
May 24 15:04:16 :: QID_AFFECT 4
May 24 15:04:16 :: AFFECT_LOAD: count 20 PID 4989
May 24 15:04:18 :: PARTY SetMemberLevel pid [4989] level 100
May 24 15:04:19 :: [ 1674850] return 0/0/0 async 0/0/0
May 24 15:04:22 :: SetPlay off 692793961 vlad003
May 24 15:04:23 :: LOGIN_BY_KEY success vlad003 692793961 86.121.65.201
May 24 15:04:23 :: RESULT_LOGIN: login success vlad003 rows: 2
May 24 15:04:23 :: [SA]Olteanu 958748 270792 hair 5049
May 24 15:04:23 :: [VIP]jaak 829100 1418800 hair 5061
May 24 15:04:24 :: SetPlay on 692793961 vlad003
May 24 15:04:24 :: [PLAYER_LOAD] ID [VIP]jaak pid 4989 gold 302625728675
May 24 15:04:24 :: QID_QUEST 133
May 24 15:04:24 :: QUEST_LOAD: count 48 PID 4989
May 24 15:04:24 :: info of pLoginData1 before call ItemAwardfunction 681664000
May 24 15:04:24 :: QID_AFFECT 133
May 24 15:04:24 :: AFFECT_LOAD: count 20 PID 4989
May 24 15:04:24 :: [ 1674900] return 0/0/3 async 0/0/4
May 24 15:04:24 :: PARTY SetMemberLevel pid [4989] level 100
May 24 15:04:29 :: [ 1674950] return 0/0/0 async 0/0/1
May 24 15:04:34 :: [ 1675000] return 0/0/0 async 0/0/0
May 24 15:04:39 :: [ 1675050] return 0/0/0 async 0/0/0
May 24 15:04:44 :: [ 1675100] return 0/0/1 async 0/0/0
May 24 15:04:49 :: [ 1675150] return 0/0/0 async 0/0/0
May 24 15:04:54 :: [ 1675200] return 0/0/0 async 0/0/0
May 24 15:04:54 :: Current Peer host names...
127.0.0.1 13098 channel : 99
127.0.0.1 14002 channel : 1
127.0.0.1 0 channel : 0
127.0.0.1 14001 channel : 1

May 24 15:04:59 :: [ 1675250] return 0/0/0 async 0/0/0
May 24 15:05:04 :: [ 1675300] return 0/0/1 async 0/0/0
May 24 15:05:09 :: [ 1675350] return 0/0/0 async 0/0/0
 
si in syserr
SYSERR: May 22 16:33:25 :: pid_init:
Start of pid: 1042

SYSERR: May 22 16:33:25 :: Start: TABLE_POSTFIX not configured use default
SYSERR: May 23 09:37:42 :: ChildLoop: MySQL connection was reconnected. querying locale set
SYSERR: May 23 09:44:14 :: ChildLoop: MySQL connection was reconnected. querying locale set
SYSERR: May 23 10:02:14 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: May 23 10:58:54 :: ChildLoop: MySQL connection was reconnected. querying locale set
SYSERR: May 23 12:56:19 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: May 24 11:11:37 :: ChildLoop: MySQL connection was reconnected. querying locale set
SYSERR: May 24 11:18:12 :: ChildLoop: MySQL connection was reconnected. querying locale set
SYSERR: May 24 11:37:08 :: ChildLoop: MySQL connection was reconnected. querying locale set
SYSERR: May 24 13:10:37 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: May 24 14:46:31 :: DirectQuery: MySQL connection was reconnected. querying locale set
 
Stare
Nu este deschis pentru răspunsuri viitoare.