nicklason / tf2-automatic Goto Github PK
View Code? Open in Web Editor NEWA free and open source, fully automated TF2 trading bot, advertising on backpack.tf using prices from prices.tf
Home Page: https://tf2automatic.com
License: MIT License
A free and open source, fully automated TF2 trading bot, advertising on backpack.tf using prices from prices.tf
Home Page: https://tf2automatic.com
License: MIT License
A small suggestion:
If possible it would be nice to have an option within the config file that would allow the bot owners to allow/disallow overpay on the bot trades.
} else if (command == 'avatar' && Automatic.isOwner(steamID64)) {
const avatar = message.substr(message.toLowerCase().indexOf('avatar') + 7);
if (avatar = '') {
Automatic.message(steamID64, 'You forgot to add an url. Here's an example: "!avatar http://steamavatars.co/wp-content/uploads/pepe-steam-avatars.jpg"')
return;
}
Automatic.community.uploadAvatar(avatar)
here's my issue
15-02-2019 22:46:55 - debug: Attempting to connect to PM2...
15-02-2019 22:47:05 - debug: Successfully connected to PM2!
15-02-2019 22:47:05 - info: tf2-automatic v1.11.0 starting
15-02-2019 22:47:05 - info: Connecting to Steam...
15-02-2019 22:47:05 - error: tf2-automatic crashed! Please create an issue with the following log:
crash: Automatic.version: 1.11.0; node: v10.15.1 win32 x64; Contact: null
crash: Stack trace:
TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be one of type string, TypedArray, or DataView. Received type undefined
at new Hmac (internal/crypto/hash.js:88:11)
at Object.createHmac (crypto.js:133:10)
at Object.exports.generateAuthCode.exports.getAuthCode (C:\Users\Andrew\Desktop\tf2-automatic-master\tf2-automatic-master\node_modules\steam-totp\index.js:44:20)
at C:\Users\Andrew\Desktop\tf2-automatic-master\tf2-automatic-master\app\login.js:23:48
at IncomingMessage.res.on (C:\Users\Andrew\Desktop\tf2-automatic-master\tf2-automatic-master\node_modules\steam-totp\index.js:129:4)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1103:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
15-02-2019 22:47:05 - error: Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new
15-02-2019 22:50:36 - debug: Attempting to connect to PM2...
15-02-2019 22:50:37 - debug: Successfully connected to PM2!
15-02-2019 22:50:37 - info: tf2-automatic v1.11.0 starting
15-02-2019 22:50:37 - info: Connecting to Steam...
15-02-2019 22:50:37 - error: tf2-automatic crashed! Please create an issue with the following log:
crash: Automatic.version: 1.11.0; node: v10.15.1 win32 x64; Contact: null
crash: Stack trace:
TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be one of type string, TypedArray, or DataView. Received type undefined
at new Hmac (internal/crypto/hash.js:88:11)
at Object.createHmac (crypto.js:133:10)
at Object.exports.generateAuthCode.exports.getAuthCode (C:\Users\Andrew\Desktop\tf2-automatic-master\tf2-automatic-master\node_modules\steam-totp\index.js:44:20)
at C:\Users\Andrew\Desktop\tf2-automatic-master\tf2-automatic-master\app\login.js:23:48
at IncomingMessage.res.on (C:\Users\Andrew\Desktop\tf2-automatic-master\tf2-automatic-master\node_modules\steam-totp\index.js:129:4)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1103:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
15-02-2019 22:50:37 - error: Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new
I'm assuming i did something wrong any help would be great thanks
PLS BAN METoday at 12:07 AM
Boiz
Got lit suggestion
Add option to make buy order for painted so e.g
!add name=A Hat To Kill For&buy_metal=2&sell_keys=69&paint=After Eight
Well its really when i have buy orders for 50+ unusual taunts but I want to buy unique things but have pure enough for them. It would be cool if i dont have to force remove them all, please add this asap
crash: Automatic.version: 1.9.0; node: v10.9.0 win32 x64; Contact: 76561198856342890
crash: Stack trace:
TypeError: Cannot convert undefined or null to object
at values ()
at Schema.getQuality (C:\Users\acer\Desktop\bot\tf2 automatic\node_modules\tf2-items\lib\schema.js:98:17)
at Object.getQuality (C:\Users\acer\Desktop\bot\tf2 automatic\app\items.js:120:25)
at Function.getItem (C:\Users\acer\Desktop\bot\tf2 automatic\app\offer.js:74:32)
at Object.createDictionary (C:\Users\acer\Desktop\bot\tf2 automatic\app\items.js:53:28)
at update (C:\Users\acer\Desktop\bot\tf2 automatic\app\inventory.js:81:24)
at save (C:\Users\acer\Desktop\bot\tf2 automatic\app\inventory.js:71:5)
at C:\Users\acer\Desktop\bot\tf2 automatic\app\inventory.js:62:18
at SteamCommunity. (C:\Users\acer\Desktop\bot\tf2 automatic\node_modules\steamcommunity\components\users.js:484:5)
at Request._callback (C:\Users\acer\Desktop\bot\tf2 automatic\node_modules\steamcommunity\components\http.js:67:15)
Send a message to the bot owner through steam when a new update has been released.
Please add !shutdown command, so maybe if the owner has many outdated listings, cannot update them and isnt home to turn off the bot
Idk something like "screenshots":true/false;
if (screenshots:true)
Automatic.Screenshot some shit
else
//Automatic.Screenshot some shit (dont)
yeah so i dont have open another browser and check manually
crash: Automatic.version: 1.10.4; node: v10.10.0 win32 x64; Contact: 76561198860391071
crash: Stack trace:
{ Error: EMFILE: too many open files, open 'temp/listings.json'
at Object.openSync (fs.js:436:3)
at Object.readFileSync (fs.js:341:35)
at Object.exports.init (C:\Users\ПК\Desktop\tf2-automatic-master\app\prices.js:32:46)
at C:\Users\ПК\Desktop\tf2-automatic-master\app\client.js:209:20
at C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\async\dist\async.js:3866:24
at replenish (C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\async\dist\async.js:998:17)
at iterateeCallback (C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\async\dist\async.js:983:17)
at C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\async\dist\async.js:958:16
at C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\async\dist\async.js:3871:13
at C:\Users\ПК\Desktop\tf2-automatic-master\app\backpacktf.js:52:13
errno: -4066,
syscall: 'open',
code: 'EMFILE',
path: 'temp/listings.json' }
[2:29]M: !update name=Genuine Bonk Helm&stock=2
[2:29]M_BOT: Updated Genuine Bonk Helm.
[2:29]M: !price Genuine Bonk Helm
[2:29]M_BOT: I am buying a Genuine Bonk Helm for 26 ref and selling for 1 key. I have 0 / 1 (last pdated 18-01-2019 00:29:26 +0000).
[2:31]M: !update name=Genuine Bonk Helm&stock=4
[2:31]M_BOT: Updated Genuine Bonk Helm.
[2:31]M: !price Genuine Bonk Helm
[2:31]M_BOT: I am buying a Genuine Bonk Helm for 26 ref and selling for 1 key. I have 0 / 1 (last pdated 18-01-2019 00:31:08 +0000).
5|automati | 26-07-2018 16:23:30 - error: tf2-automatic crashed! Please create an issue with the following log:
5|automati | crash: Automatic.version: 1.7.22; node: v10.7.0 linux x64; Contact: 76561198846789568
5|automati | crash: Stack trace:
5|automati | ReferenceError: community is not defined
5|automati | at offerAccepted (/bots/tf2-automatic/app/trade.js:1063:5)
5|automati | at receivedOfferChanged (/bots/tf2-automatic/app/trade.js:986:9)
5|automati | at handleChangedOffers (/bots/tf2-automatic/app/trade.js:128:9)
5|automati | at Object.exports.init (/bots/tf2-automatic/app/trade.js:55:5)
5|automati | at ready (/bots/tf2-automatic/app/client.js:114:11)
5|automati | at /bots/tf2-automatic/node_modules/async/dist/async.js:3888:9
5|automati | at /bots/tf2-automatic/node_modules/async/dist/async.js:473:16
5|automati | at replenish (/bots/tf2-automatic/node_modules/async/dist/async.js:1006:25)
5|automati | at iterateeCallback (/bots/tf2-automatic/node_modules/async/dist/async.js:995:17)
5|automati | at /bots/tf2-automatic/node_modules/async/dist/async.js:969:16
How do I change the bot name?
Hello, I have an error in the system symbol when running automatic.bat (An error occurred while initializing the packages: Unauthorized.), I wanted to know if you can give a guide how to use it or tell me how to solve it please...
Hi there!
My bot has recently sent a trade that I believe shouldn't have because the purchased items would exceed the defined stock. This happened with the !sell command, cannot confirm if this happens also via trade offer.
Reply of the bot to the !price command (as you can see, stock was set to two): I am buying a Battle-Worn Robot Taunt Processor for 0.55 ref and selling for 0.66 ref. I have 23 / 2 (last updated 05-12-2018 14:19:43 +0000).
Trade: https://tf2automatic.com/trades?id=5c08417bd990a12e9785862a
05-12-2018 11:20:57 - info: Message from Scuram (76561198146073716): !sell 23 Battle-Worn Robot Taunt Processor
05-12-2018 11:20:57 - debug: Adding requested offer to queue
05-12-2018 11:20:57 - debug: Found an offer in the queue, processing it now.
05-12-2018 11:20:57 - info: Handling requested offer from 76561198146073716
05-12-2018 11:20:59 - info: Message sent to Scuram (76561198146073716): Please wait while I process your offer! You will be offered 12.77 ref for your 23 Battle-Worn Robot Taunt Processor(s).
I believe this happened also to other tf2automatic owners and was forwarded on Discord but I've decided to report it here to make it easier to spot rather than on channels logs.
3|automati | at /bots/bot/node_modules/tf2automatic/lib/requests.js:182:9
3|automati | at Request. (/bots/bot/node_modules/tf2automatic/lib /api.js:60:9)
3|automati | at Request._callback (/bots/bot/node_modules/tf2automatic/lib/h ttp.js:28:26)
3|automati | at Request.self.callback (/bots/bot/node_modules/tf2automatic/n ode_modules/request/request.js:185:22)
3|automati | at Request.emit (events.js:182:13)
3|automati | at Request.EventEmitter.emit (domain.js:442:20)
3|automati | at Request. (/bots/bot/node_modules/tf2automatic/nod e_modules/request/request.js:1157:10)
3|automati | at Request.emit (events.js:182:13)
3|automati | 08-08-2018 18:38:43 - error: Create an issue here: https://github.c om/Nicklason/tf2-automatic/issues/new
3|automati | Error: Cannot log onto steamcommunity.com without first being conne cted to Steam network
3|automati | at SteamUser.webLogOn (/bots/tf2-automatic-master/node_modules/ steam-user/components/web.js:9:9)
3|automati | at Object.refreshSession (/bots/tf2-automatic-master/app/automa tic.js:80:30)
3|automati | at /bots/tf2-automatic-master/app/trade.js:547:23
3|automati | at process._tickCallback (internal/process/next_tick.js:68:7)
3|automati | 10-08-2018 13:57:58 - error: An error occurred while initializing t he packages: tf2-items (Failed to get a valid response).
} else if (command == 'unfriend') {
client.chatMessage(steamID64,"Removing you from friends...");
client.removeFriend(steamID64);
community.postUserComment(steamID64, "If you ever wish to trade again, just add me into friends! 💖")
} else if (command == 'help') {
let reply = 'Here's a list of all my commands: !help, !message , !how2trade, !stock, !price , !buy , !sell , !unfriend <I´ll remove you from friends>';
if (Automatic.isOwner(steamID64)) {
reply += ', !add, !remove, !update, !profit, !removefriends, !use, !name, !avatar, !version, !restart, !updaterepo';
} else if (command == 'restart' && Automatic.isOwner(steamID64)) {
const restarting = Automatic.restart();
Automatic.message(steamID64, 'Restarting the bot. Be right back :D');
if (restarting === false) {
Automatic.message(steamID64, 'The bot is not being managed by PM2, follow this guide to set it up: https://github.com/Nicklason/tf2-automatic/wiki/Setup-on-Linux#pm2');
return;
This is the error code.
0|automati | 02-08-2018 03:24:54 - error: tf2-automatic crashed! Please create an issue with the following log:
0|automati | crash: Automatic.version: 1.7.23; node: v10.7.0 linux x64; Contact: 76561198840991984
0|automati | crash: Stack trace:
0|automati | ReferenceError: community is not defined
0|automati | at sentOfferChanged (/root/tradebot/app/trade.js:1024:9)
0|automati | at handleChangedOffers (/root/tradebot/app/trade.js:132:9)
0|automati | at Object.exports.init (/root/tradebot/app/trade.js:55:5)
0|automati | at ready (/root/tradebot/app/client.js:114:11)
0|automati | at /root/tradebot/node_modules/async/dist/async.js:3888:9
0|automati | at /root/tradebot/node_modules/async/dist/async.js:473:16
0|automati | at replenish (/root/tradebot/node_modules/async/dist/async.js:1006:25)
0|automati | at iterateeCallback (/root/tradebot/node_modules/async/dist/async.js:995:17)
0|automati | at /root/tradebot/node_modules/async/dist/async.js:969:16
0|automati | at /root/tradebot/node_modules/async/dist/async.js:3885:13
0|automati | 02-08-2018 03:24:54 - error: Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new
Thats the error log..
This wont stop even after restarting vps.
Daddy plox fix.
}
else if (message.match("!avatar") && steamID == ownerID) {
message = message.replace("!avatar ", "");
var image = message
community.uploadAvatar(image)
}
}
else if (message.match("!name") && steamID == ownerID) {
message = message.replace("!name ", "");
var realname = message
client.setPersona(1, realname)
var realname = realname.toString();
}
to your bot
!price Strange Gold Botkiller Sniper Rifle Mk.II
[13:20]KOLOBOK: I could not find any items in my pricelist that contains "Strange Gold Botkiller Sniper Rifle http://Mk.II", I might not be trading the item you are looking for.
!price Strange Gold Botkiller Sniper
[13:26]KOLOBOK: I am buying a Strange Gold Botkiller Sniper Rifle Mk.II for 28 ref and selling for 1 key. I have 2 / 4 (last updated 09-11-2018 03:04:42 +0000).
crash: Automatic.version: 1.7.29; node: v10.9.0 win32 x64; Contact: 76561198856342890
crash: Stack trace:
TypeError: Cannot read property 'def_index' of undefined
at getDefindex (C:\Users\acer\Desktop\bot\tf2 automatic\app\offer.js:204:45)
at Function.getItem (C:\Users\acer\Desktop\bot\tf2 automatic\app\offer.js:57:23)
at Object.createDictionary (C:\Users\acer\Desktop\bot\tf2 automatic\app\items.js:44:28)
at updateOrders (C:\Users\acer\Desktop\bot\tf2 automatic\app\backpacktf.js:223:51)
at Timeout._onTimeout (C:\Users\acer\Desktop\bot\tf2 automatic\app\backpacktf.js:216:9)
at ontimeout (timers.js:424:11)
at tryOnTimeout (timers.js:288:5)
at listOnTimeout (timers.js:251:5)
at Timer.processTimers (timers.js:211:10)
!price buzz
M_BOT: I am buying a The Buzz Killer for 20 ref and selling for 1 key. I have 2 / 1 (last updated 08-11-2018 23:26:46 +0000).
M_SERVER ✅ trade.tf: !buy The Buzz Killer
M_BOT: Please wait while I process your offer! You will be offered 1 The Buzz Killer for your 1 key.
Your offer has been made, please wait while I accept the mobile confirmation.
And I get an offer:
New offer #3362178254 from M_BOT. They offer: The Buzz Killer for my 39.89 metal
Option to turn off chat commands.
I believe this was reported on Discord a while ago but posting here just in case.
As stated in the title, whenever the bot accepts a trade that includes non-TF2 items (tested with Steam Cards and Dota 2 items) the bot will crash. Doesn't matter if the bot receives the items or is the one sending the items.
Can't test if the bot would accept a non-TF2 item on a trade as long as the prices of the TF2 items involved are correct and this could cause a crash.
14-12-2018 03:28:07 - info: Message sent to Senakhtenre (76561198009485070): Success! Your offer went through successfully.
14-12-2018 03:28:07 - trade: Offer #3394277708 successfully accepted
14-12-2018 03:28:07 - debug: Sorting inventory
14-12-2018 03:28:09 - error: tf2-automatic crashed! Please create an issue with the following log:
crash: Automatic.version: 1.10.10; node: v10.13.0 linux x64; Contact: 76561198143595654
crash: Stack trace:
TypeError: Cannot read property 'def_index' of undefined
at getDefindex (/home/Senak/tf2-automatic/app/offer.js:205:45)
at Function.getItem (/home/Senak/tf2-automatic/app/offer.js:57:23)
at Object.createDictionary (/home/Senak/tf2-automatic/app/items.js:53:28)
at /home/Senak/tf2-automatic/app/trade.js:1184:32
at manager._addDescriptions (/home/Senak/tf2-automatic/node_modules/steam-tradeoffer-manager/lib/classes/TradeOffer.js:639:6)
at TradeOfferManager._addDescriptions (/home/Senak/tf2-automatic/node_modules/steam-tradeoffer-manager/lib/assets.js:67:3)
at SteamCommunity.manager._community.httpRequestGet (/home/Senak/tf2-automatic/node_modules/steam-tradeoffer-manager/lib/classes/TradeOffer.js:635:17)
at Request._callback (/home/Senak/tf2-automatic/node_modules/steamcommunity/components/http.js:67:15)
at Request.self.callback (/home/Senak/tf2-automatic/node_modules/steamcommunity/node_modules/request/request.js:185:22)
at Request.emit (events.js:182:13)
Error https://tf2automatic.com/trades?id=5b6b72777c972d1a0cddb3b1 the bot keep saying its overstocked but it's not. It keeps declining if people is selling keys to the bot. Nick please fix.
123
Decorated weapons are treated as scrap weapons
nicklason this happened to me is it normal??
i lose 3.44
in last 2 days
After the new Steam UI rolled out, it would probably be more user-friendly and nicer to replace
Automatic.message(offer.partner, 'The offer is now active! You can accept it here: https://steamcommunity.com/tradeoffer/' + offerid + '/');
@ https://github.com/Nicklason/tf2-automatic/blob/master/app/trade.js#L254
with
Automatic.message(offer.partner, 'The offer is now active! You can accept it by clicking 'View trade offer' above);
If possible make the bot check the items for spells and make the bot keep it.
29-10-2018 17:10:09 - error: tf2-automatic crashed! Please create an issue with the following log:
crash: Automatic.version: 1.10.3; node: v10.10.0 win32 x64; Contact: null
crash: Stack trace:
TypeError: callback is not a function
at Object.Automatic.updateRepo (C:\Users\ПК\Desktop\tf2-automatic-master\app\automatic.js:193:9)
at C:\Users\ПК\Desktop\tf2-automatic-master\app\automatic.js:293:27
at C:\Users\ПК\Desktop\tf2-automatic-master\app\automatic.js:307:13
at Request._callback (C:\Users\ПК\Desktop\tf2-automatic-master\app\utils.js:86:13)
at Request.self.callback (C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\request\request.js:186:22)
at Request.emit (events.js:182:13)
at Request. (C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\request\request.js:1163:10)
at Request.emit (events.js:182:13)
at IncomingMessage. (C:\Users\ПК\Desktop\tf2-automatic-master\node_modules\request\request.js:1085:12)
at Object.onceWrapper (events.js:273:13)
29-10-2018 17:10:09 - error: Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new
17:04:39 - error: backpack.tf Automatic crashed! Please create an issue with the following log:
crash: Automatic.version: 1.3.3; node: v10.11.0 win32 x64; Contact: 76561198866655074
crash: Stack trace::
TypeError: utils.seconds is not a function
at removeOldOffers (C:\Users\herni\Desktop\sandvich\app\trade.js:1356:27)
at TradeOfferManager.savePollData (C:\Users\herni\Desktop\sandvich\app\trade.js:1345:16)
at TradeOfferManager.emit (events.js:182:13)
at getOffers (C:\Users\herni\Desktop\sandvich\node_modules\steam-tradeoffer-manager\lib\polling.js:268:9)
at Helpers.checkNeededDescriptions (C:\Users\herni\Desktop\sandvich\node_modules\steam-tradeoffer-manager\lib\index.js:500:4)
at Async.map (C:\Users\herni\Desktop\sandvich\node_modules\steam-tradeoffer-manager\lib\assets.js:171:4)
at C:\Users\herni\Desktop\sandvich\node_modules\steam-tradeoffer-manager\node_modules\async\dist\async.js:1140:9
at C:\Users\herni\Desktop\sandvich\node_modules\steam-tradeoffer-manager\node_modules\async\dist\async.js:473:16
at iteratorCallback (C:\Users\herni\Desktop\sandvich\node_modules\steam-tradeoffer-manager\node_modules\async\dist\async.js:1064:13)
at C:\Users\herni\Desktop\sandvich\node_modules\steam-tradeoffer-manager\node_modules\async\dist\async.js:969:16
17:04:39 - error: Create an issue here: https://bitbucket.org/jessecar/backpack.tf-automatic/issues/new
Press any key to continue . . .
I have coppied only trade.js and all the moduls needed, any help?
2|automati | crash: Automatic.version: 1.10.6; node: v8.10.0 linux x64; Contact: 76561198176024095
2|automati | crash: Stack trace:
2|automati | TypeError: "file" argument must be a non-empty string
2|automati | at normalizeSpawnArguments (child_process.js:383:11)
2|automati | at Object.exports.spawn (child_process.js:496:38)
2|automati | at Function.spawn (/root/tf2-automatic/node_modules/cross-spawn/index.js:87:19)
2|automati | at spawnPhantom (/root/tf2-automatic/node_modules/webshot/lib/webshot.js:201:32)
2|automati | at spawn (/root/tf2-automatic/node_modules/webshot/lib/webshot.js:105:14)
2|automati | at /root/tf2-automatic/node_modules/webshot/lib/webshot.js:117:16
2|automati | at FSReqWrap.cb [as oncomplete] (fs.js:312:19)
1|automatic | Error: spawn ENOMEM
1|automatic | at _errnoException (util.js:992:11)
1|automatic | at ChildProcess.spawn (internal/child_process.js:323:11)
1|automatic | at Object.exports.spawn (child_process.js:502:9)
1|automatic | at Function.spawn (/bots/tf2automatic/node_modules/webshot/node_modules/cross-spawn/index.js:87:19)
1|automatic | at spawnPhantom (/bots/tf2automatic/node_modules/webshot/lib/webshot.js:201:32)
1|automatic | at spawn (/bots/tf2automatic/node_modules/webshot/lib/webshot.js:105:14)
1|automatic | at /bots/tf2automatic/node_modules/webshot/lib/webshot.js:117:16
1|automatic | at FSReqWrap.cb [as oncomplete] (fs.js:312:19)
1|automatic | 08-09-2018 11:33:36 - error: tf2-automatic crashed! Please create an issue with the following log:
1|automatic | crash: Automatic.version: 1.7.26; node: v8.11.4 linux x64; Contact: 76561198846789568
1|automatic | crash: Stack trace:
1|automatic | { Error: spawn ENOMEM
1|automatic | at _errnoException (util.js:992:11)
1|automatic | at ChildProcess.spawn (internal/child_process.js:323:11)
1|automatic | at Object.exports.spawn (child_process.js:502:9)
1|automatic | at Function.spawn (/bots/tf2automatic/node_modules/webshot/node_modules/cross-spawn/index.js:87:19)
1|automatic | at spawnPhantom (/bots/tf2automatic/node_modules/webshot/lib/webshot.js:201:32)
1|automatic | at spawn (/bots/tf2automatic/node_modules/webshot/lib/webshot.js:105:14)
1|automatic | at /bots/tf2automatic/node_modules/webshot/lib/webshot.js:117:16
1|automatic | at FSReqWrap.cb [as oncomplete] (fs.js:312:19) code: 'ENOMEM', errno: 'ENOMEM', syscall: 'spawn' }
i dunno my listings can u make it?
u know me the Frontier Jaslitice
0|bot | crash: Automatic.version: 1.7.26; node: v8.10.0 linux x64; Contact: 76561198846789568
0|bot | crash: Stack trace:
0|bot | { Error: spawn ENOMEM
0|bot | at _errnoException (util.js:1022:11)
0|bot | at ChildProcess.spawn (internal/child_process.js:323:11)
0|bot | at Object.exports.spawn (child_process.js:502:9)
0|bot | at Function.spawn (/bots/tf2automatic/node_modules/cross-spawn/index.js:87:19)
0|bot | at spawnPhantom (/bots/tf2automatic/node_modules/webshot/lib/webshot.js:201:32)
0|bot | at spawn (/bots/tf2automatic/node_modules/webshot/lib/webshot.js:105:14)
0|bot | at /bots/tf2automatic/node_modules/webshot/lib/webshot.js:117:16
0|bot | at FSReqWrap.cb [as oncomplete] (fs.js:312:19) code: 'ENOMEM', errno: 'ENOMEM', syscall: 'spawn' }
24-10-2018 02:23:16 - info: Offer #3345850737 received from 76561198020822150
24-10-2018 02:23:16 - info: Offer #3345850737 is from an owner, accepting
24-10-2018 02:23:16 - info: Message sent to M_SERVER ✅ trade.tf (76561197994727567): Offer from owner, accepting
24-10-2018 02:23:17 - warn: Offer #3345850737 could not be accepted: Not Logged In
Of course would be great if bot could accept every offer, but if we have this bug, please, make bot retry to accept the offer after he refresh the session. Thanks
23-08-2018 17:56:15 - error: tf2-automatic crashed! Please create an issue with the following log:
crash: Automatic.version: 1.7.26; node: v8.11.3 linux arm; Contact: 76561198802391456
crash: Stack trace:
TypeError: Cannot read property 'id' of undefined
at Listings. (/home/pi/tf2-automatic/node_modules/bptf-listings/lib/requests.js:161:25)
at Request._callback (/home/pi/tf2-automatic/node_modules/bptf-listings/lib/http.js:27:26)
at Request.self.callback (/home/pi/tf2-automatic/node_modules/bptf-listings/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request. (/home/pi/tf2-automatic/node_modules/bptf-listings/node_modules/request/request.js:1157:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Gunzip. (/home/pi/tf2-automatic/node_modules/bptf-listings/node_modules/request/request.js:1079:12)
at Object.onceWrapper (events.js:313:30)
23-08-2018 17:56:15 - error: Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new
After update bot creates listings for Non-Craftable items as Craftable items on backpack.tf.
Tell me what you need to detect the issue reason (logs, etc...)
Error code:
0|automati | 02-08-2018 09:49:50 - error: tf2-automatic crashed! Please create an issue with the following log:
0|automati | crash: Automatic.version: 1.7.23; node: v10.7.0 linux x64; Contact: 76561198840991984
0|automati | crash: Stack trace:
0|automati | ReferenceError: community is not defined
0|automati | at sentOfferChanged (/root/tradebot/app/trade.js:1024:9)
0|automati | at handleChangedOffers (/root/tradebot/app/trade.js:132:9)
0|automati | at Object.exports.init (/root/tradebot/app/trade.js:55:5)
0|automati | at ready (/root/tradebot/app/client.js:114:11)
0|automati | at /root/tradebot/node_modules/async/dist/async.js:3888:9
0|automati | at /root/tradebot/node_modules/async/dist/async.js:473:16
0|automati | at replenish (/root/tradebot/node_modules/async/dist/async.js:1006:25)
0|automati | at iterateeCallback (/root/tradebot/node_modules/async/dist/async.js:995:17)
0|automati | at /root/tradebot/node_modules/async/dist/async.js:969:16
0|automati | at /root/tradebot/node_modules/async/dist/async.js:3885:13
0|automati | 02-08-2018 09:49:50 - error: Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new
Really???? Only 1 minute? It's just too short, trade offers when accepted can take up to 3 minutes to be finished?? So when I trade with one of those bots, I accept the trade and randomly it says OhH nOoOoEs! ThE oFfEr Is No LoNgEr AvAiLaBlE. ReAsOn: ThE oFfEr hAs bEeN aCtIvE fOr A wHiLe.
It's just super annoying! Please fix this!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.