优先攻击

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS作弊器交流讨论优先攻击
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
29个回复

优先攻击

楼层直达
莎仕芘亞

ZxID:1171401

等级: 元老
猴岛国防部部长

举报 只看楼主 使用道具 楼主   发表于: 2007-07-03 0


一  client.cpp中加:
void func_id() {
 int id = cmd.argI(1);
 vPlayers[id].isenemy = true;
        Con_Echo("Add %s to the enemylist",vPlayers[id].entinfo.name);
}
void func_rd()
{
 int id = cmd.argI(1);
 vPlayers[id].isenemy = false;
        Con_Echo("Delete %s form the enemylist",vPlayers[id].entinfo.name);
}
void func_delall()
{
 int x = 0;
 while (x < 33) {
  vPlayers[x].isenemy = false;
  x++;
        Con_Echo("Clear the enemylist");
 }
}
void func_enemylist()
{
 int x = 0;
 while (x < 33) {
  if (vPlayers[x].isenemy == true) {
   Con_Echo("enemy: id=%x name=%s",x,vPlayers[x].entinfo.name);
  }
                x++;
 }
}
void func_playerlist()
{
 int x = 1;
 while (x < 32) {
  if (vPlayers[x].team > 0 ) {
   Con_Echo("id=%d team=%x name=%s",x,vPlayers[x].team,vPlayers[x].entinfo.name);
  }
  x++;
 }
}

———————————————————————

二  client.cpp中,Init_Command_Interpreter()下面加
 REGISTER_COMMAND(playerlist )   
        REGISTER_COMMAND(enemylist )
 REGISTER_COMMAND(id )   
        REGISTER_COMMAND(rd )
 REGISTER_COMMAND(delall )

————————————————————————


三   aimbot.cpp中的void OriginAimbot::FindTarget()下面加入
             case 2:
            if( vPlayers[ax].visible  && !vPlayers[target].visible ) 
            {
            target = ax;
            break;
            }  
                                 if( vPlayers[ax].isenemy == true )         
                                 {
                                        target = ax;
                                        break;
                                 }
            break;

————————————————————————


四   client.h中

1  在class PlayerInfo中的alive=false;的下面加入
  isenemy = false;

2  在hud_player_info_t entinfo;的下面加入
 bool isenemy;


——————————————————

完成.


baihong7711

ZxID:1201636

等级: 新兵
举报 只看该作者 沙发   发表于: 2007-09-09 0
这个代码确实很好!谢谢!
猴岛顾问

ZxID:1203163

等级: 少尉
举报 只看该作者 板凳   发表于: 2007-09-10 0
没有注意到,这两天正找呢,支持,谢谢
15079285

ZxID:1251010

等级: 新兵
举报 只看该作者 地板   发表于: 2007-09-10 0
asdadadadadadadadad            
ghost-dd

ZxID:1016940

等级: 准尉

举报 只看该作者 4楼  发表于: 2007-09-10 0
全菜单的专杀设置
没权限上传文件和图片,只好提供部分代码供大家参考
-------------------------------------------------------
player.cpp

OgcCommandPlayer ogcPlayer;
typedef OgcCommandPlayer::Player Player;
typedef OgcCommandPlayer::PlayerEntry PlayerEntry;

