分离的autoburst[开木仓节奏控制]

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS作弊器交流讨论分离的autoburst[开木仓节奏控制]
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
19个回复

分离的autoburst[开木仓节奏控制]

楼层直达
chlgnsy

ZxID:1269787

等级: 中士
举报 只看楼主 使用道具 楼主   发表于: 2007-10-27 0
— 本帖被 作弊辅导员 从 顶级完整作弊器代码收藏区 移动到本区(2007-10-27) —
个是从代码里分离出来的,与84公布的那个略有不同,不足之处,还请指正!!!下面是添加方法(3步走):

1,打开client.cpp

在开头顶部加入:

BurstInfo burstInfo; (有的基础码已经有这个,就不必再加)

然后在int beamindex = 0;下面加入:
bool bStopMovement=false;

在int currentWeaponID=0;上面加入:

// Nice Firing stuff
enum { FIRESEQ_INACTIVE  = 0,
    FIRESEQ_STARTDELAY  = 1,
  FIRESEQ_ACTIVE    = 2,
  FIRESEQ_RELEASEDELAY = 3 };
static bool bAttacking = false;
static bool bAttack2 = false;
static bool bPressedUse = false;
static int nFireSequence = FIRESEQ_INACTIVE;
static bool bFireCycle = true;

然后在void UpdateScreenInfo(void)函数上面加入以下代码:


//========================================================================================
static void gFreeMovement()
{
  bStopMovement = false; 
}

//===================================================================================
static void gAttackHandling()
{
  static double timer=0;

  if(!( me.alive && cvar.aim && cvar.shoot && me.iClip )){ return; }

  if(cvar.burstflags & BurstInfo::BURSTFLAG_NOAIM)
  {
  bAttacking = false;
  bFireCycle = true;
  nFireSequence = FIRESEQ_INACTIVE;
  return;
  }
  if( !cvar.ftime ) { cvar.ftime = 0.1f; }
  if( cvar.burstflags&BurstInfo::BURSTFLAG_GROUND )
  {
  if(!(me.pmFlags&FL_ONGROUND))
  {
    bAttacking = false;
    nFireSequence = FIRESEQ_INACTIVE;
  }
  }
  if (gAimbot.target!=-1)
  {
  switch (nFireSequence)
  {
  case FIRESEQ_INACTIVE:
    if( cvar.sdelay )
    {
      nFireSequence = FIRESEQ_STARTDELAY;
      timer = ClientTime::current;
      gFreeMovement();

    } else {
      nFireSequence = FIRESEQ_ACTIVE;
      timer = ClientTime::current;
      bFireCycle = true;
      bAttacking = true;
    }
    break;
  case FIRESEQ_STARTDELAY:
    if( ClientTime::current >= (timer+cvar.sdelay) )
    {
      nFireSequence = FIRESEQ_ACTIVE;
      timer = ClientTime::current;
      bFireCycle = true;
      bAttacking = true;
    }
    break;
  case FIRESEQ_ACTIVE:
    if( bFireCycle )
    {
      if( (ClientTime::current >= (timer+cvar.ftime)) && (cvar.dtime!=0))
      {
        bAttacking = false;
        timer = ClientTime::current;
        bFireCycle = false;
        gFreeMovement();
      }

    } else {
      if( ClientTime::current >= (timer+cvar.dtime) )
      {
        bAttacking = true;
        timer = ClientTime::current;
        bFireCycle = true;
      }
    }
    break;
  case FIRESEQ_RELEASEDELAY:
    nFireSequence = FIRESEQ_ACTIVE;
    timer = ClientTime::current;
    bFireCycle = true;
    bAttacking = true;
    break;
  }
  } else {
  switch (nFireSequence)
  {
  case FIRESEQ_INACTIVE:
    break;
  case FIRESEQ_STARTDELAY:
    nFireSequence = FIRESEQ_INACTIVE;
    gFreeMovement();
    break;
  case FIRESEQ_ACTIVE:
    gFreeMovement();
    if( !bFireCycle || (cvar.rdelay==0) )
    {
      bAttacking = false;
      nFireSequence = FIRESEQ_INACTIVE;

    } else {
      timer = ClientTime::current;
      nFireSequence = FIRESEQ_RELEASEDELAY;
    }
    break;
  case FIRESEQ_RELEASEDELAY:
    gFreeMovement();
    if( ClientTime::current >= (timer+cvar.rdelay) )
    {
      bAttacking = false;
      nFireSequence = FIRESEQ_INACTIVE;
    }
    break;
  }
  }
}

