Jump to content
Moopler
  • 0
Sign in to follow this  
Progity

Request blazing extinction fma

Question

2 answers to this question

Recommended Posts

  • 0

This is taken from gms scripts, not sure how much changing needs to be done for it to work on ems. In any case, ems scripts have general fma, so you could technically use that

Spoiler

//Credits to Sprux for FindHitInMobRect FMA Method GMSv175
[ENABLE]
alloc(find_hit_mob_in_rect_hook,128)
find_hit_mob_in_rect_hook:

mov eax,[02262F84] ////CWvsPhysicalSpace2D:
//B8 0A 00 00 00 EB ? 3D mov ecx,[XXXXXXXX] below
lea eax,[eax+0C] // Left Wall Offset
mov [esp+04],eax
jmp 00BFF8D0 // Original call (CMobPool::FindHitMobInRect)

017D443C:
//Function CUser::TryDoingFlameBallAttack
call find_hit_mob_in_rect_hook

//Function //Function CGrendade::Update
009954FD: //FlameBallObject X/Y Check, allows continous attack
nop
nop

[disable]
017D443C: //E8 ? ? ? ? 89 85 ? ? ? ? 8B 8D ? ? ? ? 89 8D ? ? ? ? 83 BD ? ? ? ? 00 75 ? C7 [SECOND RESULT]
call 00BFF8D0

009954FD: //0F 84 ? ? ? ? D9 EE 8B ? ? ? DC 9E [test eax,eax above]
test eax,eax

Share this post


Link to post
  • 0

i tried to update this and i got it : 

//Credits to Sprux for FindHitInMobRect FMA Method
//v175.1
[ENABLE]
alloc(find_hit_mob_in_rect_hook,128)
find_hit_mob_in_rect_hook:

mov eax,[0211A8C8] ////CWvsPhysicalSpace2D:
//B8 0A 00 00 00 EB ? 3D mov ecx,[XXXXXXXX] below
lea eax,[eax+0C] // Left Wall Offset
mov [esp+04],eax
jmp 00BFF8D0 //00BA2E70// Original call (CMobPool::FindHitMobInRect)

016F432D:
//Function CUser::TryDoingFlameBallAttack
call find_hit_mob_in_rect_hook

//Function //Function CGrendade::Update
009504B4: //FlameBallObject X/Y Check, allows continous attack
nop
nop

[disable]
016F432D: //E8 ? ? ? ? 89 85 ? ? ? ? 8B 8D ? ? ? ? 89 8D ? ? ? ? 83 BD ? ? ? ? 00 75 ? C7 [SECOND RESULT]
call 00BFF8D0

009504B4: //0F 84 ? ? ? ? D9 EE 8B ? ? ? DC 9E [test eax,eax above]
test eax,eax

 

and its not working.

do you know what i did wrong ?

 

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
Sign in to follow this  
×