Jump to content

Neo-Mind

Community Contributors
  • Content Count

    713
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by Neo-Mind

  1. about the color hex code its a patch i found and use but i dont plan to make it public as of now .the guild is just from /showname
  2. You should patch your client with the path of your custom file relative to your RO folder (Typically you place the file in the System folder and patch the client with System/<filename>.lub) Similarly the path of your base file (the one you specify in the dofile function) will also be relative to your RO folder (Like the other one this one is also placed typically in the System folder).
  3. hmm there is only 1 problem i can foresee. When Gravity updates/adds items it modifies iteminfo.lub so your edit might go away. i would suggest to put it in a different file just to be safe
  4. Introduction Well this idea came up when evilpunker asked about the possibility of having a patch which loads a second file which overrides the iteminfo file. But there is a better way to do that with lua itself. How to do it? The key idea is that the item information is added using the main function by the client. so in your custom file you just need to modify the main function to accept your items. Here is how it can be done. -- Load the original file. As you might have guessed you can also load your translated file here instead -- (just make sure the "tbl" array contains your item info) dofile("System/iteminfo.lub") -- Now as a simple example . I am simply going to change name of Red Potion to Crimson Potion. -- But you can add anything in the same way. Format is same as the original one, just -- the table name is different tbl_custom = { [501] = { unidentifiedDisplayName = "Crimson Potion", unidentifiedResourceName = "»¡°£Æ÷¼Ç", unidentifiedDescriptionName = { "A potion made from", "grinded Red Herbs that", "restores ^000088about 45 HP^000000.", "^ffffff_^000000", "Weight: ^7777777^000000" }, identifiedDisplayName = "Crimson Potion", identifiedResourceName = "»¡°£Æ÷¼Ç", identifiedDescriptionName = { "^000088HP Recovery Item^000000", "A potion made from", "grinded Red Herbs that", "restores ^000088about 45 HP^000000.", "^ffffff_^000000", "Weight: ^7777777^000000" }, slotCount = 0, ClassNum = 0 }, } -- Now for a helper function because i hate repetitions -- It adds items from curTable if it is not present in refTable function itemAdder(curTable, refTable) for ItemID,DESC in pairs(curTable) do if refTable == nil or refTable[ItemID] == nil then result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result then return false, msg end for k,v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result then return false, msg end end for k,v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end end return true, "good" end -- And the newly designed main function function main() result, msg = itemAdder(tbl_custom, nil) -- add custom items (including official overrides) if result then result, msg = itemAdder(tbl, tbl_custom) -- add non-overridden official items end return result, msg end How is it useful? Think how item_db2.txt is useful for adding custom items in a server. Its the same strategy here. You can keep your official items in a base file (or you can just use the official iteminfo.lub file if you want the korean names) and keep your custom items in a different file (make sure the first dofile function calls the base file). The above code is error free, so feel free to copy and add your items . Hope the topic was not too confusing The lua code can be further expanded for overriding only parts of an official item. But i will leave that update for the future P.S. The client should be patched to accept your custom file not the base file. Screenshot
  5. Eh Why? what error did u get with the patcher
  6. I have updated the scripts in PEEK. Please check and see if you are still getting issues.
  7. Told you they always come back.
  8. why not use "Use Custom Font" and select Arial for the font. I removed the patch since it was redundant with that one.
  9. Hi Guys, Please post any bugs you find and already found in GitHub. Its easier for me to track them there . I might end up not seeing something because of lot of posts here. quesoph this is already a known bug in that patch for long time. hmm so yellow tag is working? I thought the tag was not working.
  10. All good things must come to an end sometime. intriguing Looking forward to that one.
  11. would be nice . people would cry less (hopefully ).
  12. RIP eAthena. . You provided a great foundation for all the emulators. Now i hope u find peace in Emulator Heaven.
  13. did u git pull on NEMO . It has gone through some updates.
  14. Neo-Mind

    Where is Ind?

    The curiosity is killing us cats Nya~ . Hope this surprise patch comes in soon .
  15. yea need to check this. actually i need to update the packet length extractor a bit (maybe the issue would also get resolved with that).
  16. hmm thats weird maybe i should fetch the Hex pattern and convert to string. Anyways i have been planning to do something with that addon.
  17. Two possible reasons come to mind: 1) Client is having some issue locating ws2_32.dll in your system (corrupted client maybe?) 2) Client is referring a different dll to get the send and recv functions. (maybe the client was used with PEEK?)
  18. @evilpuncker: dunno about RE clients but the main clients mentioned are not packed. Latest usable Ragexe client is 2014-06-13a. I know about the Restore Login Window issue its just a small fix will push that later today. @luis : I need to check that patch. People have been saying they are facing issue with shields not appearing at all.
  19. patch with "Enable showname" and "Enable Mailbox" patches.
  20. @Lelantos try the latest one now. Its working for me without errors. Was the client patched before?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.