Author Topic: warband fast attack ..  (Read 1268 times)

0 Members and 1 Guest are viewing this topic.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
warband fast attack ..
« on: December 11, 2015, 07:17:48 am »
Code: [Select]

int sub_Fastattack(int BeingAttackedWith)
{
    int result; //
    int v4; //

    result = BlockDelay;
    BlockDelay = -1;
    BlockDirection = 0;
    v4 = BeingAttackedWith;
    if ( BeingAttackedWith > 478 )
    {
        switch ( v4 )
        {
        case 484:
            goto ready_overswing;
        case 479:
        case 485:
release_overswing:
            BlockDirection = 3;
            BlockDelay = 1;
            break;
        case 489:
ready_thrust:
            BlockDirection = 0;
            BlockDelay = 0;
            break;
        case 490:
release_thrust:
            BlockDirection = 0;
            BlockDelay = 1;
            break;
        default:
            return result;
        }
    }
    else
    {
        if ( v4 == 478 )
        {
ready_overswing:
            BlockDirection = 3;
            BlockDelay = 0;
        }
        else
        {
            switch ( v4 )
            {
            case 200:
            case 220:
            case 255:
            case 270:
            case 280:
            case 305:
                BlockDirection = 1;
                BlockDelay = 0;
                return result;
            case 201:
            case 221:
            case 256:
            case 271:
            case 281:
            case 306:
                BlockDirection = 1;
                BlockDelay = 1;
                return result;
            case 205:
            case 225:
            case 260:
            case 275:
            case 285:
            case 300:
                BlockDirection = 2;
                BlockDelay = 0;
                return result;
            case 206:
            case 226:
            case 261:
            case 276:
            case 286:
            case 301:
                BlockDirection = 2;
                BlockDelay = 1;
                return result;
            case 210:
            case 235:
            case 265:
            case 290:
                goto ready_overswing;
            case 211:
            case 236:
            case 266:
            case 291:
                goto release_overswing;
            case 215:
            case 230:
            case 240:
            case 245:
            case 250:
            case 295:
                goto ready_thrust;
            case 216:
            case 231:
            case 241:
            case 246:
            case 251:
            case 296:
                goto release_thrust;
            default:
                return result;
            }
        }
    }
    return result;
}[\code]




my private hack beats this but its fast this public version and this one blocks held forward thrust enjoy have fun.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Asus

  • Online Villain
  • ***
  • Posts: 111
    • View Profile
Re: warband fast attack ..
« Reply #1 on: December 11, 2015, 04:37:18 pm »
Excuse me but I tried to run the script with Autolt but a line failed.

Line 3

{
^ERROR

Error: Unable to parse line.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: warband fast attack ..
« Reply #2 on: December 11, 2015, 06:12:35 pm »
asus it is c not autoit .
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Mercenary_Frank

  • Online Villain
  • ***
  • Posts: 177
    • View Profile
Re: warband fast attack ..
« Reply #3 on: December 11, 2015, 06:21:38 pm »
not C-pseudolike code
« Last Edit: December 12, 2015, 03:25:06 am by Mercenary_Frank »

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: warband fast attack ..
« Reply #4 on: December 11, 2015, 06:30:57 pm »
its the full code without the offset that should be passed to it.

the case switching is very important , also without spoon feeding i could say more about it but that would be detrimental to the learning curve so i will refrain from doing so.
« Last Edit: December 11, 2015, 06:41:33 pm by MrMedic »
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

tigerarrow

  • Relentless Teamkiller
  • **
  • Posts: 76
    • View Profile
Re: warband fast attack ..
« Reply #5 on: December 13, 2015, 02:33:30 pm »
how do u execute it into warband? anyone tested if it Works?

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: warband fast attack ..
« Reply #6 on: December 13, 2015, 07:28:54 pm »
hook the function , and use that instead of the original code , study then modify it to your liking.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157