-
Posts
56 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by SlayerPro
-
-
1 hour ago, caanmasu said:
i will try now thanx in advance
57 minutes ago, Syreldar said:Your quest is called "lvl_110", therefore function calls refer to that "class".
You have 2 solutions:1. Substitute all "playerMission." occurrences with "lvl_110."
2. Call the quest "playerMission" instead of "lvl_110"
But I assume there's a reason why you called the quest "lvl_110", so the first option is the go-to.i will try now thanx in advance
1 hour ago, Syreldar said:Your quest is called "lvl_110", therefore function calls refer to that "class".
You have 2 solutions:1. Substitute all "playerMission." occurrences with "lvl_110."
2. Call the quest "playerMission" instead of "lvl_110"
But I assume there's a reason why you called the quest "lvl_110", so the first option is the go-to.1 hour ago, caanmasu said:both is correct
now its working 100%
thank you very much
one last issue how can i make it starts only on level 110 please
-
6 hours ago, Syreldar said:
Hi, can you explain the problem you get more thoroughly?
i add it and nothing happens ingame even if i made new character and i did add a level for the quest it just not working
1 hour ago, Braxy said:Hi, just add me over discord and i'll happly help you ^^
i added you thank you guys in advance
6 hours ago, Syreldar said:Hi, can you explain the problem you get more thoroughly?
SpoilerSYSERR: Jul 11 15:05:33 :: RunState: LUA_ERROR: [string "lvl_110"]:1: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:05:33 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:07:59 :: RunState: LUA_ERROR: [string "lvl_110"]:1: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:07:59 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:08:50 :: RunState: LUA_ERROR: [string "lvl_110"]:1: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:08:50 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:09:16 :: RunState: LUA_ERROR: [string "lvl_110"]:4: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:09:16 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:09:43 :: RunState: LUA_ERROR: [string "lvl_110"]:1: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:09:43 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:11:21 :: RunState: LUA_ERROR: [string "lvl_110"]:1: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:11:21 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:24:59 :: RunState: LUA_ERROR: [string "lvl_110"]:4: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:24:59 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:26:43 :: RunState: LUA_ERROR: [string "lvl_110"]:1: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:26:43 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click SYSERR: Jul 11 15:38:11 :: RunState: LUA_ERROR: [string "lvl_110"]:1: attempt to index global `playerMission' (a nil value) SYSERR: Jul 11 15:38:11 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_110.start click
-
On 7/12/2019 at 11:28 PM, Braxy said:
Hi, since i have never released anything here, i tought it would be a great start releasing this quest.
As you well know i have a LUA Service topic here and even tho this quest is not much about LUA because of course its based on Metin2 functions it's quite alright for you to take a first impresion.
Link:
Best regards,
Braxy.
i like the coding and i install it but when i login ingame i see nothing . only blacksmith has .chat
https://metin2.download/picture/ZfdmIbf33NPqs5WfNFlrYi6i47kGW5Vy/.jpg
i just changed the reward and required mob
here is a sample of my quest
quest lvl_110 begin state start begin function returnData() local data = { ["missionData"] = {["missionName"] = "Player Mission I", ["missionFlag"] = "playerMissionKill"}, ["timeToComplete"] = {true, time_min_to_sec(60)}, ["requireData"] = {{6856, 5}, {6895, 5}}, ["playerRewards"] = {["itemVnum"] = {83006, 30962, 30334}, ["itemCount"] = {1, 1, 1}} }; return data; end function initializeData() local data = playerMission.returnData(); for index in data["requireData"] do local strFlag = string.format("%s_%d", data["missionData"]["missionFlag"], data["requireData"][index][1]); pc.setqf(strFlag, data["requireData"][index][2]); end if (data["timeToComplete"][1]) then return pc.setqf("playerMissionTime", get_time() + data["timeToComplete"][2]); end return true; end function initializeInfo() local data = playerMission.returnData(); for index in data["requireData"] do local strFlag = string.format("%s_%d", data["missionData"]["missionFlag"], data["requireData"][index][1]); q.set_counter(string.format("Remaining %s:", mob_name(data["requireData"][index][2])), pc.getqf(strFlag)); end if (data["timeToComplete"][1]) then if (pc.getqf("playerMissionTime") < get_time()) then return false; end q.set_clock("Remaining Time:", pc.getqf("playerMissionTime") - get_time()); end return true; end function isKillableMonster() local data = playerMission.returnData(); local npcRace = npc.get_race(); for index in data["requireData"] do if (data["requireData"][index][1] == npcRace) then return true; end end return false; end when login or enter or levelup begin local data = playerMission.returnData(); send_letter(data["missionData"]["missionName"]); end when button or info begin local data = playerMission.returnData(); say_title(string.format("%s:[ENTER]", data["missionData"]["missionName"])) say("Talk to Blacksmith if you want to accept the mission.") end when 20016.chat."The Player Mission" begin say_title(string.format("%s:[ENTER]", mob_name(npc.get_race()))) say("Do you wish to accept the mission?") if (select("Yes, i do", "No, i don't") == 1) then playerMission.initializeData(); set_state("run"); say("Your mission has been updated.") end end end state run begin when login or enter begin local data = playerMission.returnData(); local initializeMissionInfo = playerMission.initializeInfo(); if (not initializeMissionInfo) then syschat(string.format("You failed mission: %s.", data["missionData"]["missionName"])) set_state("done"); return; end send_letter(data["missionData"]["missionName"]); end when button or info begin local data = playerMission.returnData(); say_title(data["missionData"]["missionName"]) if (pc.getqf("playerMissionTime") < get_time()) then syschat(string.format("You failed mission: %s.", data["missionData"]["missionName"])) set_state("done"); return; end say("You still must kill:[ENTER]") for index in data["requireData"] do local strFlag = string.format("%s_%d", data["missionData"]["missionFlag"], data["requireData"][index][1]); if (pc.getqf(strFlag) > 0) then say_reward(string.format("- %s - x%d", mob_name(data["requireData"][index][1]), pc.getqf(strFlag))) end end end when kill with playerMission.isKillableMonster() begin local data = playerMission.returnData(); local npcRace = npc.get_race(); local isMissionOver = true; if (pc.getqf("playerMissionTime") < get_time()) then syschat(string.format("You failed mission: %s.", data["missionData"]["missionName"])) set_state("done"); return; end local npcFlag = string.format("%s_%d", data["missionData"]["missionFlag"], npcRace); if (pc.getqf(npcFlag) < 1) then return; end pc.setqf(npcFlag, pc.getqf(npcFlag) - 1); for index in data["requireData"] do local strFlag = string.format("%s_%d", data["missionData"]["missionFlag"], data["requireData"][index][1]); if (pc.getqf(strFlag) > 0) then isMissionOver = false; end end if (isMissionOver) then set_state("reward"); end end end state reward begin when login or enter begin send_letter("*Player Mission Reward"); end when button or info begin local data = playerMission.returnData(); say_title("*Player Mission Reward") say("Go back to Blacksmith to take your reward.") end when 20016.chat."Your reward!" begin local data = playerMission.returnData(); say_title(string.format("%s:[ENTER]", mob_name(npc.get_race()))) say("You have succesfully completed the mission.[ENTER]Your reward is:") for index in data["playerRewards"]["itemVnum"] do pc.give_item2(data["playerRewards"]["itemVnum"][index], data["playerRewards"]["itemCount"][index]); say_reward(string.format("- %s - %d", item_name(data["playerRewards"]["itemVnum"][index]), data["playerRewards"]["itemCount"][index])) end set_state("done"); end end state done begin when login or enter begin clear_letter(); q.done(); end end end
- 1
-
- 1
-
good job , continue please
- 1
- 1
-
thanx for sharing
-
16 hours ago, SnKoOo7 said:
Nice design! it doesn't look like metin2.
thats the point
-
- 8
- 2
- 1
-
i thought theres download link hahaha
-
5 hours ago, .plechito' said:
Yes, that's map folder, so put it into yw_maps. I reccomend to you delete the old folder and then paste it again. Sometimes when you just re-write it, it remains with Capital letters.
And about the index, 19 is fine if it's free on your server, it doesnt require any specific index IDi change the GR2 to gr2 and its working fine now thank you very much
-
1 hour ago, .plechito' said:
Yes, that's map folder, so put it into yw_maps. I reccomend to you delete the old folder and then paste it again. Sometimes when you just re-write it, it remains with Capital letters.
And about the index, 19 is fine if it's free on your server, it doesnt require any specific index IDitw worked very fine the map i mean thanx very much for your help
but i have little issue the monsters not showing
0730 11:55:22680 :: CArea::LoadObject Property(1679114530) Load ERROR 0730 11:55:22680 :: CArea::LoadObject Property(1679114530) Load ERROR 0730 11:55:22680 :: CArea::LoadObject Property(1679114530) Load ERROR 0730 11:55:22843 :: CArea::LoadObject Property(1410171503) Load ERROR 0730 11:55:22843 :: CArea::LoadObject Property(1410171503) Load ERROR 0730 11:55:22843 :: CArea::LoadObject Property(1679114530) Load ERROR 0730 11:55:22843 :: CArea::LoadObject Property(1679114530) Load ERROR 0730 11:55:22861 :: CArea::LoadObject Property(1410171503) Load ERROR 0730 11:55:22861 :: CArea::LoadObject Property(1679114530) Load ERROR 0730 11:55:22878 :: CArea::LoadObject Property(1410171503) Load ERROR 0730 11:55:22878 :: CArea::LoadObject Property(1410171503) Load ERROR 0730 11:55:22878 :: CArea::LoadObject Property(1679114530) Load ERROR 0730 11:55:29117 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/M2BG.mp3 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 996 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[32] Race[996] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 996 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[31] Race[996] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 996 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[30] Race[996] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 995 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[5] Race[995] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 995 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[7] Race[995] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 995 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[6] Race[995] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 996 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[29] Race[996] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 996 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[33] Race[996] 0730 11:55:30622 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 997 0730 11:55:30622 :: CPythonCharacterManager::CreateInstance VID[28958] Race[997] 0730 11:55:30623 :: Traceback (most recent call last):
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
- 1
- 1
-
2 hours ago, .plechito' said:
this is the issue brother im confused where to put this folder is it inside yw_maps ?
2 hours ago, .plechito' said:one thing im not sure of it what is the map index for this map cuz i didnt find and put randomly by serial
19 plechi_greendragon_map
- 4
- 3
- 3
-
On 8/4/2018 at 12:16 AM, .plechito' said:
Hi guys!
I didnt release some map long time ago. So here its small 2x2 map with 2 mobs, boss and metnistoneEverything is done and prepared just for install.
You need granny 2.9 for the objects and monsters.Dont release it on other forums please.
If you will have any problem, dont write me private message, write right here to the topic.
I dont offer support for this free map.
any help please
0730 04:45:17517 :: CMapBase::LoadProperty(FileName=plechi_greendragon_map\MapProperty.txt) - LoadMultipleTextData ERROR File not found. 0730 04:45:17517 :: CMapManager::LoadMap() Invalid Map Type 0730 04:45:17517 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
- 2
- 3
-
1 minute ago, DrTurk said:
the 300 or 80 in your case is not the drop chance, the dropchance in this quest ist calaculated by the ds_drop flag
would you please tell me how to edite the chance of drop ?
-
9 minutes ago, DrTurk said:
You could do it like that:
when kill begin if npc.is_pc() then return end if pc.count_item(gemstone) < gemstone_need_count then local drop = number(1, 100) if drop <= 10 then game.drop_item_with_ownership(gemstone, 1, 300) end end end when kill begin if npc.is_pc() then return end local drop = number(1, 100) if drop <= 10 then local eye_left = pc.getf("dragon_soul", "eye_left") local haved_gemstone_number = pc.count_item(gemstone) if eye_left > haved_gemstone_number / gemstone_need_count then game.drop_item_with_ownership(gemstone, 1, 300) end end end
you mean i put this
game.drop_item_with_ownership(gemstone, 1, 300)
insted of this
game.drop_item_with_ownership(gemstone, 1, 80)
??
-
i fix this line
define gemstone_trade_max_per_day 10
to 100 the eye of dragon it comes 100
but the rate is still too much
game.drop_item_with_ownership(gemstone, 1, 80)
i changed this too to 35 and not working still 100% percent
-
Version of Files : XXX
[[ Hi / Hello / Hey... ]]
1. Description of the problem / Question :
please any one can help me with the dragon soul quest
because my drop rate is like 100% each mob drop it and the Dragon eyes power is only 10
i need the drop rate like 50% and the eye limit per day 100
thanx in advance
2. Screenshots ?
Thanks, Sincerly,
define gemstone 30270 define alchemist 20001 define reward_box 50255 define gemstone_need_count 10 define gemstone_trade_max_per_day 10 define dragon_soul_can_use_level 30 define drop_flag "ds_drop" quest dragon_soul begin state start begin when levelup or letter with pc.level >= dragon_soul_can_use_level begin send_letter_ex(gameforge.dragon_soul._1010_sendLetter, "blue,blink,ex", "scroll_open_blue.tga") local v = find_npc_by_vnum(alchemist) if 0 != v then target.vid("__TARGET__", v, mob_name(alchemist)) end end when info or button begin say(gameforge.dragon_soul._1020_say) end when alchemist.chat.gameforge.dragon_soul._1030_npcChat with pc.level >= dragon_soul_can_use_level begin target.delete("__TARGET__") say_title(mob_name(alchemist)) say(gameforge.dragon_soul._1040_say) set_state(state_learning) end end state state_learning begin when letter begin send_letter_ex(gameforge.dragon_soul._1050_sendLetter, "blue,blink,ex", "scroll_open_blue.tga") 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(gemstone) < gemstone_need_count then if drop_gamble_with_flag(drop_flag) then game.drop_item_with_ownership(gemstone, 1, 80) end end end when alchemist.chat.gameforge.dragon_soul._1050_sendLetter begin say_title(mob_name(alchemist)) if pc.count_item(gemstone) >= gemstone_need_count then say(gameforge.dragon_soul._1070_say) pc.remove_item(gemstone, gemstone_need_count) ds.give_qualification() char_log(pc.get_player_id(), 'DS_QUALIFICATION', 'SUCCESS') pc.give_item2(reward_box) local today = math.floor(get_global_time() / 86400) 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_ex(gameforge.dragon_soul._1090_sendLetter, "blue,blink,ex", "scroll_open_blue.tga") 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(drop_flag) then local eye_left = pc.getf("dragon_soul", "eye_left") local haved_gemstone_number = pc.count_item(gemstone) if eye_left > haved_gemstone_number / gemstone_need_count then game.drop_item_with_ownership(gemstone, 1, 80) end end end when gemstone.pick begin local eye_left = pc.getf("dragon_soul", "eye_left") if eye_left <= 0 then return end if pc.count_item(gemstone) >= gemstone_need_count then pc.setf("dragon_soul", "eye_left", eye_left - 1) pc.remove_item(gemstone, gemstone_need_count) pc.give_item2(reward_box) if 1 == eye_left then notice_multiline(gameforge.dragon_soul._1110_notice, notice) set_state(state_closed_season) end end end when alchemist.chat.gameforge.dragon_soul._1120_npcChat begin say_title(mob_name(alchemist)) local today = math.floor(get_global_time() / 86400) 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() / 86400) 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 alchemist.chat.gameforge.dragon_soul._1090_sendLetter begin say_title(mob_name(alchemist)) local today = math.floor(get_global_time() / 86400) 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
-
i search for it too many times i didnt find it that why i post this subject
-
Version of Files : XXX
hey
i need help with this file
[this what im looking for ]
https://metin2.download/picture/52G5SA1HguE1HTL7n4C3wv5MH7NqefxJ/.png
[this what i have ]
https://metin2.download/picture/nMvA4K9Sql6PASgUa91bF6430U73cMdc/.jpg
dose anyone has this python
cuz in my file its ugly also not showing evreything
i need to show Gold - Gaya - cheque - coins
i need it so much if anyone help please
Thanks, Sincerly,
[[ SlayerProAE]] -
-
On 8/9/2017 at 6:04 PM, .ZeNu said:The file you are trying to download is no longer available.This could be due to the following reasons:The file has been removed because of a ToS/AUP violation.Invalid URL - the link you are trying to access does not existThe file has been deleted by the user.On 8/9/2017 at 7:46 PM, monarchis2 said:
Thank you so much!!!
maybe u still have it >? xD
- 2
- 1
- 1
-
its very nice job
im very intrested in this release
please will you give it to me i need to start my work on it because its the amazing thing i ever see
my discord
SlayerPro#6078
please let me know
-
guys any one know how to unistall the game file and reinstall it ?
-
Quest - Fully Editable Mission
in Quests
Posted
Thank you very much