ilpersi / BHBot

A bot that automates a game called Bit Heroes
GNU General Public License v3.0
28 stars 32 forks source link

Load without Kong interface #130

Closed Hunteil closed 4 years ago

Hunteil commented 5 years ago

Is your feature request related to a problem? Please describe. Not problem related... I just believe this could be very helpful in reducing all the assets running in the background.

Describe the solution you'd like So imagine, instead of opening up the kong web page and having the bot scroll you to the center and resizing the window and logging in. Imagine having the bot put in one single bookmark link and that's it?

Additional context Hello, just a fan here ;-)... Tried playing with this and found that it works in a way I didn't expect and I feel like it uses a lot more assets than necessary... First off, I want to say I'm not a programmer. I'm just going off assumption here from obvious reasons you'll see in a second.

What I expected was the technique I was taught by someone with well over 20+ alt accounts that they run all at once. I'll try my best to explain the process... I don't know the terminology. But I know that this is easier once it's setup.

So I'm gonna try and explain this step by step....

  1. Open "https://www.kongregate.com/games/Juppiomenz/bit-heroes" in Chrome (not chromium)
  2. Log in (let it load you in but don't touch anything)
  3. Press F12
  4. Choose "Network"
  5. Look for a filter/search (it's below network 2 bars down)
  6. In that field type "do_not_share"
  7. A single or multiple links will show up. (In my case as I'm doing this, I have only 1 link.) Copy that link. (if nothing shows up, refresh page)
  8. Open new chrome window and paste into the address bar.
  9. That's it. That link carries all the sign in data you need and nothing else from the kong site on the sides.

Do you guys think this'll be helpful?

ilpersi commented 5 years ago

Thank you: this is a really interesting contribution!

I've tested with it a bit and I've been able to get the "do_not_share" link :) I'll have a look and see if this can be integrated into the codebase in the upcoming days.

It would be nice to get in touch with someone running 20+ accounts. I'd be curious to share more suggestions optimizations.

Hunteil commented 5 years ago

You'll do a facepalm when you realize who... It was Seedling. :-p He/she has an entire guild of seedlings lol. I haven't seen him/her on for awhile. But I don't really look at the chats anymore. I know one optimization he'd want is to run this bot on multiple accounts at the same time. Only thing I can think of is a program that works outside of flash/chrome, that just scans for the images and clicks. (Again not a programmer here lol)

ilpersi commented 4 years ago

This feature is now available in v44pr1.

To make this feature work, you need to add the following line to your settings.ini file:

useDoNotShareURL 1

Please note: this feature is to be considered experimental so support is limited 😉

Hunteil commented 4 years ago

I added that to the very bottom of my settings.ini file. It's working! Very nice! It seems to be running smoother.

ilpersi commented 4 years ago

I am closing this. If you need further help, please open a new issue. 😄