石器外挂部分源代码2

来源:互联网 发布:淘宝代运营是什么 编辑:程序博客网 时间:2024/05/22 15:07

good  good  study,day day up.无聊转帖~~
            hoho 我来做回傻子。  公开部分 xx游戏 xx 的部分源代码。  
            #include "auto_figh_coltrol.h"
            //基本资料  
            volatile uint x;//人物坐标东
            volatile uint y;//人物坐标南
            volatile uint mouse_x;//鼠标坐标x
            volatile uint mouse_y;//鼠标坐标y
            volatile uint packet_count;//封包拦截次数
            volatile uint ex_count;
            volatile uint map;//地图编号
            volatile uint people_where;//人物方向
            volatile uint here_new;//目前状况
            volatile uint common_speed;//平常速度
            volatile uint figh_speed;//战斗速度
            volatile uint move_new_x;//顺移坐标x
            volatile uint move_new_y;//顺移坐标y
            volatile uint move_new_count;//顺移循环
            volatile uint magic_item_no;//魔法物品编号
            volatile uint pet_no;//宠物编号
            volatile uint people_select;//人物登入选择
            volatile uint tk_color;//说话颜色0
            volatile uint magic_who;//施法谁
            volatile uint auto_figh_count;
            volatile uint add_dragon_name;
            volatile int user_level;//人物等级
            volatile int user_life_max;//人物最大生命值
            volatile uint user_magic;
            volatile uint move_x;
            volatile uint move_y;
            volatile uint move_count;
            volatile int delay_count;
            volatile int user_please;
            volatile int move_speed;
            volatile int auot_out;//自动断线
            volatile uint dragon_amount;//怪物数量
            volatile ulonglong newtime;
            volatile ulonglong oldtime;
            volatile ulonglong maxtime;
            volatile ulonglong subtime; 

 

volatile uint even_error;//错误代码
      //指针
      volatile bool no_figh;//不遇敌
      volatile bool move_figh;//寸步遇敌
      volatile bool even_figh;//原地遇敌
      volatile bool even_figh2;//原地遇敌之2
      volatile bool send_packet;//传送封包
      volatile bool enable_speed;//开启加速
      volatile bool enable_figh_speed;//开启战斗加速
      volatile bool maxtimeset;//确认是否设定最大速度
      volatile bool enable_move_new;//激活顺移
      volatile bool enable_deatiled;//开启详细资料
      volatile bool enable_data_change;//资料改变
      volatile bool enable_pet_change;//宠物改变
      volatile bool enable_pet_change_new;//战斗中变换宠物
      volatile bool enable_auto_load;//自动登入
      volatile bool enable_move_new_set;//顺移设定
      volatile bool enable_auto_figh;//自动战斗
      volatile bool enable_auto_figh_mouse;//暂斗中鼠标按键
      volatile bool enable_auto_figh_people;//传送人物攻击
      volatile bool enable_auto_figh_pet;//传送宠物攻击
      volatile bool enable_lock_attack;//指定攻击
      volatile bool enable_display_message;//直接显示信件
      volatile bool delay;//移动延迟
      volatile bool display_please;//显示位置
      volatile bool enable_auto_message;//自动回信
      volatile bool enable_auto_message_check;//自动检查来信
      volatile bool enable_back_message;//已有信来
      volatile bool enable_stop_figh;//无气瓶时停止战斗
      volatile bool enable_fight_time;//战斗断线
      volatile bool enable_sneak;//取消遭敌偷袭
      volatile bool unrestricted;//无限制
      volatile bool unrestricted_2;//无限制之2  

      //内存位置
      volatile dword sa_mouse_x=0x17f9460;//鼠标x
      volatile dword sa_mouse_y=0x17f9464;//鼠标y
      volatile dword sa_people_where=0x181531c;//人物方向
      volatile dword sa_x=0x460d0c;//人物坐标x
      volatile dword sa_y=0x460d10;//人物坐标y
      volatile dword sa_no_figh=0x42340a;//不遇敌
      volatile dword sa_move_figh=0x42331b;//寸步遇敌
      volatile dword sa_map_no=0x17ae0c8;//读取地图编号
      volatile dword sa_map_name=0x17ad930;//读取地图名称
      volatile dword sa_pet_7=0x1814038;//宠物7技
      volatile dword sa_echo_time;//传送封包时间*
      volatile dword sa_temp_1=0x4af25d;//temp
      volatile dword sa_condition=0x1816250;//目前状况
      volatile dword sa_ex_send=0x41e8cb;//传送例外发生位置*
      volatile dword sa_ex_recv=0x41e7ee;//接收中断发生位置*
      volatile dword sa_send=0x460748;//传送封包位置*
      volatile dword sa_recv=0x46075c;//接收封包位置*
      volatile dword sa_speed=0x40e685;//时间内存位置
      volatile dword sa_speed_run;//时间位置
      volatile dword sa_pet_name=0x181403e;//宠物名字
      volatile dword sa_main=0x17a5670;//主机位置0x40*
      volatile dword sa_server=0x17a7328;//服务器位置+0x280为下一台服务器0x40*
      volatile dword sa_item=0x181024a;//物品名称*
      volatile dword sa_tk_color=0x4adc28;//说话颜色*
      volatile dword sa_user=0x180feec;//人物名称*
      volatile dword sa_life_max=0x180fe94;//人物最大生命值*
      volatile dword sa_level=0x180feb8;//人物等级*
      volatile dword sa_title=0x180fefd;//人物昵称*
      volatile dword sa_item_explain=0x1810278;//物品说明* 

