BIOS999
Newbie | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору Будет exe файл на основе класса c99phpicq, общение через консольное окно, или через файл, пока не разбирался до конца Полный функционал таков: func - public - object ICQclient (int uin, string password, string server=login.icq.com, int port=5190) - initialize func - public - mixed - _getconst(key1, key2, key3...) - get constants func - private - caps_build($array) - build capabilities block func - private - guid2array($str) - convert com-id to array func - private - bool socket_wait(int sec, int usec) - new incoming data exists? func - private - bool socket_connect(string server, int port) - establish connection func - public - bool connect(string server=defined by func ICQclinet(), int port=defined by func ICQ) - connection to login-server func - private - bool _connect_migration(string server, int port) - migration to BOS func - private - bool set_timeout(string timeout) - set incoming timeout to socket (default is recommended) func - private - bool read(int length, int sec, int usec) - read Socket func - public - bool connect_pass - check connection func - public - bool login_pass - check autorization func - public - bool login(int uin=defined by func ICQclient, int password=defined by func ICQclient) - autorization func - public - bool setstatus(int status) - set status (online, away...), see $const func - public - bool setstatusflags(array flags) - set status flags (birthday...), see $const func - public - bool updatestatus(bool sub) - send new status and status flags to server (automatic before login) func - public - bool updatesubstatus() - send new substatus to server func - public - bool message_send(int uin, string text, mixed type, mixed flag, bool confirm, bool store) - send message func - public - bool chkinvisible(int uin) - get real status. returns int 1 when UIN online, 0 when offline and FALSE on error func - public - array recv_offline_msgs(bool REMOVE=TRUE) - fetch offline-messages func - public - array search_whitepages(array info) - search UIN by details. returns structured array, use var_dump() for learn. func - public - array getinfo(int uin, bool cache?, bool own?) - get UIN-info func - public - array uinreg(string password) - register new UIN func - public - bool listen(bool buf) - listening connection and processing data func - private - void unsetinturn(int position) - remove incoming turn Position func - private - array _FLAP_parse(string FLAP) - parse FLAP-header func - public - bool ismessage() - is message last incoming command. func - public - array error_reporting(int errlevel) - set errlevel func - private - array recv - recieve packet func - public - bool send(string type, string SNAC) - send packet func - private - string _FLAP_gen(int channel, int length) - build FLAP-header func - private - string _SNAC_gen_header(int family, int subfamily) - generate SNAC-header func - private - string _SNAC_gen(string SNAC-type, array args) - generate SNAC func - private - bool _SNAC_parse_onlineuserinfo(array TLV) - parse online-info block func - private - bool _SNAC_parse_lea(string &p, int num) - parse some string func - private - bool _SNAC_parse(string packet) - parse SNAC func - private - bool _dbg(string procedure, string file, int line) - display debug-messages func - private - bool _specialdbg(string procedure, string file, int line) - special debug channel func - private - bool _error(string procedure, string file, int line) - display error-message func - public - string lasterror - last error-message func - public - bool is_uin(int uin) - int is UIN? func - public - bool is_password(string password) - string is password? func - public - bool disconnect() - close connection func - private - string array2TLV(array array, bool reversed=FALSE) - convert array to TLV func - private - array TLV2array(string TLV, bool reverse=FALSE, bool limit=FALSE) - TLV to array func - private - array TLV2array_numbered(string TLV) - TLV to numbered array func - public - int - http_ratingbyuin(int uin) - get aim-fight rating func - private - string XORencrypt(string plain) - XOR-encrypt data (password) func - private - string XORdecrypt(string XORed) - XOR-decrypt data (password) func - private - string XORseq(string plain, string XORed) - get XOR-sequence func - public - bool set_event(string event, string php-code) - set event func - public - array get_event(string event) - get event func - private - array exec_event(string event, array params) - execute event func - private - string _gen_uinlist(array array) - generate UIN-list (for ICQ-server) func - private - bool _update_sequence(var &seq) - update sequence func - private - int _newreqid(string cmd, array info) - register request func - private - mixed _setreqidstatus(int reqid, mixed status) - set request status func - private - mixed _getreqidstatus(int reqid) - get request status func - private - array _getreqid(int reqid) - get request info func - public - int defake(int virtual_uin) - convert virtual uin to real написал все возможные, сделаю только нужные |