meepen / salien-bot

Steam Summer Sale 2018 "Salien" minigame bot - runs in console or browser
MIT License
418 stars 104 forks source link

Support for Bosses in headless/userscript #156

Closed giv13 closed 6 years ago

giv13 commented 6 years ago

Look at this: https://www.youtube.com/watch?v=xt3UOnAv90o. They added bosses?

Does your script support this? Or do I need to search for the boss manually? Thanks!

2018-06-30_22-34-16

meepen commented 6 years ago

Should support it

On Sat, Jun 30, 2018, 1:24 PM Ilia Grigorev notifications@github.com wrote:

Look at it: https://www.youtube.com/watch?v=xt3UOnAv90o. They added bosses?

Does your script support this? Or do I need to search for the boss manually? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/meepen/salien-bot/issues/156, or mute the thread https://github.com/notifications/unsubscribe-auth/AF5lSfxYg0nuGq8KdgqKUO-I6g4a7oYdks5uB7RmgaJpZM4U-CzB .

Makaka2 commented 6 years ago

Yes, it supports boss rounds. I tried a new feature this morning.

Makaka2 commented 6 years ago

Though it's little unstable. I hope @meepen will fix it soon.

meepen commented 6 years ago

Can you make a bug report about how it's unstable as well as your version

On Sat, Jun 30, 2018, 2:51 PM Makaka2 notifications@github.com wrote:

Though it's little unstable. I hope @meepen https://github.com/meepen will fix it soon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/meepen/salien-bot/issues/156#issuecomment-401559459, or mute the thread https://github.com/notifications/unsubscribe-auth/AF5lSekM3VSo9Q2IfwCrhlr4qvS3WUsQks5uB8jHgaJpZM4U-CzB .

darkl1ch commented 6 years ago

well. the headless mode didnt do anything on the boss planet. :(

Makaka2 commented 6 years ago

Ok. I'm using the latest version, headless, re-downloaded it just 1 hour ago. Firstly, the percentage of the boss HP is broken. Secondly, when the fight ends, game freezing (but scores are counting anyway) and to continue you must reload the script.

csis0247 commented 6 years ago

I can second the report by @Makaka2 . Just fought a boss on an easy tile on Time Manipulation Planet. Percentage HP was like 0.XX% all the way, and headless failed to move on to a new zone after the fight but scores of the boss fight were recorded. Regrettably I forgot to add the --log switch after updating my script version to 2.1.5, so I can't provide you with logs to debug.

Makaka2 commented 6 years ago

@darkl1ch You must use a special command besides primary. Add an "-e" supplement to usual "node headless" command.

ahakola commented 6 years ago

I had the newest version at the time of the boss fight and my headless also stopped picking new zones after boss fight ended. It didn't even show the updated score. I waited few minutes (At least 5mins) and it was still looping without picking new zone or showing the new score. After restarting the app it showed the updated score and picked new zone.

Spartanul commented 6 years ago

In my case, whenever there is a boss fight, I must manually accept the battle as this script does not do it automatically. Am I missing something? :(

csis0247 commented 6 years ago

@darkl1ch you should update the script because boss-support is enabled by default without having to specify -e since commit [11f7e73fae266d8c0a495307c032eef075ef42ec] (https://github.com/meepen/salien-bot/commit/11f7e73fae266d8c0a495307c032eef075ef42ec) 17 hours ago.

ahakola commented 6 years ago

@Spartanul if you are running the headless, maybe you didn't give your script enough time to notice the fight or the servers were hammered with join requests from other users and couldn't get through before you manually zoned to the fight?

Spartanul commented 6 years ago

@ahakola - I'm just running the simple "Userscript Mode".

Makaka2 commented 6 years ago

Seems like their servers are going crazy. Is there anybody who have a freeze trouble right now? Dirty Planet is in distortion process as I can see.

UPD: All is OK now.

ahakola commented 6 years ago

@Makaka2 probably serverside issues, that might be also why there was hickups after the boss fight.

darkl1ch commented 6 years ago

thx for the advices, but i had the latest version which i could, but during the boss level, the "headless" bot didnt do anything.

MISTERAMD commented 6 years ago

I've been checking https://wrya.net/tmp/salien-status/all.html , yet so far I haven't seen any red triangle that represents the Boss battle. Add it to the bot so it automatically starts the correct planet with the correct "Boss-battle" for maximum XP?

ahakola commented 6 years ago

That hung up after the boss fight is probably caused by error in the network.js #162

MISTERAMD commented 6 years ago

Just fought a Boss, gaining 2.5 million XP I joined https://discordapp.com/channels/459435127932715008/462403694122631169 Boss is added manually!! This script helped me, but at the end it didn't press the button, but I did in time before the script relaunched the game!

callmenemo491 commented 6 years ago

Am running: index.user.js (version 29), i dont see the script currently supporting the new skill that appears during the boss battle.

hptwo commented 6 years ago

I'm using index.user.js version 29. I've been manually clicking on the 'Fight!' button to start the boss fight. I have also been manually hitting the '6' key on my keyboard to activate the healing ability. I'm looking through the attacks.js file in the developer console to try and kludge together a HealAttack like FreezeAttack and try it out the next time I encounter a boss.

meepen commented 6 years ago

thanks @hptwo feel free to make a pr to add that! the issues with headless are fixed.

callmenemo491 commented 6 years ago

PR #170, to support boss "fight" button press, and new skill ('6' key)