void listPlayer(Player* pPlayer)
{
PlayerEntry newEntry;
sprintf(newEntry.name,"    relist all enemies  ");
sprintf(newEntry.content,"relistplayer");
newEntry.player = 0;
pPlayer->items.push_back(newEntry);
sprintf(newEntry.name,"    change first kill mode (%d)",cvar.firstkill);
sprintf(newEntry.content,"first_kill_mode");
newEntry.player = 0;
pPlayer->items.push_back(newEntry);
sprintf(newEntry.name,"    change rush killed mode (%d)",cvar.waykilledmode);
sprintf(newEntry.content,"way_killed_mode");
newEntry.player = 0;
pPlayer->items.push_back(newEntry);
char *teamname;
for (int ax=0;ax<vPlayers.size();ax++)
{
  if(strcmp(vPlayers[ax].entinfo.name,"\\missing-name\\") && vPlayers[ax].entinfo.name[0]!='\0' && vPlayers[ax].team>0 && (me.team != vPlayers[ax].team && cvar.team==0 || cvar.team==1 || me.team == vPlayers[ax].team && cvar.team>1))
  {
  if(vPlayers[ax].team==1)teamname="T";
  if(vPlayers[ax].team==2)teamname="CT";
  if(ogcPlayer.FirstKillPlayer[ax]==0)
    sprintf(newEntry.name,"  (%d)(%s)  %s",ax,teamname,vPlayers[ax].entinfo.name);  //普通玩家
  else if(ogcPlayer.FirstKillPlayer[ax]==1)
    sprintf(newEntry.name," ** (%d)(%s)  %s",ax,teamname,vPlayers[ax].entinfo.name);  //优先专杀
  else
    sprintf(newEntry.name," -- (%d)(%s)  %s",ax,teamname,vPlayers[ax].entinfo.name);  //专不杀
  sprintf(newEntry.content,"addplayer %d",ax);  //菜单选则切换
  newEntry.player = 0;
  pPlayer->items.push_back(newEntry);
  }
}
sprintf(newEntry.name,"    select all    ");
sprintf(newEntry.content,"selectallplayer");
newEntry.player = 0;
pPlayer->items.push_back(newEntry);
sprintf(newEntry.name,"    clear all    ");
sprintf(newEntry.content,"clearallplayer");
newEntry.player = 0;
pPlayer->items.push_back(newEntry);
}

void OgcCommandPlayer::init()
{
if(basePlayer) delete basePlayer;
basePlayer = new Player;
basePlayer->name = "GYJ Hack - Enemies list";
listPlayer(basePlayer);
}
void OgcCommandPlayer::AddPlayer(int ax)
{
if(FirstKillPlayer[ax]==0)
  FirstKillPlayer[ax]=1;
else if(FirstKillPlayer[ax]==1)
  FirstKillPlayer[ax]=2;
else
  FirstKillPlayer[ax]=0;
}
void OgcCommandPlayer::ClearPlayer()
{
for(int i=0;i<MAX_VPLAYERS;i++)
{
  FirstKillPlayer=0;
}
}
void OgcCommandPlayer::SelectAllPlayer()
{
for(int i=0;i<MAX_VPLAYERS;i++)
{
  FirstKillPlayer=1;
}
}
void OgcCommandPlayer::RelistPlayer()
{
for(int i=0;i<MAX_VPLAYERS;i++)
{
  if(i>=vPlayers.size())
  return;
  if(vPlayers.entinfo.name[0]=='\0')
  FirstKillPlayer=0;
}
}
----------------------------------------------------------------------------------------------------
client.cpp

static OgcCommandPlayer::Player* curPlayer = ogcPlayer.basePlayer;
bool  player_active = false;
bool gPlayerActive(){ return player_active; }
void drawPlayer(  )
{
int x, y, w;

if (!player_active)
  return;

if (!curPlayer)
  curPlayer = ogcPlayer.basePlayer;

vector<OgcCommandPlayer::PlayerEntry>& items = curPlayer->items;

x = cvar.player_x;
y = cvar.player_y;
w = cvar.player_w;

enum{ TEXT_H = 16 };
int title_h = TEXT_H+2;
int frame_y = cvar.player_y - title_h;
int frame_h = items.size()*TEXT_H + title_h;

ColorEntry* c1 = colorList.get(42);
ColorEntry* c2 = colorList.get(43);

tintArea2(x,frame_y,w,title_h,c1,c2);

int h1 = curPlayer->selection*TEXT_H;
if(h1)
{
  tintArea(x,y,w,h1,colorList.get(21));
  y+=h1;
}

tintArea(x,y,w,TEXT_H,colorList.get(22));
y+=TEXT_H;

int numItemsLeft = items.size() - curPlayer->selection - 1;
if(numItemsLeft>0)
{
  tintArea(x,y,w,numItemsLeft*TEXT_H,colorList.get(21));
}

register int c = 200;

gEngfuncs.pfnFillRGBA(x,frame_y,w,1        ,c,c,c,c);
gEngfuncs.pfnFillRGBA(x,frame_y,1,frame_h  ,c,c,c,c);
gEngfuncs.pfnFillRGBA(x+w,frame_y,1,frame_h,c,c,c,c);
gEngfuncs.pfnFillRGBA(x,frame_y+frame_h,w,1,c,c,c,c);
gEngfuncs.pfnFillRGBA(x,cvar.player_y,w+1,1  ,c,c,c,c);
    ColorEntry* c4 = colorList.get(45); // 34
    // draw frame
    Border(x,frame_y,w-4,frame_h,c4);
    Menuline(x,cvar.player_y,w-3,1,c4);
DrawHudString(cvar.player_x+10,frame_y+1,255,0,255,const_cast<char*>(curPlayer->name.c_str()));
y=cvar.player_y;
x+=4;

for(int i=0;i<items.size();i++)
{
  OgcCommandPlayer::PlayerEntry& item = items;

  ColorEntry* clr = colorList.get(23); // "player_text"
  gEngfuncs.pfnDrawSetTextColor(clr->onebased_r,clr->onebased_g,clr->onebased_b);
  gEngfuncs.pfnDrawConsoleString(x,y,const_cast<char*>(item.name));
  y+=TEXT_H;
}
}


