quest ring_warp begin
state start begin
when 70007.use begin
-- if pc.get_level() < item.get_value (0) then
-- say("레벨이 낮아 못가네")
-- say("")
-- return
-- end
local empire = pc.get_empire()
local max_use = item.get_value(0)
local n = item.get_socket (0)
if n >= max_use then
say (gameforge.ring_warp._010_say)
return
end
local t = item.get_socket(1)
if t > get_global_time() then
say (string.format(gameforge.ring_warp._020_say, (t - get_global_time()) / 1 ))
return
end
say(string.format(gameforge.ring_warp._030_say, max_use -n))
local sub_set = 0
local town1={
gameforge.functions._100_say,
gameforge.functions._110_say,
gameforge.functions._120_say,
}
local town2={
gameforge.functions._130_say,
gameforge.functions._140_say,
gameforge.functions._150_say,
}
sub_set = select(town1[empire],town2[empire],locale.map_name[64], locale.map_name[63], locale.map_name[61],locale.map_name[62],gameforge.locale.cancel)
if sub_set == 7 then -- 닫기
return
end
local warp = {
{ -- empire town -1
{ 474300 , 954800 },
{ 63800 , 166400 },
{ 959900 , 269200 },
},
{ -- empire town -2
{ 353100 , 882900},
{ 145500 , 240000 },
{ 863900 , 246000 },
},
-- 64 map_n_threeway
{
{ 402100, 673900 },
{ 270400, 739900 },
{ 321300, 808000 },
},
-- 63 metin2_map_n_desert_01
{
{ 217800, 627200 },
{ 221900, 502700 },
{ 344000, 502500 },
},
-- 61 map_n_snowm_01
{
{ 434200, 290600 },
{ 375200, 174900 },
{ 491800, 173600 },
},
-- 62 metin2_map_n_flame_01
{
{ 599400, 756300 },
{ 597800, 622200 },
{ 730700, 689800 },
},
}
if not pc.warp(warp[sub_set][empire][1], warp[sub_set][empire][2]) then
return
end
item.set_socket(1, get_global_time() + item.get_value(1))
if n == max_use - 1 then
item.remove()
else
item.set_socket(0, n + 1)
end
end --when
end -- end_of_state
end -- end_of_quest
2- I have problem's with the dragon soul alchemy, i cant take the "'DS_QUALIFICATION" , when i go to alchemist with 10 rock's , he dosen't take from me, and when i first take the mission , the alchemist dosen't have the red arrow up to his head... (The mission arrow)...
quest dragon_soul begin
state start begin
when levelup or letter with pc.level >= 30 begin
send_letter(gameforge.dragon_soul._1010_sendLetter)
local v = find_npc_by_vnum(20001)
if 0 != v then
target.vid("__TARGET__", v, mob_name(20001))
end
end
when info or button begin
say(gameforge.dragon_soul._1020_say)
end
when 20001.chat.gameforge.dragon_soul._1030_npcChat with pc.level >= dragon_soul_can_use_level begin
target.delete("__TARGET__")
say_title(mob_name(20001))
say(gameforge.dragon_soul._1040_say)
set_state(state_learning)
end
end
state state_learning begin
when letter begin
send_letter(gameforge.dragon_soul._1050_sendLetter)
end
when info or button begin
say(gameforge.dragon_soul._1060_say)
end
when kill begin
if npc.is_pc() then
return
end
if pc.count_item(30270) < 10 then
if drop_gamble_with_flag("ds_drop") then
game.drop_item_with_ownership(30270, 1, 300)
end
end
end
when 20001.chat.gameforge.dragon_soul._1050_sendLetter begin
say_title(mob_name(20001))
if pc.count_item(30270) >= 10 then
say(gameforge.dragon_soul._1070_say)
pc.remove_item(30270, 10)
ds.give_qualification()
char_log(pc.get_player_id(), 'DS_QUALIFICATION', 'SUCCESS')
pc.give_item2(50255)
local today = math.floor(get_global_time() / 1)
pc.setf("dragon_soul", "eye_timestamp", today)
pc.setf("dragon_soul", "eye_left", 9)
set_state(state_farming)
else
say(gameforge.dragon_soul._1080_say)
end
end
end
state state_farming begin
when letter begin
send_letter(gameforge.dragon_soul._1090_sendLetter)
end
when info or button begin
say(string.format(gameforge.dragon_soul._1100_say, pc.getf("dragon_soul", "eye_left")))
end
when kill begin
if npc.is_pc() then
return
end
if drop_gamble_with_flag("ds_drop") then
local eye_left = pc.getf("dragon_soul", "eye_left")
local haved_gemstone_number = pc.count_item(30270)
if eye_left > haved_gemstone_number / 10 then
game.drop_item_with_ownership(30270, 1, 300)
end
end
end
when 30270.pick begin
local eye_left = pc.getf("dragon_soul", "eye_left")
if eye_left <= 0 then
return
end
if pc.count_item(30270) >= 10 then
pc.setf("dragon_soul", "eye_left", eye_left - 1)
pc.remove_item(30270, 10)
pc.give_item2(50255)
if 1 == eye_left then
notice_multiline(gameforge.dragon_soul._1110_notice, notice)
set_state(state_closed_season)
end
end
end
when 20001.chat.gameforge.dragon_soul._1120_npcChat begin
say_title(mob_name(20001))
local today = math.floor(get_global_time() / 1)
if today == pc.getf("dragon_soul", "eye_timestamp") then
say(gameforge.dragon_soul._1130_say)
else
say(gameforge.dragon_soul._1140_say)
pc.setf("dragon_soul", "eye_timestamp", today)
pc.setf("dragon_soul", "eye_left", 10)
end
end
end
state state_closed_season begin
when letter begin
send_letter(gameforge.dragon_soul._1150_sendLetter)
end
when info or button begin
say(gameforge.dragon_soul._1160_say)
local today = math.floor(get_global_time() / 1)
if today == pc.getf("dragon_soul", "eye_timestamp") then
say(gameforge.dragon_soul._1170_say)
else
say(gameforge.dragon_soul._1180_say)
end
end
when 20001.chat.gameforge.dragon_soul._1090_sendLetter begin
say_title(mob_name(20001))
local today = math.floor(get_global_time() / 1)
if today == pc.getf("dragon_soul", "eye_timestamp") then
say(gameforge.dragon_soul._1130_say)
else
say(gameforge.dragon_soul._1140_say)
pc.setf("dragon_soul", "eye_timestamp", today)
pc.setf("dragon_soul", "eye_left", 10)
set_state(state_farming)
end
end
end
-- deprecated states. so, jump to new state.
state state_1 begin
when login begin
set_state(state_learning)
end
end
state state_2 begin
when login begin
set_state(state_learning)
end
end
state state_3 begin
when login begin
set_state(state_closed_season)
end
end
end
3- This problem is about the switch bonuses time , 10 minuts , how can i remove the time/ how can i make it smaller , like 1 minut.. or something..
And my last problem: The Gold rates.
The gold rates is too low, and to modify from mob_proto.txt it's taking too long... how can i modify the txt with one command.... or how can i make the gold rate bigger then 200%..?
Thanks for your attention, and i'm sorry for my very bad english.
game problem 02/23/2014 - SRO Private Server - 1 Replies this problem at all games i have
http://www4.0zz0.com/2014/02/18/16/867918776.jpg
PC(Game) Problem 11/04/2012 - Technical Support - 5 Replies Guten Tag Com..Ich habe ein Problem und ich weiss nicht ob das Thema hier passt aber ich bitte um Hilfe..Also ich habe auf mein Win7 Pc spiel runtergeladen und es installiert sich ohne Problem, aber wenn ich es bei meiner Freundin auf Win7 runterlade und �ffne kommt ein Fehler:
"die syntax f�r den dateinamen, Verzeichisnam en oder die Datentr�gerbezeihnung ist falsch"
Wie kann man das Beheben?
Danke
game core problem hab game datei ge�ndert 05/18/2011 - Metin2 Private Server - 0 Replies bei mir taucht immer in Virtaul pc ein fehler auf da steht :
mv : ./game99 core to cores core .... und vieles mehr
Problem In-Game 12/30/2010 - Combat Arms - 4 Replies Edit: Closed das Problem hat sich mit ein neustart behoben
i got some problem to get into the game 05/31/2008 - Conquer Online 2 - 6 Replies i got some problem to get into teh game. ive reinstalled the game 3 times today
and deleted the Conquer 2 folder
and downloaded all patches on new and installed em.
but so i get this problem
http://i25.tinypic.com/2uiurd5.jpg