Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/19/24 in Posts

  1. That's normal. It doesn't really make sense to send a new walking packet for your own character after using @refresh. But you can forcefully send it again in the clif_refresh function (in clif.cpp). Just add the following at the end of the function. struct unit_data* ud = unit_bl2ud(&sd->bl); if (ud && ud->walktimer != INVALID_TIMER) { unit_walktoxy(&sd->bl, ud->to_x, ud->to_y, 4); } Though, it will look a tad weird because the character has to walk from a center cell, so it will "walk back" when using @refresh. You could also send a "unit_stop_walking(&sd->bl, USW_NONE);" if you want the character to stop moving instead. Whichever you prefer.
    2 points
  2. View File Max Trap Control This mod allows you to control the number of traps that the player can use. conf/battle/skill.conf // Max Trap [Hyroshima] // Functionality to control the number of active traps. // Note: // skill_max_trap > Controls the number of individual active trap skills that were not been to defined parameter ActiveInstance in skill_db.yml // global_max_trap > Controls the maximum active trap skills for all skill traps (listed in skill.cpp -> trap_skill_id), this option overrides skill_max_trap if the definer is smaller than it //- // skill_max_trap: 0 (disabled) // global_max_trap: 0 (disabled) //- skill_max_trap: 0 global_max_trap: 0 the option skill_max_trap only affects skills that do not have the parameter ActiveInstance in skill_db.yml the option global_max_trap affects all trap skills mentioned above in the code box, the skills are listed in the function as I also inform in the description of the code box above. Note: i am making 2 diff files available: _A = Closest to current revision. _B = A little older compared to the current review As there have been some changes to how some functions receive/send parameters, I will try to maintain this standard when sending diff files. Submitter Hyroshima Submitted 06/10/24 Category Source Modifications Video https://www.youtube.com/watch?v=l5Sr42myq40 Content Author Hyroshima  
    1 point
  3. Hello thank you so much !
    1 point
×
×
  • Create New...