FapFap 13 Report post Posted March 3, 2019 Can someone explain or share the way to make Upgrades available for ID's more than 5k ? I tried it through Lua but aint working, maybe someone know which Line should be edited through Hex? Ex: if ItemID_main > 9000 then ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID ) end -------是否属于属性可提升装备 local flg=0 if ItemID_main==7938 then---------黑龙提升 if ItemID_other==7953 then flg=1 end end Anyone know how to make this work?@V3ct0r ( sorry for tagging, just interested to know if it is available ) Quote Share this post Link to post Share on other sites
Onioni 58 Report post Posted March 3, 2019 (edited) 2 hours ago, FapFap said: Can someone explain or share the way to make Upgrades available for ID's more than 5k ? I tried it through Lua but aint working, maybe someone know which Line should be edited through Hex? Ex: if ItemID_main > 9000 then ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID ) end -------是否属于属性可提升装备 local flg=0 if ItemID_main==7938 then---------黑龙提升 if ItemID_other==7953 then flg=1 end end Anyone know how to make this work?@V3ct0r ( sorry for tagging, just interested to know if it is available ) function can_tichun_item_main ( Table ) if ItemID_main > 5000 and ItemID_main < 6949 then ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID ) end if ItemID_main > 6957 and ItemID_main <= 7700 then ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID ) end if ItemID_main>=7788 and ItemID_main<=7795 then if ItemID_other ==7760 then flg=1 end end function tichun_item ( Table ) if ItemID_main > 5000 and ItemID_main < 6949 then ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID ) end if ItemID_main > 6957 and ItemID_main <= 7700 then ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID ) end if ItemID_main>=7788 and ItemID_main<=7795 then ItemID_main=ItemID_main-4052 r1,r2 =MakeItem ( role , ItemID_main , 1 , 4) local cha_name = GetChaDefaultName ( role ) local itemname = GetItemName ( ItemID_main ) GMNotice ("Dusty Demonic Weapon has been unsealed! ".. cha_name.." obtains "..itemname.." Weapon!") end I have this way cause there is apparels I want to be possible to upgrade and xxxx items. Edited March 3, 2019 by Onioni Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites
FapFap 13 Report post Posted March 4, 2019 @Onioni it doesn't work for ID's over 5k, GameServer.exe should be Hexed if im not wrong, but not sure what Line Quote Share this post Link to post Share on other sites
Onioni 58 Report post Posted March 4, 2019 (edited) 5 hours ago, FapFap said: @Onioni it doesn't work for ID's over 5k, GameServer.exe should be Hexed if im not wrong, but not sure what Line Well I don't have gs hexes for item upgrading and works well. Actually it work on every gs I have tested so I think no hex need to upgrade.. . Edited March 4, 2019 by Onioni Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites
Angelix 374 Report post Posted March 5, 2019 It does work for items over 5K. There's a script that I made somewhere around here on pkoDev or archives, look it up. Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 5, 2019 On 3/3/2019 at 7:35 PM, FapFap said: @V3ct0r ( sorry for tagging, just interested to know if it is available ) Hello! Have no idea how to help you with that issue. 15 hours ago, FapFap said: @Onioni it doesn't work for ID's over 5k, GameServer.exe should be Hexed if im not wrong, but not sure what Line What do you mean by "doesn't work"? Any errors? 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
FapFap 13 Report post Posted March 5, 2019 5 hours ago, V3ct0r said: Hello! Have no idea how to help you with that issue. What do you mean by "doesn't work"? Any errors? By doesn't work I mean it says "Wrong Crystal or Item Type" for ID's over 5k Quote Share this post Link to post Share on other sites
Onioni 58 Report post Posted March 5, 2019 5 hours ago, FapFap said: By doesn't work I mean it says "Wrong Crystal or Item Type" for ID's over 5k Can you show your script? Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites
FapFap 13 Report post Posted May 22, 2019 (edited) @Onioni fixed Edited May 22, 2019 by FapFap Quote Share this post Link to post Share on other sites