Jump to content
Moopler

Recommended Posts

Controlled Magic Injection

Spoiler

/*
 Controlled Magic Injection v183.5
 Set X amount of Attacks Every XXX
 UserLocal::TryDoingFinalAttack Container to call CUserLocal::DoActiveSkilll_ForcedMagicAttack
*/
Define(skill_ID,#142120030)
Define(delay, #2000) //Adjust Delay to Spawn Rate
Define(number_of_attacks, #15) //Number of Attacks to Kill A Mob. Start with #1 and count down how much it takes to kill mob
Define(min_mob_amount, #1)
[ENABLE]
Alloc(Hook,128)
Alloc(Timer,4)
Alloc(Counter,4)
Label(MagicInjection)
Label(Return)
Label(Exit)

Timer:
dd 0

Counter:
dd 0

Hook:
push ebp
mov ebp,esp
sub esp,1C
pushad
mov edi,[02AF89B8] //CMobPool 8B 0D ? ? ? ? 8D 85 ? FF FF FF 6A 00 6A 00 [First Result]
cmp [edi+10],min_mob_amount
jl Exit
call TimeGetTime
mov edx,eax
sub edx,[Timer]
cmp edx,delay
jl Exit
mov [Timer],eax

MagicInjection:
mov ecx,[02AF2768] //CUserLocal 8B 3D ? ? ? ?  8B CF F3
push skill_ID
call 01F02100 //CUserLocal::DoActiveSkilll_ForcedMagicAttack 68 CC EF B8 00 E8
inc [Counter]
cmp [Counter],number_of_attacks
jne MagicInjection
mov [Counter],0
Exit:
popad
jmp Return

01F0F370:
jmp Hook
db 90
Return:

01F0210D:
cmp eax,skill_ID

01F02132:
push skill_ID

[DISABLE]
01F0F370: //[FUNCTION START] 0F 84 ?? ?? ?? ?? 2B 9E ?? ?? ?? ?? 0F 88 ?? ?? ?? ?? 8B
push ebp
mov ebp,esp
sub esp,1C

01F0210D: //3D CC EF B8 00 75
cmp eax,00B8EFCC

01F02132: //68 CC EF B8 00 50
push 00B8EFCC

Dealloc(Hook)
dealloc(Counter)
dealloc(Timer)

 

Purpose: Reduce Lag, increase efficiency and the rate you kill mobs
Instead of waiting for normal skill inject to do execute 10 attacks, the script will execute 10 attacks seemly all at "once"  

Number_of_attacks = This will set the amount of attacks. The script will try to this one execution.

Delay = Needed to shut off in the state of Elite Mobs/Boss. You don't want to send 10 attacks at once at 1000 ms. If it wasn't for elite mobs then mob counter would have just sufficed. 

Just some guidelines: Make sure you read them because its mainly why I just didn't plug it into the Script Library

  • Adjust delay and number of hits for Elite Mobs/Boss...
    • You don't want to send 20 attacks at like 1000 delay.
  • Adjust delay for spawn rate/kill rate.
  • Adjust delay for server lag, ping, etc.
  • Although the bottom example has 50 hits at 1000 Delay, this obviously isn't stable in long run esp when a Elite Mob spawns.
  • Client will crash on skills like many of the Blaster skills.
  • If its not obvious from the title/instructons. This means use Magic Skills
  • Works best on FMAble skills/ screen radius skills (Mental Tempest, Dragon Dive, Elemental Barrage - Ice ,etc).

Just efficiency comparisons; This is in Reboot at 360+ Arcane Force Field where Mobs have high ass HP on a Kinesis and Mental Tempest

Regular SI at No Delay

Spoiler

8cbdded1801d6ab6b37bc5f260e2b1d4.gif

Controlled Magic Injection; Delay:1000 Set Attack: 50 hits. 

Spoiler

7af7b10c54893f00dbb95bd44edfec19.gif

50 Attacks was used because I didn't want to count how many individual injects it would take to kill. At this rate it was 20+ attacks and still not dead..

Spoiler

82ce157710cd4ea5305e71fca494ac02.gif

 


Chaos Horn-tail Head (Scania Server) Comparison

Skill Injection

b2717684ebdb8243c9e6a869d395e379.gif

Magic Injection x50

2103a56d0aa3d955adde03161d54926a.gif

  • Like 15

Share this post


Link to post

This looks awesome! What class are you using in your gifs?

Edited by Roast

Share this post


Link to post
On 2017. 3. 23. at 17:24, OuterHaven said:

Chaos Horn-tail Head Comparison

Blaze Wizard (Scania Server)

Skill Injection

b2717684ebdb8243c9e6a869d395e379.gif

Magic Injection x50

2103a56d0aa3d955adde03161d54926a.gif

 

What skill code?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×