Error? 10-02-2015, 12:17 PM
#1
/root/tradebot.js:336 if(offer.items_to_receive.length > row[0].value) { ^ TypeError: Cannot read property '0' of undefined at Query._callback (/root/tradebot.js:336:46) at Query.Sequence.end (/root/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24) at Protocol._validateEnqueue (/root/node_modules/mysql/lib/protocol/Protocol.js:218:6) at Protocol._enqueue (/root/node_modules/mysql/lib/protocol/Protocol.js:129:13) at Connection.query (/root/node_modules/mysql/lib/Connection.js:201:25) at /root/tradebot.js:335:23 at Array.forEach (native) at /root/tradebot.js:329:41 at Object.doAPICall.bind.callback (/root/node_modules/steam-tradeoffers/index.js:284:7) at SteamTradeOffers.<anonymous> (/root/node_modules/steam-tradeoffers/index.js:256:15)
I will get this error then my bot get trade offer.. 336 line is : if(offer.items_to_receive.length > row[0].value) {
help???
I will get this error then my bot get trade offer.. 336 line is : if(offer.items_to_receive.length > row[0].value) {
help???