2,进行注册:

cvar.cpp: Code:

REGISTER_CVAR_FLOAT( ftime  ,0.00)
REGISTER_CVAR_FLOAT( dtime  ,0.00)
REGISTER_CVAR_FLOAT( sdelay  ,0.00)
REGISTER_CVAR_FLOAT( rdelay  ,0.00)

REGISTER_CVAR_INT( burstflags ,1)
REGISTER_CVAR_INT( autoburst ,1)

cvar.h: Code:

float ftime;
float dtime;
float sdelay;
float rdelay;

int burstflags;
int autoburst;


3,在你的cfg里加入:

无路线的加入:

autoburst ak47 1 10 0.000100 0.000000 0.000000 0   
autoburst ak47 2 20 0.000100 0.000000 0.000000 0 
autoburst ak47 3 50 0.000100 0.000000 0.000000 4
autoburst ak47 4 999 0.000100 0.000000 0.000000 52 
autoburst aug 1 30 0.000100 0.000000 0.000000 0     
autoburst aug 2 60 0.000100 0.000000 0.000000 0 
autoburst aug 3 110 0.000100 0.000000 0.000000 4 
autoburst aug 4 999 0.000100 0.000000 0.000000 12 
autoburst awp 1 3 0.000100 0.000000 0.000000 0     
autoburst awp 2 5 0.000100 0.000000 0.000000 16     
autoburst awp 3 999 0.000100 0.000000 0.000000 28   
autoburst c4 1 999 0.000100 0.000000 0.000000 2     
autoburst deagle 1 999 0.000100 0.000000 0.000000 0
autoburst deagle 2 200 0.000800 0.000000 0.000000 0
autoburst elite 1 15 0.000100 0.000000 0.000000 0       
autoburst elite 2 999 0.000100 0.000000 0.000000 0
autoburst fiveseven 1 999 0.000100 0.000000 0.000000 0
autoburst flashbang 1 999 0.000100 0.000000 0.000000 2
autoburst g3sg1 1 3 0.000100 0.000000 0.000000 0
autoburst g3sg1 2 5 0.000100 0.000000 0.000000 16
autoburst g3sg1 3 120 0.000100 0.000000 0.000000 60
autoburst g3sg1 4 999 0.000100 0.000000 0.000000 60
autoburst glock18 1 999 0.000100 0.000000 0.000000 0
autoburst hegrenade 1 999 0.000100 0.000000 0.000000 2
autoburst knife 1 3 0.000100 0.000000 0.000000 0
autoburst knife 2 999 0.000100 0.000000 0.000000 2
autoburst m249 1 45 0.000100 0.000000 0.000000 0
autoburst m249 2 999 0.000100 0.000000 0.000000 4
autoburst m3 1 999 0.000100 0.000000 0.000000 0
autoburst m4a1 1 10 0.000100 0.000000 0.000000 0
autoburst m4a1 2 20 0.000100 0.000000 0.000000 0
autoburst m4a1 3 80 0.000100 0.000000 0.000000 0
autoburst m4a1 4 999 0.000100 0.000000 0.000000 4
autoburst mac10 1 40 0.000100 0.000000 0.000000 0
autoburst mac10 2 120 0.000100 0.000000 0.000000 0
autoburst mac10 3 999 0.000100 0.000000 0.000000 4
autoburst mp5 1 40 0.000100 0.000000 0.000000 0
autoburst mp5 2 120 0.000100 0.000000 0.000000 0
autoburst mp5 3 999 0.000100 0.000000 0.000000 4
autoburst p228 1 999 0.000100 0.000000 0.000000 0
autoburst p90 1 20 0.000100 0.000000 0.000000 0
autoburst p90 2 120 0.000100 0.000000 0.000000 0
autoburst p90 3 999 0.000100 0.000000 0.000000 4
autoburst scout 1 3 0.000100 0.000000 0.000000 0     
autoburst scout 2 5 0.000100 0.000000 0.000000 16     
autoburst scout 3 999 0.000100 0.000000 0.000000 28   
autoburst sg550 1 3 0.000100 0.000000 0.000000 0
autoburst sg550 2 30 0.000100 0.000000 0.000000 16
autoburst sg550 3 999 0.000100 0.000000 0.000000 60
autoburst sg552 1 30 0.000100 0.000000 0.000000 0
autoburst sg552 2 60 0.000100 0.000000 0.000000 0
autoburst sg552 3 110 0.000100 0.000000 0.000000 8
autoburst sg552 4 999 0.000100 0.000000 0.000000 12
autoburst smokegrenade 1 999 0.000100 0.000000 0.000000 2
autoburst tmp 1 20 0.000100 0.000000 0.000000 0
autoburst tmp 2 100 0.000100 0.000000 0.000000 0
autoburst tmp 3 999 0.000100 0.000000 0.000000 4
autoburst ump45 1 40 0.000100 0.000000 0.000000 0
autoburst ump45 2 120 0.000100 0.000000 0.000000 0
autoburst ump45 3 999 0.000100 0.000000 0.000000 4
autoburst usp 1 999 0.000100 0.000000 0.000000 0
autoburst xm1014 1 999 0.000100 0.000000 0.000000 0