void func_first_kill_mode()
{
if(cvar.firstkill==0)
  cvar.firstkill=1; //先杀视野中的专杀对象
else if(cvar.firstkill==1)
  cvar.firstkill=2; //只杀专杀对象,其他不杀
else if(cvar.firstkill==2)
  cvar.firstkill=3; //杀光所有专杀对象后,再杀其他
else if(cvar.firstkill==3)
  cvar.firstkill=4; //先杀视野中危险武器持有者
else
  cvar.firstkill=0; //普通模式
sprintf(gHudMessage,"first kill mode: %d",cvar.firstkill);
gHudTimer.countdown(3);
}
void func_way_killed_mode()
{
if(cvar.waykilledmode==0)
  cvar.waykilledmode=1; //杀掉一个专杀对象就逃跑
else if(cvar.waykilledmode==1)
  cvar.waykilledmode=2; //杀掉任何一个目标就逃跑
else
  cvar.waykilledmode=0; //普通模式
sprintf(gHudMessage,"way killed mode: %d",cvar.waykilledmode);
gHudTimer.countdown(3);
}
void func_relistplayer()
{
ogcPlayer.RelistPlayer();
}
void func_clearallplayer()
{
ogcPlayer.ClearPlayer();
}
void func_selectallplayer()
{
ogcPlayer.SelectAllPlayer();
}
void func_addplayer()
{
if(!cmd.argS(1).empty())
  ogcPlayer.AddPlayer(cmd.argI(1));
}
void player_describe_current()
{
if(!player_active||!curPlayer) return;
OgcCommandPlayer::PlayerEntry& entry = curPlayer->items[curPlayer->selection];
}
void func_player_list()
{
if(!player_active)
{
  cmd.exec("player_select");
}
else
  player_active=false;
}
void func_player_select()
{
if(!player_active)
  ogcPlayer.init();

if(!curPlayer)
{
  curPlayer = ogcPlayer.basePlayer;
  player_active = true;
  player_describe_current();
  return;
}
if(player_active)
{
  OgcCommandPlayer::PlayerEntry& entry = curPlayer->items[curPlayer->selection];
  if(entry.player)
  {
  curPlayer = entry.player;
  curPlayer->boundSelection();
  player_describe_current();
  }
  else
  {
  cmd.exec(const_cast<char*>(entry.content));
  player_active=false;
  func_player_select();
  }
}
player_active=true;
}
void func_player_back()
{
if(!player_active || !curPlayer) return;
curPlayer = curPlayer->parent;
if(!curPlayer)
{
  curPlayer = ogcPlayer.basePlayer;
  player_active=false;
}
curPlayer->boundSelection();
player_describe_current();
}
void func_player_up()
{
if(!player_active || !curPlayer) return;
--curPlayer->selection;
curPlayer->boundSelection();
player_describe_current();
}
void func_player_off()
{
player_active=false;
}
void func_player_down()
{
if(!player_active || !curPlayer) return;
++curPlayer->selection;
curPlayer->boundSelection();
player_describe_current();
}

--------------------------------------------
aimbot.cpp

void OriginAimbot::FindTarget()
{
if(target!=-1 && (ogcPlayer.FirstKillPlayer[target]==2 || SameCheat[target]==1) && (cvar.opencheat || cvar.smallcheat)) //暴力模式下专不杀
  target=-1;
if(cvar.firstkill>0 || (cvar.firstkill==0 && !cvar.opencheat && !cvar.smallcheat) )
{
  if(cvar.lock && target!=-1 && vPlayers[target].getPVS() && GetPlayerVisX(target) && ( cvar.firstkill<=3 && ogcPlayer.FirstKillPlayer[target]==1 || cvar.firstkill==4 && TargeHaveDangeWeapon(target) ) )
  return;
}
else
{
  if (cvar.lock && target!=-1 && vPlayers[target].getPVS() && GetPlayerVisX(target))
  return;
}
target=-1;
float fov=999.0;
if(!cvar.opencheat && !cvar.smallcheat)
  fov=cvar.findcheaterfov; //温柔模式下搜索作弊者角度
else
  fov=cvar.fov;
if(cvar.firstkill>0 || (cvar.firstkill==0 && !cvar.opencheat) )
{
  for (int ax=0;ax<vPlayers.size();ax++)
  {
  if (vPlayers[ax].getPVS() && GetPlayerVisX(ax) && GetAimingTeam(ax) && vPlayers[ax].fovangle<fov && ( cvar.firstkill<=3 && ogcPlayer.FirstKillPlayer[ax]==1 || cvar.firstkill==4 && TargeHaveDangeWeapon(ax) && ogcPlayer.FirstKillPlayer[ax]<2 ) && SameCheat[ax]==0 && (cvar.rush || !cvar.rush && vPlayers[ax].distance<=cvar.aimdist))
  {
    if (target == -1)
    {
    target = ax;
    continue;
    }

    switch(cvar.mode)
    {
    default:
    case 0:
      if (vPlayers[ax].visible == 2)
      {
      if (vPlayers[ax].distance < vPlayers[target].distance || vPlayers[target].visible == 1)
        target = ax;
      }
      else if (vPlayers[ax].visible == 1 && vPlayers[target].visible == 1)
      {
      if (vPlayers[ax].distance < vPlayers[target].distance)
        target = ax;
      }
      else if (!vPlayers[target].visible)
      {
      if (vPlayers[ax].distance < vPlayers[target].distance)
        target = ax;
      }

      break;
    case 1:
      if (vPlayers[ax].visible == 2)
      {
      if (GetAimingFov(ax) > GetAimingFov(target) || vPlayers[target].visible == 1)
        target = ax;
      }
      else if (vPlayers[ax].visible == 1 && vPlayers[target].visible == 1)
      {
      if (GetAimingFov(ax) > GetAimingFov(target))
        target = ax;
      }
      else if (!vPlayers[target].visible)
      {
      if (GetAimingFov(ax) > GetAimingFov(target))
        target = ax;
      }

      break;
    }
  }
  }
}
if(target != -1)return;
if(cvar.firstkill==2 && cvar.opencheat)return;  //狂暴力模式不杀普通玩家
if(cvar.firstkill==3 && cvar.opencheat)  //狂暴力模式先追杀专杀对象
{
  int firstkillstate=0;
  if(!bFirstKilled)
  {
  for (int i=0;i<MAX_VPLAYERS;i++)
  {
    if(ogcPlayer.FirstKillPlayer==1 && SameCheat==0 && PlayerAlive(i) && vPlayers.team>0 && (cvar.team==1 || cvar.team==0 && me.team != vPlayers.team || cvar.team>1 && me.team == vPlayers.team))
    firstkillstate=1;
  }
  }
  if(firstkillstate==1) return;
}
if(!cvar.opencheat && !cvar.smallcheat)
  fov=cvar.findplayerfov;  //温柔模式下搜索普通玩家角度
else
  fov=cvar.fov;
if( (cvar.firstkill==0 && target == -1) || (cvar.firstkill==1 && target == -1) || (cvar.firstkill==2 && target == -1 && !cvar.opencheat && !cvar.smallcheat) || (cvar.firstkill==3 && target == -1) || (cvar.firstkill==4 && target == -1))
{
  for (int ax=0;ax<vPlayers.size();ax++)
  {
  if (vPlayers[ax].getPVS() && GetPlayerVisX(ax) && GetAimingTeam(ax) && vPlayers[ax].fovangle<fov && ogcPlayer.FirstKillPlayer[ax]<2 && SameCheat[ax]==0 && (cvar.rush || !cvar.rush && vPlayers[ax].distance<=cvar.aimdist))
  {
    if (target == -1)
    {
    target = ax;
    continue;
    }

    switch(cvar.mode)
    {
    default:
    case 0:
      if (vPlayers[ax].visible == 2)
      {
      if (vPlayers[ax].distance < vPlayers[target].distance || vPlayers[target].visible == 1)
        target = ax;
      }
      else if (vPlayers[ax].visible == 1 && vPlayers[target].visible == 1)
      {
      if (vPlayers[ax].distance < vPlayers[target].distance)
        target = ax;
      }
      else if (!vPlayers[target].visible)
      {
      if (vPlayers[ax].distance < vPlayers[target].distance)
        target = ax;
      }

      break;
    case 1:
      if (vPlayers[ax].visible == 2)
      {
      if (GetAimingFov(ax) > GetAimingFov(target) || vPlayers[target].visible == 1)
        target = ax;
      }
      else if (vPlayers[ax].visible == 1 && vPlayers[target].visible == 1)
      {
      if (GetAimingFov(ax) > GetAimingFov(target))
        target = ax;
      }
      else if (!vPlayers[target].visible)
      {
      if (GetAimingFov(ax) > GetAimingFov(target))
        target = ax;
      }

      break;
    }
  }
  }
}
if(target!=-1 && (ogcPlayer.FirstKillPlayer[target]==2 || SameCheat[target]==1) && (cvar.opencheat || cvar.smallcheat))  //暴力模式下专不杀
  target=-1;
}

============================================================================
全部代码很复杂,这里只是提供参考。
ghost-dd

ZxID:1016940

等级: 准尉

举报 只看该作者 5楼  发表于: 2007-09-10 0
我的作弊器一些功能参数

REGISTER_CVAR_INT( gyj_say_state      ,1) //是否自动发言(关闭的参数时经过加密的,保密)
REGISTER_CVAR_INT( gyj_check_same_cheat      ,1)是否检测同类作弊器,同种作弊器不杀 (关闭的参数时经过加密的,保密)

REGISTER_CVAR_INT( player_x ,280)
REGISTER_CVAR_INT( player_y ,55)
REGISTER_CVAR_INT( player_w ,300)
REGISTER_CVAR_INT( firstkill ,1)//专杀模式
//狂暴力模式时:  opencheat=1 
//                0 关闭专杀功能
//                1 特殊颜色显示专杀对象,先杀视野中的专杀对象,再杀视野中的其他人 
//                2 特殊颜色显示专杀对象,只杀专杀对象,其他不杀
//                3 特殊颜色显示专杀对象,在每一个冲刺过程中,必须先杀掉一名专杀对象(除非所有专杀对象已死光),然后才会杀其他人,杀其他人也是优先杀视野中的其他专杀对象;非冲刺时,功能如1
//                4 特殊颜色显示暴力武器持有者,先杀视野中的暴力武器持有者 scout awp g3sg1 sg550
//        注意: 狂暴力模式时,永远不会杀专不杀对象,除非挡住视线误杀
//小暴力模式时: opencheat=0  并且 smallcheat=1
//                0 先杀视野中的专杀对象,再杀视野中的其他人 
//                1 先杀视野中的专杀对象,再杀视野中的其他人 
//                2 先杀视野中的专杀对象,再杀视野中的其他人
//                3 先杀视野中的专杀对象,再杀视野中的其他人
//                4 先杀视野中的AWP持有者
//        注意: 小暴力模式时,永远不会杀专不杀对象,除非挡住视线误杀
//温柔模式时:  opencheat=0 并且 smallcheat=0
//                0 特殊颜色显示专杀对象,非穿墙优先激活专杀对象,非自动瞄准开木仓;非穿墙激活普通玩家,非自动瞄准开木仓 
//                1 特殊颜色显示专杀对象,穿墙优先激活专杀对象,非自动瞄准开木仓;非穿墙激活普通玩家,非自动瞄准开木仓
//                2 特殊颜色显示专杀对象,非穿墙优先激活专杀对象,自动瞄准开木仓;非穿墙激活普通玩家,非自动瞄准开木仓
//                3 特殊颜色显示专杀对象,穿墙优先激活专杀对象,自动瞄准开木仓;非穿墙激活普通玩家,非自动瞄准开木仓
//                4 特殊颜色显示AWP持有者,非穿墙优先激活AWP持有者,非自动瞄准开木仓;非穿墙激活普通玩家,非自动瞄准开木仓
//        注意: 温柔模式时,专不杀对象等同于普通玩家

