Kansan 6 Posted July 10, 2023 Share Posted July 10, 2023 (edited) Hi, everybody Thank you for the work done Tell me, please, how is the drop items regulated in these server files? Edited July 10, 2023 by Kansan 2 Link to comment Share on other sites More sharing options...
gleskpem1 4 Posted July 22, 2023 Share Posted July 22, 2023 (edited) hello i have a problem with multi language. I get the error "when doesent have begin end clause" while reading quests. I looked at qc.cc for this but I see it's already adapted what is the problem? IMAGE : the qc.cc part I'm talking about My translate function = locale_quest(number) USAGE: when 20017.chat.locale_quest(26) begin bla bla end NOTE: There is no structural problem in the system. everything is in perfect condition. The problem is only in quest side. Edited July 22, 2023 by Metin2 Dev International Core X - External 2 Internal 1 1 1 Link to comment Share on other sites More sharing options...
panherr 1 Posted August 4, 2023 Share Posted August 4, 2023 upload pls.. vdi freebsd? thanks 1 Link to comment Share on other sites More sharing options...
Contributor TMP4 10992 Posted August 5, 2023 Author Contributor Share Posted August 5, 2023 2023.08.05: - New freshly installed VM with FreeBSD 13.2. - Installed a fix about an exploit: https://metin2.dev/topic/31147-itemmove-dupe-exploit-fix/#comment-158896 - Expect this as the last update unless there will be some serious problem. What's left on my todo list is MySQL8 compatibility, sadly don't expect it from me, lately I am interested in other things than Metin2. If anyone do it and wanna share it (I will include the credit), contact me. 1 Link to comment Share on other sites More sharing options...
Management AZICKO 7333 Posted August 5, 2023 Management Share Posted August 5, 2023 29 minutes ago, TMP4 said: What's left on my todo list is MySQL8 compatibility, sadly don't expect it from me, lately I am interested in other things than Metin2. If anyone do it and wanna share it (I will include the credit), contact me. Maybe one day, when I'm motivated, I can do it... That should be the base today... 1 3 Scamming ? Reselling ? metin2.download | metin2.dev | fr.metin2.dev | metin2dev.org | metin2.top | top-metin2.org Link to comment Share on other sites More sharing options...
Ballads 19 Posted August 15, 2023 Share Posted August 15, 2023 (edited) Good morning! I've been translating trasnlate.lua to pt-br for a few days (pt-pt is not the same thing) and when I uploaded the new locale.lua, it was like this. translate.lua_pt contains the same characters and it doesn't get bugged like that, is there something I'm doing wrong? Thanks in advance. Edited August 15, 2023 by Ballads Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
cherabomba 3 Posted August 24, 2023 Share Posted August 24, 2023 I need to remove npc 9004 from cities, but I can't find it in the npc.txt file 39 minutes ago, cherabomba said: I need to remove npc 9004 from cities, but I can't find it in the npc.txt file Solution: /e xmas_boom 0 Link to comment Share on other sites More sharing options...
TonisBoss 16 Posted September 7, 2023 Share Posted September 7, 2023 I have older version of serverfiles that works with libs, where to find them or a way to install them 1 Link to comment Share on other sites More sharing options...
SinusAlpha 1 Posted September 11, 2023 Share Posted September 11, 2023 item_attr and item_attr_rare is read only on this vm and i cant fix them 1 Link to comment Share on other sites More sharing options...
Contributor TMP4 10992 Posted September 15, 2023 Author Contributor Share Posted September 15, 2023 (edited) Any chance anyone saved it? Edited September 15, 2023 by Metin2 Dev International Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Active Member nazox 213 Posted September 15, 2023 Active Member Share Posted September 15, 2023 (edited) 8 hours ago, TMP4 said: Any chance anyone saved it? It's complicated, but you can try this: https://support.google.com/youtube/answer/6395024?hl=es&dark=1&sjid=10250177798839608775-EU i read you can remove o cut parts from video, so change tittle or anything that says metin2, webzen or make it blurry so that the name is not seen @ TMP4 Edited September 15, 2023 by nazox Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™ Proyecto: Trabajando en el. Compañeros & firma: DreamHQ - 2009-2015 [Nostalgia] Link to comment Share on other sites More sharing options...
БlyatMAN 13 Posted September 15, 2023 Share Posted September 15, 2023 dude i need that video....reupload please 1 Link to comment Share on other sites More sharing options...
Contributor TMP4 10992 Posted September 15, 2023 Author Contributor Share Posted September 15, 2023 7 hours ago, nazox said: It's complicated, but you can try this: https://support.google.com/youtube/answer/6395024?hl=es&dark=1&sjid=10250177798839608775-EU i read you can remove o cut parts from video, so change tittle or anything that says metin2, webzen or make it blurry so that the name is not seen @ TMP4 The problem I don't have backup of the video file and youtube won't let you download it if it's striked. If I have backup, I would reupload it to somewhere else. Link to comment Share on other sites More sharing options...
Active Member nazox 213 Posted September 15, 2023 Active Member Share Posted September 15, 2023 (edited) Hello again @ TMP4 ITEM_QUEST / CONFIRM_WHEN_USE and others doesn't work, i fixed it, maybe is no the best solution, but for me work. 1-Make copy your files. 2-Go to: /usr/metin2/src/common and open Item_lenght.h and search: Spoiler enum EItemFlag { ITEM_FLAG_REFINEABLE = (1 << 0), ITEM_FLAG_SAVE = (1 << 1), ITEM_FLAG_STACKABLE = (1 << 2), // ¿©·¯°³ ÇÕÄ¥ ¼ö ÀÖÀ½ ITEM_FLAG_COUNT_PER_1GOLD = (1 << 3), ITEM_FLAG_SLOW_QUERY = (1 << 4), ITEM_FLAG_UNUSED01 = (1 << 5), // UNUSED ITEM_FLAG_UNIQUE = (1 << 6), ITEM_FLAG_MAKECOUNT = (1 << 7), ITEM_FLAG_IRREMOVABLE = (1 << 8), ITEM_FLAG_CONFIRM_WHEN_USE = (1 << 9), ITEM_FLAG_QUEST_USE = (1 << 10), ITEM_FLAG_QUEST_USE_MULTIPLE = (1 << 11), ITEM_FLAG_QUEST_GIVE = (1 << 12), ITEM_FLAG_LOG = (1 << 13), ITEM_FLAG_APPLICABLE = (1 << 14), }; If we look closely, we will see that it does not add up, we have a function that is "UNUSED" and FLAG_ITEM_QUEST does not exist, not to mention that it does not match the position of the files. Well, let's go to fix this, after you open and search, replace with this: Spoiler enum EItemFlag { ITEM_FLAG_REFINEABLE = (1 << 0), ITEM_FLAG_SAVE = (1 << 1), ITEM_FLAG_STACKABLE = (1 << 2), // ¿©·¯°³ ÇÕÄ¥ ¼ö ÀÖÀ½ ITEM_FLAG_COUNT_PER_1GOLD = (1 << 3), ITEM_FLAG_SLOW_QUERY = (1 << 4), //ITEM_FLAG_UNUSED01 = (1 << 5), // UNUSED ITEM_FLAG_UNIQUE = (1 << 5), ITEM_FLAG_MAKECOUNT = (1 << 6), ITEM_FLAG_IRREMOVABLE = (1 << 7), ITEM_FLAG_CONFIRM_WHEN_USE = (1 << 8), ITEM_FLAG_QUEST_USE = (1 << 9), ITEM_FLAG_QUEST_USE_MULTIPLE = (1 << 10), ITEM_FLAG_QUEST_GIVE = (1 << 11), ITEM_FLAG_ITEM_QUEST = (1 << 12), ITEM_FLAG_LOG = (1 << 13), ITEM_FLAG_APPLICABLE = (1 << 14), }; Or just, remove the "ITEM_FLAG_UNUSED01" and add "ITEM_FLAG_ITEM_QUEST" after "ITEM_FLAG_QUEST_GIVE" 3.Compile game, and go to db/ProtoReader.cpp and search; Spoiler string arFlag[] = {"ITEM_TUNABLE", "ITEM_SAVE", "ITEM_STACKABLE", "COUNT_PER_1GOLD", "ITEM_SLOW_QUERY", "ITEM_UNIQUE", "ITEM_MAKECOUNT", "ITEM_IRREMOVABLE", "CONFIRM_WHEN_USE", "QUEST_USE", "QUEST_USE_MULTIPLE", "QUEST_GIVE", "ITEM_QUEST", "LOG", "STACKABLE", "SLOW_QUERY", "REFINEABLE", "IRREMOVABLE", "ITEM_APPLICABLE"}; You can se, how this call "ITEM_TUNABLE" but this doesn't exist, apart the count max in item_lenght.h is 14 but here you have 17, so now change with this: Quote string arFlag[] = {"ITEM_REFINEABLE", "ITEM_SAVE", "ITEM_STACKABLE", "COUNT_PER_1GOLD", "ITEM_SLOW_QUERY", "ITEM_UNIQUE", "ITEM_MAKECOUNT", "ITEM_IRREMOVABLE", "CONFIRM_WHEN_USE", "QUEST_USE", "QUEST_USE_MULTIPLE", "QUEST_GIVE", "ITEM_QUEST", "LOG", "ITEM_APPLICABLE"}; 4.Now compile DB and go to Source Client/UserInterface and open PythonItemModule.cpp and comment this line: Spoiler //PyModule_AddIntConstant(poModule, "ITEM_FLAG_RARE", CItemData::ITEM_FLAG_RARE); 4.1.Now go to GameLib/itemData.h and search: Spoiler enum EItemFlag { ITEM_FLAG_REFINEABLE = (1 << 0), // °³·® °¡´É ITEM_FLAG_SAVE = (1 << 1), ITEM_FLAG_STACKABLE = (1 << 2), // ¿©·¯°³ ÇÕÄ¥ ¼ö ÀÖÀ½ ITEM_FLAG_COUNT_PER_1GOLD = (1 << 3), // °¡°ÝÀÌ °³¼ö / °¡°ÝÀ¸·Î º¯ÇÔ ITEM_FLAG_SLOW_QUERY = (1 << 4), // °ÔÀÓ Á¾·á½Ã¿¡¸¸ SQL¿¡ Äõ¸®ÇÔ ITEM_FLAG_RARE = (1 << 5), ITEM_FLAG_UNIQUE = (1 << 6), ITEM_FLAG_MAKECOUNT = (1 << 7), ITEM_FLAG_IRREMOVABLE = (1 << 8), ITEM_FLAG_CONFIRM_WHEN_USE = (1 << 9), ITEM_FLAG_QUEST_USE = (1 << 10), // Äù½ºÆ® ½ºÅ©¸³Æ® µ¹¸®´ÂÁö? ITEM_FLAG_QUEST_USE_MULTIPLE= (1 << 11), // Äù½ºÆ® ½ºÅ©¸³Æ® µ¹¸®´ÂÁö? ITEM_FLAG_UNUSED03 = (1 << 12), // UNUSED03 ITEM_FLAG_LOG = (1 << 13), // »ç¿ë½Ã ·Î±×¸¦ ³²±â´Â ¾ÆÀÌÅÛÀΰ¡? ITEM_FLAG_APPLICABLE = (1 << 14), }; Replace: Spoiler enum EItemFlag { ITEM_FLAG_REFINEABLE = (1 << 0), // °³·® °¡´É ITEM_FLAG_SAVE = (1 << 1), ITEM_FLAG_STACKABLE = (1 << 2), // ¿©·¯°³ ÇÕÄ¥ ¼ö ÀÖÀ½ ITEM_FLAG_COUNT_PER_1GOLD = (1 << 3), // °¡°ÝÀÌ °³¼ö / °¡°ÝÀ¸·Î º¯ÇÔ ITEM_FLAG_SLOW_QUERY = (1 << 4), // °ÔÀÓ Á¾·á½Ã¿¡¸¸ SQL¿¡ Äõ¸®ÇÔ //ITEM_FLAG_RARE = (1 << 5), ITEM_FLAG_UNIQUE = (1 << 5), ITEM_FLAG_MAKECOUNT = (1 << 6), ITEM_FLAG_IRREMOVABLE = (1 << 7), ITEM_FLAG_CONFIRM_WHEN_USE = (1 << 8), ITEM_FLAG_QUEST_USE = (1 << 9), // Äù½ºÆ® ½ºÅ©¸³Æ® µ¹¸®´ÂÁö? ITEM_FLAG_QUEST_USE_MULTIPLE= (1 << 10), // Äù½ºÆ® ½ºÅ©¸³Æ® µ¹¸®´ÂÁö? ITEM_QUEST_GIVE = (1 << 11), ITEM_FLAG_ITEM_QUEST = (1 << 12), // UNUSED03 ITEM_FLAG_LOG = (1 << 13), // »ç¿ë½Ã ·Î±×¸¦ ³²±â´Â ¾ÆÀÌÅÛÀΰ¡? ITEM_FLAG_APPLICABLE = (1 << 14), }; 5.In the end, compile Source Client, and open Dump_proto/ItemCSVReader.cpp and search: Spoiler int get_Item_Flag_Value(string inputString) { string arFlag[] = {"ITEM_REFINEABLE", "ITEM_SAVE", "ITEM_STACKABLE", "COUNT_PER_1GOLD", "ITEM_SLOW_QUERY", "ITEM_UNIQUE", "ITEM_MAKECOUNT", "ITEM_IRREMOVABLE", "CONFIRM_WHEN_USE", "QUEST_USE", "QUEST_USE_MULTIPLE", "QUEST_GIVE", "ITEM_QUEST", "LOG", "STACKABLE", "SLOW_QUERY", "REFINEABLE", "IRREMOVABLE", "ITEM_APPLICABLE"}; Replace: Quote int get_Item_Flag_Value(string inputString) { string arFlag[] = {"ITEM_REFINEABLE", "ITEM_SAVE", "ITEM_STACKABLE", "COUNT_PER_1GOLD", "ITEM_SLOW_QUERY", "ITEM_UNIQUE", "ITEM_MAKECOUNT", "ITEM_IRREMOVABLE", "CONFIRM_WHEN_USE", "QUEST_USE", "QUEST_USE_MULTIPLE", "QUEST_GIVE", "ITEM_QUEST", "LOG", "ITEM_APPLICABLE"}; Compile, dump the item/mob replace in locale, and have fun!! https://metin2.download/picture/Vvv5TUrRwXW4bLbSHP31Yx8ohV20rB9G/.gif 9 minutes ago, TMP4 said: The problem I don't have backup of the video file and youtube won't let you download it if it's striked. If I have backup, I would reupload it to somewhere else. What is the video about? I don't remember, I can record one myself and do you a favor, greetings. Edited September 15, 2023 by Metin2 Dev International Core X - External 2 Internal Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™ Proyecto: Trabajando en el. Compañeros & firma: DreamHQ - 2009-2015 [Nostalgia] Link to comment Share on other sites More sharing options...
Sioniraj 1 Posted September 15, 2023 Share Posted September 15, 2023 (edited) Hello @ TMP4, I have little problem with the specular shining on new added armors.(not tested on weapons). (I tested different armors from different creators) When the armor is on +9, the armor is not shining as it should. They are like a +0 item. (just with the sparkles) <------ This is what I mean, the shine, that I'm missing. (Not the sparkles) 1. I have the Alpha correctly done in photoshop. 2. I did set the the "specular" value in the sql. to 100 for the +9 item. 3. And I also did set the "specular" on the client, also 100 for the +9 item. 4. The textures are linked correctly in .msm 5. The vnum of the armor is 309 for +9. Is there something that I'm missing, to set the specular correctly ? Thanks. Edited September 15, 2023 by Sioniraj Added one more point Link to comment Share on other sites More sharing options...
Ballads 19 Posted September 16, 2023 Share Posted September 16, 2023 2 hours ago, Sioniraj said: Hello @ TMP4, I have little problem with the specular shining on new added armors.(not tested on weapons). (I tested different armors from different creators) When the armor is on +9, the armor is not shining as it should. They are like a +0 item. (just with the sparkles) <------ This is what I mean, the shine, that I'm missing. (Not the sparkles) 1. I have the Alpha correctly done in photoshop. 2. I did set the the "specular" value in the sql. to 100 for the +9 item. 3. And I also did set the "specular" on the client, also 100 for the +9 item. 4. The textures are linked correctly in .msm 5. The vnum of the armor is 309 for +9. Is there something that I'm missing, to set the specular correctly ? Thanks. it doesn't look like +0 specular to me. +0 would be a bit "dry", zero shine Link to comment Share on other sites More sharing options...
Sioniraj 1 Posted September 16, 2023 Share Posted September 16, 2023 (edited) 14 minutes ago, Ballads said: it doesn't look like +0 specular to me. +0 would be a bit "dry", zero shine The first image is just showing what i need to achieve/get. And this is what I have now on new added armors, not this one (Black Armor) , but I'm adding the reference image of what problem I have. (not working shine, just the little sparkles). + All original/old armors have the shine + (sparkle) Also as I already sad, I did tried different armors from different creators, but no luck. Edited September 16, 2023 by Sioniraj Link to comment Share on other sites More sharing options...
Ballads 19 Posted September 16, 2023 Share Posted September 16, 2023 10 minutes ago, Sioniraj said: The first image is just showing what i need to achieve/get. And this is what I have now on new added armors, not this one (Black Armor) , but I'm adding the reference image of what problem I have. (not working shine, just the little sparkles). + All original/old armors have the shine + (sparkle) Also as I already sad, I did tried different armors from different creators, but no luck. show your item_proto Link to comment Share on other sites More sharing options...
Sioniraj 1 Posted September 16, 2023 Share Posted September 16, 2023 (edited) @ Ballads Here is the short version - With the armor. - I can't post the full version item_proto.txt right now (I got "This content must be approved before it can be edited." So the post is on hold, because of link.) But anyway these are the only lines I changed/added. 300 Brn??samuraje +0 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 120000 501 601 10 LEVEL 90 LIMIT_NONE 0 APPLY_MOV_SPEED -15 APPLY_RESIST_MAGIC 4 APPLY_MAX_HP_PCT 1 0 120 0 31 0 0 0 3 0 301 Brn??samuraje +1 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 130000 502 602 10 LEVEL 92 LIMIT_NONE 0 APPLY_MOV_SPEED -15 APPLY_RESIST_MAGIC 5 APPLY_MAX_HP_PCT 1 0 120 0 31 0 5 0 3 0 302 Brn??samuraje +2 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 145000 503 603 10 LEVEL 94 LIMIT_NONE 0 APPLY_MOV_SPEED -15 APPLY_RESIST_MAGIC 6 APPLY_MAX_HP_PCT 1 0 120 0 31 0 7 0 3 0 303 Brn??samuraje +3 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 165000 504 604 10 LEVEL 96 LIMIT_NONE 0 APPLY_MOV_SPEED -12 APPLY_RESIST_MAGIC 7 APPLY_MAX_HP_PCT 2 0 120 0 31 0 10 0 3 0 304 Brn??samuraje +4 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 190000 505 605 10 LEVEL 98 LIMIT_NONE 0 APPLY_MOV_SPEED -9 APPLY_RESIST_MAGIC 9 APPLY_MAX_HP_PCT 2 0 120 0 31 0 15 30 3 0 305 Brn??samuraje +5 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 220000 506 606 10 LEVEL 100 LIMIT_NONE 0 APPLY_MOV_SPEED -6 APPLY_RESIST_MAGIC 12 APPLY_MAX_HP_PCT 3 0 120 0 31 0 22 40 3 0 306 Brn??samuraje +6 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 265000 507 607 10 LEVEL 102 LIMIT_NONE 0 APPLY_MOV_SPEED -4 APPLY_RESIST_MAGIC 15 APPLY_MAX_HP_PCT 4 0 120 0 31 0 32 50 3 0 307 Brn??samuraje +7 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 325000 508 608 10 LEVEL 104 LIMIT_NONE 0 APPLY_MOV_SPEED -2 APPLY_RESIST_MAGIC 18 APPLY_MAX_HP_PCT 5 0 120 0 31 0 47 65 3 0 308 Brn??samuraje +8 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 405000 509 609 10 LEVEL 104 LIMIT_NONE 0 APPLY_MOV_SPEED -1 APPLY_RESIST_MAGIC 21 APPLY_MAX_HP_PCT 7 0 120 0 31 0 68 80 3 0 309 Brn??samuraje +9 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ITEM_TUNABLE WEAR_BODY NONE 120000 515000 0 0 10 LEVEL 105 LIMIT_NONE 0 APPLY_MOV_SPEED 0 APPLY_RESIST_MAGIC 25 APPLY_MAX_HP_PCT 10 0 120 0 31 0 100 100 3 0 Edited September 16, 2023 by Sioniraj Link to comment Share on other sites More sharing options...
nsnsnaw 0 Posted September 17, 2023 Share Posted September 17, 2023 how to modify the mall items dropped by killing monsters or broken stone? Link to comment Share on other sites More sharing options...
nsnsnaw 0 Posted September 17, 2023 Share Posted September 17, 2023 runtimeError'>:Failed to load image (filename: d:/ymir work/ui/intro/empire/background/empire_select.jpg) how can I fix this error? Link to comment Share on other sites More sharing options...
Tr3l 38 Posted September 19, 2023 Share Posted September 19, 2023 (edited) i have problem with visual studio build client source Edited September 19, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Pajuu 0 Posted September 22, 2023 Share Posted September 22, 2023 (edited) Hello, is there any chance to get video where you explain the set up? Sincerely, Pajuu. Edit: Nevermind ive read the response where you wrote, you dont have a backup of video. Edited September 22, 2023 by Pajuu Information claim Link to comment Share on other sites More sharing options...
Simisko 3 Posted September 25, 2023 Share Posted September 25, 2023 (edited) Hey, I wanted to ask, 1. What IPs do i use for BIND_IP and PROXY_IP when i want to start the server through Radmin VPN 2. Where can I get the IPs 3. What ip do i use in client config 4. Do i have to have open port of it even when its through Radmin VPN? Thank you Edited September 25, 2023 by Simisko Link to comment Share on other sites More sharing options...
Simisko 3 Posted September 27, 2023 Share Posted September 27, 2023 On 9/25/2023 at 4:48 AM, Simisko said: Hey, I wanted to ask, 1. What IPs do i use for BIND_IP and PROXY_IP when i want to start the server through Radmin VPN 2. Where can I get the IPs 3. What ip do i use in client config 4. Do i have to have open port of it even when its through Radmin VPN? Or if you could give me a tutorial step by step how to create a hamachi server via the server.vdi Thank you so much 1 3 Link to comment Share on other sites More sharing options...
Recommended Posts