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

Update for latest patch. #74

Open
hsieharrison opened this issue Aug 21, 2023 · 45 comments
Open

Update for latest patch. #74

hsieharrison opened this issue Aug 21, 2023 · 45 comments

Comments

@hsieharrison
Copy link

Sad to see the author is no longer updating this bot. I've been working on improving this bot myself after hearing the news. Currently, I have updated screenshot folder for gunslinger, added support for demonic impulse, and added support for pinnacle glav (although this was really just # out in the code). Updated the mouse X,Y locations for bifrost and updated mouse X,Y for chaos dungeon locations. Updated mouse X,Y locations for charPositions up to 18 (although this only works if you have at least 16 chars).

Currently working on automating leapstone dailies (can only automate Mokomoko island and Hestera Garden dailies, will add more once the other leapstone dailies are added from Korea). I do want to ask how mouse x,y positions are calculated. Everything I've used returns different values than the ones used in the script.

I would also like to potentially add more to the readme for guides on how to better optimize skills for higher success rate. (For ex, even if skills are directional, they should still be listed as non-directional because AOE spells are better selfcast.

@jaredrklein
Copy link

Will you be making it public? I was waiting to confirm he was'nt updating before putting in the effort aside from a few x,y updates.

There might be a few of us who could who could get it in better shape if the original guy is cool with it.

@BoredCoder95
Copy link

BoredCoder95 commented Oct 7, 2023

I've been working on my own fork for quite some time, but never thought to make it public on account of this one still being updated by the original author. If they are no longer supporting, I'll make mine public and share it.

https://github.com/BoredCoder95/ChaosBot

Any feedback and help would be appreciated.

@hsieharrison
Copy link
Author

hsieharrison commented Oct 7, 2023

So far starters, I actually customized mine to do mokomoko, Examine the Brilliant Spring, and Writer's Life: Fan Meeting. The last one is an honor shard daily since it's easy to script.

I also added the option in my edit to only do lopangs as an option. All you really have to do is just subtract 2 from the current character's aura lol.

I would love to collaborate on some ideas to maybe improve the script for more consistent floor 3 clears. I have two ideas for this. One idea is just resurrecting with phoenix plumes if you die in floor 3. Second idea is just forcing your character to die once upon entry to floor 3 before clearing. Curious to know your thoughts on it.

Also adding in a feature to resume the bot after the script fails would be a cool feature to have. I currently just edit the 'main character" value to whichever character the script failed on but its not the best way to resume since it assumes everybody has aura again. Probably a simple feature but I haven't looked too much into adding it since editting the main character value works good enough for me.

I don't really use github but I would love to somehow get in touch on discord or something and collaborate on it.

@jaredrklein
Copy link

Damn ight ill hit you up in Discord and check out that new fork today/tomorrow and see how we can all link up to collab.

@BoredCoder95
Copy link

I would love to collaborate on some ideas to maybe improve the script for more consistent floor 3 clears. I have two ideas for this. One idea is just resurrecting with phoenix plumes if you die in floor 3. Second idea is just forcing your character to die once upon entry to floor 3 before clearing. Curious to know your thoughts on it.

Main issue I found with floor 3 clearing was related to the time limit. I got around that by editing it like so:
image
The image it looks for is the exit button that shows up once the timer hits 0:00

@jaredrklein
Copy link

@BoredCoder95 I haven't really figured out the mouse thing either. I have not been able to try changing my display settings on my monitor to match lost ark, which may be the reason it does ever match other than that my only guess is that its program specific? Got caught up with stuff, will try to reach out on Discord soon.

@BoredCoder95
Copy link

@jaredrklein the test.py file that is included with this bot is what I used to figure out mouse positions for edits, it just constantly outputs the x,y of your current mouse location, along with the rbg at that point

@Kerine999
Copy link

Happy to collab as well - re: failing floor 3, I have mine using phoenix plumes on floor 3 specifically - it tends to eat at most 1 per run if the character dies partway through, and prevents them from having a hard time getting back to the mobs. Looks like the repository @BoredCoder95 linked I'm not able to access, though.

@5475616e
Copy link

5475616e commented Feb 2, 2024

Anyone have any an up to date version of this?

@5475616e
Copy link

5475616e commented Feb 9, 2024

Yeh tried it and keeps getting ImageNotFoundException # Raise PyAutoGUI's ImageNotFoundException.
Tried to reinstall Pyautogui still no luck at the moment

@Mxxinn
Copy link

Mxxinn commented Feb 13, 2024

So i removed the exception wrapper in pyautogui

Then changed the setting in PyScreeze to False

For version 1.0.0, USE_IMAGE_NOT_FOUND_EXCEPTION is set to True by default.

USE_IMAGE_NOT_FOUND_EXCEPTION = False

Works fine now

@Mxxinn
Copy link

Mxxinn commented Feb 13, 2024

yeah, it's one line starting with @ above the locateonscreen function

@Mxxinn
Copy link

Mxxinn commented Feb 13, 2024

yeah, give me a shout if need help, currently i've added support for Voldis/Elgacia and workingg on Sharpshooter abilities

@Mxxinn
Copy link

Mxxinn commented Feb 13, 2024

No,

So i removed the exception wrapper in pyautogui Then changed the setting in PyScreeze to False.

pyautogui and PyScreeze are the libraries you downloaded. Should take you to the function if you click+ctrl locateOnScreen.

image
This is the wrapper starts with @

image
this setting needs to be false

@5475616e
Copy link

Thanks that worked for me, Only had to change image not found to false

@Mxxinn
Copy link

Mxxinn commented Feb 14, 2024

something with your characters or main character settings

"mainCharacter": 0, # must be in between number 0 to len(characters) - 1 (0 is the first character)

characters = [ { "index": 0, "class": "deathblade", "ilvl-endless": 1610, "ilvl-aor": 1610, "lopang": False, "guildDonation": True, "rapport": False, }, { "index": 1, "class": "deathblade", "ilvl-endless": 1600, "ilvl-aor": 1600, "lopang": False, "guildDonation": True, "rapport": False, }, { "index": 2, "class": "sharpshooter", "ilvl-endless": 1580, "ilvl-aor": 1580, "guildDonation": True, "rapport": False, }, { "index": 3, "class": "paladin", "ilvl-endless": 1560, "ilvl-aor": 1560, "lopang": False, "guildDonation": True, "rapport": False, }, { "index": 4, "class": "berserker", "ilvl-endless": 1540, "ilvl-aor": 1540, "lopang": False, "guildDonation": True, "rapport": False, }, { "index": 5, "class": "striker", "ilvl-endless": 1520, "ilvl-aor": 1520, "lopang": False, "guildDonation": True, "rapport": False, },

@SkDoesToasterBath
Copy link

Anyone knows if it still works or has a working Version of it?

@SkDoesToasterBath
Copy link

If you do what mxxinn said, yeh

I literally have 0 knowledge with what everyone is talking here but on a scale on 1 to 10 how hard can it be to do what he said?

@SkDoesToasterBath
Copy link

I have 0 knowledge too, so i think maybe 2/3, its not hard, the only hard part is to find the file, thats all

Tbh I have 0 clue what exactly to do with all the things shown in the github link - for example what I have to download or what programs I need in order to make everything work too

@SkDoesToasterBath
Copy link

Well, go to the main Page, and click code, download the Zip, extract the Zip, if you dont have Python installed download It too, open a terminal and go to the folder, install the requirements doing, pip install -r requirements.txt, go to config and set Up tour your config, and do abilities too, then go to the files you have to change the thing that are Up in the comments and you are good to go

For now I just followed the readme Instructions - do I have to do the "pip install -r rqeuirements.txt" still?

@SkDoesToasterBath
Copy link

No if you did this https://github.com/any-other-guy/LostArk-Endless-Chaos?tab=readme-ov-file#3-start-running-script

For Classes can I just add "souleater" without having to worry about anything?

@SkDoesToasterBath
Copy link

Idk, i didnt understand well how to config It, i think there is a number for each class, and you put that number, and also config the abilities, that IS VERY IMPORTANT, i didnt get the tool running well, but at least the issues that i had were solved touching the other files mxxinn told me

For the config.py how did you add your characters exactly? Did you put in the index number from them and how did you pick multiple?

@SkDoesToasterBath
Copy link

Wait I just read now that it just enters low level chaos dungeon is that still the case?

@SkDoesToasterBath
Copy link

LMAO this might be the dumbest question but where do I put the commands to start the script? :X

@SkDoesToasterBath
Copy link

SkDoesToasterBath commented Feb 27, 2024

Figured it out

@SkDoesToasterBath
Copy link

SkDoesToasterBath commented Feb 27, 2024

Okay so how do I get into the things Mxxinn mentioned?

Wanna add each other in dc so I dont have to spam this thread? ^^'

@Vinh1984
Copy link

Vinh1984 commented Oct 9, 2024

I asked if AUTO was completed? If used for TAIWAN server, can it be used? And do I need to adjust anything else?

@JustaBeba
Copy link

I asked if AUTO was completed? If used for TAIWAN server, can it be used? And do I need to adjust anything else?

You need to modify the login method and almost all in-game screenshots.
The program can run on the Taiwan server. Its algorithm is better than I imagined.

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

10 participants