tf2-automatic-gui icon indicating copy to clipboard operation
tf2-automatic-gui copied to clipboard

[v3] Working version and guide on VPS

Open ZeusJunior opened this issue 5 years ago β€’ 14 comments

  • Needs steam login, should compare to the bots admins array
  • Will need to assume they’re running with pm2/ecosystem
  • Because of that, needs support for multiple bots

Will edit if I find out more stuff it needs

ZeusJunior avatar May 08 '20 08:05 ZeusJunior

  • Verify user accesing website
  • maybe make comunication with sockets not steam chat

arik123 avatar May 08 '20 09:05 arik123

Verify is done using the steam login, isn't it

ZeusJunior avatar May 08 '20 10:05 ZeusJunior

  • Split vue into component
  • maybe use webpack
  • maybe babel for better browser compatibility

arik123 avatar May 09 '20 19:05 arik123

I've made a work in progress guide on VPS installation https://github.com/ZeusJunior/tf2-automatic-gui/wiki/Installation-on-VPS

ZeusJunior avatar May 11 '20 12:05 ZeusJunior

Maybe make a login page, that requires user to input username and password/pin that he/she set in config.json.

idinium96 avatar May 17 '20 12:05 idinium96

@ZeusJunior wanted to do login with steam oauth. And it might be better that way, because it should not need SSL.

arik123 avatar May 17 '20 15:05 arik123

I see... πŸ‘πŸ»

idinium96 avatar May 17 '20 16:05 idinium96

Temporary method to run tf2-automatic-gui on multiple bots or if you run the bot on a shared VPS:

  • set custom port. https://github.com/idinium96/tf2-automatic-gui/blob/custom-port/app/index.js#L16 I can do a PR if it's not a bad idea.

idinium96 avatar May 22 '20 15:05 idinium96

  • set custom port. https://github.com/idinium96/tf2-automatic-gui/blob/custom-port/app/index.js#L16 I can do a PR if it's not a bad idea.

Not yet, as I don’t recommend running it on VPS currently.

ZeusJunior avatar May 22 '20 16:05 ZeusJunior

alright no problem

idinium96 avatar May 22 '20 17:05 idinium96

@idinium96 If you'd like to follow progress, its currently on this branch https://github.com/ZeusJunior/tf2-automatic-gui/tree/dev-z (If that link ever stops working it means it was deleted and merged with regular development)

ZeusJunior avatar May 24 '20 20:05 ZeusJunior

@ZeusJunior Thank you πŸ‘πŸ»πŸ‘πŸ»πŸ‘πŸ»

idinium96 avatar May 25 '20 01:05 idinium96

Suggestion:

  • add a button to restart the bot, which will run command pm2 restart <appName or appID> on the top right of the GUI page.

idinium96 avatar May 26 '20 13:05 idinium96

If my tf2-automatic modification will work, this should not be needed

arik123 avatar May 26 '20 19:05 arik123