KIvoy / nikke-assistant

A python desktop app that helps with chores of Nikke: Godness of Victory
MIT License
80 stars 9 forks source link

[English](README.md) | [简体中文](README.zh-CN.md)

Nikke Assistant

A python desktop app that helps with chores of a commander in Nikke: Godness of Victory

Disclaimer

The software Nikke Assistant does not engage in any game file, memory or network traffic interference. It uses only image processing and input simulation to complete tasks that does not involve in either competing with another player or gaining unfair advantage over another player. Everything that can be done with the assistant can be done with a player manually.

Although it is unlikely that you will get banned for using the assistant based on SU's history, the assistant is not responsible for any potential actions that could be taken by the game company due to your usage.

Please use at your own risk.

Running packaged exe on windows

Common Issues

Make sure to use the reload game function and check that your game window is resized to 591x1061. Most cases the assitant should work by then.

If the game window is still not found or if the window does not resize, it is likely that the assistant is not recognizing the name of the game window due to your client version. Use the select game window function to cycle through the list of applications and find your actual game window and then click on reload game again.

Although the assistant will be updated every new event, it's only updated based on my preference in the level to repeat and may not suit your need.

It is very easy to adjust the files to your own levels to repeat ahead of time. Simply screenshot all the images you would click from the Events page all the way to the level you want to repeat. Store all those screenshots in images/nikke/home/event/<your event name>/ and name them in order as step_1.png, step_2.png etc. You can check out the screenshot examples from previous events in the same directory if you need. In the end, don't forget to change in the settings the event to repeat to that you've just created. Now when you click on repeat event levels, it should repeat exactly what you needed.

You can adjust the delays between actions by changing the pre_action_delay and post_action_delay in NIKKE_ASSISTANT.INI. The larger this value, the more delay there are between actions (by seconds).

You can also set log_to_file=False to disable logging for potentially faster assistant. However, you will lose the ability to see error logs if anything happens.

First, remember that only the Simplified Chinese version of the game is officially supported. If you are using any other locale, there's no guarantee that all of the functions would work! If you really want to use it for your own locale, you can always submit a PR with the mirror assets in your own locale (such as the images and the advise answers).

If you have any other questions, feel free to go to the discussion section and submit your topic with detailed description, screenshots, app_log and app_error files if raising a bug.

Running Source Code on Windows

Packing to .exe on Windows

Language Support

Releases

Collaboration

References