Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some feature update requests #65

Open
chaos-andy opened this issue Jun 3, 2023 · 3 comments
Open

Some feature update requests #65

chaos-andy opened this issue Jun 3, 2023 · 3 comments

Comments

@chaos-andy
Copy link

chaos-andy commented Jun 3, 2023

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

  • 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.)
  • 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.)
  • 1415 Chaos Dungeon (According to a warning message in config.py, supported Chaos Dungeons are 1475, 1445, 1370, 1110.)
  • More, easier guides for customising the bot files.
@BoredCoder95
Copy link

BoredCoder95 commented Jun 4, 2023

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: #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
Copy link
Author

chaos-andy commented Jun 4, 2023

Thank you for answering Shayne.

  • I'm aware of your modification in Issue#33. I tried to inject it into my "config.py" file. It looks like the picture in spoiler below:
Click to expand

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

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

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
  • For the True/False toggle request, a friend of me told me that removing ""ilvl-endless": 1445," line in "characters.py" file makes bot to not do infinite chaos with characters which doesnt have that line. I havent tried it yet by myself, and my friend is not sure about it bcuz it's been a while since he used that trick. But still having a better and easier way to prevent infinite runs would be nice.

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
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants