Phoenix 0 Report post Posted October 13, 2017 Hello all, I'm trying to add a new fairy to the fairy marriage system. I add everything already but when i went to the game. It won't let me insert the custom made Demonic Fruits. Does anyone know why? Thanks. Quote Share this post Link to post Share on other sites
AlGhoul 66 Report post Posted October 13, 2017 @Phoenix u should post ur scripts here, so we can define your problem Quote Kind regards, AG. Share this post Link to post Share on other sites
Phoenix 0 Report post Posted October 13, 2017 if Item_EMstone_ID ==3535 then ---Custom made Fairy Stone local j1 = TakeItem( role, 0,1253, 10 ) local j2 = TakeItem( role, 0,3442, 10 ) if j1==0 or j2==0 then SystemNotice ( role ,"Deletion of pet fairy reborn tools failed") return end local rad = math.random ( 1, 100 ) local r1 = 0 local r2 = 0 if Item_JLone_ID ==681 or Item_JLother_ID ==681 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 255 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% r1,r2 =MakeItem ( role , 255 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% r1,r2 =MakeItem ( role , 255 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% r1,r2 =MakeItem ( role , 255 , 1 , 4 ) else r1,r2 =MakeItem ( role , 680 , 1 , 4 ) end else r1,r2 =MakeItem ( role , 680 , 1 , 4 ) end local Item_newJL = GetChaItem ( role , 2 , r2 ) local Num_newJL = GetItemForgeParam ( Item_newJL , 1 ) local Part1_newJL = GetNum_Part1 ( Num_newJL ) --Get Num Part 1 µ½ Part 7 local Part2_newJL = GetNum_Part2 ( Num_newJL ) local Part3_newJL = GetNum_Part3 ( Num_newJL ) local Part4_newJL = GetNum_Part4 ( Num_newJL ) local Part5_newJL = GetNum_Part5 ( Num_newJL ) local Part6_newJL = GetNum_Part6 ( Num_newJL ) local Part7_newJL = GetNum_Part7 ( Num_newJL ) if lv_JLone>=20 and lv_JLother >=20 then Part2_newJL = 12 ---------а֮¾«Áé¼¼ÄܱàºÅ Part3_newJL = 1 ---------³õ¼¶½×¶Î end if lv_JLone>=25 and lv_JLother >=25 then Part2_newJL = 12 ---------а֮¾«Áé¼¼ÄܱàºÅ Part3_newJL = 2 ---------Öм¶½×¶Î end if lv_JLone>=52 and lv_JLother >=52 then Part2_newJL = 12 ---------а֮¾«Áé¼¼ÄܱàºÅ Part3_newJL = 3 ---------¸ß¼¶½×¶Î end local rad1 = math.random ( 1, 100 ) if Part3_newJL==3 then GiveItem ( role , 0 , 609 , 1 , 4 ) --Expert Fairy Possession GiveItem ( role , 0 , 612 , 1 , 4 ) --Expert Self Destruct end if Part3_newJL==2 then if rad1 <=95 then GiveItem ( role , 0 , 608 , 1 , 4 ) --Standard Fairy Possession GiveItem ( role , 0 , 611 , 1 , 4 ) --Standard Self Destruct elseif rad1 > 95 and rad1 <=100 then GiveItem ( role , 0 , 609 , 1 , 4 ) --Expert Fairy Possession GiveItem ( role , 0 , 612 , 1 , 4 ) --Expert Self Destruct end end if Part3_newJL==1 then if rad1 <=90 then GiveItem ( role , 0 , 239 , 1 , 4 ) --Novice Fairy Possession GiveItem ( role , 0 , 610 , 1 , 4 ) --Novice Self Destruct elseif rad1 > 90 and rad1 <=98 then GiveItem ( role , 0 , 608 , 1 , 4 ) --Standard Fairy Possession GiveItem ( role , 0 , 611 , 1 , 4 ) --Standard Self Destruct elseif rad1 > 98 and rad1 <=100 then GiveItem ( role , 0 , 609 , 1 , 4 ) --Expert Fairy Possession GiveItem ( role , 0 , 612 , 1 , 4 ) --Expert Self Destruct end end Num_newJL = SetNum_Part1 ( Num_newJL , 1 ) ----------¶þת±ê¼Ç Num_newJL = SetNum_Part2 ( Num_newJL , Part2_newJL ) Num_newJL = SetNum_Part3 ( Num_newJL , Part3_newJL ) Num_newJL = SetNum_Part4 ( Num_newJL , Part4_newJL ) Num_newJL = SetNum_Part5 ( Num_newJL , Part5_newJL ) Num_newJL = SetNum_Part6 ( Num_newJL , Part6_newJL ) Num_newJL = SetNum_Part7 ( Num_newJL , Part7_newJL ) SetItemForgeParam ( Item_newJL , 1 , Num_newJL ) SetItemAttr ( Item_newJL , ITEMATTR_VAL_STR , new_str ) SetItemAttr ( Item_newJL , ITEMATTR_VAL_DEX , new_dex ) SetItemAttr ( Item_newJL , ITEMATTR_VAL_STA , new_sta ) SetItemAttr ( Item_newJL , ITEMATTR_VAL_AGI , new_agi ) SetItemAttr ( Item_newJL , ITEMATTR_VAL_CON , new_con ) SetItemAttr ( Item_newJL , ITEMATTR_MAXENERGY , new_MAXENERGY ) SetItemAttr ( Item_newJL , ITEMATTR_MAXURE , new_MAXURE ) end Quote Share this post Link to post Share on other sites
Phoenix 0 Report post Posted October 13, 2017 local Item_EMstone_ID = GetItemID ( Item_EMstone ) if Item_EMstone_ID ~= 3918 and Item_EMstone_ID ~= 3919 and Item_EMstone_ID ~= 3920 and Item_EMstone_ID ~= 3921 and Item_EMstone_ID ~= 3922 and Item_EMstone_ID ~= 3924 and Item_EMstone_ID ~= 3925 and (Item_EMstone_ID ~= 3535 and Item_EMstone_ID ~= 3536 and Item_EMstone_ID ~= 3537 and Item_EMstone_ID ~= 3538) then SystemNotice( role ,"Demonic Fruit usage error") return 0 end Quote Share this post Link to post Share on other sites
Studweiser21 13 Report post Posted October 13, 2017 11 hours ago, Phoenix said: Hello all, I'm trying to add a new fairy to the fairy marriage system. I add everything already but when i went to the game. It won't let me insert the custom made Demonic Fruits. Does anyone know why? Thanks. Where are you inserting the demonic fruits? Do you receive any errors on system notice? Quote Share this post Link to post Share on other sites
Phoenix 0 Report post Posted October 14, 2017 I'm inserting the demonic fruit to the fairy marriage system. I'm trying to make 2x modo Jr marry to get a new pet but when I'm inserting the demonic fruits I'm getting an error message. " you did not add the demonic fruits. Please reselect " Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted October 21, 2017 Hello @Phoenix! I think you should patch Game.exe. Demonic Fruits are hardcoded here Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites