|
You last visited: Today at 01:41
Advertisement
[Error]Forked Road nation war
Discussion on [Error]Forked Road nation war within the Metin2 Private Server forum part of the Metin2 category.
04/09/2016, 08:53
|
#1
|
elite*gold: 0
Join Date: Sep 2012
Posts: 146
Received Thanks: 15
|
[Error]Forked Road nation war
Hello pvpers,
Well i got this syserr in my channel about forked_road (nation war) what is this and how to solve it ?
SYSERR: Apr 8 20:29:35 :: RunState: LUA_ERROR: [string "forked_road"]:7: attempt to index global `forked' (a nil value)
SYSERR: Apr 8 20:29:35 :: WriteRunningStateToSyserr: LUA_ERROR: quest forked_road.start click
Thanks in advance
|
|
|
04/09/2016, 11:53
|
#2
|
elite*gold: 1810
Join Date: Jan 2012
Posts: 2,180
Received Thanks: 1,617
|
You got an inexistent value in the quest named forked_road. Take some analytics and you will
find the error.
|
|
|
04/11/2016, 17:13
|
#3
|
elite*gold: 0
Join Date: Sep 2012
Posts: 146
Received Thanks: 15
|
well this is my quest what should i do ?
quest forked_road begin
state start begin
when login with pc.level >= 50 and game.get_event_flag("threeway_war") == 1 and game.get_event_flag("threeway_war_open_gate"..pc.e mpire) == 1 and forked.isforkedmapindex( pc.get_map_index() ) == false begin
q.set_icon("scroll_open_blue.tga")
send_letter("*Nation War")
local v=find_npc_by_vnum(10999+(pc.empire*2))
if v!=0 then
target.vid("__TARGET__", v, "Nation War")
end
end
when info or button begin
addimage(20, 12, "nationwar.tga")
say("")
say("")
say("")
say_title("")
----"1234567890123456789012345678901234567890123456789 01234567890"|
say("A cave was found which seems to connect the three kingdoms.")
say("But during the exploration, a terrible fight ensued. All men")
say("and women of age must equip their fighting gear and report")
say("at the Archer Guardian in your town to help out.")
say("")
end
when login with forked.isforkedmapindex( pc.get_map_index() ) == true begin
if game.get_event_flag("threeway_war") == 0 then
warp_to_village()
else
local noticeShow = false
if forked.is_registered_user() == false then
forked.register_user()
forked.setdeadcount()
pc.remove_item(50089)
noticeShow = true
end
if forked.getdeadcount() <= 0 then
warp_to_village()
elseif true == noticeShow then
if forked.issungzimapindex( pc.get_map_index() ) == true then
say( locale.forked_condition2 )
say( locale.NOTICE_COLOR..locale.forked_rule_sungzi )
else
say( locale.forked_condition )
say( locale.NOTICE_COLOR..locale.forked_rule )
say_item_vnum(50089)
end
end
end
end
when __TARGET__.target.click begin
target.delete("__TARGET__")
if game.get_event_flag("threeway_war") == 0 then
say(locale.forked_man_say_cant)
say("")
else
say(locale.forked_man_say)
local s = select(locale.forked_enter,locale.forked_no_enter)
if s == 1 then
local limit = math.min(game.get_event_flag("threeway_war_level") , 50)
if pc.get_level() < limit then
say("In order to join Nation War, your level must be over "..limit.."")
return
end
local canJoin = false
if (pc.getempire() == 1 and game.get_event_flag("threeway_war_open_gate1" ) != 0) or
(pc.getempire() == 2 and game.get_event_flag("threeway_war_open_gate2" ) != 0) or
(pc.getempire() == 3 and game.get_event_flag("threeway_war_open_gate3" ) != 0) then
canJoin = true
else
say( locale.forked_man_say_you_cant2 )
end
if true == canJoin then
pc.warp( forked.get_pass_start_pos() )
else ----"1234567890123456789012345678901234567890123456789 0"|
say("You cannot join Nation War after the gate to the")
say("Sanctuary has been opened.")
say("")
say("Pray for our kingdom to conquer Holy land!!")
end
end
end
end
when 1306.kill with forked.isforkedmapindex(pc.get_map_index()) == true begin
game.drop_item(50089, 1)
----"1234567890123456789012345678901234567890123456789 0"|
say("If the Ancient Gate is opened with the Seal, all")
say("the players will be teleported into the Sanctuary.")
say("")
end
when 1902.kill with forked.issungzimapindex(pc.get_map_index()) == true begin
if 0 == game.get_event_flag("threeway_war") then
return
end
local remainBossCount = game.get_event_flag("threeway_war_boss_count") - 1
game.set_event_flag("threeway_war_boss_count", remainBossCount)
if remainBossCount > 1 then
return
end
game.set_event_flag("threeway_war", 0)
notice_all("The winner of the Nation War is "..locale.empire_names[pc.get_empire()])
warp_all_to_village(forked.getsungzimapindex(), 30)
warp_all_to_village(forked.getpassmapindexbyempire (1), 30)
warp_all_to_village(forked.getpassmapindexbyempire (2), 30)
warp_all_to_village(forked.getpassmapindexbyempire (3), 30)
end
when 20081.take with item.vnum == 50089 begin
say_in_map(pc.get_map_index(), locale.forked_open_gate)
npc.purge()
item.remove()
forked.initkillcount()
if pc.getempire() == 1 then
game.set_event_flag("threeway_war_open_gate1", 0)
notice_all(locale.empire_names[1].." empire enters the Sanctuary." )
elseif pc.getempire() == 2 then
game.set_event_flag("threeway_war_open_gate2", 0)
notice_all(locale.empire_names[2].." empire enters the Sanctuary." )
elseif pc.getempire() == 3 then
game.set_event_flag("threeway_war_open_gate3", 0)
notice_all(locale.empire_names[3].." empire enters the Sanctuary." )
else
say(locale.forked_man_say_you_cant2 )
end
local x, y = forked.get_sungzi_start_pos()
forked.warp_all_in_map( pc.get_map_index(), forked.getsungzimapindex(), x, y, 10)
end
when 11001.chat."GM: Nation War" or 11003.chat."GM: Nation War" or 11005.chat."GM: Nation War" with pc.is_gm() begin
say_title("Nation War:")
say("")
say_reward("IMPORTANT: only start this event from ch99")
say("")
local s = select( "Start the Nation War" , "End the Nation War" , "Cancel");
if s == 1 then
-- 기존에 있던 몹을 모두 죽인다
forked.purge_all_monsters()
-- 초기화
forked.initforked()
-- 시작 플래그 설정
game.set_event_flag("threeway_war", 1)
-- 삼거리 전투 킬 제한 설정
game.set_event_flag("threeway_war_dead_count", 50) -- number of times a player can die
if true == is_test_server() then
game.set_event_flag("threeway_war_kill_count", 5)
else
game.set_event_flag("threeway_war_kill_count", 100) -- Number of kills to pass round
end
game.set_event_flag("threeway_war_boss_count", 5) -- Number of bosses for the winner
-- 삼거리 입구 열고/닫기 설정
game.set_event_flag("threeway_war_open_gate1", 1)
game.set_event_flag("threeway_war_open_gate2", 1)
game.set_event_flag("threeway_war_open_gate3", 1)
say("Nation War has started.")
say("")
wait()
-- 몬스터 새롭게 리젠
regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."regen00.txt" )
regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."npc00.txt" )
regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."regen00.txt" )
regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."npc00.txt" )
regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."regen00.txt" )
regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."npc00.txt" )
notice_all("Nation War has started!")
notice_all("Talk to the Archer Guardian to join. Level 50 is required.")
elseif 2 == s then
game.set_event_flag("threeway_war", 0)
notice_all("Ending Nation War")
forked.purge_all_monsters()
warp_all_to_village(forked.getsungzimapindex(), 1)
warp_all_to_village(forked.getpassmapindexbyempire (1), 1)
warp_all_to_village(forked.getpassmapindexbyempire (2), 1)
warp_all_to_village(forked.getpassmapindexbyempire (3), 1)
end
end
end
end
|
|
|
04/15/2016, 15:21
|
#4
|
elite*gold: 0
Join Date: Sep 2012
Posts: 146
Received Thanks: 15
|
Up!
|
|
|
04/22/2016, 05:49
|
#5
|
elite*gold: 0
Join Date: Sep 2012
Posts: 146
Received Thanks: 15
|
Up
|
|
|
|
Similar Threads
|
Forked road problem // national war problem
01/26/2014 - Metin2 Private Server - 0 Replies
I'm using this quest http://www.elitepvpers.com/forum/metin2-pserver-gu ides-strategies/1435259-100-official-ymir-threeway war-quest-forked_road.html for national war. The quest works but there are no mobs in those maps, so it's useless. If i summon a monster, the quest works perfectly.
Can some one help me?
I have the regen files in those maps, but in game there is no monsters.
BUMP!
|
Infinity Road Error
04/25/2012 - SRO Private Server - 1 Replies
So i downloaded Infinity Road again cuz few days ago i got an error which sais "media.pk is damaged". Deleted old infinity road and extracted fresh one, now when im trying to connect i get this error:
ImageShack® - Online Photo and Video Hosting
so if anyone knows how to get rid of this, please help me out :)
http://imageshack.us/photo/my-images/703/fghp.png /
Seems i cant show you the picture because of link protection, but it says that server is offline in Vietnamese
Seems i cant...
|
Infinity Road Error
04/25/2012 - SRO Private Server - 0 Replies
So i downloaded Infinity Road again cuz few days ago i got an error which sais "media.pk is damaged". Deleted old infinity road and extracted fresh one, now when im trying to connect i get this error:
ImageShack® - Online Photo and Video Hosting
so if anyone knows how to get rid of this, please help me out
Seems i cant show you the picture because of link protection, but it says that server is offline in Vietnamese
|
locale hongkong forked map index ?!? was tun
09/13/2010 - Metin2 Private Server - 6 Replies
durch diese fehlmeldung geht mein vpc netmehr an also der server was tun?? kb alles neu zu machen
|
All times are GMT +2. The time now is 01:41.
|
|