EOSERV Wiki > Page: PACKET SPELL > History > View Revision

View Revision: PACKET SPELL

This is a packet family that is used to send/receive packets about Spells.

Server-to-Client

PACKET_REQUEST (1)

Shows the spell name over the players head
Caster ID: 2
Spell ID: 2

PACKET_CAST_SELF (30)

Shows the player healing himself
Caster ID: 2
Spell ID: 2
Heal Amount: 4
Caster Health Percent: 1

This below is only added if it is being sent to the caster

Caster HP: 2
Caster TP: 2

PACKET_REPLY (3)

Shows the player casting a spell and updates the players HP & TP
Spell ID: 2
Caster HP: 2
Caster TP: 2

PACKET_CAST_OTHER (31)

Shows another player casting a spell on another player
Victim ID: 2
Caster ID: 2
Caster Direction: 1
Spell ID: 2
Health Amount: 4
Victim Health Percent: 1
Victim HP: 2 

PACKET_EXP (33)

Shows a player casting a spell and a list of players being healed
Spell ID: 2
Caster ID: 2
Caster TP: 2
Heal Amount: 2
Caster ID: 2
Caster Health Percent: 1
Caster HP: 2
FOREACH PARTY MEMBER
{
    255: 1
    255: 1
    255: 1
    255: 1
    255: 1
    Member ID: 2
    Member Health Percent: 1
    Member HP: 2
}

Client-to-Server

PACKET_REQUEST (1)

Player requesting to cast a spell
Spell ID: 2
Current timestamp: 3

PACKET_CAST_SELF (30)

Player casting a self spell
Direction: 1
Spell ID: 2

PACKET_CAST_OTHER (31)

Player casting a spell on another person/npc
Target Type: 1
Previous timestamp(from request): 3
Victim ID: 2
Current timestamp: 3
Current timestamp: 3 Cast Type options:
  • 1 = Casting on a player
Target Type options:

PACKET_EXP (33)

Player casting a group spell
Spell ID(Short) = Spell ID that the player is trying to cast
* go to this page for general informations about timestamp.
EOSERV Wiki > Page: PACKET SPELL > History > View Revision