Releases: Lekuruu/osu.py
1.4.1
What's Changed
- Updated dependencies
- Fixed an issue where the friends list was not updating correctly, after adding/removing friends
Full Changelog: 1.4.0...1.4.1
1.4.0
1.3.0
1.2.5
1.2.4
What's Changed
I've fixed a small, but very annoying bug that caused users to have the wrong game mode selected...
Full Changelog: 1.2.3...1.2.4
1.2.3
What's Changed
- Events now have threading support! (f20f67d)
- Added
LockedSet
class for collections (64ef5c2) - The bancho queue is now a thread safe queue instead of just a list (1c38a6a)
My next goal is to add threading to packets, add more documentation and implement some amount of multiplayer support.
Full Changelog: 1.2.2...1.2.3
1.2.2
1.2.1
What's Changed
Added experimental threading for tasks by @Lekuruu in df5a813
You can now create threaded tasks. Yay!
I don't really know how well this works with the game client, but from my initial testing it worked fine.
To make a task use threading, you can set the threaded
parameter to True
, when creating a task.
# Example of a task, running every minute
@game.tasks.register(minutes=1, loop=True, threaded=True)
def example_task():
...
Updated test script by @Lekuruu in 494b392
I've tried to extend the test.py
script a little bit... I don't really know if it will do anything better than the initial one.
It will perform a test for syncronous and asyncronous tasks and simulate a login reply packet.
Full Changelog: 1.2.0...1.2.1
1.2.0
What's Changed
Task system by @Lekuruu in #4
I recently experimented with threading and found out that the game client has a lot of issues with it.
So instead of investigating the issue, I implement a synchronous task queue that does everything I need for now.
In the future, I want to fix the threading issues and add support for it, in the task system.
Here is an example of registering a task:
# Example of a task, running every minute
@game.tasks.register(minutes=1, loop=True)
def example_task():
...
Full Changelog: 1.1.4...1.2.0
1.1.4
What's Changed
This release includes some small improvements and quality of life changes.
- Implement
send_frames
(258b94b) - Remove error log when
bancho_connect.php
endpoint was not found (6795567) - Add
exit_after
attribute to verify function (af32cc4) - Add
exit_on_interrupt
parameter (ac2949b) (1531377)
Full Changelog: 1.1.3...1.1.4