PDA

View Full Version : [c++] External Coding



jRock
10-06-2010, 03:47 PM
Anyone have any ideas on external visibility checks?
Or Nospread calculations?
Or any other ideas besides the basics?

I already have a fps and latency prediction system. Think a some kind of lerp prediction could be made?

jRock

syntroniks
10-06-2010, 06:19 PM
Shouldn't need compensation. If you could predict nospread, do you have a plan for modifying the viewangles to correct for spread? It may be quite a challenge externally.

jRock
10-06-2010, 07:14 PM
I would just adjust the mouse position to the appropriate position. As I do for no recoil now. It works but I need nospread lol.

jRock
10-08-2010, 01:03 PM
Anyone ? lol

wav
10-09-2010, 01:16 PM
I would just adjust the mouse position to the appropriate position. As I do for no recoil now. It works but I need nospread lol.

aligning mouse position? the fuck?

just modify the sent packets with a mitm approach

jRock
10-10-2010, 05:41 PM
Please elaborate.

neurel111
10-12-2010, 12:21 PM
Shouldn't need compensation. If you could predict nospread, do you have a plan for modifying the viewangles to correct for spread? It may be quite a challenge externally.

Its actually simple just write to your local angles offset.


aligning mouse position? the fuck?

just modify the sent packets with a mitm approach

LOL
Hardly worth the effort.
Unless their packet infrastructure is documented it will be painful to reverse.
And if it gets to that it would make more sense to modify received packets, who knows the order in which they do things, conflicting data lol.

wav
10-12-2010, 05:04 PM
Its actually simple just write to your local angles offset.



LOL
Hardly worth the effort.
Unless their packet infrastructure is documented it will be painful to reverse.
And if it gets to that it would make more sense to modify received packets, who knows the order in which they do things, conflicting data lol.

Doing nospread externally is completely unreliable unless you modify packets.

jRock
10-12-2010, 06:35 PM
wav you have msn for further discussion?

neurel111
10-12-2010, 06:54 PM
Doing nospread externally is completely unreliable unless you modify packets.

Doubt that, seems to be working alright.
Besides you didn't seem to be talking about spread when you threw in the mitm line - you were scoffing at the noob's suggestion to adjust mouse coordinates and suggested packet editing instead.
Two extremes lol, one too noobish the other too complicated.

DrD
10-14-2010, 05:42 PM
External visibility check would use TraceLine, I believe aVitamin got one working, maybe you should take a look at what he says in his threads.

jRock
10-15-2010, 10:44 AM
He injected a little to do so. It's possible with small game modifications but I'm trying to think out side the box.

killerra
10-15-2010, 01:04 PM
http://www.mp-hacks.de/forum/showthread.php?4714-CS-S-Extern-Aimbot-Esp&p=58273&viewfull=1 read it with some translator

neurel111
10-15-2010, 01:17 PM
http://www.oldschoolhack.de/forum/fthread.php?id=6031


bool GetVisible(Vector &start, Vector &end)
{
trace_t tr;
Ray_t ray;
ray.Init(start,end);
__asm
{
MOV ECX, cEngineTrace
MOV EAX, DWORD PTR DS:[ECX]
LEA EDX, tr
PUSH EDX
PUSH 0
//PUSH 0x4602400B
PUSH 0x4600400B
LEA EDX, ray
PUSH EDX
CALL DWORD PTR DS:[EAX+0x10]
}
return (tr.fraction > 0.97f);
}

The only way to do this without injecting this code into the process would be if the game does it on its own somewhere and you read the results from there.

Edit:
Another possibility would be to parse the current map file and check for intersections, good luck with that ^^

jRock
10-15-2010, 03:09 PM
lol I've looked into the game to check if tr.fraction is resulted at all times anywhere. It doesnt haha

wav
10-15-2010, 05:15 PM
http://www.oldschoolhack.de/forum/fthread.php?id=6031


bool GetVisible(Vector &start, Vector &end)
{
trace_t tr;
Ray_t ray;
ray.Init(start,end);
__asm
{
MOV ECX, cEngineTrace
MOV EAX, DWORD PTR DS:[ECX]
LEA EDX, tr
PUSH EDX
PUSH 0
//PUSH 0x4602400B
PUSH 0x4600400B
LEA EDX, ray
PUSH EDX
CALL DWORD PTR DS:[EAX+0x10]
}
return (tr.fraction > 0.97f);
}

The only way to do this without injecting this code into the process would be if the game does it on its own somewhere and you read the results from there.

Edit:
Another possibility would be to parse the current map file and check for intersections, good luck with that ^^

Leaked HL2 SDK is better

jRock
10-15-2010, 06:01 PM
Is the orange box css sdk even out? I haven't even checked since it didn't let me download it a while ago.

neurel111
10-15-2010, 06:50 PM
Leaked HL2 SDK is better

Are you talking about the leaked hl2 source?
Haven't really looked into it but I guess the map parser is there.

http://www.awarenetwork.org/home/iqlord/code/stolen.src/hl2.src.rar

aVitamin
10-16-2010, 07:29 AM
Then keep out of my box next time, please. Thinking about OWN solutions comes with an educational effect.
BTW: I have not been modifying the game in any way, I just used the unused. ;)

Supericy
11-26-2010, 11:35 PM
I would just adjust the mouse position to the appropriate position. As I do for no recoil now. It works but I need nospread lol.

Sorry for bumping thread, but i am un-able to PM. How are you getting recoil values externally?

fatmonsterz
11-27-2010, 07:36 AM
Sorry for bumping thread, but i am un-able to PM. How are you getting recoil values externally?

15EEAB7E D886 900D0000 FADD DWORD PTR DS:[ESI+D90]