Jump to content

Start_

Members
  • Posts

    927
  • Joined

  • Last visited

  • Days Won

    14

Everything posted by Start_

  1. .@party_id = getcharid(1); addrid(2,0,.@party_id); instance_enter(.instance_name$,-1,-1,getcharid(0),<CURRENT INSTANCE ID>);
  2. getinventorylist; freeloop(1); for(.@i = @inventorylist_count - 1; .@i >= 0; .@i--){ if(!@inventorylist_equip[.@i] && (getiteminfo(@inventorylist_id[.@i],ITEMINFO_LOCATIONS) == Armor)) { } } freeloop(0);
  3. data/msgstringtable.txt (Search some wordings, you will found it) If it doesn't exist. Please learn how to use GRF Editor then extract it from .grf
  4. Make sure there are no new variable got re-registered again on OnInit / OnPCLoginEvent.
  5. Some bonuses check equip location. Go to \src\map\pc.cpp then find target bonus and change sd->state.lr_flag to your desire. (Hover at it you will see tooltip)
  6. itemskill will triggered only if item type was 'DelayConsume'
  7. I mean use item delay (Like cashshop item delay). See - Id: 11524 for example
  8. Wrong forum? That's Hercules emulator I think so.
  9. I'm busy, maybe other people can help you fix the script.
  10. Remove OnPCDieEvent, OnPCKillEvent -> That script will stop working. You need to re-write it properly.
  11. It's call from different NPC even you didn't realize that. Simple solution -> Remove some event that you added and this problem will solve.
  12. I think Tokei said you need to fix it like this. From Script A OnPCDieEvent: Script B OnPCDieEvent: Script C OnPCDieEvent: Script D OnPCDieEvent: Script E OnPCDieEvent: Script F OnPCDieEvent: to Script A OnPCDieEvent: *from your screenshot there was too many npc calling this event.
  13. Add 3s delay when using it to prevent multiple consumption.
  14. Follow this That should fix ITEM label on skill icon.
  15. Hi this is how fo fix. You need to increase MAX_SKILL in src. -------------------------- \db\import\skill_db.yml Header: Type: SKILL_DB Version: 3 Body: - Id: 5000 Name: SM_SWORD_CUSTOM Description: Sword Mastery Custom MaxLevel: 10 Type: Weapon \db\import\skill_tree.yml Header: Type: SKILL_TREE_DB Version: 1 Body: - Job: Novice Tree: - Name: SM_SWORD_CUSTOM MaxLevel: 9 \src\map\skill.hpp SM_SWORD_CUSTOM = 5000, \src\common\mmo.hpp #define MAX_SKILL 1455 ///Maximum skill can be hold by Player, Homunculus, & Mercenary (skill list) AND skill_db limit \data\luafiles514\lua files\skillinfoz\skilldescript.lub [SKID.SM_SWORD_CUSTOM] = { "Hello World" }, \data\luafiles514\lua files\skillinfoz\skillid.lub SM_SWORD_CUSTOM = 5000, \data\luafiles514\lua files\skillinfoz\skillinfolist.lub [SKID.SM_SWORD_CUSTOM] = { "SM_SWORD", SkillName = "Sword Mastery Custom", MaxLv = 10, SpAmount = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, bSeperateLv = false, AttackRange = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } }, \data\luafiles514\lua files\skillinfoz\skilltreeview.lub [JOBID.JT_NOVICE] = { [0] = SKID.NV_BASIC, [1] = SKID.SM_SWORD_CUSTOM, [7] = SKID.NV_FIRSTAID, [14] = SKID.NV_TRICKDEAD }, \data\luafiles514\lua files\skillinfoz\skilltreeview_web.lub NOVICE = { [0] = SKID.NV_BASIC, [1] = SKID.SM_SWORD_CUSTOM, [7] = SKID.NV_FIRSTAID, [14] = SKID.NV_TRICKDEAD },
  16. \rathena\doc\script_commands.txt Line 9033 (setchar)
  17. Yes possible. Write a custom string function to use anywhere in scripts.
  18. Not sure what problem is, but you can do - Update GPU Drivers (Latest version) - Windows Update (Keep update till it have nothing to update) - Change graphic devices on opensetup (Try all of them. Ex: Direct3D HAL and so on) - Check that green color was corrected on another software. Compare it like you did on RO. - Is there anywhere else in RO that had color issue? If not I think about .grf won't load in order, try put the skill description on data folder instead. Hope it help.
  19. I don't see any color difference between mine and yours. For login [Smooth] You need to check hex color on data/msgstringtable
  20. It's doesn't had logs because hide logging was enabled on 3 servers. Check it on .conf files.
  21. Mine was Sword Mastery 2. But for Kalabasa I didn't know.
  22. It's custom skill. Can't comment it because it doesn't had.
×
×
  • Create New...