Alessandro Maggio
|
2767eccacf
|
use Thread instead of Process. Get username and token from main classes. Rename some variables - See the PR #47 Reviews
|
2021-03-09 20:54:10 +01:00 |
|
Alessandro Maggio
|
0cf13c229a
|
Parse result in separated method. Save again gains and type. Maybe It will be helpful in the future
|
2021-03-09 19:17:05 +01:00 |
|
Alessandro Maggio
|
e310ac141d
|
After a won/lose in the bet, show which decision the bot made when he placed the bet. #95
|
2021-03-09 14:31:12 +01:00 |
|
Alessandro Maggio
|
41ac1b52c5
|
Dedicated color also for: BET_START - ' Place the bet after: 55.39s for: EventPrediction '
|
2021-02-26 12:13:53 +01:00 |
|
Alessandro Maggio
|
774280abe5
|
Create customizable ColorPalette for terminal message
|
2021-02-25 14:10:26 +01:00 |
|
Alessandro Maggio
|
7fb25a3a48
|
Merge branch 'master' into master
|
2021-02-25 11:33:12 +01:00 |
|
Alessandro Maggio
|
6de210b496
|
Choose gained/lost in the bet results. Close #93
|
2021-02-25 11:09:36 +01:00 |
|
TipicoDev
|
7abab21c24
|
Fixing lint warnings
|
2021-02-20 22:48:39 -03:00 |
|
TipicoDev
|
60d0ccbb03
|
Fixing lint warnings
|
2021-02-20 22:47:01 -03:00 |
|
TipicoDev
|
23232ed2c1
|
Adding color to the formatter
|
2021-02-20 20:35:08 -03:00 |
|
TipicoDev
|
d84cd73a14
|
Merge branch 'master' of https://github.com/TipicoDev/Twitch-Channel-Points-Miner-v2
|
2021-02-19 16:13:51 -03:00 |
|
TipicoDev
|
12e07547a0
|
Printing colorful EventPrediction results
Added colorama to the requirements and made a simple code to print win results in green and lose results in red
|
2021-02-19 16:13:42 -03:00 |
|
Alessandro Maggio
|
83c6cfb0ee
|
Merge branch 'master' into improvement-drops
|
2021-02-18 22:17:31 +01:00 |
|
kelukelol
|
bba82af892
|
Update WebSocketsPool.py
lolz
|
2021-02-18 03:39:24 +02:00 |
|
Alessandro Maggio
|
5d09074572
|
Little code refactory where It's possible 😊
|
2021-02-14 12:22:36 +01:00 |
|
Alessandro Maggio
|
4bdc726ba2
|
Merge branch 'master' into improvement-drops
|
2021-02-13 12:05:55 +01:00 |
|
Alessandro Maggio
|
6e0ba67f80
|
The use of __slots__ can save more RAM. There are multiple articles online, I've read this: https://tech.oyster.com/save-ram-with-python-slots/
|
2021-02-13 11:48:22 +01:00 |
|
Alessandro Maggio
|
4fcaeae4cf
|
Fix conflict, merge master with improvements-drops
|
2021-02-13 11:18:48 +01:00 |
|
Alessandro Maggio
|
9a36dbd862
|
Use reconnect flag for manage ws reconnection and main threads
|
2021-02-12 22:12:56 +01:00 |
|
Alessandro Maggio
|
175d6abe12
|
Instead of appending every time a new ws at the end of array replace at same index. Seems to be a good solution.
|
2021-02-12 00:15:47 +01:00 |
|
Alessandro Maggio
|
2c843bc252
|
Start with drops improvement. Currently we try to handle the inventory and dashboard for correct percentage logs. Save in stream Object also the drops drops_available. This commit and the future are all related to #65 #40 #35 #27
|
2021-02-11 21:35:26 +01:00 |
|
Alessandro Maggio
|
7c2dd53951
|
Appen new ws also when the pending_topics are gte 50
|
2021-02-11 16:58:48 +01:00 |
|
Alessandro Maggio
|
137d5d5e34
|
I don't know why but I've already done this commit yesterday but It was lost 😕
|
2021-02-11 10:42:14 +01:00 |
|
Alessandro Maggio
|
46de5b3c26
|
Merge branch 'master' into reconnection-error
|
2021-02-10 15:17:10 +01:00 |
|
Alessandro Maggio
|
ca3c5037af
|
Prevent multiple subscription to the same topics from multiple ws. https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/54\#issuecomment-776696545
|
2021-02-10 15:17:02 +01:00 |
|
Alessandro Maggio
|
696a78197c
|
Attempt to handle all connection error/exception. Return {} in case of exception and check correctly with If statement if we are right or not. Don't recconect with lost PING if connection in not available
|
2021-02-09 10:44:35 +01:00 |
|
Alessandro Maggio
|
8d00d6da6f
|
Reduce prediction window by 3/6s - Collect more accurate data for decision
|
2021-02-08 08:37:13 +01:00 |
|
Alessandro Maggio
|
fb36fa3dbb
|
On Exception is_closed=True. Rety after x random minutes if the internet connection It's not available
|
2021-02-07 16:19:39 +01:00 |
|
Alessandro Maggio
|
8205f019de
|
Fix [] vs None
|
2021-02-06 19:55:33 +01:00 |
|
Alessandro Maggio
|
7a895bf9c3
|
Clear code, update readme
|
2021-02-06 16:45:34 +01:00 |
|
Alessandro Maggio
|
deb6f611d2
|
Sync repo with master branch
|
2021-02-06 16:32:40 +01:00 |
|
Alessandro Maggio
|
3ff56d401a
|
Merge pull request #51 from Tkd-Alex/betting-improvement
Multiple bet improvement: filter, stealth_mode
|
2021-02-06 16:25:43 +01:00 |
|
Alessandro Maggio
|
67e36a66ad
|
Merge pull request #49 from Tkd-Alex/ws-pool
Array of ws in WebSocketsPool.py
|
2021-02-06 16:25:13 +01:00 |
|
Thomas Couchoud
|
78b64ca3b2
|
Remove test log & use category PREDICTION instead of PREDICTION-TEST
|
2021-02-05 08:47:07 +01:00 |
|
Alessandro Maggio
|
d71f37ad58
|
oh damn
|
2021-02-04 23:52:29 +01:00 |
|
Alessandro Maggio
|
d84a45bb0d
|
Reconnection automatically after ws close. def end() check if ws is None else forced_close. Move reset method inside __init__
|
2021-02-04 11:03:51 +01:00 |
|
Alessandro Maggio
|
4ef5baddac
|
After the first test i lose the ability to ping twitch server and I'm able to reconnect. I think that an error raised (now logged) and ws.keep_running was set to False by lib. So remove handling of keep_running. Log close and error so let's wee see
|
2021-02-04 00:55:34 +01:00 |
|
Thomas Couchoud
|
80f8ebd476
|
Attempt to fix PREDICTION showing with count -1 in final report
|
2021-02-03 18:35:09 +01:00 |
|
Alessandro Maggio
|
a1d472f2fa
|
Get the latest element from array with [-1] instead of len(item) - 1, thanks for the hit! @RakSrinaNa
|
2021-02-03 14:57:15 +01:00 |
|
Alessandro Maggio
|
08b07a9730
|
is False, instead of Not condition
|
2021-02-03 13:38:04 +01:00 |
|
Thomas Couchoud
|
91a7bda0da
|
Fix lint report again 😅
|
2021-02-03 13:34:17 +01:00 |
|
Thomas Couchoud
|
6565b714d9
|
Fix lint report again
|
2021-02-03 13:33:10 +01:00 |
|
Thomas Couchoud
|
b7c1a1de06
|
Fix lint report
|
2021-02-03 13:31:08 +01:00 |
|
Thomas Couchoud
|
e92f4a58aa
|
Display gained as "+x" if x is positive
|
2021-02-03 13:25:48 +01:00 |
|
Alessandro Maggio
|
51c0d6dcfa
|
According to #42 create and manage an array of ws in pool class. Related also to #39.
|
2021-02-03 13:12:25 +01:00 |
|
Thomas Couchoud
|
0adf168dea
|
Display prediction gain instead of points won & merge prediction refund into prediction
|
2021-02-03 13:07:35 +01:00 |
|
Alessandro Maggio
|
92648fa6db
|
According to #41 we can use a random hex of 32 chars as transactionID
|
2021-02-03 12:02:38 +01:00 |
|
Alessandro Maggio
|
00dbadc14e
|
Fix betting after the last update. Update README with single settings (but not completed)
|
2021-02-02 00:26:37 +01:00 |
|
Alessandro Maggio
|
97e6751dfe
|
Code refactory 😄
|
2021-02-02 00:14:45 +01:00 |
|
Alessandro Maggio
|
1dee172a6c
|
Call self.start_bet(event) inside place_bet(event) - Attempt to speed-up the bet system so we don't need to make a pause and skip others bet -- https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/28\#issuecomment-771075169 #28
|
2021-02-01 22:56:13 +01:00 |
|