Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/13/18 in all areas

  1. View File Sader's Renewal Mode [PRE-RE Only] [Not For Sell anymore , after rAthena item YAML update 2020-10-22] You can do it your self in less then 60 seconds in the new YAML update! quest here rathena/quest_db.yml at master · rathena/rathena (github.com) skills here rathena/skill_db.yml at master · rathena/rathena (github.com) items here rathena/item_db.yml at master · rathena/rathena (github.com) mob coming soon if you already did buy this file , you can download it , however if you use the latest rathena , this file does not support that it's easy to do what my mod does , in yml , you don't need this files anyway if you use the latest rathena which mean , you don't need this mod anymore License : by downloading this file you are agree on the following: i will Back Up my server before using this file. i will use this file for my own private server only , not for a group of servers . i will never share this file with anyone . i will never upload this file to public and i wont leave it on shared storage . i will report any bugs or errors to sader1992 . all the rights retain to sader1992 . Charge-back scams are not tolerated and will get you punished on rAthena. Terms above may be changed or adjusted without prior notification . Submitter sader1992 Submitted 01/18/2018 Category Source Modifications Video https://youtu.be/kY6X0PqCrqg Content Author sader1992  
    1 point
  2. 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.
    1 point
  3. You need to update your resnametable. The file is provided on root directory, but that's basically copies of izlude dungeon maps
    1 point
  4. That's not an instance, so there's no need of instance db.
    1 point
  5. @Quesooo, just done. Thought I hadn't tested it in a while, last time I checked it worked ^^'
    1 point
  6. 1 point
  7. Version 1.0.0

    368 downloads

    Hello everyone, i show you the monster ''Tantalus'' it's a Haunted Tree from Trickster Online, u can use at instances, quests, etc. IMPORTANT: it has sound effects for walking, attacking and dying. please put the data folder in your ragnarok. -Don't steal credits, give credits to me, that I cost my effort to do them. -Do Not edit my work without my permission, It includes recolors.
    Free
    1 point
  8. make sure u downloaded this specific vcredist == Visual C++ Redistributable for Visual Studio 2012 Update 4 try downloading x64 and x86 of this file and it should do the trick! do not forget to +1 if this helps
    1 point
  9. I don't think there is a way to continue npc timer after a reload. Maby OnClock event or other workaround ? - script DayNight -1,{ OnClock0600: day; end; OnInit: // setting correct mode upon server start-up if (gettime(DT_HOUR)>=6 && gettime(DT_HOUR)<18) end; OnClock1800: night; end; }
    1 point
  10. Hi, This tool generate the txt item files (idnum2itemdesctable.txt and others) reading the info from a ItemInfo.lua file. (non encrypted file) Sample of a compatible LUA file: tbl = { [501] = { unidentifiedDisplayName = "Red Potion", unidentifiedResourceName = "»¡°£Æ÷¼Ç", unidentifiedDescriptionName = { "A potion made from", "grinded Red Herbs that", "restores ^000088about 45 HP^000000.", "^ffffff_^000000", "Weight: ^7777777^000000" }, identifiedDisplayName = "Red 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 }, [502] = { ... Screenshot: I hope be useful for someone. Myzter ItemInfo2Txt_1.1.rar
    1 point
×
×
  • Create New...