Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/02/20 in Posts

  1. [Guide] Adding custom Random Options Introduction: In this guide I will introduce you how to implement custom Random Options. I will use as an example the bonus "bAddEff". -------------------------------------------------------------------- - Server-Side - First of all we will add our custom option to item_randomopt_db (db\import\item_randomopt_db.txt) When opening this file will appear: // Items Random Option Database // // Structure of Database: // ID,{ Bonus Script } So we add this: RDMOPT_WEAPON_FREEZE,{ bonus2 bAddEff,Eff_Freeze,getrandomoptinfo(ROA_VALUE)*100; } In this case getrandomoptinfo(ROA_VALUE) is multiplied by 100, because 100 means 1% in bAddEff. Also, we need to add the constant, opening db\const.txt. Find: "//RDMOPT_ATTR_TOLERACE_ALL 193" And add below: RDMOPT_WEAPON_FREEZE 194 Server side is finished~ -------------------------------------------------------------------- - Client-Side - For display our custom options we must adding to enumvar.lub and addrandomoptionnametable.lub, located in (luafiles514\lua files\datainfo\) Editing enumvar.lub: Find: ATTR_TOLERACE_ALL = { 193, 10 }, And add: WEAPON_FREEZE = {194, 0}, *The first number must be same that added in const.txt* Editing addrandomoptionnametable.lub: Find: [EnumVAR.MDAMAGE_SIZE_LARGE_USER[1]] = "Magical resistance Large size monster +%d%%", And add: [EnumVAR.WEAPON_FREEZE[1]] = "Freeze an enemy when attacking +%d%%", %d% is equal to ROA_VALUE. -------------------------------------------------------------------- After completing all of the above your Random Option is ready to use. Remember that there is documentation of how to add random options to items and a sample npc. If you have doubts, write on the comments.
    1 point
  2. I really don't know why you need this rank, but you can do this: To solve the 'delay' problem getting the rank information you'll need create one table and make the changes in the script to 'save' and 'load' the 'points' there, so when you access the new table not will have so many 'characters' or 'guilds' to 'search'. I made some changes, but I think your 'delay' problem not will change. I hope it's help you. ?
    1 point
  3. Uh.. you're trying to find "this version" and link to goddameit's version, but you don't want the version you say you want?! Anyway, I can only find one version of a chess script, which happens to be goddameit's. There are chess NPC sprites and chess board maps in our archives but no accompanying script. However, if you want to write your own you can check out some of Keyworld's replies to this post: https://rathena.org/board/topic/74925-comment-on-my-1st-script/
    1 point
  4. presently, there is no way you can make a private chat on npc.. alternative way to do this is talk to the npc instead of clicking the waitingroom.
    1 point
  5. here. trunk/conf/battle/battle.conf and find // Are arrows/ammo consumed when used on a bow/gun? // 0 = No // 1 = Yes // 2 = Yes even for skills that do not specify arrow consumption when said // skill is weapon-based and used with ranged weapons (auto-guesses which // skills should consume ammo when it's acquired via a card or plagiarize) arrow_decrement: 0
    1 point
×
×
  • Create New...