rannmann / node-steam-trade-tutorial Goto Github PK
View Code? Open in Web Editor NEWfrom the article: Creating a Steam Trade Bot with Node.js
License: MIT License
from the article: Creating a Steam Trade Bot with Node.js
License: MIT License
I don't know s*** about javascript, but i want to learn it while making steam bot. Can you explain why I get this error?
Line: 7
Character: 1
Error: Object expected
Error code is 800A138F
C:\Users\USER\Downloads\USER\Node.js Steam TradeBot>node core.js
C:\Users\USER\Downloads\USER\Node.js Steam TradeBot\node_modules\steam\node_mo
dules\bytebuffer\dist\ByteBufferNB.js:322
throw TypeError("Illegal buffer");
^
TypeError: Illegal buffer
at TypeError (native)
at Function.module.exports.ByteBuffer.wrap (C:\Users\VILNIS\Downloads\Miks\N
ode.js Steam TradeBot\node_modules\steam\node_modules\bytebuffer\dist\ByteBuffer
NB.js:322:19)
at ProtoBuf.Reflect.FieldPrototype.verifyValue (C:\Users\VILNIS\Downloads\Mi
ks\Node.js Steam TradeBot\node_modules\steam\node_modules\protobufjs\dist\ProtoB
uf.js:2728:43)
at MessagePrototype.set (C:\Users\VILNIS\Downloads\Miks\Node.js Steam TradeB
ot\node_modules\steam\node_modules\protobufjs\dist\ProtoBuf.js:1799:63)
at Message (C:\Users\VILNIS\Downloads\Miks\Node.js Steam TradeBot\node_modul
es\steam\node_modules\protobufjs\dist\ProtoBuf.js:1725:42)
at SteamClient.handlers.(anonymous function) (C:\Users\VILNIS\Downloads\Miks
\Node.js Steam TradeBot\node_modules\steam\lib\steam_client.js:177:44)
at SteamClient._netMsgReceived (C:\Users\VILNIS\Downloads\Miks\Node.js Steam
TradeBot\node_modules\steam\lib\steam_client.js:106:26)
at Connection.emit (events.js:107:17)
at Connection._readPacket (C:\Users\VILNIS\Downloads\Miks\Node.js Steam Trad
eBot\node_modules\steam\lib\connection.js:50:8)
at Connection.emit (events.js:104:17)
could anyone help? I got an error :
C:\Temp\server.js:73
client.logOn({
^
TypeError: undefined is not a function
at Object. (C:\Temp\server.js:73:8)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
so the problem is that I installed node.js and steams libraries in my windows env as well. when u try to run server.js it throws exception:
TypeError: undefined is not a function
at Object. (C:\Temp\server.js:76:8)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
lines 76 to 80 say
client.logOn({
accountName: username,
password: password,
shaSentryfile: sentryfile // If null, a new Steam Guard code will be requested
});
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.