ROAUtils.h
资源名称:ROA3.40.rar [点击查看]
上传用户:tianheyiqi
上传日期:2010-04-16
资源大小:282k
文件大小:3k
源码类别:
外挂编程
开发平台:
Visual C++
- DWORD getROProcessId();
- int connect();
- int sendToServerByInject(char *lpBuffer, WORD sSize);
- int sendToClientByInject(char *lpBuffer, WORD sSize);
- int injectAdminMessage(LPCTSTR);
- int injectMessage(LPCTSTR);
- int parseSendData(char *pBuffer, WORD wLen, BOOL bAi);
- int parseRecvData(char *pBuffer, WORD wLen);
- char* utlPrintHex(char *lpBuffer, WORD wLen);
- void utlLogout(LPCTSTR lpszMsg, LOG_LEVEL level, BOOL bAi);
- void utlLogout2(LPCTSTR lpszMsg, LOG_LEVEL level, BOOL bAi);
- void utlLogout3(LPCTSTR lpszMsg, LOG_LEVEL level, BOOL bAi);
- void utlLogout4(LPCTSTR lpszMsg);
- void utlChangeState(int nState1, int nState2);
- void utlInitMapChangeVars();
- POINT utlMakeCoords(BYTE *pCoords);
- POINT utlMakeCoords2(BYTE *pCoords);
- BYTE* utlGetCoord(POINT pnt);
- double utlDistanceFrom(POINT pnt1, POINT pnt2);
- CString utlFindTarget(DWORD dwId);
- CString utlFindTargetItem(DWORD dwId);
- CString utlFindTargetInventory(int nIndex);
- int utlFindItemInInventory(LPCTSTR lpszItemName);
- int utlFindSkillByAlias(LPCTSTR lpszSkillName);
- CString utlCalculateHits(WORD wDamage);
- void utlUpdateDamage(DWORD dwSource, DWORD dwTarget, WORD wDamage, int nType);
- int sendTeleport(LPCTSTR);
- int sendSyncInject();
- int sendWelcomeMessage();
- int sendMove(POINT pntTo);
- int sendAttack(DWORD dwMonster, BYTE byMode);
- int sendUseSkill(WORD wLevel, WORD wSkillId, DWORD dwTarget);
- int sendUseSkillOnLoc(WORD wLevel, WORD wSkillId, POINT pnt);
- int sendStand();
- int sendSit();
- int sendTake(DWORD dwItemId);
- int sendRespawn();
- int sendUseItem(WORD wIndex, DWORD dwTarget);
- int sendDealCancel();
- int sendAttackStop();
- int sendChatParty(LPCTSTR lpszMsg);
- int sendChatPublic(LPCTSTR lpszMsg);
- int sendGetPlayerInfo(DWORD dwId);
- int sendEquip(int nIndex, WORD wType);
- int sendUnequip(int nIndex);
- int sendEmotion(BYTE bEmotion);
- int sendTalkContinue(DWORD dwNpcId);
- int sendTalkCancel(DWORD dwNpcId);
- int utlUseTeleport(int nLevel);
- void utlSetAutoSearchMvp(BOOL bOn);
- BOOL utlCheckForGm(PLAYER player);
- void utlCheckForAutoHeal();
- void utlReportMonsterToParty(DWORD dwId);
- void utlSetAutoSearchMpv(BOOL bOn);
- void utlWriteUserProfile();
- void utlReadUserProfile();
- int utlLoadBossInfo();
- int utlWriteBossInfo();
- int utlSetMonsterDiedTime(LPCTSTR lpszMonsterName);
- int utlPopupBossWarning();
- //void utlChangeAiEnable(BOOL bEnable);
- BOOL utlCheckSpellLoc(POINT pnt, WORD wSkill);
- int utlSortBossInfo();
- int utlGMAppeared(PLAYER player);
- int utlGMDisappeared(PLAYER player);
- int utlShowAttackResult(DWORD dwId);
- int utlParseInventory(char *pBuffer, INVENTORY* pInv, DWORD dwParseId);
- CString utlGetInventoryName(INVENTORY *pInv);
- BOOL utlPlayerInParty(DWORD dwId);
- BOOL utlIsMvpMonster(MONSTER monster);
- BOOL utlCheckForGmByName(PLAYER player);
- int utlSaveOption(OPTION option);
- int utlLoadOption(OPTION& option);
- int utlAddComboHPItem(CComboBox *pCombo);
- int utlAddComboSPItem(CComboBox *pCombo);
- int utlAddComboAttackSkill(CComboBox *pCombo);
- int utlAddComboProtectSkill(CComboBox *pCombo);
- int utlAddComboProtectState(CComboBox *pCombo);
- BOOL CheckForRegionAttack(CString& strSkillName, int& nMonIndex);
- int utlFindSkillIdByAlias(LPCTSTR lpszSkillName);
- int utlChangeMode(BYTE eMode, DWORD dwId);
- CString utlProcessUserName(LPCTSTR lpszName);
- BOOL utlCheckForWanzi(LPCTSTR lpszGuild);
- void utlParseHpSpItems();
- DWORD utlGetFileSize(LPCTSTR lpszFilename);
- int utlGetAttackPerSecond();