路线的加入:

autoburst ak47    1  10  1  0  0  0   
autoburst ak47    2  20  0.25 0.35 0  0 
autoburst ak47    3  50  0.15 0.45 0  4
autoburst ak47    4  999  0.07 0.4  0  52 
autoburst aug    1  30  1  0  0  0     
autoburst aug    2  60  0.25 0.35 0  0 
autoburst aug    3  110  0.15 0.45 0  4 
autoburst aug    4  999  0.05 0.43 0  12 
autoburst awp    1  3  1  0  0  0     
autoburst awp    2  5  1  0  0  16     
autoburst awp    3  999  1  0  0  28   
autoburst c4      1  999  1  0  0  2     
autoburst deagle    1  999  0.01 0.01 0  0
autoburst elite    1  15  0.01 0.01 0  0       
autoburst elite    2  999  0.07 0.15 0  0
autoburst fiveseven  1  999  0.01 0.01 0  0
autoburst flashbang  1  999  1  0  0  2
autoburst g3sg1    1  3  1  0  0  0
autoburst g3sg1    2  5  1  0  0  16
autoburst g3sg1    3  120  1  0  0  60
autoburst g3sg1    4  999  0.05 0.4  0  60
autoburst glock18  1  999  0.01 0.01 0  0
autoburst hegrenade  1  999  1  0  0  2
autoburst knife    1  3  1  0  0  0
autoburst knife    2  999  1  0  0  2
autoburst m249    1  3  1  0.35 0  0 
autoburst m3      1  999  1  0  0  0
autoburst m4a1    1  10  1  0  0  0
autoburst m4a1    2  20  0.25 0.35 0  0
autoburst m4a1    3  80  0.15 0.45 0  0
autoburst m4a1    4  999  0.07 0.4  0  4
autoburst mac10    1  40  1  0  0  0
autoburst mac10    2  120  0.35 0.25 0  0
autoburst mac10    3  999  0.11 0.25 0  4
autoburst p228    1  999  0.01 0.01 0  0
autoburst p90    1  20  1  0  0  0
autoburst p90    2  120  0.1  0.25 0  0
autoburst p90    3  999  0.11 0.25 0  4
autoburst scout    1  3  1  0  0  0     
autoburst scout    2  5  1  0  0  16     
autoburst scout    3  999  1  0  0  28   
autoburst sg550    1  3  1  0  0  0
autoburst sg550    2  30  1  0  0  16
autoburst sg550    3  999  0.3  0.1  0  60
autoburst sg552    1  30  1  0  0  0
autoburst sg552    2  60  0.25 0.35 0  0
autoburst sg552    3  110  0.15 0.45 0  8
autoburst sg552    4  999  0.05 0.43 0  12
autoburst smokegrenade 1  999  1  0  0  2
autoburst tmp    1  20  1  0  0  0
autoburst tmp    2  100  0.3  0.3  0  0
autoburst tmp    3  999  0.1  0.3  0  4
autoburst ump45    1  40  1  0  0  0
autoburst ump45    2  120  0.45 0.25 0  0
autoburst ump45    3  999  0.11 0.25 0  4
autoburst usp    1  999  0.01 0.01 0  0
autoburst xm1014    1  999  1  0  0  0
celiangzhu