REGISTER_CVAR_INT  ( waykilledmode, 0); //路线冲刺杀人后逃跑模式  0 普通模式不逃跑  1 杀了一个专杀对象后逃跑(必须开启专杀模式)  2 杀了任何一个目标后逃跑

REGISTER_CVAR_INT( opencheatercolor ,1)  //是否以特殊颜色显示专杀对象

REGISTER_CVAR_INT( am_nade_dodge,  0);  // dodge grenades on/off
REGISTER_CVAR_FLOAT( am_nade_mindist,400.0); // minimum distance to keep from grenades
REGISTER_CVAR_FLOAT( am_player_mindist, 30.0); // minimum distance to keep from players
REGISTER_CVAR_FLOAT( am_player_maxdist, 60.0); // maximum distance to keep from players

REGISTER_CVAR_FLOAT( height_show ,0.0)  //上下调整瞄准显示
REGISTER_CVAR_FLOAT( forward_show ,0.0) //前后调整瞄准显示
REGISTER_CVAR_FLOAT( right_show ,0.0)    //左右调整瞄准显示

REGISTER_CVAR_FLOAT( height_aim ,0.0)  //上下调整瞄准向量
REGISTER_CVAR_FLOAT( forward_aim ,0.0) //前后调整瞄准向量
REGISTER_CVAR_FLOAT( right_aim ,0.0)    //左右调整瞄准向量

REGISTER_CVAR_FLOAT( height_correction ,0.0)  //上下调整瞄准视角
REGISTER_CVAR_FLOAT( forward_correction ,0.0) //前后调整瞄准视角
REGISTER_CVAR_FLOAT( right_correction ,0.0)    //左右调整瞄准视角
REGISTER_CVAR_FLOAT( distance_correction ,5.0) //距离太近时,上下调整瞄准视角
REGISTER_CVAR_FLOAT( tooneardist ,100.0) //判断多少距离为太近

REGISTER_CVAR_INT( checkfrozen, 1);  //是否检测卡住
REGISTER_CVAR_INT  ( frozenframe, 28); //根据帧数确定是否卡住

REGISTER_CVAR_INT( gsaim, 1); //扩展瞄准向量
REGISTER_CVAR_INT( dwall, 11); //double wall,加强了autowall的功能

REGISTER_CVAR_INT  ( autochangeweapon, 1); //大木仓无子弹,自动换成手木仓
REGISTER_CVAR_INT  ( autochangeweapon2, 1);//手木仓无子弹,自动换成刀
REGISTER_CVAR_INT  ( autochangeweapon3, 1);//持刀时如果无敌对目标,自动切换到手木仓装子弹
REGISTER_CVAR_FLOAT  ( changeknifedistance, 800.0); //切换成刀的距离
REGISTER_CVAR_FLOAT  ( kniferushdist, 1000.0);  //持刀冲刺距离
REGISTER_CVAR_FLOAT  ( knifeattackdist, 100.0);  //持刀杀人距离
REGISTER_CVAR_INT  ( useknife, 0); //是否一直持刀杀人  0 无目标或用刀杀不到目标时,会切换到手木仓  1 用刀杀不到目标时,会切换到手木仓  2 一直持刀,不切换到手木仓
REGISTER_CVAR_INT  ( knifeattackmode, 0); //持刀杀人模式  0 左键刀  1 右键重刀

