How to edit the server to place misceffects at map coords
Posted: 02 Jun 2011, 13:35
Right now the only way to place a particle effect through scripting is to attach it directly to an npc, or a player.
I was told that the new 0.5.2 client handles a manaserve packet to place effects directly at a map location:
GPMSG_CREATE_EFFECT_POS:
0x0320 + 2 Byte effect id + 2 Byte position X + 2 Byte position Y
My question is how can tmwAthena be modified to send the proper packet. I will denote the script command that exposes this feature as mapeffect(). Here are a few of the issues I am stumped with.
1. How does the client know which map to place it on.
2. How to give clif_send() a block_list when there might not be any RID attached to the npc which calls mapeffect().
I was told that the new 0.5.2 client handles a manaserve packet to place effects directly at a map location:
GPMSG_CREATE_EFFECT_POS:
0x0320 + 2 Byte effect id + 2 Byte position X + 2 Byte position Y
My question is how can tmwAthena be modified to send the proper packet. I will denote the script command that exposes this feature as mapeffect(). Here are a few of the issues I am stumped with.
1. How does the client know which map to place it on.
2. How to give clif_send() a block_list when there might not be any RID attached to the npc which calls mapeffect().