Script input field problem

Discussion in 'Scripts & Independent Tools' started by mairoboy, Oct 28, 2018.

Share This Page

  1. mairoboy

    mairoboy New Member

    Joined:
    Oct 28, 2018
    Messages:
    4
    Likes Received:
    0
    I'm trying to make a script that helps dividing troops in scavenging.
    Its mostly finished, but when i try filling in the input field of a troop, the number shows up in the input field, and immediatly dissapears.
    Does anyone know what the problem is here?

    (fyi, the script is made as a chrome extension)
     
  2. JawJaw

    JawJaw Administrator Tribal Wars Team Community Management

    Joined:
    May 17, 2018
    Messages:
    254
    Likes Received:
    133
    I am going to stop you right there and say that's illegal. All userscripts + extensions are considered illegal. You can only use quickbar scripts if they comply with the script rules.
     
  3. mairoboy

    mairoboy New Member

    Joined:
    Oct 28, 2018
    Messages:
    4
    Likes Received:
    0
    there is a train script on the chrome web store, and it was confirmed as legal...

    Also i read the rules about scripts, as far as i know, im respecting all of them.

    And if this is really illegal, could you give all the rules, or maybe a reference to those rules, i didnt find alot of information but a basic few rules
     
    Last edited by a moderator: Oct 28, 2018
  4. JawJaw

    JawJaw Administrator Tribal Wars Team Community Management

    Joined:
    May 17, 2018
    Messages:
    254
    Likes Received:
    133
    lol, that train script is most definitely illegal ;)

    Rules are simple:
    - Userscripts = not allowed
    - Extensions = not allowed
    Furthermore from the rules page:
    • A script may not be used to send troops automatically or with fewer clicks than usual.
    • A script may not automatically send information or react to an event on your account (such as being attacked).
    • A script may not focus or click the Attack, Support or Ok button on the rally point / attack confirmation page.
    • A script may not interact with the Premium Exchange
    Your extension falls under:
    Bots, browser addons or other applications that automate game activities are forbidden
     
  5. mairoboy

    mairoboy New Member

    Joined:
    Oct 28, 2018
    Messages:
    4
    Likes Received:
    0
    you say my extension falls under "Bots, browser addons or other applications that automate game activities are forbidden", but it currently doesnt automate anything, it just calculates how i should divide my troops..., its like people having an excel sheet to calculate it, well, my extensions shows that info
    So thats ok right

    and about that train script, i saw people that asked if it was allowed, and someone from TW team answered it was legal since opera has the same ability on its own, in opera you can send whole train with 1 button press, so they said the chrome script was legal because opera users already have that advantage
     
    Last edited: Oct 29, 2018
  6. JawJaw

    JawJaw Administrator Tribal Wars Team Community Management

    Joined:
    May 17, 2018
    Messages:
    254
    Likes Received:
    133
    Bud, it's illegal. Considering I'm also the one deciding what is legal and what is not on this market, I can tell you with 120% it is illegal. No discussion about it possible.

    Please provide me the ticket URL of that ticket (in private) so I can review it, because that is incorrect. The tool is not, and never was, considered legal.
     
  7. OneMoreLight

    OneMoreLight Member

    Joined:
    Oct 2, 2014
    Messages:
    10
    Likes Received:
    4
    I'm also working on a scavenging script which I think does nothing illegal. The game is full of user made scripts that are approved and legal, surely we are allowed to make more if they comply withe the rules and then apply for approval?

    mairoboy, you can fix your problem by triggering a change event for the input

    Edit: Just noticed that you're making the script as a chrome extension. I'm making mine as a quickbar script, so I guess it's legal :)
     
    Last edited: Oct 30, 2018
  8. tcamps

    tcamps Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    64
    Likes Received:
    27
    If it was made into a quickbar or bookmarkable script it wouldn't be an issue, do it that way instead

    Can you share the code that inserts troop counts?
     
  9. JawJaw

    JawJaw Administrator Tribal Wars Team Community Management

    Joined:
    May 17, 2018
    Messages:
    254
    Likes Received:
    133
    That would indeed be legal, as long as you keep the 1click = 1action rule in mind (and consider filling the form = 1 action).
     
    OneMoreLight likes this.
  10. OneMoreLight

    OneMoreLight Member

    Joined:
    Oct 2, 2014
    Messages:
    10
    Likes Received:
    4
    Thanks, will keep it in mind. One question... I put a focus on a button which I want to click by pressing Enter, I'm not overpassing the action, still need to press Enter, I'm just focusing 1 out of 4 buttons. Hope this is legal?
     
  11. tcamps

    tcamps Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    64
    Likes Received:
    27
    As I understand, generally yes, with the exception of:
    • "A script may not focus or click the Attack, Support or Ok button on the rally point / attack confirmation page."
     
  12. JawJaw

    JawJaw Administrator Tribal Wars Team Community Management

    Joined:
    May 17, 2018
    Messages:
    254
    Likes Received:
    133
    Correct.