Jump to content

ic3

Inactive Member
  • Posts

    36
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by ic3

  1. Hi metin2dev comunity. I`m searching for a querry to change my mobs dmg (the normal mobs do like 2-3 dmg and boss mobs do like 50-150k dmg). I don`t wanna change the hole mob_proto becouse of the new npc for the lycan. So if someone can give me a querry to modify the attack damage, i'll appreciate it.
  2. I don`t think i made the right way the user... when i hit install.sh it says operation not permitted. I have permissions 777 and when i try to give owner to metin2, in the owner list i get only root.
  3. A dumb question... how can i change to metin2 user? i mean, when i try to open install.sh it says that i can`t run it as root.
  4. This is the OnRecvWhisperError def from game.py: def OnRecvWhisperError(self, mode, name, line): pname = player.GetName() Gamemaster1 = constInfo.GM1Name Gamemaster2 = constInfo.GM2Name Gamemaster3 = constInfo.GM3Name Gamemaster4 = constInfo.GM4Name Gamemaster5 = constInfo.GM5Name Gamemaster6 = constInfo.GM6Name Gamemaster7 = constInfo.GM7Name Gamemaster8 = constInfo.GM8Name Gamemaster9 = constInfo.GM9Name Gamemaster10 = constInfo.GM10Name Gamemaster11 = constInfo.GM11Name Gamemaster12 = constInfo.GM12Name Gamemaster13 = constInfo.GM13Name Gamemaster14 = constInfo.GM14Name Gamemaster15 = constInfo.GM15Name Gamemaster16 = constInfo.GM16Name if locale.WHISPER_ERROR.has_key(mode): if (name == (Gamemaster1) != -1) and pname != Gamemaster1 and constInfo.GM1Online == 0: constInfo.GM1Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster1) != -1) and pname != Gamemaster1 and constInfo.GM1Online == 1: constInfo.GM1Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster2) != -1) and pname != Gamemaster2 and constInfo.GM2Online == 0: constInfo.GM2Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster2) != -1) and pname != Gamemaster2 and constInfo.GM2Online == 1: constInfo.GM2Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster3) != -1) and pname != Gamemaster3 and constInfo.GM3Online == 0: constInfo.GM3Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster3) != -1) and pname != Gamemaster3 and constInfo.GM3Online == 1: constInfo.GM3Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster4) != -1) and pname != Gamemaster4 and constInfo.GM4Online == 0: constInfo.GM4Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster4) != -1) and pname != Gamemaster4 and constInfo.GM4Online == 1: constInfo.GM4Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster5) != -1) and pname != Gamemaster5 and constInfo.GM5Online == 0: constInfo.GM5Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster5) != -1) and pname != Gamemaster5 and constInfo.GM5Online == 1: constInfo.GM5Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster6) != -1) and pname != Gamemaster6 and constInfo.GM6Online == 0: constInfo.GM6Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster6) != -1) and pname != Gamemaster6 and constInfo.GM6Online == 1: constInfo.GM6Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster7) != -1) and pname != Gamemaster7 and constInfo.GM7Online == 0: constInfo.GM7Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster7) != -1) and pname != Gamemaster7 and constInfo.GM7Online == 1: constInfo.GM7Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster8) != -1) and pname != Gamemaster8 and constInfo.GM8Online == 0: constInfo.GM8Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster8) != -1) and pname != Gamemaster8 and constInfo.GM8Online == 1: constInfo.GM8Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster9) != -1) and pname != Gamemaster9 and constInfo.GM9Online == 0: constInfo.GM9Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster9) != -1) and pname != Gamemaster9 and constInfo.GM9Online == 1: constInfo.GM9Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster10) != -1) and pname != Gamemaster10 and constInfo.GM10Online == 0: constInfo.GM10Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster10) != -1) and pname != Gamemaster10 and constInfo.GM10Online == 1: constInfo.GM10Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster11) != -1) and pname != Gamemaster11 and constInfo.GM11Online == 0: constInfo.GM11Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster11) != -1) and pname != Gamemaster11 and constInfo.GM11Online == 1: constInfo.GM11Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster12) != -1) and pname != Gamemaster12 and constInfo.GM12Online == 0: constInfo.GM12Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster12) != -1) and pname != Gamemaster12 and constInfo.GM12Online == 1: constInfo.GM12Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster13) != -1) and pname != Gamemaster13 and constInfo.GM13Online == 0: constInfo.GM13Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster13) != -1) and pname != Gamemaster13 and constInfo.GM13Online == 1: constInfo.GM13Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster14) != -1) and pname != Gamemaster14 and constInfo.GM14Online == 0: constInfo.GM14Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster14) != -1) and pname != Gamemaster14 and constInfo.GM14Online == 1: constInfo.GM14Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster15) != -1) and pname != Gamemaster15 and constInfo.GM15Online == 0: constInfo.GM15Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster15) != -1) and pname != Gamemaster15 and constInfo.GM15Online == 1: constInfo.GM15Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster16) != -1) and pname != Gamemaster16 and constInfo.GM16Online == 0: constInfo.GM16Online = 0 #chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " nu este online") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return elif (name == (Gamemaster16) != -1) and pname != Gamemaster16 and constInfo.GM16Online == 1: constInfo.GM16Online = 0 chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Membrul " + name + " Momentan este Offline") chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Membrul " + name + " nu este online.") return else: chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, locale.WHISPER_ERROR[mode](name)) elif mode == 4: chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, str) else: chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Whisper Unknown Error(mode=%d, name=%s)" % (mode, name)) self.interface.RecvWhisper(name) Is from a staff contact sys that i don`t use. And where can i find input_main.cpp?
  5. Can someone tell me wich file is searching if the player is online or offline when i send a pm? Or what file i need to replace to fix this problem
  6. Nothing. I don`t have any Mt2Seren in uiachivment.py or in the quest. On the uiachivment.py i have the text that it show in-game when i get a point but not that image with Mt2Seren.
  7. Hello metin2dev. I wanna know how can i change this texts: Energie DistricTMetin2 Print: [Hidden Content] WinMetin2 and Costume WinMetin2 Print: [Hidden Content] And M2S Mt2Seren from achivment points system Print: [Hidden Content] Thanks
  8. i didn`t implemented before any mount`s so i don`t know exactly what are you refering at. Can you be more precise? Thanks
  9. Hello. I have two mount`s implemented as NPC. I know that is a stupid question but, how can i implement them as mounts? I added 2 print screen when i used mount_test. Thanks
  10. Hello to all. I have a big problem with my server. If i press shift+enter and type any name (even if that name dosen`t exist) and i send a message, it dosen`t show me that the player with that name is offline. Can someone have any idea how to solve it? Thanks
  11. i know how to compile a quest. I wanna know if there is a way to do all quests at once.
  12. Is there a way to redo all the object folder if i deleted it?
  13. Hello. Can someone send me the object folder from the 40250 serverfiles? Thanks
  14. Hello. I`m looking for a tehnician for 40250 serverfiles. Some bug repair and ajustments to be made. For more details, add: aka4youu (skype). I pay only after the job is done!
  15. I put 209 not 216 becouse the cape map on my server is 209 not 216. But, still not working
  16. On my server metin2_map_capedragonhead is 209 so i put: pc.warp(11070, 17915,209) but still nothig. stil the npc is teleporting me to the wrong map. This is the map that i get teleported in: P.S - The quest for npc is not .quest is .lua. I don`t this that the error is becouse of the extension:-?
  17. Hello. I try to create a teleport for the beta map. This is the quest: quest map_beta begin state start begin when 20083.chat."Piatra Dragon Intunecat" begin say_title("Teleporter:") say("Recent, a fost descoperita o insula misterioasa.") say("A fost denumita Piatra Dragon Intunecata.") say("Aceia ce doresc sa supravetuiasca acolo") say("trebuie sa aiba putina experienta.") say("Din acest motiv, pot transporta numai pe cei") say("care au trecut de nivelul 90 si o Autorizatie.") say("Ce zici, esti pregatit?") if pc.level < 90 and pc.count_item(30129) <= 0 then say_reward("Pentru a putea intra ai nevoie") say_reward("de o Insarcinare de la calaret ºi minim nivelul 90.") say("") return end if pc.count_item(30129) <= 0 then say_reward("Pentru a putea intra ai nevoie") say_reward("de o Insarcinare de la calaret.") say("") return end if pc.level < 90 then say_reward("Pentru a putea intra ai nevoie") say_reward("de minim nivelul 90.") say("") return end if pc.count_item(30129) >= 1 then local s=select("Sunt pregatit", "M-am rãzgândit") if s==1 then pc.remove_item(30129,1) pc.warp(11070, 17915) end end end end end If i write ingame /warp 11070 17915, it`s teleport me to the right place in the cape (beta map coordonates 830 1275). But, with the npc that i inserted the quest, it`s teleport me to another map -_-". This are the coordonates that are in the settings of the map (it`s teleport you to the corner of the map) 1024000 1664000. What shoud i change to teleport me to the right place? P.S - This is the map that i wanna be teleported to.
  18. I only have a make.py in my quest folder. This is what is inside. #!/usr/local/bin/python import os os.system('rm -rf object') for line in file('quest_list'): if os.system('./qc ' + line): print 'Error occured on compile ' + line import sys sys.exit(-1) So, this is the one right? Yep is Right install python on your system Done
  19. I only have a make.py in my quest folder. This is what is inside. #!/usr/local/bin/python import os os.system('rm -rf object') for line in file('quest_list'): if os.system('./qc ' + line): print 'Error occured on compile ' + line import sys sys.exit(-1) So, this is the one right?
  20. Hello. I have a problem. After i tryed endless to make a quest that teleports ppl to a certain coordoante on a map, something gone pretty bad. I mean, now when i try to add/edit a quest, it dosen`t load. No matter what change i make to that quest, it remains the same. Tryed with ./qc . Tryed with reload q. Tryed with server and dedicat reboot. Nothing. Any idea of what is causes this?
  21. Hello. I have a little problem. I put the sunzi map as a metin farm map(you can found it with the name "metin2_map_sungzi" in any serverfile map folder). When i type ingame, warp 9466 256 i get teleported on the middle of the map. This is the quest but i think the problem is from the map folder. quest farm_map begin state start begin when 20381.chat."Intrã în Valea Sufletelor ..." begin say_title("Confucius:") say("") say("Salut, aventurierule.") say("Te pot ajuta sã intri dacã doreºti, dar ...") say("ai grijã, daca mori, o sa fi teleportat map1!") say("") if pc.level < 40 and pc.count_item(30129) <= 0 then say_reward("Pentru a putea intra în Valea Sufletelor ai nevoie") say_reward("de o Insarcinare de la calaret ºi minim nivelul 40.") say("") return end if pc.count_item(30129) <= 0 then say_reward("Pentru a putea intra în Valea Sufletelor ai nevoie") say_reward("de o Insarcinare de la calaret.") say("") return end if pc.level < 40 then say_reward("Pentru a putea intra în Valea Sufletelor ai nevoie") say_reward("de minim nivelul 40.") say("") return end if pc.count_item(30129) >= 1 then local s=select("Uite biletul ...", "M-am rãzgândit") if s==1 then pc.remove_item(30129,1) pc.warp(9466 , 256) end end end end end But when i inserted the 9466 256 coordonates on the teleport quest, it teleports me on the edge of the map(coordonates 250 , 3). Any idea on how to fix it? I can`t find a working solution for it. And the second problem, when i get killed on Sungzi map, i get teleported on map1 (first town of my kindom). How can i disable that? Thanks
×
×
  • 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.