aluerie / hextechbutefficient Goto Github PK
View Code? Open in Web Editor NEW🔠League of Legends tool for quick & efficient management of some chores (list in README)
License: MIT License
🔠League of Legends tool for quick & efficient management of some chores (list in README)
License: MIT License
This should only use basic champion shards
There is a challenge
But I have no idea on what champion I have 12 skins X_X So if I actually want to increase it - idk what skin shards to upgrade, maybe i have more for that champion.
Also this challenge
while it has clickable link to open the window with what champs are done - it is not clear what champions have 4 skins, for example. Maybe again, I have some shards to upgrade to get this challenge :D
So let's find out.
Let's implement a script that would show a table like
+----------------+-----------------+
| Champion Name | Amount of Skins |
+----------------+-----------------+
+ Zeri + 11 +
Also can add a column "Amount of unowned skin Shards" and maybe "total sum" so we know what number we can reach if we invest OE into this :D
Idk, it just doesn't work. II don't know how to go around it. We tried some threading, but it messes other things too.
Well, get it to work.
self.master.config(cursor='watch')
HextechButEfficient/gui/elements.py
Lines 77 to 98 in 47b3649
The application fails to run Skin Collection Stats with KeyError: 910001
.
Open the application and run Skin Collection Stats.
Expected to get stats for skin collection.
HextechButEfficient Console
13:09:18 | Skin Collection Stats | Starting
13:09:18 | Skin Collection Stats | Failed with exception. Contact developers about it:
KeyError: 910001
910001
seems to be the skin ID for Winterblessed Hwei.
Hi!
I'm a person who doesn't save shards for mastery since I have never upgraded for Champion Mastery 6 or 7. It would be nice to have another script for people like me who want to disenchant every champion shard possible.
I'm interested in making a PR that implements this feature. :>
To be honest, this is my first ever experience in writing GUI stuff and I'm not sure if I did a fine job.
And Python doesn't seem to be a convient language for UI purposes either, but I kinda do not want to move to other languages.
So yeah, we need to learn it up and "rewrite some nicer UI, with some better practices". Extremely vague statement, but I really feel like i've taken some wrong lazy noob approach.
The application fails to detect champion and glorious champion capsules in loot inventory.
Open the application, have champion capsule or glorious champion capsules, and run BE Related Loot Mass Opening.
Expected to detect champion and glorious champion capsules to disenchant.
HextechButEfficient Console
18:20:41 | BE Related Loot Mass Opening | Starting
18:20:41 | BE Related Loot Mass Opening | Opened 0 chests
If we want to use a single event loop over the whole execution then it won't be possible because lcu-driver
library closes current event loop by default. Maybe, I don't understand something. But with just
def __init(self, ...):
super().__init__()
...
in AluConnector
class it will NOT work on multiple GUI button presses because the first loop is already dead.
The error will be
14:53:41 27/11 | INFO | connect | Icon with Id=25 was set correctly.
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Me\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "d:\LAPTOP\HextechButEfficient\venv\Lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self._command()
File "D:\LAPTOP\HextechButEfficient\gui\elements.py", line 89, in update_console_box
connector.start()
File "d:\LAPTOP\HextechButEfficient\venv\Lib\site-packages\lcu_driver\connector.py", line 70, in start
wrapper()
File "d:\LAPTOP\HextechButEfficient\venv\Lib\site-packages\lcu_driver\connector.py", line 64, in wrapper
self.loop.run_until_complete(connection.init())
File "C:\Users\Me\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 628, in run_until_complete
self._check_closed()
File "C:\Users\Me\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 519, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
One possible solution to this is to register a new loop on each GUI button press. But is it a good practice? I kinda doubt. If anybody knows better - please hit me up.
HextechButEfficient/common/connector.py
Lines 56 to 57 in 4e38e8a
Even tho these are about websocket issue, where the loop won't close (which is the opposite problem lol) because of oversight design; but still they might change the structure of event loops usage after solving those.
This repository seems to be missing a license. Otherwise, contributors would need explicit permission to copy, modify, or distribute this repository. :3
These script already exist in the folder. But they are not added to the GUI
TODO:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.