1. The forums are scheduled for deletion on or after December 31, 2024 (JST). Please back up or archive any data you find important to you. If you do not have an account, you cannot login or create an account.

2.1 TSWVote 2.3

Allows in-game voting using the tserverweb.com platform.

  1. Commaster

    Banned

    Joined:
    Oct 3, 2012
    Messages:
    149
    They change the Rank only, but don't affect the most-voted rating. That is one dedicated hater... Erase my dislikes too, please?
     
  2. Commaster

    Banned

    Joined:
    Oct 3, 2012
    Messages:
    149
    A suggestion: Make every vote (Like and Dislike) have its "lifetime" variable and set it to, say, 1 month. Once that lifetime hits 0 - remove that vote. That way we will have a more realistic rating representation, tuned to the actual standings of the server.
     
    • Like Like x 1
  3. Loganizer

    Plugin Developer

    Joined:
    Dec 2, 2012
    Messages:
    212
    Interesting idea, I'll tell XGhozt, but he isn't online on Skype yet.
     
  4. Commaster

    Banned

    Joined:
    Oct 3, 2012
    Messages:
    149
    Just FYI, that should affect the website votes too. (I'm not sure, what are you going to do with the plugin and in-game voting API)
     
  5. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
    Thank you all for the comments and feedback. I've added some additional server side checks to validate the player. I will consider some of the ideas here when I get some more free time. We will have to wait for Loganizer to implement threading so it doesn't lag the game when a vote is placed. A new version will be released next week. We both appreciate your patience while we work to improve the project. :)
     
  6. PROMETOR12

    PROMETOR12 Level 1

    Joined:
    Jan 28, 2014
    Messages:
    24
    I have 2 suggestions.
    1. Make an option to cause events to happen on x amount of server likes. For example an eclipse would occur on x amount of likes.
    2. Have an option to bump a server in-game.
     
    • Like Like x 1
  7. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    That's why you have a captcha in the voting page, and being able to just type /vote in game is cantaloupe, because you could also just force users to cast /vote on join.
     
  8. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    If you're going for captcha's please use these ones link here since they're way less annoying than those text based captchas ;)
     
  9. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    Why not add a captcha in-game
     
  10. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    What would that look like lol
     
  11. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
    I hate CAPTCHA's, that is the last thing I want to do.
     
    • Like Like x 1
  12. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    /vote captchahere, but yeah he's not doing it x)
     
  13. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Yea but it's not like a plugin can't read what the captcha should be and still fake the votes, such a captcha isn't going to do alot then
     
    • Like Like x 1
  14. Simon311

    Simon311 TShock Contributor; Moderator
    TShock Contributor Plugin Developer

    Joined:
    Feb 23, 2013
    Messages:
    337
    Uuh, never mind, there's REST token, lol
    An in-advance security tip - if you're planning to notify servers via a REST endpoint - make sure REST endpoint only accepts data sent by your server.
    Either by verifying IP, or by verifiying signature (take md5 of parameters, then encrypt with private key, plugin decrypts with open key and verifies md5).
     
  15. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    Yeah, well... without a CAPTCHA, have fun having people exploit it by doing exactly what I said... just forcing all users to execute /vote as soon as they join or just setup proxys to vote 100s or 1000s of times.
     
  16. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    >Hello people! Have nice thing!
    >People: abuseabuseabusebitchwhineabusebitchabusewhinewhinewhinebitchabuseabuse

    This is why we can't have nice things
     
    • Like Like x 2
  17. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    It's a nice concept.
     
    • Like Like x 2
  18. Wolfje

    TShock Mod Zero Day Plugin Author

    Joined:
    Jul 2, 2013
    Messages:
    191
    As much as you may hate CAPTCHAs, they are there solely to combat automated abuse. Because people are melon and will not hesitate to use automation for vested benefit, they are absolutely necessary.
     
    • Like Like x 1
  19. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
    While I agree, it's a last resort. If I can find a way to do it without a captcha then I will. In-game captcha is not impossible.
     
  20. Wolfje

    TShock Mod Zero Day Plugin Author

    Joined:
    Jul 2, 2013
    Messages:
    191
    Human-readable questions would be perfectly acceptable.

    Player: /vote
    Server: What's two + 2? Type /answer with your answer.
    Player: /answer 4
    Server: Thanks!

    A lot of human decipherable questions come to mind:
    What does USA stand for?
    What's 5 + five?/What's 5 + 5? What's <number>||<word> <operand> <number>||<word>?
    What's the next even number after the number eight?
    etc.
     
    • Like Like x 2