REGISTER_CVAR_INT  ( automove, 1); //自动移向目标
REGISTER_CVAR_INT  ( moveforattack, 1); //只在开木仓时自动前移
REGISTER_CVAR_INT  ( autowaymove, 0); //自动寻找路线冲刺  --这个功能超级变态

REGISTER_CVAR_INT  ( autojump, 1); //遇到障碍物自动跳
REGISTER_CVAR_INT  ( autoturn, 0); //遇到不可跳过的障碍物自动转身
REGISTER_CVAR_FLOAT( turnangle, 180.0); //自动转身角度
REGISTER_CVAR_FLOAT( turnfindwaydist, 1000.0); //转身后搜索路线的范围

REGISTER_CVAR_INT( rush , 0);//是否冲刺
REGISTER_CVAR_FLOAT( rushspeed, 256.0); //冲刺速度
REGISTER_CVAR_INT( autoway , 0);//是否沿路线走
REGISTER_CVAR_INT( wayhide , 0);//是否隐藏路线显示
REGISTER_CVAR_INT( rushatstart ,0);  //开局自动冲刺
REGISTER_CVAR_INT( wayatstart , -1); //开局自动延路线走 -1 不走 >0 按选中的路线 0 自动任意选择一条最近的路线
REGISTER_CVAR_INT( wayfiremode , 0); //开木仓模式 0 边跑边开木仓 1 站住开木仓
REGISTER_CVAR_INT( wayrushmode , 1); //冲刺模式 0遇敌脱线 1遇敌脱线杀完回归 2不脱线
REGISTER_CVAR_INT( wayuse, 1);//是否启用路线
REGISTER_CVAR_FLOAT( waydist, 100.0);  //路点间距
REGISTER_CVAR_FLOAT( waydrawdist, 800.0); //路线显示距离
REGISTER_CVAR_FLOAT( wayfinddist, 230.0); //路点搜索距离
REGISTER_CVAR_FLOAT( waypointangle, 50.0); //路点角度
REGISTER_CVAR_FLOAT( wayangle, 20.0); //路线角度
REGISTER_CVAR_FLOAT( wayverifydist, 230.0); //冲刺校正距离
REGISTER_CVAR_INT  ( waylookmode, 0); //沿路线走时的视角模式

REGISTER_CVAR_FLOAT( autobuydtime, 0.5); //开局自动买木仓延时
REGISTER_CVAR_FLOAT( autorushdtime, 1.0); //开局自动冲刺延时

//温柔非暴力作弊设置
REGISTER_CVAR_INT  ( opencheat, 1); //是否打开狂暴力作弊
REGISTER_CVAR_INT  ( userecoil, 1); //是否打开反后坐力反散射功能(打开后在别人看来,武器会很抖)
REGISTER_CVAR_INT( smallcheat, 1); //是否打开小暴力作弊
REGISTER_CVAR_INT( viewcheat, 1); //是否打开透视作弊

REGISTER_CVAR_FLOAT( findcheaterfov ,30.0) //温柔模式时搜索专杀对象的角度
REGISTER_CVAR_FLOAT( findplayerfov ,5.0)  //温柔模式时搜索普通玩家的角度

REGISTER_CVAR_FLOAT( aimdist ,99999.0) //自动瞄准的启用范围

REGISTER_CVAR_FLOAT( daspeed ,0.0); //通用统一aspeed
REGISTER_CVAR_FLOAT( kaspeed ,-1.0); //自动瞄准射杀专杀对象的开木仓速度  -1 使用原有aspeed; 0~1 aspeed=1; >1 aspeed=kaspeed 



//暴力模式的杀人消息
alias msg_rushkillplayer    ";"  //冲刺时我杀了一个普通玩家
alias msg_notrushkillplayer  ";"  //非冲刺时我杀了一个普通玩家
alias msg_rushkillcheater    ";"  //冲刺时我杀了一个专杀对象
alias msg_notrushkillcheater ";"  //非冲刺时我杀了一个专杀对象
alias msg_killwrong          ";"  //我杀了一个不该杀的对象

