Page 3 of 4 FirstFirst 1234 LastLast
Results 41 to 60 of 79
  1. #41
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    It's fine, I all-capped everything so it at least doesn't take capitalization into account, but it looks pretty hideous.

    At a later time, I can improve things by adding in a reference table and create a regex to try to figure out what the username is that the player is voting for, but it's going to take some time and I don't really feel like going in that direction right now.
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  2. #42
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    VOTECOUNT
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  3. #43
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    Here's what I got so far, kinda disgusting but whatever!

    Vote count requested:
    Individual Lynch Votes:

    !PLAYERLIST! - []
    IRONSTOVE. - []
    BRIAN - []
    JOHN - []
    SALLY - []
    KELLY - ['LUCKY ARTIST', 'IRONSTOVE.']
    YVETTE - []
    CHO - []
    TITUS - []
    LUCKY ARTIST - []
    - []

    Lynch Table:

    IRONSTOVE. voting KELLY
    LUCKY ARTIST voting KELLY

    Not Voting

    !PLAYERLIST!
    BRIAN
    JOHN
    SALLY
    KELLY
    YVETTE
    CHO
    TITUS
    To-do, complete kill player/add player functionality.
    Get posting working on mafia bot account
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  4. #44
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    Ok, I think the bot is mostly done, just need to make some cosmetic fixes and get the posting account and should be ready to implement on the next game.

    I also need to optimize the code to store posts and playerlists locally so it doesn't review it over and over, and look at the same pages twice, but that's not a big deal.

    Here's the bot doing a full run from pg1 to now, you can see it excludes the players not in the OPs player list, recognizes day end and day start, recognizes commands only from the OP, also correctly deletes players out of the game that are no longer in it, however I THINK there are some bugs I need to try testing for valid players voting for non-existing ones, and host mistyping names for dead players.

    LYNCH OBAMA

    LYNCH TRUMP

    OBAMA WAS KILLED

    TRUMP WAS KILLED

    ADD KRAZY KAT

    ADD LYCAN

    VOTECOUNT


    >>>
    ======== RESTART: C:\Users\Ironstove\Documents\Python\CrawlNaDota.py ========
    Title / Thread Starter
    Sticky: SPAM
    [ONGOING: DAY 1] Test Thread for Mafia Bot
    lynchref {'!PLAYERLIST!': [], 'IRONSTOVE.': [], 'BRIAN': [], 'JOHN': [], 'SALLY': [], 'KELLY': [], 'YVETTE': [], 'CHO': [], 'TITUS': [], 'LUCKY ARTIST': [], '': []}
    Total number of posts on this page: 20
    Examining lynch vote... IRONSTOVE. voting TITUS
    Username is in lynch references and valid player
    Examining lynch vote... ALIGHTSOUL voting VOTEBOT
    Invalid User, not part of the game
    Examining lynch vote... IRONSTOVE. voting KELLY
    Username is in lynch references and valid player
    prevlynch is: TITUS ['IRONSTOVE.']
    Not qualified as lynch: IRONSTOVE. STUPID MISUSE OF THE BOLD TAGS HERE.
    Not qualified as lynch: IRONSTOVE. TESTING
    Night Begins, here are the ending votes

    Individual Lynch Votes:

    !PLAYERLIST! - []
    IRONSTOVE. - []
    BRIAN - []
    JOHN - []
    SALLY - []
    KELLY - ['IRONSTOVE.']
    YVETTE - []
    CHO - []
    TITUS - []
    LUCKY ARTIST - []
    - []

    Lynch Table:

    IRONSTOVE. voting KELLY

    Not Voting

    !PLAYERLIST!
    BRIAN
    JOHN
    SALLY
    KELLY
    YVETTE
    CHO
    TITUS
    LUCKY ARTIST

    Day Begins, here are the current players
    Removing player from game: YVETTE
    Removing player from game: TITUS
    Examining lynch vote... LYCAN voting BRIAN
    Invalid User, not part of the game
    Moving to next page
    Total number of posts on this page: 20
    Examining lynch vote... IRONSTOVE. voting SALLY
    Username is in lynch references and valid player
    prevlynch is: KELLY ['IRONSTOVE.']
    Examining lynch vote... IRONSTOVE. voting IRONSTOVE.
    Username is in lynch references and valid player
    prevlynch is: SALLY ['IRONSTOVE.']
    Examining lynch vote... ALIGHTSOUL voting TITUS
    Invalid User, not part of the game
    Examining lynch vote... KRAZY KAT voting THISDICK
    Invalid User, not part of the game
    Examining lynch vote... LUCKY ARTIST voting KELLY
    Username is in lynch references and valid player
    Examining lynch vote... IRONSTOVE. voting KELLY
    Username is in lynch references and valid player
    prevlynch is: IRONSTOVE. ['IRONSTOVE.']
    Moving to next page
    Total number of posts on this page: 3
    Vote count requested:

    Individual Lynch Votes:

    !PLAYERLIST! - []
    IRONSTOVE. - []
    BRIAN - []
    JOHN - []
    SALLY - []
    KELLY - ['LUCKY ARTIST', 'IRONSTOVE.']
    CHO - []
    LUCKY ARTIST - []
    - []

    Lynch Table:

    IRONSTOVE. voting KELLY
    LUCKY ARTIST voting KELLY

    Not Voting

    !PLAYERLIST!
    BRIAN
    JOHN
    SALLY
    KELLY
    CHO

    >>>
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  5. #45
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    Ok, so the trump/obama commands crashed the bot, I need to fix the bug, but I'm kinda over it for now. gonna go finish laundry and head out for dinner.
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  6. #46
    Godlike Krazy Kat's Avatar
    Join Date
    Jan 2015
    Location
    Texas
    Posts
    2,823
    LYNCH YVETTE

    I know a girl named Yvette. Serious 10/10. Never got in her pants, sadly.

  7. #47
    Beyond Grantlike Lucky Artist's Avatar
    Join Date
    Jul 2016
    Posts
    8,309
    LYNCH YVETTE

    I got you fam

    Stove what happens if we capitalize the b's in the bold tags
    Quote Originally Posted by Haxity View Post
    i dont really know me either, does anyone ever truly know themselves?
    #philosophyPHD

  8. #48
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    Should not matter because I'm taking the entire post and capitalizing everything in it.

    Once I get it operating I can prettify the reporting so it doesn't look like you're reading the output of some backend log file
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  9. #49
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    Quote Originally Posted by Lucky Artist View Post
    LYNCH YVETTE

    I got you fam

    Stove what happens if we capitalize the b's in the bold tags
    Ok, gimmi the anon account, I'll use it for now.
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  10. #50
    Godlike Lycan's Avatar
    Join Date
    Mar 2017
    Posts
    2,591
    Quote Originally Posted by ironstove. View Post
    Ok, gimmi the anon account, I'll use it for now.
    your account got in, "stovebot.mafia" i think its called

  11. #51
    You are correct.

  12. #52
    THIS IS A TEST POST FROM LE BOT

  13. #53
    Socialism or Barbarism agile_mind's Avatar
    Join Date
    Jul 2012
    Posts
    38,392
    Steam ID
    afsdf
    Prove that you aren't a jones alt. PM me & an impartial judge (Alightsoul) your dick.

  14. #54
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    Alright, got the bot's login and posting set up, but an issue I'm finding is that the send_keys command for selenium doesn't take data types like lists which was what I was printing on my terminal for testing.

    Apparently I have to format everything into a fat string which is something I've never done before, and I don't know if there is some easier way to do it... This might take a bit of time, but I guess it takes care of the prettify issue that I was putting off for later.
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  15. #55
    Beyond Grantlike Alightsoul's Avatar
    Join Date
    Oct 2014
    Posts
    10,878
    Quote Originally Posted by agile_mind View Post
    Prove that you aren't a jones alt. PM me & an impartial judge (Alightsoul) your dick.

  16. #56
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    -quoting a lynch changes your lynch still, solution is to ignore the quote box, but need to test a bit to get this working as desired.
    -need to create text string for vote count reports (figured out a simple way to do this)
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  17. #57
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    lynch kelly

    votecount
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

  18. #58
    Beyond Grantlike Lucky Artist's Avatar
    Join Date
    Jul 2016
    Posts
    8,309
    lynch lucky artist
    Quote Originally Posted by Haxity View Post
    i dont really know me either, does anyone ever truly know themselves?
    #philosophyPHD

  19. #59
    Beep Boop, I'm a bot. Vote count was requested.

    [b]Lynch Votes:[b]
    IRONSTOVE.-
    BRIAN-
    JOHN-
    SALLY-
    KELLY-IRONSTOVE.
    CHO-
    LUCKY ARTIST-LUCKY ARTIST

    Not Voting
    BRIAN
    JOHN
    SALLY
    KELLY
    CHO

  20. #60
    Holy Shit ironstove.'s Avatar
    Join Date
    Feb 2012
    Location
    Los Angeles
    Posts
    7,764
    Steam ID
    ironstove_
    mwahahaha. It's alive. ALIVEEEEE.
    Honestly the level of play for nadota mafia is so low that by day 3 you should flat out lynch anyone who appears competent and hasn't been shot.

    Most Of U have NEver Been Out Of Your City Whereas I Am A Man of the World. Gather Children and I will Regale You With Stories Of the Time tHat Guy Didn't Give Me Bottled Water and the Mean Comments I left on His Social Media As a Result.

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •