Limestone Posted February 20, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Share Posted February 20, 2017 Does someone tried this patch? How can i make it work? Thanks! Quote Link to comment Share on other sites More sharing options...
0 Kakaroto Posted February 20, 2017 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: 12 hours ago Share Posted February 20, 2017 Did Neo stop developing the patcher? The last update was in May 2016. Quote Link to comment Share on other sites More sharing options...
0 Limestone Posted February 21, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Author Share Posted February 21, 2017 I don't know, but i need help about my concern. Quote Link to comment Share on other sites More sharing options...
0 Functor Posted February 22, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 352 Reputation: 267 Joined: 09/08/13 Last Seen: Friday at 07:14 AM Share Posted February 22, 2017 On 20.02.2017 at 10:51 AM, Limestone said: Does someone tried this patch? How can i make it work? Thanks! Code of this patch passes name of selected "char server" as parameter to "main" function in the file iteminfo.lub / iteminfo.lua How do you want to use it? Quote Link to comment Share on other sites More sharing options...
0 Limestone Posted February 22, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Author Share Posted February 22, 2017 5 minutes ago, Functor said: Code of this patch passes name of selected "char server" as parameter to "main" function in the file iteminfo.lub / iteminfo.lua How do you want to use it? actually, i don't know how to use it, maybe you can teach me how to make it work? xD Quote Link to comment Share on other sites More sharing options...
0 Functor Posted February 22, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 352 Reputation: 267 Joined: 09/08/13 Last Seen: Friday at 07:14 AM Share Posted February 22, 2017 In any case you need to modify iteminfo.lub / iteminfo.lua after applying patch to EXE. I will show you simple example. We will add name of selected "char server" to all identified item's names. Open iteminfo.lub / iteminfo.lua and change: main = function() for ItemID,DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) to: main = function(server_name) for ItemID,DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName.." "..server_name, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) P.S. You can use it to set different item's descriptions for different char servers. Quote Link to comment Share on other sites More sharing options...
0 Limestone Posted February 22, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Author Share Posted February 22, 2017 (edited) 9 minutes ago, Functor said: In any case you need to modify iteminfo.lub / iteminfo.lua after applying patch to EXE. I will show you simple example. We will add name of selected "char server" to all identified item's names. Open iteminfo.lub / iteminfo.lua and change: main = function() for ItemID,DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) to: main = function(server_name) for ItemID,DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName.." "..server_name, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) P.S. You can use it to set different item's descriptions for different char servers. About the item description, how can i make it different from other char servers? Edited February 22, 2017 by Limestone Quote Link to comment Share on other sites More sharing options...
0 Functor Posted February 22, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 352 Reputation: 267 Joined: 09/08/13 Last Seen: Friday at 07:14 AM Share Posted February 22, 2017 Open iteminfo.lub / iteminfo.lua and after: identifiedDescriptionName = { "An orange root that is supposedly good for your vision. Despite the Beta Carotene, kids don't care much for it.", "^000088Recovers a small amount of HP^000000.", "^ffffff_^000000", "Weight :^777777 2^000000", }, add: identifiedDescriptionName2 = { "Second version of description for Carrot", }, change: for k,v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end to: if server_name ~= "rAthena" and DESC.identifiedDescriptionName2 ~= nill then for k,v in pairs(DESC.identifiedDescriptionName2) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end else for k,v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end If selected server is not "rAthena" and item has second version of description - we will see it. Quote Link to comment Share on other sites More sharing options...
0 Limestone Posted February 22, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Author Share Posted February 22, 2017 46 minutes ago, Functor said: Open iteminfo.lub / iteminfo.lua and after: identifiedDescriptionName = { "An orange root that is supposedly good for your vision. Despite the Beta Carotene, kids don't care much for it.", "^000088Recovers a small amount of HP^000000.", "^ffffff_^000000", "Weight :^777777 2^000000", }, add: identifiedDescriptionName2 = { "Second version of description for Carrot", }, change: for k,v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end to: if server_name ~= "rAthena" and DESC.identifiedDescriptionName2 ~= nill then for k,v in pairs(DESC.identifiedDescriptionName2) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end else for k,v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end If selected server is not "rAthena" and item has second version of description - we will see it. I got a error "System/ItemInfo.lua:116484: unexpected symbol near '='" this is the line that the error indicates: "main = function(server_name)" Quote Link to comment Share on other sites More sharing options...
0 Functor Posted February 22, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 352 Reputation: 267 Joined: 09/08/13 Last Seen: Friday at 07:14 AM Share Posted February 22, 2017 (edited) You should upload original and modified files to the file hosting and show a link. P.S. It is better to not quote big messages. Edited February 22, 2017 by Functor Quote Link to comment Share on other sites More sharing options...
Question
Limestone
Does someone tried this patch? How can i make it work? Thanks!
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.