Jump to content

norightinfo

Members
  • Posts

    15
  • Joined

  • Last visited

norightinfo's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. Hi does anyone has an npc script that will only display specific items from my inventory? Is there a way for a "callshop" function to display a specific items on my inventory whenever I sell my items? I came across this topic but can't seems to figure out how. Here is a sample screenshot provided by the OP in the link: So basically in his inventory he has 3 items as listed <Red Potion>, <Orange Potion> and <Yellow Potion>, however he wanted for the NPC to only display the <Orange Potion> and <Yellow Potion> in the window list.
  2. If it didn't change after changing the clientinfo.xml try checking the sclientinfo.xml
  3. I see, you mean it doesn't affect the announce message provided by the drops.conf ? // Make broadcast ** Player1 won Pupa's Pupa Card (chance 0.01%) *** // This can be set to any value between 0~10000. // Note: It also announces STEAL skill usage with rare items // 0 = don't show announces at all // 1 = show announces for 0.01% drop chance items // 333 = show announces for 3.33% or lower drop chance items // 10000 = show announces for all items rare_drop_announce: 333 Also, I further test with 2 additional items the same add bonus drop set to 1000% a total of 3000% (Upper, Middle and Lower) This is the calculation: 0.03% (Card) + 3000% (bDropAddRace script) = 0.93% Result: Drop announce with 0.90%, which removes the 0.03% decimal point, I guess it doesn't show some decimal point position or simply rounds it off (not sure though).
  4. Hi, I have clarifications regarding on bExpAddRace and bDropAddRace bonus, how does it work? does this adds on top of the current rate or does it overwrites the rate? I have an item that adds 10% drop when killing monster (RC_ALL), Just to test this out, I set it to "bonus2 bDropAddRace,RC_ALL,1000;" which is 1000%. now assuming I have mob that drops an item(ex. Card) with 0.05 chance. Doing the Math from what I understand: 0.05% (Card) + 1000% (bDropAddRace script) = 0.55% (expected result) Result: When I test it out, it only displays 0.50% (I enabled announce on drop to check the changes) Proof: checking mobinfo - when it drops - ----- So this kind of make me wonder if does it overwrite, If I am wrong with my calculations can you enlighten me on how it really works? Thank you.
  5. This much is true, I am using Windows and it does takes 1-2minutes before it finishes its load. So I guess my only solution to switch it with Linux base distros.
  6. I am using "reloadmobdb" so it should reload, I am not using "reloadscript" this is entirely triggered by the script on npc, and no error.
  7. Hi, so I was glad that the mob_db.txt has been converted to mod_db.yml, which is so much easier to read and modify, however I counter a possible performance issue, I have a floating rate script which is an sample script provided by the rAthena. Long story short, so the script uses "setbattleflag" to modify the experience and drop rates, combined with calling a command @reloadmobdb, now here is where the problem occurs, as it reloads the mob_db.yml file, it takes long to finished the load time from the mapserver, and in game it freezes the characters (players). Does anyone also experiencing this problem aswell? and do you have any resolution?
  8. Thank you for answer on this one, What happen is that I used an existing Costume (Upper) and tried to relocate the postion from Upper to Shadowgear Armor, however it doesn't seem to work (probably because of the sprite position which conflicts with another Costume (Upper) headgear. I can however reused the Costume (Lower) since it doesn't conflict much as well as adding hateffect trick.
  9. Hi, so the title says it all, Is there a way I can set a Shadowgear equip to be used as a Costume? Example: I created a custom costume headgear, instead of using the Upper, Middle, Lower and Garment Locations, I will used the Shadow Armor or Shadow Accessories locations. are there any tricks that to perform this? I've been reading some topics about it (not sure if I read it all) and can't seems to find a solution.
  10. Yes, I guess you're right. I just saw on my item_db that there is an ID of 1Million so I was thinking of using 2Million starting to my costume, Anyway thank you so much.
  11. Hi that did the trick, it appears that I have my Item ID's limited, is this a client issue as what @Balfear describe? that I need to used a latest one, do you have any idea as to what version should I used? I did download a 2020korean client which was already patched prepared.
  12. Okay so I did change the apple name, 512 and here is the result: Apparently, it is reading correctly, a couple things, I remember that I selected PRERE as my setup, however I did copy the RE item_db to my PRERE db. that might be the cause of it, I will try to revert the back to PRERE original item db and add my custom healing item, I will get back once I tested. Edit: Okay so I did that, and get the same result, BTW @botka4aet I really appreciate the response you did on my issue.
  13. Okay so this is the part where I was wondering, however my custom grf, is on highest priority in data.ini; Then I tried adding iteminfo.lub under luafiles514\lua files\datainfo\iteminfo.lub after I read your response, then tried also with iteminfo.lua extension still not working. Then double check all of my item_db, but couldn't see any item ID's with the one I created. If I understand this correctly, I am using this one: Here is the Hex client:
  14. Hi, I tried creating my own Healing potion which I based on White and Blue potion, then on the iteminfo.lua I wanted it to display like the "HP Increase Potion(Large)" and "SP Increase Potion(Large)" with item ID: 12424 and 12427 respectively, however when I try to generate the item using @item command, it return "Apple" item instead, not "Unknown Item". When I generate the 12424 and 12427 they generate fine, map-server did not return any issues so I don't know where I went wrong. item_db_usable: - Id: 2000001 AegisName: HP_Supply_Potion Name: HP Increase Potion Type: Healing Weight: 3 Trade: Override: 100 NoDrop: true NoTrade: true NoSell: true Script: | itemheal rand(325,405),0; - Id: 2000002 AegisName: SP_Supply_Potion Name: SP Increase Potion Type: Healing Weight: 3 Trade: Override: 100 NoDrop: true NoTrade: true NoSell: true Script: | itemheal 0,rand(50,70); iteminfo.lua: [2000001] = { unidentifiedDisplayName = "HP Increase Potion", unidentifiedResourceName = "HP증가포션_대", unidentifiedDescriptionName = { "" }, identifiedDisplayName = "HP Increase Potion", identifiedResourceName = "HP증가포션_대", identifiedDescriptionName = { "A supplied HP potion that weighs significantly less.", "^FFFFFF_^000000", "Class:^0000FF Restorative^000000", "Heal:^009900 325 - 405^000000 HP", "Weight:^009900 3^000000" }, slotCount = 0, ClassNum = 0 }, [2000002] = { unidentifiedDisplayName = "SP Increase Potion", unidentifiedResourceName = "SP증가포션_대", unidentifiedDescriptionName = { "" }, identifiedDisplayName = "SP Increase Potion", identifiedResourceName = "SP증가포션_대", identifiedDescriptionName = { "A supplied SP potion that weighs significantly less.", "^FFFFFF_^000000", "Class:^0000FF Restorative^000000", "Restore:^009900 325 - 405^000000 SP", "Weight:^009900 3^000000" }, slotCount = 0, ClassNum = 0 }, Actual Image: Here is the item that I based it on: Here is when I tried to generate the item: I understand that it would be easier to replace the existing item that I based this on, however creating a custom item would let me control it more. I just want to know what could be the issue and how to resolved this in the future. Also when I hex my client It was reading iteminfo.lua.
  15. Hi Guys, I am new here, I need help with my simple cash npc script, I am looking for ways to convert this from Herc to rAthena, can anybody help me? Cash Shop NPC: // Cash Shop NPC prontera,103,79,5 trader Cash Shop 4_F_BRZ_WOMAN,{ OnInit: tradertype(NST_CASH); sellitem 5362; sellitem 5305; sellitem 5767; end; OnCountFunds: setcurrency(#CASHPOINTS); end; OnPayFunds: if(#CASHPOINTS < @points) end; #HOURPOINTS -= @points; purchaseok(); } Custom Hourly Shop NPC: // Hourly Shop NPC prontera,103,77,5 trader Hourly Shop 4_M_ZONDAOYAJI,{ OnInit: tradertype(NST_CUSTOM); sellitem 5362; sellitem 5305; sellitem 5767; end; OnCountFunds: setcurrency(#HOURPOINTS); end; OnPayFunds: if(#HOURPOINTS < @points) end; #HOURPOINTS -= @points; purchaseok(); } I made progress by able to display the NPC with the items to sell, however I can't seem to find anyways to have the setcurrency function.
×
×
  • Create New...

Important Information

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