Closed arnaspecelis closed 8 years ago
Looks like MySQL error unrelated to STOM.
its kind a weird because row.steam id is steam id. (76561198097022450)
/var/www/laravel/node_modules/mysql/lib/protocol/Parser.js:78
throw err;
^
TypeError: input.match is not a function
at new SteamID (/var/www/laravel/node_modules/steamid/index.js:72:22)
at new TradeOffer (/var/www/laravel/node_modules/steam-tradeoffer-manager/lib/classes/TradeOffer.js:163:18)
at TradeOfferManager.createOffer (/var/www/laravel/node_modules/steam-tradeoffer-manager/lib/classes/TradeOffer.js:10:14)
at Query._callback (/var/www/laravel/node_engine.js:143:45)
at Query.Sequence.end (/var/www/laravel/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24)
at Query._handleFinalResultPacket (/var/www/laravel/node_modules/mysql/lib/protocol/sequences/Query.js:144:8)
at Query.OkPacket (/var/www/laravel/node_modules/mysql/lib/protocol/sequences/Query.js:78:10)
at Protocol._parsePacket (/var/www/laravel/node_modules/mysql/lib/protocol/Protocol.js:280:23)
at Parser.write (/var/www/laravel/node_modules/mysql/lib/protocol/Parser.js:73:12)
at Protocol.write (/var/www/laravel/node_modules/mysql/lib/protocol/Protocol.js:39:16)
and when deleting mysql connection it prints error:
/var/www/laravel/node_modules/steamid/index.js:72
if((matches = input.match(/^STEAM_([0-5]):([0-1]):([0-9]+)$/))) {
^
TypeError: input.match is not a function
Only guessing here, row.steamid
is not a String
, hence it fails here.
Thanks, it was helpfull :+1: but I'm facing new error right there - it says that steam profile is private but it isn't. Is it means that I have to include players token somehow?
@arnaspecelis if you get their trade link you can retrieve the token using trade_link.substring(trade_link.indexOf("token=") + 6)
where trade_link is the string of their trade link.
You can't load private inventories, regardless of whether or not you have a token.
Hello. I'm trying to receive partner inventory.
but instead of result it prints me error:
manager version: steam-tradeoffer-manager@1.16.2