Jessecar96 / SteamBot

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

Adding another bot #301

Closed SimeonC96 closed 11 years ago

SimeonC96 commented 11 years ago

I'm adding another bot to my config but i can't seem to be able to do it. I figure that I'm not putting the correct formatting to create another bot, so my question is, what am i missing from my config?

The first bot works fine, and I just copied the first bots settings and made some changes, so it has to be a problem in between the 2 bot settings.

{
"Admins":["[My 64-bit ID]"],
"ApiKey":"[API Key]",
"mainLog": "syslog.log",
"UseSeparateProcesses": "false",
"AutoStartAllBots": "true",
"Bots": [      
        {
        "Username":"[username]",
        "Password":"[password]",
        "DisplayName":"Crate Storage",
        "ChatResponse":"Hi there, send me a trade and I'll accept your crates!",
        "logFile": "Crate Storage.log",
        "BotControlClass": "SteamBot.AdminUserHandler",
        "MaximumTradeTime":300,
        "MaximumActionGap":300,
        "DisplayNamePrefix":"[CrateBot] ",
        "TradePollingInterval":800,
        "LogLevel":"Success",
        "AutoStart": "false"
    }

{
        "Username":"[username]",
        "Password":"[password]",
        "DisplayName":"[Display name]",
        "ChatResponse":"Hi there, send me a trade and I'll accept your crates!",
        "logFile": "test.log",
        "BotControlClass": "SteamBot.AdminUserHandler",
        "MaximumTradeTime":300,
        "MaximumActionGap":300,
        "DisplayNamePrefix":"",
        "TradePollingInterval":800,
        "LogLevel":"Success",
        "AutoStart": "true"
    }
]
}
StormReaper commented 11 years ago

missing a comma after the first bot closing bracket, should be },

SimeonC96 commented 11 years ago

Thanks!