Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Send commands directly to game instead of using -hijack #58

Closed
wants to merge 1 commit into from
Closed

Send commands directly to game instead of using -hijack #58

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 6, 2020

Whats up big paz

Instead of launching a new temporary instance of TF2 every time you want to add a command to the command buffer, you can do it directly by sending a window message (WM_COPYDATA) containing the command string.

This is actually how -hijack works internally: https://github.com/TheAlePower/TeamFortress2/blob/1b81dded673d49adebf4d0958e52236ecc28a956/tf2_src/launcher/launcher.cpp#L1375

This will fix those errors at the bottom of the readme that some users are getting. Also, it's probably faster 'cause you don't have to create a new process.

-Roboot

@ghost
Copy link
Author

ghost commented Jun 6, 2020

@PazerOP I go out of my way to try and improve your software and my reward is a ban from the Discord server? What's up with that?

@CoolcGuy
Copy link

CoolcGuy commented Jun 6, 2020

he pulled a yandere dev lmao

@fx-chun
Copy link

fx-chun commented Jun 6, 2020

@notroboot I just got kicked immediately after pinging him with a PR

???

@Chellyyyyy
Copy link

What were your discord names?

@PKPenguin321 PKPenguin321 mentioned this pull request Jun 7, 2020
Repository owner deleted a comment from Chrissucks Jun 7, 2020
@PazerOP
Copy link
Owner

PazerOP commented Jun 7, 2020

@KingTerrytheTerrible sorry about that, you have been unbanned. @notroboot and @noneucat, can you please dm me on discord? My ID is pazer#8137.

About this PR, I specifically did not want to implement it this way because I was uncomfortable (as far as VAC goes) sending window messages directly to the game. I felt it was less suspicious to have the window messages come from a shipped hl2.exe.

@PazerOP
Copy link
Owner

PazerOP commented Jun 7, 2020

also @CoolcGuy please dm me if you were also banned. I'm going to bed now but i'll get back to you in the morning.

Repository owner locked as spam and limited conversation to collaborators Jun 7, 2020
@PazerOP
Copy link
Owner

PazerOP commented Jun 7, 2020

This pull request is being closed because @notroboot is acting in bad faith and has many ties to cheaters.

@PazerOP PazerOP closed this Jun 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants