Open kizxlove opened 1 year ago
This is honestly one of many things I've planned to work on improving but I currently have very little time to work on the bot hence why the bot is pretty messy with the current set
Not sure if I'm missing something with the path you are showing but it won't pickup things that drop from augments on the left side of the board
I have amended it myself, it will reduce about 4 seconds of pickup time and pickup all the items on the boards. ITEM_PICKUP_LOC: list[Vec2] = [ Vec2(1459, 605), Vec2(1293, 313), Vec2(1093, 235), Vec2(683, 309), Vec2(461, 655), ]
As for the random champ when it's not in the final comp, I think we can still upgrade it until we roll out the exact final comp we need. In addition, for the item combination, this is currently a situation where sometimes we are unlucky and can't find the required item, while the unnecessary items are full of board. I've tweaked it a bit in the arena file so that it randomly attaches any item to the champion that needs them. Although the bot worked as I wanted it to, it was not so effective because the item wasn't intended for it. I'm considering to make a list of physical, defensive, and magical items and randomly attach them to the respective champions. However I just came across this bot and it took a while for me to understand how it works. Looking forward to receiving your help soon.
Oh awesome. I'll push this along with some small fixes in a few hours
I've wanted to implement a temp comp system for a while like what can be done from the the original bot this is forked from basically making comps more dynamic. In theory users can build their own temp comp and/or since the bot knows what comp is running and the units it needs to can 'build' it's own temp comp from the units not being used in the final comp. these units will hold the items for the units included in the final comp once the bot comps across final comp units to replace the temp units on the board. Though this doesn't really solve the influx of items that are on the bench that the bot doesn't know how to use
The way you suggested is a good way, but so we will have to improve the item data because as far as I can see, it seems that the bot can only scan component items but not complete items. when they fall out. I think we can choose a temporary option that allows a champion to combine all component items in a random order, but the constraint is whether the item is AP, AD or defensive. So defensive champions will still get defensive items even though it's not as effective as ideal items, similar to AD or AP champions. Anyway, I think we don't need to expect too much of a bot to work perfectly, that could lead to Riot's attention and make it easier for this bot to fall into their spotlight.
The bot does place completed items on units so if you have a rageblade on the bench and the comp has a unit that needs rageblade it will put the item on the unit even if it's already trying to build something for that unit. Example - this comp the bot uses if rageblade is on the bench and the bot has already put a bow to build gaintslayer on azir it will put the rageblade on azir
On the whole defensive champions will still get defensive items etc... There are different ways to do item stuff but I really think it will be too complicated and not really worth the time. Currently the bot pulls comps from lolchess.gg (unit position, items, augments) so the already existing items would need to be accounted for like if current comp has stoneplate on Taric then the item bench full logic excludes the components to make stoneplate... Or when scanning the items there are 4 tears on the bench then the bot should try building a random item using the tears. I get clearing the bench so it can get other components to hopefully build the items it needs but the basics are there. It builds items for the comp it is running (when it has the components). Don't get me wrong I like the idea but my current focus is small things because the current lack of time I have to work on this now The bot is really used for farming passes not for trying to be the best or at least that's how I've always looked at it
I think there is a simpler method to solve this problem. That is to add a function so that when the items in the 10 slots are full and a specific round has arrived, for example, round 3-2, the bot will attach the items according to a determined list (random is also fine). ) up to any 2 or 3-star champ on the board. I'm running a separate bot to do this, but it's a bit cumbersome, so I hope you can add it directly to the bot when you have time.
Is your feature request related to a problem? Please describe. The time to pick up items in the current drop rounds is very long. This leads to a small bug, if leveling up at this point, auto won't have enough time to rescan the board size. This leads to sometimes some champions being placed on the board by the system and not being recognized by the Bot, then leaving the "?" mark.
Describe the solution you'd like Taticans will speed up when moving towards an item, so can improve its movement to optimize pick up time
Describe alternatives you've considered This is the Tacticans path that I used when building a bot with image scanning. You can consult.