hi.
i would like to ask first what does (_WOS) [without self] mean? or its significance, or what are its usage?
and then
i would like to ask how to properly add a new _wos to the source (clif.c/.h)? like i would like to have a custom wos for the faction, and use it for a src-based
faction vs faction system.
for example:
case FVF: // faction vs faction
case FVF_WOS: // somewhere around line 500, near the DUEL and DUEL_WOS case,
specially in the part regarding packets
if( sd->fvf_group == tsd->fvf_group && packet_db[tsd->packet_ver][RBUFW(buf,0)].len )
{ // packet must exist for the client version
WFIFOHEAD(tsd->fd, len);
memcpy(WFIFOP(tsd->fd,0), buf, len);
WFIFOSET(tsd->fd,len);
}
because everytime i add my own WOS, when i try to make them be members in the same faction, there would be a packet error popping up and my map server eventually crashes. any help?