StdAfx.cpp
资源名称:ROA3.40.rar [点击查看]
上传用户:tianheyiqi
上传日期:2010-04-16
资源大小:282k
文件大小:4k
源码类别:
外挂编程
开发平台:
Visual C++
- // stdafx.cpp : source file that includes just the standard includes
- // ROA.pch will be the pre-compiled header
- // stdafx.obj will contain the pre-compiled type information
- #ifdef VIPMODE
- #pragma message("###### VIPMODE ON")
- #else
- #pragma message("###### VIPMODE OFF")
- #endif
- #include "stdafx.h"
- CSocket sockServer;
- CSocket sockInject;
- int nConnState;
- DWORD dwAccountId;
- DWORD dwCharId;
- DWORD dwSessionId;
- BOOL bWelcomeSent;
- CFile fLog;
- int nCharSelected;
- CWinThread *pWorkingThread;
- int nThreadTerm;
- BOOL bConnected;
- INVENTORYARRAY inventory;
- MONSTERARRAY monsters;
- YOU you;
- PLAYERARRAY players;
- PORTALARRAY portals;
- ITEMARRAY items;
- INVENTORYARRAY cart;
- SKILLARRAY skills;
- YOU youTemp[3];
- DAMAGEARRAY damages;
- BOSSINFOARRAY bossinfo;
- SPELLARRAY spells;
- PLAYERARRAY partners;
- LOG_LEVEL llFile;
- LOG_LEVEL llDlg;
- LOG_LEVEL llRo;
- CROAMap mapItem;
- CROAMap mapItemType;
- CROAMap mapEquipType;
- CROAMap mapMapName;
- CROAMap mapJob;
- CROAMap mapSex;
- CROAMap mapSkill;
- CROAMap mapStatus011f;
- CROAMap mapStatus0119;
- CROAField field;
- CROAMap mapMvpMonster;
- CROAMap mapMonster;
- CROAMap mapAvoidAid;
- CROAMap mapElements;
- CROAMap mapSkillsst;
- //CRITICAL_SECTION criticalSection;
- //MISCSETTING misc;
- OPTION option;
- SETTING_CMN settingcmn;
- SETTING_MVP settingmvp;
- BYTE mode;
- DWORD dwMvpId;
- BOOL bAutoSearch;
- DWORD dwAutoSearchTick;
- CString strAutoSearchMap;
- BOOL bAutoSa;
- DWORD dwAutoSaTick;
- BOOL bProfileLoaded;
- HHOOK hHook;
- HINSTANCE hInstDll;
- int nBossInfoNum;
- DWORD dwUseItemTick;
- DWORD dwAttackTick;
- BOOL bFlyUsed;
- BOOL bAiEnabled;
- CString UFDESC[]=
- {
- _T("不使用"),
- _T("打开/关闭自动攻击"),
- _T("开始/停止搜寻MVP模式"),
- _T("打开/关闭围攻时使用技能"),
- _T("对MVP使用辅助技能"),
- _T("回到保存地点"),
- _T("查看BOSS重生时间"),
- _T("打开/关闭使用队聊共享信息"),
- _T("打开/关闭自动捡物"),
- _T("瞬移"),
- _T("光猎"),
- _T("天使之障壁"),
- _T("圣母之颂歌"),
- _T("幸运之颂歌"),
- _T("霸体"),
- _T("大声呐喊"),
- _T("武器值最大化"),
- _T("凶砍"),
- _T("速度激发"),
- _T("无视体型攻击"),
- _T("火狩"),
- _T("心神凝聚"),
- _T("能量外套"),
- _T("伊登的苹果"),
- _T("刺客的黄昏"),
- _T("冷笑话"),
- _T("不谐和音"),
- _T("丑陋之舞"),
- _T("惊声尖叫"),
- _T("自动贤者"),
- };
- FUNCCALL UFENTRY[]=
- {
- ufDummy,
- ufAutoAttackMvp,
- ufAutoSearchMvp,
- ufUseSkillWhen,
- ufUseSkillOnMvp,
- ufHome,
- ufBossList,
- ufPartyChat,
- ufTakeItem,
- ufTeleport,
- ufRuwach,
- ufAngelus,
- ufMagnificat,
- ufGloria,
- ufEndure,
- ufLoud,
- ufMaximize,
- ufOverthrust,
- ufAdrenaline,
- ufWeaponperfect,
- ufSight,
- ufConcentration,
- ufEnergyCoat,
- ufAppleIdun,
- ufAssassinCross,
- ufFrostJoke,
- ufDissonance,
- ufUglyDance,
- ufScream,
- ufAutoSaClassChange
- };
- USERFUNCTION userfuncs[12]=
- {
- eAutoAttackMvp,
- eAutoSearchMvp,
- eUseSkillWhen,
- eDummy,
- eDummy,
- eDummy,
- eDummy,
- eDummy,
- eDummy,
- eHome,
- eDummy,
- eTeleport
- };
- FUNCCALL curFunc;
- DWORD curFuncPara;
- char cSendKey[MAX_PATH];
- CString emotions[10];
- CString EMOTIONDEF[] =
- {
- _T("*惊叹号*"),
- _T("*问号*"),
- _T("*吹口哨*"),
- _T("*爱心*"),
- _T("*流汗*"),
- _T("*灯泡*"),
- _T("*生气*"),
- _T("*乌云*"),
- _T("*金钱*"),
- _T("*沉默*"),
- _T("*剪刀*"),
- _T("*石头*"),
- _T("*布*"),
- _T("*国旗*"),
- _T("*大心*"),
- _T("*感谢*"),
- _T("*糟糕*"),
- _T("*抱歉*"),
- _T("*愉快*"),
- _T("*冒汗*"),
- _T("*无奈*"),
- _T("*赞扬*"),
- _T("*脸红*"),
- _T("*不妙*"),
- _T("*答对了*"),
- _T("*答错了*"),
- _T("*求救*"),
- _T("*出发*"),
- _T("*流泪*"),
- _T("*奸笑*"),
- _T("*亲吻*"),
- _T("*索吻*"),
- _T("*神气*"),
- _T("*点头*"),
- _T("*禁言*"),
- _T("*摇旗呐喊*"),
- _T("*生气2*"),
- _T("*流口水*"),
- _T("*爱心2*"),
- _T("*吐舌头*"),
- _T("*害羞*"),
- _T("*摸头*"),
- _T("*回SP*"),
- _T("*流口水2*"),
- _T("*勾引*"),
- _T("*打哈欠*"),
- _T("*祝贺*"),
- _T("*回HP*")
- };
- CStringArray HPITEMS;
- CStringArray SPITEMS;
- BOOL bIsModal;
- CRITICAL_SECTION csShortcutFuncs;
- BYTE serverip[3][6];