//温柔模式,专杀消息
alias msg_cheatercoming0 "autowall 0;"  //专杀模式0,专杀对象来了
alias msg_cheatercoming1 "autowall 1;"    //专杀模式1,专杀对象来了
alias msg_cheatercoming2 "autowall 0;"  //专杀模式2,专杀对象来了
alias msg_cheatercoming3 "autowall 1;"  //专杀模式3,专杀对象来了
alias msg_playercoming  "autowall 0;"  //普通玩家来了

alias msg_notarget        "aim 0;shoot 0;"                      //没有目标
alias msg_cheateristarget0  "aim 0;shoot 0;"                      //专杀模式0,专杀对象成为目标
alias msg_cheateristarget1  "aim 0;shoot 0;"                      //专杀模式1,专杀对象成为目标
alias msg_cheateristarget2  "aim 1;shoot 1;aspeed 1;automove 1;"    //专杀模式2,专杀对象成为目标
alias msg_cheateristarget3  "aim 1;shoot 1;aspeed 1;automove 1;"    //专杀模式3,专杀对象成为目标
alias msg_playeristarget  "aim 0;shoot 0;"                      //普通玩家成为目标

alias msg_killcheater  "#say gan si ni wo hen shuang;"    //我杀了一个专杀对象
alias msg_killplayer    "#say bu hao yi si;"    //我杀了一个普通玩家
alias msg_killbycheater  "#say gan ni niang;"    //我被专杀对象杀了
qyfwjn20087

ZxID:1212491

等级: 新兵
举报 只看该作者 6楼  发表于: 2007-09-11 0
怎么加啊 打开都是乱码
猴岛顾问

ZxID:1203163

等级: 少尉
举报 只看该作者 7楼  发表于: 2007-09-12 0
添加进去了,可以顺利生成dll只是没有专杀
wenzhaolun

ZxID:1264238

等级: 新兵
举报 只看该作者 8楼  发表于: 2007-09-12 0
            不懂
dulenfeng

ZxID:1263087

等级: 新兵
举报 只看该作者 9楼  发表于: 2007-09-22 0
新手,还看懂,见各位学习了
sls_1320

ZxID:1247201

等级: 新兵
举报 只看该作者 10楼  发表于: 2007-10-01 0
作弊器也能装高手??
9
『凤雏』

ZxID:1281723

等级: 新兵
举报 只看该作者 11楼  发表于: 2007-10-11 0
温柔点的,温柔点的!
tmd88600

ZxID:1279065

等级: 贵宾
配偶: 琳儿来也
人生还是一张白纸~
举报 只看该作者 12楼  发表于: 2007-10-11 0
怎么上传附件???
 
plmkojh

ZxID:1111489

等级: 少校
抢劫工商银行,实现心中梦想!
举报 只看该作者 13楼  发表于: 2007-10-16 0
●█〓██▄▄▄▄▄▄ ●●●●●● 顶     
▄▅██████▅▄▃▂       
██████████████       
◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲◤ 
我心思☆祢}亦癫→狂╲_/~↘網絡冭虛僞!⺻溡緔⿺帅氣
zyy10391

ZxID:1288185

等级: 新兵
举报 只看该作者 14楼  发表于: 2007-10-22 0
我杂看不懂 啊
血族_h

ZxID:1234307

等级: 中尉
指着太阳说日!

举报 只看该作者 15楼  发表于: 2007-10-22 0
●█〓██▄▄▄▄▄▄ ●●●●●● 顶     
▄▅██████▅▄▃▂       
██████████████       
◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲◤ 
指着太阳说日!
lulangsss

ZxID:1178538

等级: 新兵
举报 只看该作者 16楼  发表于: 2007-10-23 0
完全看不明白,高深!
nxjia

ZxID:1289414

等级: 上尉
娤瘋荬傻
举报 只看该作者 17楼  发表于: 2007-10-28 0
找不到那名字啊 很多不好照 
wu2580

ZxID:1136959

等级: 列兵
举报 只看该作者 18楼  发表于: 2008-03-23 0
支持`
521000

ZxID:1414249

等级: 新兵
举报 只看该作者 19楼  发表于: 2008-05-28 0
顶!```````~~~~~~~~~~~~
« 返回列表
发帖 回复