MU免外挂、辅助、内挂自动捡物脚本


Published:   Comment: No Comments

游戏设置

MU免外挂、辅助、内挂自动捡物脚本,提取自越南端扩展
shiqi.h

#pragma once

#include "User.h"

#if (shiqi== 1)

#define MAX_shiqi 20

struct shiqi_INFO
{
    int Index;
    char Name[32];
    int Cat;
    int Item;
};

class shiqi
{
public:
    Cshiqi();
    virtual ~Cshiqi();
    void Load(char* path);
    void GetMove(LPOBJ lpObj,int index);
    bool GetInfo(int index,shiqi_INFO* lpInfo);
    bool GetInfoByName(char* message,shiqi_INFO* lpInfo);
    void ItemGet(LPOBJ lpObj);
    void shiqiProc(LPOBJ lpObj);
    bool Commandshiqi(LPOBJ lpObj,char* arg);
    void OnshiqiClose(LPOBJ lpObj);
private:
    std::map<int,shiqi_INFO> m_shiqiInfo;
};

extern Cshiqi gshiqi;

#endif

shiqi.cpp

#include "stdafx.h"
#include "CommandManager.h"
#include "shiqi.h"
#include "Log.h"
#include "Map.h"
#include "MapManager.h"
#include "MemScript.h"
#include "Message.h"
#include "Notice.h"
#include "ServerInfo.h"
#include "Util.h"
#include "Viewport.h"

#if (shiqi == 1)
Cshiqi gshiqi;
.........

pick.7z

none
Last Modified:2024-10-20 02:11:43

我有话说