Post: MW2 Location Trace
08-02-2016, 04:39 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey Guys,

i made a Location trace for mw2 but somehow it doesnt work could someone please cheack the Offset:

     int G_LocationTrace(int Trace, const float* Start, const float* End)
{
int passEntityNum = 0, contentmask = 0x2806081; char* priorityMap = 0;
((int(*)(int, const float*, const float*, int, int, char*))&ParseAddr(0x00188560))(Trace, Start, End, passEntityNum, contentmask, priorityMap);
}
float* BulletTrace(int client)
{
int Trace = 0x25D2800;
float* Start = Gscr_TagOrigin(client, "tag_weapon_left");
float* End = AnglesToForward(getPlayerAngles(client), Gscr_TagOrigin(client, "tag_weapon_left"));
G_LocationTrace(Trace, Start, End);
float BulletTrace [3] = {(((End[0] - Start[0]) * *(float*)((unsigned int)Trace + 0xA) + Start[0])), (((End[1] - Start[1]) * *(float*)((unsigned int)Trace + 0xA) + Start[1])), (((End[2] - Start[2]) * *(float*)((unsigned int)Trace + 0xA) + Start[2])) };
return BulletTrace;
}


Please check contentmask = 0x2806081, G_LocationalTrace = 0x00188560, int Trace = 0x25D2800;
All the other functions in this do work tested it with Magic bullet.
Thanks
08-30-2016, 10:09 PM #2
Kronos
Former Staff
Originally posted by Medaka View Post
Looks like autism to me.


No need for these comments thanks.
09-01-2016, 03:11 PM #3
Medaka
Save Point
Originally posted by Kronos View Post
No need for these comments thanks.

But it's true.
09-02-2016, 01:42 AM #4
Kronos
Former Staff
Originally posted by Medaka View Post
But it's true.


well then why dont u help him make it look less like autism huh?

The following user thanked Kronos for this useful post:

Skonafid

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo