Code Monkey home page Code Monkey logo

mf_run_counter's People

Contributors

dependabot[bot] avatar oskros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mf_run_counter's Issues

Feature: in SP, pause timer when the game is paused

First of all, thanks for this project! It's great!

So, as the title says, in single-player it'd be great if the timer stopped when we hit ESC. Not sure if it's possible at all with your current memory reader, but thought I'd open this issue.

If it's trivial, feel free to give me some direction and I could do it myself.

Exception thrown during startup

23:09:57,2 root ERROR 'utf-8' codec can't decode byte 0xc2 in position 2: invalid continuation byte
Traceback (most recent call last):
File "main.py", line 15, in
File "master_frame.py", line 156, in init
File "modules\mf_timer.py", line 35, in init
File "modules\mf_timer.py", line 78, in _update_timers
File "modules\mf_timer.py", line 93, in _update_session_time
File "modules\mf_timer.py", line 90, in is_game_open
File "memory_reader\reader_utils.py", line 158, in one_of_processes_exists
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 2: invalid continuation byte

i18n support

thank you for releasing such a good application.

Do you have a plan for i18n support?

I can contribute for i18n.
But I'm not familar with python and i18n framework
If the code is refactor for i18n
I believe there will be more people willing to do related work for i18n

Anyway, when you decided direction for i18n, i can contribute.

"failed to execute script main"

hello,

my pc crashed while i was using the mf counter and when i logged back in and tried to run the .exe i started receiving a

Fatal error detected
"Failed to execute script main" error.

it's creating a log file stating

15:26:38,533 root ERROR Expecting ',' delimiter: line 13975 column 27 (char 371371)
Traceback (most recent call last):
File "main.py", line 15, in
File "main_frame.py", line 112, in init
File "main_frame.py", line 274, in sorted_profiles
File "main_frame.py", line 272, in sort_key
File "json_init_.py", line 293, in load
File "json_init_.py", line 357, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 353, in raw_decode
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 13975 column 27 (char 371371)

i'm hoping there's a way to recover the data that was currently being stored? my power went out over the weekend and when i loaded pc back up the run i was in was still there so i'm there's an easy fix to recover?

Permission errors on all actions

Whenever I try to do anything with the run counter, whether it is to start a new run or even try to close it, in most cases it will crash. It is impossible to keep it open for more than ~20 seconds. Here is the traceback:
21:03:25,450 root ERROR (<class 'PermissionError'>, PermissionError(13, 'The process cannot access the file because it is being used by another process.', None, 32), <traceback object at 0x000002B61EFC9F80>)
Traceback (most recent call last):
File "tkinter_init_.py", line 1883, in call
File "tkinter_init_.py", line 804, in callit
File "master_frame.py", line 460, in autosave_state
File "master_frame.py", line 541, in SaveActiveState
File "modules\grail.py", line 169, in save_grail
File "utils\other_utils.py", line 57, in atomic_json_dump
File "contextlib.py", line 120, in exit
File "site-packages\atomicwrites_init
.py", line 169, in open
File "site-packages\atomicwrites_init
.py", line 202, in commit
File "site-packages\atomicwrites_init_.py", line 99, in replace_atomic
File "site-packages\atomicwrites_init_.py", line 79, in replace_atomic
File "site-packages\atomicwrites_init
.py", line 76, in _handle_errors
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process.

I am running both the game and the run counter as admin. Using win10.

Bug: crash when running for a long time

I noticed a few similar crashes and stopped to actually read the message. It looks like some variable/property is overflowing if the counter and/or the game is open for too long.

Here's an image of the exception:
image

PS: I was not in a run, though the session time was still ticking, as always.
PS2: I'm usually AFK for some time and come back to this, or I left the game & counter in the background for a long time and it just crashes.

Disable hotkeys if Diablo isn't the active window

It's common to leave the game open and do something else (Discord, search something, etc.). When out of the game, it's undesirable to trigger the hotkeys. As it happens, the hotkeys I use in the run counter clash with a few other apps' (and even Windows').

Feature: have session timer only accumulate run times

I AFK a lot while playing, doing runs here and there when I have some free time at night (but leaving the game open), so a lot of my "session" time was not actually spent playing. If I could have this counter be just the sum of all my runs it'd be great.

Any chance of supporting wine/linux

Im understand that its was mentioned that only window is tested and support.

Although I want to shoot for my luck if there're any tweak so that MF_run_counter can be used by running with Wine.

I tried it and got an error on extraction data, and some wine version show problem on permission while create a folder.
Any insight you can provide I can bypass this problem?

do see a lot of python, hopefully it can compile into a bigass bundle instead of not extraction data for installer? (This is my guess)

Screenshot_20221103_231908

Thank a bunch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.