Nicklason / tf2-automatic

A free and open source, fully automated TF2 trading bot, advertising on backpack.tf using prices from prices.tf
https://tf2automatic.com
MIT License
82 stars 41 forks source link

Screenshot problem #105

Closed idinium96 closed 4 years ago

idinium96 commented 5 years ago

09-04-2019 13:22:46 - warn: Error when capturing and sending screenshot: PhantomJS exited with return value 1

is there anything I can do about this problem?

portothree commented 5 years ago

You can fix that by disabling screenshots. Here's a tutorial made by Cloud#0418 which is fixed on the #help channel on the discord group:

https://pastebin.com/YCaxUV0c

idinium96 commented 5 years ago

Thanks for the tutorial.. but I don't want to disable it actually. I want my bot to be able to capture the trade that they made.

Faaa97 commented 5 years ago

If you're using raspberry pi, this is what I've done and works fine:

  1. Install everything from this section https://github.com/Nicklason/tf2-automatic/wiki/Setup-on-Linux#phantomjs-installation

  2. Either compile it yourself / use pre-compiled binaries https://github.com/fg2it/phantomjs-on-raspberry/tree/master/rpi-2-3/wheezy-jessie/v2.1.1#phantomjs-on-raspberry-pi-2-and-pi-3wheezy-and-jessie

Then everything works now, but fonts in the image are different from windows version.

If you're not using raspberry pi, try installing PhantomJS for your platform or compile it yourself.

Nicklason commented 4 years ago

Removed screenshots in v2