Jump to content

SlayerPro

Member
  • Posts

    56
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by SlayerPro

  1. i will try now thanx in advance i will try now thanx in advance 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
  2. 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 i added you thank you guys in advance
  3. i like the coding and i install it but when i login ingame i see nothing . only blacksmith has .chat [Hidden Content] 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
  4. highly Recommend! Fast, precise work!
  5. SlayerPro

    Ice Trade Map

    [Hidden Content] thank you very nice
  6. hi im intrested in your serverfiles of Metin2 I send you invite on Discord under name of : SlayerPro#6078 Few days ago im trying to add you on discord and send you emails and Skype messages please reply to me
  7. [Hidden Content] any help please ? :$
  8. i thought theres download link hahaha
  9. i change the GR2 to gr2 and its working fine now thank you very much
  10. itw 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): [Hidden Content]
  11. this is the issue brother im confused where to put this folder is it inside yw_maps ? 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
  12. 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
  13. you mean i put this game.drop_item_with_ownership(gemstone, 1, 300) insted of this game.drop_item_with_ownership(gemstone, 1, 80) ??
  14. 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
  15. 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
  16. i search for it too many times i didnt find it that why i post this subject
  17. Version of Files : XXX hey i need help with this file [this what im looking for ] [Hidden Content] [this what i have ] [Hidden Content] 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]]
  18. thanx bro i download this file before but im asking if there is any way to do it just from client
  19. 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 exist The file has been deleted by the user. maybe u still have it >? xD
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.