kpcamber
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by kpcamber
-
-
On 7/31/2023 at 5:09 AM, Tokei said:
Ah, that's my bad, I apparently didn't remove the player check in the script function. Change it to:
BUILDIN_FUNC(hateffect){ #if PACKETVER_MAIN_NUM >= 20150507 || PACKETVER_RE_NUM >= 20150429 || defined(PACKETVER_ZERO) int16 effectID = script_getnum(st,2); bool enable = script_getnum(st,3) ? true : false; // This is unecessary and annoying half the time //if( effectID <= HAT_EF_MIN || effectID >= HAT_EF_MAX ){ // ShowError( "buildin_hateffect: unsupported hat effect id %d\n", effectID ); // return SCRIPT_CMD_FAILURE; //} struct block_list* bl; bool send = true; if (script_hasdata(st, 4)) { bl = map_id2bl(script_getnum(st, 4)); } else { bl = map_id2bl(st->rid); map_session_data* sd = BL_CAST(BL_PC, bl); if (sd && sd->state.connect_new) { send = false; } } unit_hateffect(bl, effectID, enable, send); #endif return SCRIPT_CMD_SUCCESS; }
Thanks bro, it's working now.
-
Thank you very much. I will try it.
-
Thank you very much,
I've tried it and it works!Hello everyone, I want to use this hateffect on NPC OnInit, and I have tried to put it in OnInit event. But it doesn't work. Are there any ways to make it work? How can I do?
-
how to use "hateffect" in the monster ?
Please help me !
-
I updated the texture/effect or texture/ anything to the grf file that Ro will not open.
But I have tested the original folder that is no problem, so I put it into the grt,
I also put the sprite in the grf that is no problem, just only if I put the texture file in the grf that it will be not open the Ro.
If have someone can help me ?
Please .....
-
Could you teach me that how to use hateffect at the monster ?
How to get the player mac ?
in Source Requests
Posted
How to get the player mac ?
Please help me.