Natox 18 Posted June 28, 2023 Share Posted June 28, 2023 Hi guys, I search for the code to add the drop skillbooks in the metins in c++ Thanks Link to comment Share on other sites More sharing options...
Premium Syreldar 1870 Posted June 28, 2023 Premium Share Posted June 28, 2023 ..? Group Metin_of_Combat { Mob 8001 Type drop 1 50300 1 100 -- Skill Book } Book drops are made via mob_drop_item.txt, the book vnum is 50300, it automatically gets its skill vnum upon creation. "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Natox 18 Posted June 28, 2023 Author Share Posted June 28, 2023 Its not a 100% drop, so i want add a skillbook on C++ on metinstone 1 Link to comment Share on other sites More sharing options...
Premium Syreldar 1870 Posted June 28, 2023 Premium Share Posted June 28, 2023 1 minute ago, Natox said: Its not a 100% drop, so i want add a skillbook on C++ on metinstone You literally have a drop% arg, use it.. "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Natox 18 Posted June 28, 2023 Author Share Posted June 28, 2023 Cause when i have 6 drop on metinstone if i have 2 skillbook (100%) with 4 objects 60 / 60 / 40 / 20 i not drop a skillbook or just 1 That's why I'm asking for this solution and it will allow me to have a better rate Link to comment Share on other sites More sharing options...
Premium Syreldar 1870 Posted June 28, 2023 Premium Share Posted June 28, 2023 (edited) 2 hours ago, Natox said: Cause when i have 6 drop on metinstone if i have 2 skillbook (100%) with 4 objects 60 / 60 / 40 / 20 i not drop a skillbook or just 1 That's why I'm asking for this solution and it will allow me to have a better rate What are you even talking about, drop%s are not adding up to 100. 100% is 400. Group Metin_of_Combat { Mob 8002 Type drop 1 5000 1 20 --Copper Bell+0 -- 5% 2 11210 1 20 --Iron Plate Armour+0 -- 5% 3 11410 1 20 --Ivory Suit+0 -- 5% 4 11610 1 20 --Storm Plate Armour+0 -- 5% 5 11810 1 20 --Turquoise Clothing+0 -- 5% 6 27002 50 100 --Red Potion (M) -- 25% 7 27003 30 50 --Red Potion (L) -- 12.5% 8 27005 30 50 --Blue Potion (M) -- 12.5% 9 27006 20 50 --Blue Potion (L) -- 12.5% 10 50300 1 400 --Skill Book --100% } Ignore the comments, they're not fully accurate, but this is a perfectly valid drop from a metinstone. Edited June 28, 2023 by Syreldar 1 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Braxy 617 Posted June 29, 2023 Share Posted June 29, 2023 13 hours ago, Syreldar said: What are you even talking about, drop%s are not adding up to 100. 100% is 400. Group Metin_of_Combat { Mob 8002 Type drop 1 5000 1 20 --Copper Bell+0 -- 5% 2 11210 1 20 --Iron Plate Armour+0 -- 5% 3 11410 1 20 --Ivory Suit+0 -- 5% 4 11610 1 20 --Storm Plate Armour+0 -- 5% 5 11810 1 20 --Turquoise Clothing+0 -- 5% 6 27002 50 100 --Red Potion (M) -- 25% 7 27003 30 50 --Red Potion (L) -- 12.5% 8 27005 30 50 --Blue Potion (M) -- 12.5% 9 27006 20 50 --Blue Potion (L) -- 12.5% 10 50300 1 400 --Skill Book --100% } Ignore the comments, they're not fully accurate, but this is a perfectly valid drop from a metinstone. matching monster level (best chances [200]) a bit off monster level (184) iDeltaPercent 200, iRandRange 2000000 iDeltaPercent 184, iRandRange 2000000 iPercent 20000000, iRandRange 2000000 iPercent 18400000, iRandRange 2000000 -- 1000 (mob_drop_chance) iPercent 20000000, iRandRange 2000000 iPercent 18400000, iRandRange 2000000 -- 1000 (mob_drop_chance) iPercent 20000000, iRandRange 2000000 iPercent 18400000, iRandRange 2000000 -- 1000 (mob_drop_chance) iPercent 400000, iRandRange 2000000 iPercent 368000, iRandRange 2000000 -- 20 (mob_drop_chance) iPercent 400000, iRandRange 2000000 iPercent 368000, iRandRange 2000000 -- 20 (mob_drop_chance) iPercent 140000, iRandRange 2000000 iPercent 128800, iRandRange 2000000 -- 7 (mob_drop_chance) I'm pretty sure 100% means "1000" in mob_drop_item not 400 ^^ 1 As long as I'll be a threat for you , i will always be your target :3 Link to comment Share on other sites More sharing options...
Premium Syreldar 1870 Posted June 29, 2023 Premium Share Posted June 29, 2023 (edited) 3 hours ago, Braxy said: matching monster level (best chances [200]) a bit off monster level (184) iDeltaPercent 200, iRandRange 2000000 iDeltaPercent 184, iRandRange 2000000 iPercent 20000000, iRandRange 2000000 iPercent 18400000, iRandRange 2000000 -- 1000 (mob_drop_chance) iPercent 20000000, iRandRange 2000000 iPercent 18400000, iRandRange 2000000 -- 1000 (mob_drop_chance) iPercent 20000000, iRandRange 2000000 iPercent 18400000, iRandRange 2000000 -- 1000 (mob_drop_chance) iPercent 400000, iRandRange 2000000 iPercent 368000, iRandRange 2000000 -- 20 (mob_drop_chance) iPercent 400000, iRandRange 2000000 iPercent 368000, iRandRange 2000000 -- 20 (mob_drop_chance) iPercent 140000, iRandRange 2000000 iPercent 128800, iRandRange 2000000 -- 7 (mob_drop_chance) I'm pretty sure 100% means "1000" in mob_drop_item not 400 ^^ Test drop: Quote Group Metin_Jeon-Un { Mob 8027 Type drop 1 151 1 5 --Ghost Fang Blade+1 2 152 1 15 --Ghost Fang Blade+2 3 153 1 10 --Ghost Fang Blade+3 4 5091 1 5 --Thunder Bird Bell+1 5 5092 1 15 --Thunder Bird Bell+2 6 5093 1 10 --Thunder Bird Bell+3 7 141 1 5 --Battle Sword+1 8 142 1 15 --Battle Sword+2 9 143 1 10 --Battle Sword+3 10 3131 1 5 --Partisan+1 11 3132 1 15 --Partisan+2 12 3133 1 10 --Partisan+3 13 1101 1 5 --Dragon Knife+1 14 1102 1 15 --Dragon Knife+2 15 1103 1 10 --Dragon Knife+3 16 7131 1 5 --Heavenly Bird Fan+1 17 7132 1 15 --Heavenly Bird Fan+2 18 7133 1 10 --Heavenly Bird Fan+3 19 2141 1 5 --Yellow Dragon Bow+1 20 2142 1 15 --Yellow Dragon Bow+2 21 2143 1 10 --Yellow Dragon Bow+3 22 11681 1 5 --Spirit Plate Armour+1 23 11682 1 15 --Spirit Plate Armour+2 24 11683 1 10 --Spirit Plate Armour+3 25 11881 1 5 --Baroness Dress+1 26 11882 1 15 --Baroness Dress+2 27 11883 1 10 --Baroness Dress+3 28 11481 1 5 --Fuchsia Suit+1 29 11482 1 15 --Fuchsia Suit+2 30 11483 1 10 --Fuchsia Suit+3 31 11281 1 5 --Dragon God Armour+1 32 11282 1 15 --Dragon God Armour+2 33 11283 1 10 --Dragon God Armour+3 34 17164 1 9 --Crystal Earrings+4 35 17165 1 24 --Crystal Earrings+5 36 17166 1 14 --Crystal Earrings+6 37 16164 1 9 --Crystal Necklace+4 38 16165 1 24 --Crystal Necklace+5 39 16166 1 14 --Crystal Necklace+6 40 14164 1 9 --Crystal Bracelet+4 41 14165 1 24 --Crystal Bracelet+5 42 14166 1 14 --Crystal Bracelet+6 43 70012 1 15 --Goddess Tear 44 70038 20 15 --Bravery Cape 45 25040 1 21 --Blessing Scroll 46 70048 1 20 --Cloak of Secrecy 47 70037 1 25 --Book of Forgetfulness 48 70014 1 25 --Blood Pill 49 72006 1 20 --Thief's Gloves 50 70005 1 20 --Experience Ring (1h) 51 27002 50 100 --Red Potion (M) 52 27003 30 200 --Red Potion (L) 53 27005 30 100 --Blue Potion (M) 54 27006 20 150 --Blue Potion (L) 55 50300 1 400 --Skill Book 56 70014 1 1 --Blood Pill 57 70037 1 1 --Book of Forgetfulness 58 100300 1 1 --Green Dragon Bean 59 6040 1 5 --Griffon Claw+0 60 6041 1 15 --Griffon Claw+1 61 6042 1 10 --Griffon Claw+2 62 21061 1 5 --Firellium Plate Armour+1 63 21062 1 15 --Firellium Plate Armour+2 64 21063 1 10 --Firellium Plate Armour+3 } Drop debug: Quote Jun 29 11:50:55 :: Drop money : Attacker Kill Jun 29 11:50:55 :: ====== Drops ====== ## Jun 29 11:50:55 :: iDeltaPercent: 100 ## Jun 29 11:50:55 :: iRandRange: 4000000 ## Jun 29 11:50:55 :: > Drop item group ## Jun 29 11:50:55 :: Ghost Fang Blade+1: 1.250000%. (iPct: 50000, Rnd: 1438690) ## Jun 29 11:50:55 :: Ghost Fang Blade+2: 3.750000%. (iPct: 150000, Rnd: 3711975) ## Jun 29 11:50:55 :: Ghost Fang Blade+3: 2.500000%. (iPct: 100000, Rnd: 732366) ## Jun 29 11:50:55 :: Thunder Bird Bell+1: 1.250000%. (iPct: 50000, Rnd: 1230790) ## Jun 29 11:50:55 :: Thunder Bird Bell+2: 3.750000%. (iPct: 150000, Rnd: 3170354) ## Jun 29 11:50:55 :: Thunder Bird Bell+3: 2.500000%. (iPct: 100000, Rnd: 1623349) ## Jun 29 11:50:55 :: Battle Sword+1: 1.250000%. (iPct: 50000, Rnd: 2255576) ## Jun 29 11:50:55 :: Battle Sword+2: 3.750000%. (iPct: 150000, Rnd: 1396395) ## Jun 29 11:50:55 :: Battle Sword+3: 2.500000%. (iPct: 100000, Rnd: 2512088) ## Jun 29 11:50:55 :: Partisan+1: 1.250000%. (iPct: 50000, Rnd: 1549554) ## Jun 29 11:50:55 :: Partisan+2: 3.750000%. (iPct: 150000, Rnd: 230977) ## Jun 29 11:50:55 :: Partisan+3: 2.500000%. (iPct: 100000, Rnd: 499849) ## Jun 29 11:50:55 :: Dragon Knives+1: 1.250000%. (iPct: 50000, Rnd: 292434) ## Jun 29 11:50:55 :: Dragon Knives+2: 3.750000%. (iPct: 150000, Rnd: 2483301) ## Jun 29 11:50:55 :: Dragon Knives+3: 2.500000%. (iPct: 100000, Rnd: 2389455) ## Jun 29 11:50:55 :: Heavenly Bird Fan+1: 1.250000%. (iPct: 50000, Rnd: 335268) ## Jun 29 11:50:55 :: Heavenly Bird Fan+2: 3.750000%. (iPct: 150000, Rnd: 181346) ## Jun 29 11:50:55 :: Heavenly Bird Fan+3: 2.500000%. (iPct: 100000, Rnd: 2035073) ## Jun 29 11:50:55 :: Yellow Dragon Bow+1: 1.250000%. (iPct: 50000, Rnd: 2044599) ## Jun 29 11:50:55 :: Yellow Dragon Bow+2: 3.750000%. (iPct: 150000, Rnd: 1595131) ## Jun 29 11:50:55 :: Yellow Dragon Bow+3: 2.500000%. (iPct: 100000, Rnd: 356197) ## Jun 29 11:50:55 :: Spirit Plate Armour+1: 1.250000%. (iPct: 50000, Rnd: 1061675) ## Jun 29 11:50:55 :: Spirit Plate Armour+2: 3.750000%. (iPct: 150000, Rnd: 1889814) ## Jun 29 11:50:55 :: Spirit Plate Armour+3: 2.500000%. (iPct: 100000, Rnd: 1353407) ## Jun 29 11:50:55 :: Baroness Dress+1: 1.250000%. (iPct: 50000, Rnd: 273977) ## Jun 29 11:50:55 :: Baroness Dress+2: 3.750000%. (iPct: 150000, Rnd: 3305068) ## Jun 29 11:50:55 :: Baroness Dress+3: 2.500000%. (iPct: 100000, Rnd: 2582783) ## Jun 29 11:50:55 :: Fuchsia Suit+1: 1.250000%. (iPct: 50000, Rnd: 878985) ## Jun 29 11:50:55 :: Fuchsia Suit+2: 3.750000%. (iPct: 150000, Rnd: 226598) ## Jun 29 11:50:55 :: Fuchsia Suit+3: 2.500000%. (iPct: 100000, Rnd: 3818256) ## Jun 29 11:50:55 :: Dragon God Armour+1: 1.250000%. (iPct: 50000, Rnd: 745464) ## Jun 29 11:50:55 :: Dragon God Armour+2: 3.750000%. (iPct: 150000, Rnd: 1665287) ## Jun 29 11:50:55 :: Dragon God Armour+3: 2.500000%. (iPct: 100000, Rnd: 3530231) ## Jun 29 11:50:55 :: Crystal Earrings+4: 2.250000%. (iPct: 90000, Rnd: 1994181) ## Jun 29 11:50:55 :: Crystal Earrings+5: 6.000000%. (iPct: 240000, Rnd: 3412428) ## Jun 29 11:50:55 :: Crystal Earrings+6: 3.500000%. (iPct: 140000, Rnd: 2700584) ## Jun 29 11:50:55 :: Crystal Necklace+4: 2.250000%. (iPct: 90000, Rnd: 3617530) ## Jun 29 11:50:55 :: Crystal Necklace+5: 6.000000%. (iPct: 240000, Rnd: 1668003) ## Jun 29 11:50:55 :: Crystal Necklace+6: 3.500000%. (iPct: 140000, Rnd: 613330) ## Jun 29 11:50:55 :: Crystal Bracelet+4: 2.250000%. (iPct: 90000, Rnd: 2645969) ## Jun 29 11:50:55 :: Crystal Bracelet+5: 6.000000%. (iPct: 240000, Rnd: 3733908) ## Jun 29 11:50:55 :: Crystal Bracelet+6: 3.500000%. (iPct: 140000, Rnd: 1360658) ## Jun 29 11:50:55 :: Goddess Tear: 3.750000%. (iPct: 150000, Rnd: 3145818) ## Jun 29 11:50:55 :: Bravery Cape: 3.750000%. DROP! (iPct: 150000, Rnd: 26341) ## Jun 29 11:50:55 :: Blessing Scroll: 5.250000%. (iPct: 210000, Rnd: 1535272) ## Jun 29 11:50:55 :: Cloak of Secrecy: 5.000000%. (iPct: 200000, Rnd: 361609) ## Jun 29 11:50:55 :: Book of Forgetfulness: 6.250000%. (iPct: 250000, Rnd: 541656) ## Jun 29 11:50:55 :: Blood Pill: 6.250000%. DROP! (iPct: 250000, Rnd: 86696) ## Jun 29 11:50:55 :: Thief's Gloves: 5.000000%. (iPct: 200000, Rnd: 2136786) ## Jun 29 11:50:55 :: Experience Ring (1h): 5.000000%. (iPct: 200000, Rnd: 442892) ## Jun 29 11:50:55 :: Red Potion (M): 25.000000%. (iPct: 1000000, Rnd: 3984234) ## Jun 29 11:50:55 :: Red Potion (L): 50.000000%. DROP! (iPct: 2000000, Rnd: 542952) ## Jun 29 11:50:55 :: Blue Potion (M): 25.000000%. DROP! (iPct: 1000000, Rnd: 258210) ## Jun 29 11:50:55 :: Blue Potion (L): 37.500000%. DROP! (iPct: 1500000, Rnd: 379080) ## Jun 29 11:50:55 :: Skill Book: 100.000000%. DROP! (iPct: 4000000, Rnd: 590968) ## Jun 29 11:50:55 :: Blood Pill: 0.250000%. (iPct: 10000, Rnd: 393191) ## Jun 29 11:50:55 :: Book of Forgetfulness: 0.250000%. (iPct: 10000, Rnd: 2185033) ## Jun 29 11:50:55 :: Green Dragon Bean: 0.250000%. (iPct: 10000, Rnd: 2944501) ## Jun 29 11:50:55 :: 웅조파+0: 1.250000%. (iPct: 50000, Rnd: 527072) ## Jun 29 11:50:55 :: 웅조파+1: 3.750000%. (iPct: 150000, Rnd: 3853035) ## Jun 29 11:50:55 :: 웅조파+2: 2.500000%. DROP! (iPct: 100000, Rnd: 74182) ## Jun 29 11:50:55 :: Firellium Plate Armour+1: 1.250000%. (iPct: 50000, Rnd: 3586943) ## Jun 29 11:50:55 :: Firellium Plate Armour+2: 3.750000%. (iPct: 150000, Rnd: 1434840) ## Jun 29 11:50:55 :: Firellium Plate Armour+3: 2.500000%. (iPct: 100000, Rnd: 2835209) ## In conclusion: Go back to J4M Edited June 29, 2023 by Syreldar Core X - External 2 Internal 4 1 1 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now