石器外挂部分源代码3

char map_name[128];//地图名称
char sa_temp1[128];
char send_buff[1024];//传送封包暂存区
char recv_buff[5120];//接收封包暂存区
char temp_buff[128];
char numeralans[128];
char pet_name[5][128];
char main_name_set[64];
char server_name[64];
char move_set_name[128];//移动设定名称
char item_name[15][64];//物品名称
char item_explain[15][64];//物品说明
char dragon_name[20][64];//敌人名称
char dragon[64];//怪物名称
char user_name[64];//人物名称
char user_title[64];//人物昵称
char user_id[8];//人物编号
char user_buff[128];//人物资料
char auto_message[128];//信件内容
char card_no;//来信人编号
char user_please_2[4];
char unrestricted_buff[1024];  
file *sade_data;//纪录数据文件
hwnd hwndsa;//石器窗口
hwnd hwndsa_run[5];//已经实行的石器窗口
hwnd m_sade;//sade窗口
process_information pi;//激活后回传回传信息
debug_event de;//除错信息
cwinthread *m_thread;
auto_figh_coltrol m_auto_figh;  
char sa23_path[128];

class figh_dat
{
public:
  void reset();
  bool write_dat;//资料是否有
  char name[256];//名字
  char title[256];//称号
  volatile int no;//外观
  volatile int level;//等级
  volatile int life_new;//生命现在值
  volatile int life_max;//生命最大值
  volatile int kind;//种类
  volatile int please;//位置
}m_figh_dat[20];
class sa_map_dat
{
public:
  void reset();
   
class map_dat//顺移资料
{  
  public:
  char set_name[128];
  volatile uint map_no;
  volatile uint x;
  volatile uint y;
  map_dat *begin;
  map_dat *next;
}*runnew,*buff,*begin,*end;
bool create(uint map_no,uint x,uint y,char *name);
bool delete(uint map_no,uint x,uint y,char *name);
bool freeall();
   
}m_sa_map_dat;

class sa_tk_dat
{
public:
  bool freeall();
  void reset();
  class tk_dat
  {
  public:
   char mask_tk[128];
   char fix_tk[128];
   tk_dat *begin;
   tk_dat *next;
  }*runnew,*buff,*begin,*end;
  bool create(char *mask_tk,char *fix_tk);
  bool delete(char *mask_tk,char *fix_tk);
}m_sa_tk_dat;

石器外挂部分源代码4

