We now have a Steam Chat Bot!

Discussion in 'Site Discussion' started by Fantasma, Nov 8, 2015.

  1. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,479
    That adds up. I always test the maps on the server after uploading to make sure they're not completely broken. I simply wasn't aware that this was a feature.
     
  2. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    So, upcoming features i'm posing here for disccusion, hype, and so I don't forget.

    !add <mapname> <mapurl> <notes> (Similar to before with new additions, only first 2 are required)

    !updatedownlaod <mapname> <downloadlink> (Updates a download link)
    !updateMapname <mapname> <new map name> (updates a map name)
    !updateEntry <oldMapName> <new map name> <new download link> (updates an entry)
    !updateNote <mapname> <new note> (Updates a note)
    !help (prints this thread)

    The google sheet is going to also be updated to display if the map is uploaded to the server, as well as display all these new additional values

    Now i'm taking a break for a bit, but I want to ask. What commands do you guys reckon should be renamed, and to what. this goes for all current commands. Also I've decided to keep the !view command.
     
    • Agree Agree x 2
    Last edited: Nov 28, 2015
  3. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    I'd make the suggestion that the sheet url be in the bot's name so anyone can see it without needing to use a command
     
  4. Hyperion

    aa Hyperion L16: Grid Member

    Messages:
    810
    Positive Ratings:
    618
    !view could still send map list on PM. Sometimes Steam just dont wanna open chat links
     
    Last edited: Nov 28, 2015
  5. Turnip

    aa Turnip The 80s Vegetable

    Messages:
    1,432
    Positive Ratings:
    804
    This might be misleading, some people just want to update the server not start a zombie apocolypse.
    Might wanna change what it does, maybe so it updates the server? Crazy idea right?
     
  6. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    Oops, that was actually a feature I originally planned but decided against (requesting specifically what server to play it on).
     
    • Thanks Thanks x 1
  7. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    Bot update to both add new features and fix crashes:

    • !tfm has been replaced with !tf2m
    • !wipe has been replaced with !clear
    • !view has been replaced with !maps
    • !remove has been replaced with !del
    • You can now add notes to your maps when adding them, they are only visible on the sheet. the command is: !add mapname url notes. They are not mandatory
    • !help will link this thread
    • Fixed a bug where the map list becoming empty would make the bot no longer work. Strange bug really
    • The bot now posts map changes to the chat if there are 3 or more players on either server
    If there are any bugs, please post them to this thread with as much info as possible
     
  8. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    ADDED:

    !usserver
    !euserver

    They both will post in chat the current map and player count
     
    • Thanks Thanks x 1
  9. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    if !help is going to link the thread you maybe want to update the thread to be accurate
     
    • Agree Agree x 4
  10. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    i added my map and then watched the sheet as it deleted all the other entries but my map
    ????

    edit:
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - Freyja: rip
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:20 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - Jivvi: whups
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - Βlade x64: ban
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - Freyja: hahaha
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - ::Egan::: uhh..
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - Freyja: kick it?
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - Jivvi: yeah you might have to
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT: Map changed to: koth_hangar_b2 3/24
    13:21 - [1] FANTASBOT was kicked by ::Egan::.
    rip
     
    • Thanks Thanks x 1
    Last edited: Nov 30, 2015
  11. Turnip

    aa Turnip The 80s Vegetable

    Messages:
    1,432
    Positive Ratings:
    804
    Maybe it just got excited over your map? Hanger is really cool. (but seriosly its broken, please fix :D )
     
  12. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    hangar isnt my map, it just happened to be on the server
     
  13. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    On the bright side, I know my code at least half works.

    Was the process triggered by 3 players being on the server, or map change? What's so odd about this is that it didn't occur during testing yesterday.

    Also YRR can you elaborate on the sheet deleting maps thing?
     
  14. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    I added a map, checked the sheet, then watched as it was moved to the top and the rest of the maps were deleted one-by-one
     
    • Useful Useful x 1
  15. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    Ok I think I figured it out. If a map is ran it removes it from the local list, but it doesn't update the sheet, the sheet is updated though when you add a new map, and since the maps didn't exist locally it removed them from the sheet.
     
  16. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,479
    I approve of the new 'Upload Status' on the sheet.
     
    • Like Like x 1
  17. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    That reminds me:

    Bot update:

    !uploadcheck <mapname> returns if the bot is updated

    !add has been significantly changed, you only need to include the url if your map isn't uploaded already. Notes can still be added too
     
  18. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,018
    Positive Ratings:
    1,181
    When are you gonna update the OP so it doesn't give people wrong information when they use !help
     
    • Useful Useful x 1
  19. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,395
    Positive Ratings:
    4,248
    Aaaargh I tried to add a map and it wiped the sheet again D:
     
  20. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    I'm half way through updating the bot's spreadsheet capabilities. Therefore I have disabled it for now to prevent errors. This may have the side effect of preventing the name to update. Everything else should be business as usual.