ZxID:1195801

等级: 列兵
举报 只看该作者 沙发   发表于: 2007-10-31 0
           
zyhang

ZxID:1293258

等级: 新兵
举报 只看该作者 板凳   发表于: 2007-11-02 0
马玩意
jinhaogood

ZxID:1255894

等级: 列兵
举报 只看该作者 地板   发表于: 2007-11-09 0
   
wochenshi

ZxID:1182945

等级: 准尉
举报 只看该作者 4楼  发表于: 2007-11-10 0
4214124214
rhdtm123

ZxID:1303870

等级: 新兵
举报 只看该作者 5楼  发表于: 2007-11-21 0
gggggggggggggggggggggggggggggggggg
llx0124

ZxID:1148151

等级: 新兵
举报 只看该作者 6楼  发表于: 2007-11-24 0
看不懂额!!!!!!
zzh198017

ZxID:1290781

等级: 新兵
举报 只看该作者 7楼  发表于: 2007-11-29 0
gggg
a09080711

ZxID:1172159

等级: 新兵
举报 只看该作者 8楼  发表于: 2007-11-30 0
+这个功能好麻烦 弄了半天还是没成功
arab000_h

ZxID:1288983

等级: 新兵
举报 只看该作者 9楼  发表于: 2007-12-01 0
hao
winner888

ZxID:1060758

等级: 新兵
举报 只看该作者 10楼  发表于: 2007-12-01 0
引用
引用第8楼a09080711于2007-11-30 17:11发表的  :
+这个功能好麻烦 弄了半天还是没成功


这是傻瓜教程哦,怎么会不成功的???不过我觉得好像用不用的无所谓的.
lianmin8

ZxID:1308424

等级: 新兵
举报 只看该作者 11楼  发表于: 2007-12-02 0
这样还不如搞个自动按键工具就搞定了    
hello1_h

ZxID:1295782

等级: 中士
我爱CG事业!
举报 只看该作者 12楼  发表于: 2008-02-06 0
9494 kanbudong !
欢迎大家来我窝http://superkillercg.blog.sohu.com
a5284824

ZxID:1206095

等级: 新兵
举报 只看该作者 13楼  发表于: 2008-02-06 0
+这个功能好麻烦 弄了半天还是没成功
wu2580

ZxID:1136959

等级: 列兵
举报 只看该作者 14楼  发表于: 2008-03-23 0
哈哈.
zx00796

ZxID:1180943

等级: 列兵
举报 只看该作者 15楼  发表于: 2008-05-01 0
     
youxizhu

ZxID:1115216

等级: 列兵
举报 只看该作者 16楼  发表于: 2008-05-01 0
dddddddddddddddd
youxizhu

ZxID:1115216

等级: 列兵
举报 只看该作者 17楼  发表于: 2008-05-01 0
fffffffffffffffffffffffffffffffffffff
youxizhu

ZxID:1115216

等级: 列兵
举报 只看该作者 18楼  发表于: 2008-05-01 0
dsd2224dfd
youxizhu

ZxID:1115216

等级: 列兵
举报 只看该作者 19楼  发表于: 2008-05-01 0
gfgfjui4546
« 返回列表
发帖 回复