steamutils 1.2.52 → 1.2.53
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +2 -0
- package/example.js +0 -13
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -366,6 +366,7 @@ function SteamClient({
|
|
366
366
|
rank = 'Silver Elite',
|
367
367
|
timeout = 10000,
|
368
368
|
} = {}) {
|
369
|
+
return []
|
369
370
|
|
370
371
|
return new Promise(resolve => {
|
371
372
|
steamClient.sendToGC(appid, Protos.csgo.ECsgoGCMsg.k_EMsgGCCStrike15_v2_Party_Search, {}, protoEncode(Protos.csgo.CMsgGCCStrike15_v2_Party_Search, {
|
@@ -1376,6 +1377,7 @@ function SteamClient({
|
|
1376
1377
|
|
1377
1378
|
|
1378
1379
|
function partyRegister() {
|
1380
|
+
return;
|
1379
1381
|
if (prime === null) {
|
1380
1382
|
_partyRegister(true)
|
1381
1383
|
_partyRegister(false)
|
package/example.js
CHANGED
@@ -11,17 +11,4 @@ import SteamClient from "./SteamClient.js";
|
|
11
11
|
// console.log(loginResult.cookie);
|
12
12
|
// const user = new SteamUser(loginResult.cookie)
|
13
13
|
|
14
|
-
const user = new SteamClient({
|
15
|
-
cookie: `timezoneOffset=25200,0; _ga=GA1.2.51100933.1683654836; browserid=2699389310852036147; wants_mature_content_apps=218640; strInventoryLastContext=753_6; recentlyVisitedAppHubs=218640%2C1568590%2C413850%2C440%2C1580960%2C221410%2C730; sessionid=d2158103b487cf0e0d8bd1d4; steamDidLoginRefresh=1695905479; steamCountry=VN%7Cd94e2076768966395b4e5d7096197620; steamLoginSecure=76561199040402348%7C%7CeyAidHlwIjogIkpXVCIsICJhbGciOiAiRWREU0EiIH0.eyAiaXNzIjogInI6MEQxOF8yMzBFREQ4NV80MzlFRiIsICJzdWIiOiAiNzY1NjExOTkwNDA0MDIzNDgiLCAiYXVkIjogWyAid2ViIiBdLCAiZXhwIjogMTY5NTk5MjY0NywgIm5iZiI6IDE2ODcyNjU0ODAsICJpYXQiOiAxNjk1OTA1NDgwLCAianRpIjogIjBENUNfMjMzRDAwNTNfMTc3QzYiLCAib2F0IjogMTY5MzMyNDk3NCwgInJ0X2V4cCI6IDE3MTEwNzM5MDgsICJwZXIiOiAwLCAiaXBfc3ViamVjdCI6ICIxNC4xOTEuMTY1Ljg4IiwgImlwX2NvbmZpcm1lciI6ICIxNC4xOTEuMTY1Ljg4IiB9.YuMYNutr6k95p8SdT-jr5hkcaK4HiXCxjOTL1itAg5esGcUz8zghO1rC7E-A9WJvPSjQ-oaLNBwsIYNaN7zZAw`,
|
16
|
-
autoPlay: true,
|
17
|
-
isPartyRegister: false
|
18
|
-
})
|
19
|
-
user.onEvent("csgoOnline", async function () {
|
20
|
-
const result = await user.partySearch({
|
21
|
-
prime: true
|
22
|
-
})
|
23
|
-
console.log(result);
|
24
|
-
})
|
25
|
-
user.init()
|
26
|
-
|
27
14
|
})()
|