Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.33k stars 910 forks source link

SentryFile #280

Closed ghost closed 11 years ago

ghost commented 11 years ago

Why does the Steambot make a separate sentryfile for each account, would it be too hard to make it write and read from just one file? This would work better with steam

cwhelchel commented 11 years ago

This would work better with steam.

Why would it work better? Genuinely curious.

ghost commented 11 years ago

Well, when managing multiple accounts you can swap it with steam. Steam stores multiple accounts in one file.

If you have passed steamguard on steam worth multiple accounts, you can just copy one file instead of having to copy it multiple times and rename it for steambot.

Also, if you pass steamguard through steambot, you can't then copy one file to pass it into steam On May 12, 2013 5:46 PM, "Cainan Whelchel" notifications@github.com wrote:

This would work better with steam.

Why would it work better? Genuinely curious.

— Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/280#issuecomment-17780860 .

geel9 commented 11 years ago

We don't necessarily know how Steam stores its sentry files.

geel9 commented 11 years ago

Furthermore, the sentryfiles that SteamKit2 generates are not compatible with Steam.

ghost commented 11 years ago

Oh really? How comes the ones from steam work with the bot? On May 24, 2013 8:54 PM, "geel9" notifications@github.com wrote:

Furthermore, the sentryfiles that SteamKit2 generates are not compatible with Steam.

— Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/280#issuecomment-18426380 .

geel9 commented 11 years ago

All that happens when a SentryFile is made is this:

-Steam asks for a machine hash -You can send ANY BIT OF DATA over to Steam. This is why it's different; SteamKit2 does not generate machine hashes the same way Steam does. -Steam sends back a sentryfile that you can send over the next time.

ghost commented 11 years ago

Are you sure that's how it works? I mean, I often switch my sentry files between laptop and computer, surely these have different machine hashes? So how does the laptop sentry file work for my computer (and vice versa) On May 24, 2013 10:11 PM, "geel9" notifications@github.com wrote:

All that happens when a SentryFile is made is this:

-Steam asks for a machine hash -You can send ANY BIT OF DATA over to Steam. This is why it's different; SteamKit2 does not generate machine hashes the same way Steam does. -Steam sends back a sentryfile that you can send over the next time.

— Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/280#issuecomment-18430235 .

geel9 commented 11 years ago

Because the client doesn't send any hash over when it has a sentry file.

On Fri, May 24, 2013 at 5:14 PM, X33RO notifications@github.com wrote:

Are you sure that's how it works? I mean, I often switch my sentry files between laptop and computer, surely these have different machine hashes? So how does the laptop sentry file work for my computer (and vice versa) On May 24, 2013 10:11 PM, "geel9" notifications@github.com wrote:

All that happens when a SentryFile is made is this:

-Steam asks for a machine hash -You can send ANY BIT OF DATA over to Steam. This is why it's different; SteamKit2 does not generate machine hashes the same way Steam does. -Steam sends back a sentryfile that you can send over the next time.

— Reply to this email directly or view it on GitHub< https://github.com/Jessecar96/SteamBot/issues/280#issuecomment-18430235> .

— Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/280#issuecomment-18430354 .

ghost commented 11 years ago

Ok.

At any rate, wouldn't it tidy up the files a little bit if steambot just made one sentry file for all accounts that use it? I use over 300 and having 300+ sentry files gets annoying to copy + paste all the time On May 24, 2013 10:21 PM, "geel9" notifications@github.com wrote:

Because the client doesn't send any hash over when it has a sentry file.

On Fri, May 24, 2013 at 5:14 PM, X33RO notifications@github.com wrote:

Are you sure that's how it works? I mean, I often switch my sentry files between laptop and computer, surely these have different machine hashes? So how does the laptop sentry file work for my computer (and vice versa) On May 24, 2013 10:11 PM, "geel9" notifications@github.com wrote:

All that happens when a SentryFile is made is this:

-Steam asks for a machine hash -You can send ANY BIT OF DATA over to Steam. This is why it's different; SteamKit2 does not generate machine hashes the same way Steam does. -Steam sends back a sentryfile that you can send over the next time.

— Reply to this email directly or view it on GitHub< https://github.com/Jessecar96/SteamBot/issues/280#issuecomment-18430235>

.

— Reply to this email directly or view it on GitHub< https://github.com/Jessecar96/SteamBot/issues/280#issuecomment-18430354> .

— Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/280#issuecomment-18430687 .

geel9 commented 11 years ago

It'd be rather annoying to have to write a very basic archive system for the sentry files, as they're all binary blobs.