class main_name
      {
      public:
      class server_name
      {
        public:
        char name[64];
      }m_server_name[7];  
      char name[64];
      }m_main_name[9];
      class card
      {
      public:
        void reset();
        bool data;
        char no;
        char name[64];
         
      }m_card[40];
         
      uint saloop(lpvoid pparam);
      uint saloop_speed(lpvoid pparam);
      uint auto_figh(lpvoid pparam);
      bool check_sa_start(uint );
      void sendpacket();
      void recvpacket();
      void sa_reset();
      char *change10to62(uint);
      uint change62to10(char *);//62转10进位
      char *change10to16(uint);//10转16进位
      uint change16to10(char *);//16进位转换成10进位
      uint auot_load(lpvoid pparam);//自动登入
      uint change_please(uint ); 

 

char map_name[128];//地图名称
char sa_temp1[128];
char send_buff[1024];//传送封包暂存区
char recv_buff[5120];//接收封包暂存区
char temp_buff[128];
char numeralans[128];
char pet_name[5][128];
char main_name_set[64];
char server_name[64];
char move_set_name[128];//移动设定名称
char item_name[15][64];//物品名称
char item_explain[15][64];//物品说明
char dragon_name[20][64];//敌人名称
char dragon[64];//怪物名称
char user_name[64];//人物名称
char user_title[64];//人物昵称
char user_id[8];//人物编号
char user_buff[128];//人物资料
char auto_message[128];//信件内容
char card_no;//来信人编号
char user_please_2[4];
char unrestricted_buff[1024];  
file *sade_data;//纪录数据文件
hwnd hwndsa;//石器窗口
hwnd hwndsa_run[5];//已经实行的石器窗口
hwnd m_sade;//sade窗口
process_information pi;//激活后回传回传信息
debug_event de;//除错信息
cwinthread *m_thread;
auto_figh_coltrol m_auto_figh;  
char sa23_path[128];

class figh_dat
{
public:
  void reset();
  bool write_dat;//资料是否有
  char name[256];//名字
  char title[256];//称号
  volatile int no;//外观
  volatile int level;//等级
  volatile int life_new;//生命现在值
  volatile int life_max;//生命最大值
  volatile int kind;//种类
  volatile int please;//位置
}m_figh_dat[20];
class sa_map_dat
{
public:
  void reset();
   
class map_dat//顺移资料
{  
  public:
  char set_name[128];
  volatile uint map_no;
  volatile uint x;
  volatile uint y;
  map_dat *begin;
  map_dat *next;
}*runnew,*buff,*begin,*end;
bool create(uint map_no,uint x,uint y,char *name);
bool delete(uint map_no,uint x,uint y,char *name);
bool freeall();
   
}m_sa_map_dat;

class sa_tk_dat
{
public:
  bool freeall();
  void reset();
  class tk_dat
  {
  public:
   char mask_tk[128];
   char fix_tk[128];
   tk_dat *begin;
   tk_dat *next;
  }*runnew,*buff,*begin,*end;
  bool create(char *mask_tk,char *fix_tk);
  bool delete(char *mask_tk,char *fix_tk);
}m_sa_tk_dat;

-------------------------------------------------------------------------------

class main_name
      {
      public:
      class server_name
      {
        public:
        char name[64];
      }m_server_name[7];  
      char name[64];
      }m_main_name[9];
      class card
      {
      public:
        void reset();
        bool data;
        char no;
        char name[64];
         
      }m_card[40];
         
      uint saloop(lpvoid pparam);
      uint saloop_speed(lpvoid pparam);
      uint auto_figh(lpvoid pparam);
      bool check_sa_start(uint );
      void sendpacket();
      void recvpacket();
      void sa_reset();
      char *change10to62(uint);
      uint change62to10(char *);//62转10进位
      char *change10to16(uint);//10转16进位
      uint change16to10(char *);//16进位转换成10进位
      uint auot_load(lpvoid pparam);//自动登入
      uint change_please(uint ); 
 

原创粉丝点击