Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will execute the same commands multiple times #6

Open
Rahimi0151 opened this issue Nov 9, 2021 · 1 comment
Open

Will execute the same commands multiple times #6

Rahimi0151 opened this issue Nov 9, 2021 · 1 comment

Comments

@Rahimi0151
Copy link

Hey my Man.

I'm having a weird problem. so I basically tried to use this to make some custom mods instead of actually moding the game. the first mod was random weapon mods. I could try to make it work. I actually have, I can link you to the source code in fact.

but the problem is every time there is a new line in the csgo terminal logs (e.g. I died in MM and it tells me the given damage and taken damage. or someone chats in game and it will appear in the terminal logs.) the script will run again (i think because of the While(true) and read_until(). is there a way for me to tell the program to only check for the "exectn " in the last line of terminal logs? so that it happens only one time.

@403-Fruit
Copy link
Owner

Could you send me source code or steps to reproduce? I'll take a look. I have an idea of what might be happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants