39

Started testing out the concept of a new application I'm developing (nothing special)

I always seem to play games instead of coding, so I'm developing a trainer which monitors for any open games and checks whether I have coded enough in a day to play games.

If I haven't coded for long enough, it will force close the game and warn me.

Further development to happen.

Comments
  • 7
    I have rge same problem!!! SEND THE SOURCE CODE!!!
  • 5
    @DeveloperACE
    It's still stupidly simple, it only detects 1 application at the moment because it's hardcoded to, I'll upload my code to Github now.

    But I have a plan to expand on it, but you're welcome to have a go.

    https://github.com/IronPhreak/...
  • 12
    Awesome! I need this for devRant and an arduino electro-shocker connected with it! BUZZ BUZZ
  • 2
    One thing I was going to try is to scan common game folders (Steam libraries) and take any process names from that, add it to a list and check it against currently running processes.

    If that works, I'll give it a GUI to allow some customising
  • 1
    Added a list of games on steam to my github
  • 1
    I love you guys
  • 2
    @FelisPhasma
    At no point did I say I'm an expert

    I'm self taught and still very new.

    Besides, it was a quick concept, I'll be expanding on it
  • 1
    @IronPhreak Hey, it's a great idea, I'm just giving you a hard time. Would you be interested in contributors?
  • 1
    @FelisPhasma

    Hey, i welcome jabs and jokes :)

    I also welcome contributors. I do my best but I know I'm lacking knowledge.
  • 2
    Cool. Forked. I'm going to play with it a little. Perhaps see if I can get it to recognize more than just gaming windows. How about Chrome tabs! Particular websites that can only be accessed if you code enough. Coding credits!
  • 1
    @tisaconundrum I'm forking it too... I want to see if I can detect all steam games collectively. Also, don't block devRant.
  • 4
    Good times playing that notepad game?
  • 0
    @YounessFkhach
    Ha hell yeah, so much fun

    Nah, just wanted to see if I could detect it's process and kill it
  • 0
    @FelisPhasma
    Could block the steam client as most require the client to be open.
  • 1
    @IronPhreak That's true. And launching all steam games goes through a steam launcher. It would me nice to build a UI so the user could set their goals of time per day.
  • 1
    @FelisPhasma
    Yep, that's the plan (the UI part)
  • 0
    @FelisPhasma you could always do it via arguments
  • 0
    @tass of course, but devs like UIs too 😉
  • 0
    @IronPhreak I can easily design that part for you. The only problem is that it will be in Qt, C++
    Sorry it's what I'm familiar with right now.
  • 0
    It would be a bit of a dirty hack. But what you can do is set up the UI to spit out terminal commands to be runned
  • 1
    @tisaconundrum If you build the UI code as a .dll then c# can interface directly with it...
  • 1
    Best part about this is... I don't know enough coding to keep up with you guys :P

    Least i gave the idea ^_^

    *Fly my pretties, fly hahahaha*
    *cough*

    Go on folks, if you want to build a better version than I could, I welcome it :)
  • 1
    @IronPhreak I'm back from the nether regions of git, to bring you good news. I've pull requested you for the UI. See what you think
  • 0
    @tisaconundrum
    Awesome!
    I'll check it out when I get home
  • 0
    @tisaconundrum
    Bare with me, this is my first pull request :P
  • 1
    @IronPhreak there's a first for everything. Btw I royally screwed up my repository. But it's good now. I put up another pull request for you. And added some nice pictures within the repo
Add Comment