Kayıtlı Üye
- Katılım
- 10 Aralık 2012
- Mesajlar
- 225
- Konu Yazar
- #1
Bdw / Chaos Joint Paketi Derli Hali Source kodu
Bazı Arkadasların Aradığını Düşünerekden Paylasıyorum umarım işinize yarar arkadaşlar
Bir Teşekkürü Çok Görmeyin Arkadaşlar
Not Alıntıdır
Bazı Arkadasların Aradığını Düşünerekden Paylasıyorum umarım işinize yarar arkadaşlar

Bir Teşekkürü Çok Görmeyin Arkadaşlar
PHP:
void CUser::EventJoin(char *pBuf)
{
int index = 0, send_index = 0, type = 0, event = 0;
char send_buff[1024]; memset( send_buff, NULL, send_index );
/* 5F
-- chaos geldi
RECV-->WIZ_UNKNOW (5F)-->5F+07+1800+5802
-- tıkladım
SEND-->WIZ_UNKNOW (5F)-->5F+08+1800
-- map eksik oldugundan hata
RECV-->WIZ_UNKNOW (5F)-->5F+08+03+1800 (You can not enter)
-- bdw geldi
RECV-->WIZ_UNKNOW (5F)-->5F+07+0400+5802
-- iptal
07 : açıldı
08 : katıl
09 : iptal
03 : type
0300 : event
SEND-->WIZ_UNKNOW (5F)-->5F+09+0300
RECV-->WIZ_UNKNOW (5F)-->5F+09+03+0300
1 ile 7 arası
*/
type = GetByte( pBuf, index ); // -- 7 : Send Event -- 8 : Join Event -- 9 : Leave Event
event = GetShort( pBuf, index ); // -- 4 : BDW -- 24 : Chaos
switch( type ) {
case 0x08: // Join
case 0x09: // Leave
// SetByte( send_buff, WIZ_TEMPLE, send_index );
SetByte( send_buff, type, send_index );
// SetByte( send_buff, 0x01, send_index ); // -- 1 : Join -- 3 : You can not enter, need map
SetShort( send_buff, event, send_index );
Send( send_buff, send_index );
break;
}
}
Not Alıntıdır