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.
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.