any-other-guy / LostArk-Endless-Chaos

💎Lost Ark Chaos Dungeon Farming Bot💎失落的方舟无限刷混沌地牢脚本
79 stars 48 forks source link

Some feature update requests #65

Open chaos-andy opened 1 year ago

chaos-andy commented 1 year ago

Just created this account to thank you for your work and to make some requests.

BoredCoder95 commented 1 year ago

Been working on my own fork of this, and already addressed several of these. My fork isn't set to public yet, as I'm not satisfied with it fully, and don't want to take away from any of the credit from the original as it's awesome. But I can explain how to make the edits you're asking for.

24 (and more for future ones) characters support. (I have 23 characters now, one of each class and I will make the list grow when we have more classes available in West.)

Check out the "Support for more than 9 characters" issue: https://github.com/any-other-guy/LostArk-Endless-Chaos/issues/33 Already has a fix. I got mine running the full 24.

True/False option to disable endless chaos for characters or roster. (I dont want to bot for endless chaos, just want to do AoR runs.)

I still have to test it, but I think this would do the trick. In the config.py file, at the end of config{} add "endlessChaos": False,

In the box.py file, find the def enterChaos(): function, look for these lines

if states["multiCharacterMode"] or aor != None: else:

Add this in between them

elif config["endlessChaos"] == False sys.exit()

Should look like

if states["multiCharacterMode"] or aor != None: elif config["endlessChaos"] == False sys.exit() else:

1415 Chaos Dungeon (According to a warning message in config.py, supported Chaos Dungeons are 1475, 1445, 1370, 1110.)

In the box.py file, find the def enterChaos(): function, look for the chaosTabPosition definition and make these edits:

chaosTabPosition = { # north vern 250: [[505, 305], [524, 400]], 340: [[505, 305], [524, 455]], 380: [[505, 305], [524, 505]], 420: [[505, 305], [524, 555]], # rohendel 460: [[685, 305], [524, 400]], 500: [[685, 305], [524, 455]], 540: [[685, 305], [524, 505]], 580: [[685, 305], [524, 555]], # yorn 600: [[865, 305], [524, 400]], 840: [[865, 305], [524, 455]], 880: [[865, 305], [524, 505]], 920: [[865, 305], [524, 555]], # feiton 960: [[1050, 305], [524, 400]], 1000: [[1050, 305], [524, 455]], 1040: [[1050, 305], [524, 505]], 1080: [[1050, 305], [524, 555]], # punika 100: [[1225, 305], [524, 400]], 1310: [[1225, 305], [524, 455]], 1325: [[1225, 305], [524, 505]], 1340: [[1225, 305], [524, 555]], 1355: [[1225, 305], [524, 605]], 1370: [[1225, 305], [524, 662]], 1385: [[1225, 305], [524, 715]], 1400: [[1225, 305], [524, 770]], # south vern 1415: [[1400, 305], [524, 405]], 1445: [[1400, 305], [524, 455]], 1475: [[1400, 305], [524, 505]], 1490: [[1400, 305], [524, 555]], 1520: [[1400, 305], [524, 605]], 1540: [[1400, 305], [524, 655]], 1560: [[1400, 305], [524, 705]], }

chaos-andy commented 1 year ago

Thank you for answering Shayne.

Click to expand

But I dont know if it works properly. I couldnt test it yet.

After my post, I saw that "bot.py" has support for all Punika and South Vern Chaos Dungeons. And I checked the coordinates with the help of a tool called "AutoClicker" to see if they are correct and found out that coordinates are correct. (Image in spoiler below.)

Click to expand

Also I have to say I'm literally zero when it comes to anything coding related. So suggesting me those lines wouldnt help me. I need step by step guide to do it myself or a picture of final product so I can try to make mine like that, or I need you (or someone else) to do all the job and send me the finished product. (Sharing all those lines still helpful to those who knows how to do it, so they are useful.)

BoredCoder95 commented 1 year ago

The 24 character thing should work, I've been using it for quite awhile now. Mine looks like:

Config.py

New character swap function

How I changed the function calls

Removing the "ilvl-endless": 1445," line in "characters.py" likely does do the trick, but mainly on account of it causing the code to error out when it tries to pull the variable. Having a True/False variable setup to disable endless is alot cleaner.

Try this instead

Don't take the line numbers to heart, as I've done a fair bit of modifications to the version I'm running. Once I've tested and finalized my fork, I'll make it public (giving credit to this one of course).