Code Monkey home page Code Monkey logo

travian-scripts's People

Contributors

adipiciu avatar nathnet avatar xinyin025 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

travian-scripts's Issues

I just got banned today and maybe I know why.

Script Name
Travian Resource Bar Plus and Travian Task Queue were active

Server address
ts31.x3.europe.travian.com

User script manager
Tampermonkey

Operating System
Windows 10

Describe the bug
They detected my script today and found me. While the script is actually used client side, this is interesting. So how did they find out?

There are 2 options, we should go through:

  1. Maybe they detect fast links like the marketplace sending of resources, which uses the village id and they see you jumping a lot to the actual "map link" with the "z=" values from sites like barracks or village view and such.

  2. Today was not the first time I tried to send waves timed with the TaskQueue script, but I used it the first time productive, meaning I send Deff out of 6 villages timed (the result was not accurate timed btw). So maybe that is why they hit me today?

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Additional context
Today was the first day, where I used TaskQueue to send timed deff to my account. Both the one I sitted and me where banned.

Hey

Script Name
Example: Travian Resource Bar Plus or Travian Task Queue or Travian Wave Builder

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Travian Task Queue stops running

Script Name
Travian Task Queue

Server address
ts31.x3.europe.travian.com](https://ts31.x3.international.travian.com

User script manager
Tampermonkey

Operating System
Windows 10 22H2 SO19045.2364

Describe the bug
While we change between resources and buildings, task list dissappears, seems the script stop running. Also if we set up task's they run normally like FarmList, but sometimes when you just refresh your page seems the script going inactive. Grey bar in top right corner of screen instead of white.

To Reproduce
Hard to tell, only when you refresh page or updates sometimes the bot script stops, if you change between resources or open barracks sometimes the scrips comes back others you need to go statistics or map

Expected behavior
Scrip keep always running no matter your refresh page.

Additional context
https://prnt.sc/qyZgJlRzZ40O
https://prnt.sc/JENY86FbyTkG
https://prnt.sc/eFsi0SJSepw-

New Features

Hi @adipiciu,

I think it would be great to have 2 extra icons in villages list which directly take us to dorf1, and dorf2, in old script (beyond travian 3) we used to have that feature. The feature does not have extra requests to server as these data actually available from village list.
It would be like this:
from village 1 to another village resources view:
travian.com/dorf1.php?newdid=9616&

from village 1 to another village buildings view:
travian.com/dorf2.php?newdid=9616&

So it's just repeated link and the difference is: dorf1 or dorf2.

M+

Is there a way to make an input in new market place? I tried the following:
val, focus+input, trigger: keydown, keypress, keyup, change, text, textInput, ajax post directly to send script, different headers, etc. Nothing seams to work.

Troops delayed send is not working

Script Name
Travian Task Queue

Server address
https://ts4.x1.international.travian.com

User script manager
Tampermonkey

Operating System
Windows 10. Brave browser

Describe the bug
When it is time to run scheduled troops send -- it is fails with a error: "Confirmation Failed". I can send the attack manually.

To Reproduce
Steps to reproduce the behavior:

  1. Schedule an attack
  2. Wait for it

Expected behavior
Sent attack

Hero strength

Hi @adipiciu,

As title suggest is it possible to read and include hero strength into troops tooltips, just like hero speed is included?

Thanks in advance.

Broken on new server: ts109.x10.international.travian.com

Script Name
Example: Travian Resource Bar Plus and Travian Task Queue

Server address
Example: ts109.x10.international.travian.com

User script manager
Example: Tampermonkey

Operating System
Example: Ubuntu 21.04, Android 11

Describe the bug
Nothing appear, I think they changed the name of some tags in the page so the whole script is crashing.

To Reproduce
Steps to reproduce the behavior:
default run.

Expected behavior
To show resources bar.

Additional context
The server is new and it's called Hero fashion test.

Font size

Script Name
Travian Resource Bar Plus

Not a bug per se, but please increase the font size, on bigger monitors it is so hard to read. I looked into the code, but the font size is defined in so many places, it's hard to change them all one by one. And difficult to upgrade the script after because of those conflicts.

comfirmation failed

image

This is small issue. It gave me as above when the manual schedule attack was done, however, the attacks were successfully sent.

ps. the gold club list schedule still works just fine

image

Spartans

upgrade to the new tribe, the Spartans :)

name atk Def Inf Def Cav speed bounty wood clay iron crop Total maintenance Tempo type
Hoplite 50 35 30 6 60 110 185 110 35 440 1 00:28:20 inf
Sentinel 0 40 22 9 0 185 150 35 75 445 1 00:20:32 inf
Shieldsman 40 85 45 8 40 145 95 245 45 530 1 00:32:16 inf
Twinsteel Therion 90 55 40 6 50 130 200 400 65 795 1 00:35:12 inf
Elpida Rider 55 120 90 16 110 555 445 330 110 1440 2 00:46:56 cav
Corinthian Crusher 195 80 75 9 80 660 495 995 165 2315 3 00:57:12 cav
Ram 65 30 80 4 0 525 260 790 130 1705 3 01:17:00 ram
Ballista 50 60 10 3 0 550 1240 825 135 2750 6 02:45:00 ballista
Ephor 40 60 40 4 0 33450 30665 36240 13935 114290 4 21:32:30 chief
Settler 10 80 80 5 3000 5115 5580 6045 3255 19995 1 09:28:20 settler

there are their numbers, updated to today's date, separated by tabs

spartans.xlsx

Wave builder not working on ts31.x3.europe.travian.com server

Script Name
Travian Wave Builder

Server address
ts31.x3.europe.travian.com

User script manager
Tampermonkey

Operating System
Windows 10

Describe the bug
Wave builder is not working at all. At least it doesn't show at the build.php page aka troop sending site. So it's not function right?

To Reproduce

  1. Install Wave Builder
  2. Go to troop sending
  3. Nothing shown

Expected behavior
I remember it was shown on the bottom of the site?

not working more for wave builder,,please solve it

Script Name
Example: Travian Resource Bar Plus or Travian Task Queue or Travian Wave Builder

Server address
Example: ts31.x3.europe.travian.com

User script manager
Example: Tampermonkey, Violentmonkey, Greasemonkey, Userscripts

Operating System
Example: Windows 10, Android 9, iOS 14

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Sending farmlist as scheduled task doesn't work anymore after Release 1598

Script Name
Travian Task Queue

Server address
schild.x1.travian.com

User script manager
Tampermonkey

Operating System
Google ChromeOS, Version 102.0.5005.125 (Official Build) (64-bit)

Describe the bug
After this release was implemented on this server, scheduled farming no longer works:
Screenshot 2022-06-23 22 16 52

To Reproduce
Steps to reproduce the behavior:
Just schedule a farmlist.

Expected behavior
I expect it work as before ;)

Farm list properties

*Script Name:
Travian Resource Bar Plus

*Feature request:
There use to be a feature in the old versions. Last time I used was on T3.6-T4
when you go to the farm list bellow each list, there would show check-boxes for:
losses (yellow-red-green), loot (full loot - some loot - no loot) and whether there is an attack running on it or not
you can check one or multiple of them and it would select them from that farm list

Additional context:
Just want to thank you for all the work you do these tools from the old days are hard to find now much apricated

Travian wave -- He send only 4 and nothing more, i gave 12 in... and just 4 are send. i use firefox.

Script Name
Example: Travian Resource Bar Plus or Travian Task Queue or Travian Wave Builder

Server address
Example: ts31.x3.europe.travian.com

User script manager
Example: Tampermonkey, Violentmonkey, Greasemonkey, Userscripts

Operating System
Example: Windows 10, Android 9, iOS 14

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Search option only for oases and filter for animals.

Script Name
Travian Resource Bar Plus

Is your feature request related to a problem? Please describe.
Currently, if you search via neighbors (with or without the query for animals info in oases) you are given the list of all tiles that contain players and oases.

Describe the solution you'd like
New option to search only oases or players, and a filter for animals, when searching for oases.

Describe alternatives you've considered
Split neighbors into 2 queries - Players & Oases (with the animal info option being only available to oases)

Unknown town

Travian Task Queue

ts7.x1.europe.travian.com

Violentmonkey

Windows 10

TTQ doesn't work with farm list (oasis)

message error:
Unknown town
May have not happened ! was attempted but failed.
Reason : (timeout or TTQ crash)

Send Later button disappear

Send Troops Functions for every villages, except the top, is unusable.

This is for the first village
image

and this is for others
image

wave builder start no waves

Script Name
Example: Travian Resource Bar Plus or Travian Task Queue or Travian Wave Builder

Server address
Example: ts31.x3.europe.travian.com

User script manager
Example: Tampermonkey, Violentmonkey, Greasemonkey, Userscripts

Operating System
Example: Windows 10, Android 9, iOS 14

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

The script no longer displays the optimal number of units to loot when scouting

Script Name
Example: Travian Resource Bar Plus or Travian Task Queue or Travian Wave Builder

Server address
Example: ts31.x3.europe.travian.com

User script manager
Example: Tampermonkey, Violentmonkey, Greasemonkey, Userscripts

Operating System
Example: Windows 10, Android 9, iOS 14

Describe the bug
The script no longer displays the optimal number of units to loot when scouting

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'report'
  2. Click on 'mouseover resource'
    Screenshot

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Market incoming summary disappears

Travian Resource Bar Plus 2.23.15
Violentmonkey
Windows 10

When there are many incoming market transports a Show All button appears
Screenshot 2023-11-25 020844
but after clicking it, the summary info disappears.

nothing shown

TTQ v 1.8.7 shows only small button without options (i.e. choose tribe, etc.) and the "build later" or task schedule is not to be found.

image

Resource bar plus v 2.21.19 show nothing, except that button after first village.

Farmlist Animals check

Script Name
Travian Task Queue or Travian Wave Builder

Server address
https://cw.x1.international.travian.com

User script manager
Violentmonkey

Operating System
Windows 11

Describe the bug
Hi, so before update of farmlists, you were able to click on checkbox of farmlist to check them all and click on animasl with "???" then when in oasis were animals checkbox would dissappear. After update it doesn't dissappear, can you try to work it out?
Thanks for your hardwork.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Farmlist
  2. Click on Checkbox to check all targets, then on "Rat???"
    3.Checkboxes with animals won't dissappear
  3. See error

Expected behavior
That checkboxes that are marked and have animals in oasis would not be marked after checked for animals.

Additional context
image_2023-12-27_203257700

Unable to send hero for send later when hero is away

Script Name
Travian Task Queue

Server address
Example: ts6.x1.asia.travian.com

User script manager
Tampermonkey

Operating System
Windows 10

Describe the bug
Choosing hero for send later resulted in sending Equites Caesaris instead

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Rally point' send troops page
  2. Add hero when the hero is away
  3. Click send later
  4. See error shown as [Equites Caesaris]: 1 being chosen instead of the hero

Expected behavior
Choosing hero for send later should queue the hero for sending

send farmlist

Script Name
Example: Travian Resource Bar Plus or Travian Task Queue or Travian Wave Builder

Server address
Example: ts9.x1.europe.travian.com

User script manager
Tampermonkey

Operating System
Windows 10,

Describe the bug
bonjour, depuis la mise à jour du 7/7/2023 les "farmlist" ne s'envoient plus

Expected behavior
la fenetre "flush history" est entierement rouge

Possible Solution to Market Neded Function [(M)(M+)]

One of the functions I like most about this script is being able to add necessary resources with (M) and (M+), and then being able to easily send them from my capital to other villages.

Since Travina updated the resource submission interface (which I hated by the way), this plugin feature has not been working correctly.

In my tests, I ended up discovering the reason and then programming a temporary "workaround", which could be a solution.


The problem:

For the send resources screen to appear, you need to click on "Send Resources".

However, this is a screen that the Script does not detect (if it is already running).

Therefore, I decided to add a delay of 3 seconds, when the current page is the market shipping page.


But there are some problems in my implementation.

  1. I use a fixed ID (because I always build the market in the same place). I believe that the ideal would be to save the market ID and each village.
  2. You have to "be fast" and click in "Send Resources" before the script loads.

Anyway...

I don't believe this is the best solution, but it's working for me for now.

I really like the script! Hugs



Code:

The initial code should be like that:

function Main () {

var RunTime = [Date.now()];

function allInOneOpera () {
var version = '2.23.14';

You should also remove the () from the END of function, AND also the () that surrounds ALL the function.

The id verification:

function containsParameters(url) {
    return url.includes("gid=17");
}

var currentUrl = window.location.href;

if (containsParameters(currentUrl)) {
    setTimeout(Main, 3500);
} else {
    Main();
}

Market send divide into deliveries.

Screenshot 2023-12-24 021028
Would it be possible to add a feature that would divide the needed resources into the selected deliveries when there isn't enough merchants? For example, I need to send 15332 and click 3 deliveries, have it divide 15332 into 3 deliveries = 5111 each.
Thanks in advance!

Find Arts like Crops

Can it be implemetented option that can find near Arts in given cords, just like we find crops

Villages list are gone

Script Name
Example: Travian Resource Bar Plus or Travian Task Queue or Travian Wave Builder
Resources
Server address
[Example: ts31.x3.europe.travian.com]
https://ts39.x3.international.travian.com

User script manager
Example: Tampermonkey, Violentmonkey, Greasemonkey, Userscripts
Greasemonkey
Operating System
Example: Windows 10, Android 9, iOS 14
Win 10
Describe the bug
A clear and concise description of what the bug is.
When i want to send some resources to a other village, the villages are not there its only with the send resources button
https://prnt.sc/bUwNzGYOjIhP see the link
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
I hope you can fix this.
Additional context
Add any other context about the problem here.

button missing

Script Name
Example: Travian Task Queue

Server address
Example: [ts31.x3.europe.travian.com]

User script manager
Example: Tampermonkey

Operating System
Example: Windows 10

Describe the bug
The send button in farm list has disappear.

Expected behavior
the neew update hides the button.

Additional context
Good script! thx a lot!

Travian Resource Bar Plus works on sittered but not on main account

Script Name
Travian Resource Bar Plus

Server address
Example: ts21.x2.europe.travian.com

User script manager
Tampermonkey

Operating System
Windows 10

** browser**
Opera last version

Describe the bug
On opening account TRBP doesnt work ( tamper show it is loaded, but no script windows or script page ehances).
this bug is not present on opening travian with sittered accounts.

Steps to reproduce the behavior:

  1. log in
  2. script correctly loaded
  3. no script windows or script on page
  4. log out
  5. log in on sitter acounts
  6. script loader correclty and working

This issue appared about one week, on last upgrade of TRBP and Opera upgrade

Bug: counters count unnormally fast

Hi @adipiciu,

I notice sometimes the counters count down very fast so if the time supposed to be one hour 20 minutes it will go down in almost 10 seconds.

Here is an example:

Peek.2021-11-22.08-03.mp4

Marksman speed

Script Name : Travian Resource Bar Plus

Describe the bug
This is not quite a bug but a little issue about the speed of marksman of Huns is not consistent in the game.
The velocity should be 15 fields/hour for x1 speed server.
I usually edit the code myself but I think it is worth mention here so this script could be even better.

Thank you for your good work.

troops in resource bar plus not working

Script Name
Travian Resource Bar Plus

Server address
https://gos.x2.international.travian.com

User script manager
Tampermonkey

Operating System
Example: Windows 10

Describe the bug
when I click on troops in resource bar, everything freeze, it is not possible to click anywhere else, I have to close tab and open again
image

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Add new feature

I'd be so good if when searching for neighbors we can see if the certain guy / oasis is already being attacked by you, from any village hovering to the attack displaying additional info about the attack like city that you are attacking from, and when is it gonna arrive and also to have another feature, if the army is returning from an attack from.

Basically having 3 icons

1 When you are attacking the certain guy / oasis
2 For when the army is already returning from there
3 Reinforcements icon

Looking forward to feedback for this suggestion, it would really help me out

Repetitive tasks (ex. farming) not working

Hi adipiciu!

I have installed the latest version of your TTQ script (1.9.2). I tried to setup the repetitive troop sending option (like, every minute) on a trial account without Gold Club. Script sends successfully the first attack, but does not repeat attack a minute later - the task is marked as completed and no longer active. I also checked this with the Gold Club on some older versions (1.7.3) back in the days, and the script also failed to perform repetitive tasks. Can you please suggest the solution?

Save Carrnies percentage

Script Name
Example: Travian Resource Bar Plus

Is your feature request related to a problem? Please describe.
When I send resources between villages, I want these resource to be secure from raid. right now we can send resource based on the target village warehouse size, I would love to be able to also send resources based one the target village crannies capacity.

Describe the solution you'd like
Next to current memory symbol [M+], please add [C+] which will be based on crannies capacity.

Describe alternatives you've considered
I'm doing it manually, by looking at target village crannies capacities and then send.

Additional context
hopefully my explanation is clear.

Additional checkbox in farmlist re-location

Script Name
Travian Resource Bar Plus

Is your feature request related to a problem? Please describe.
It is inconvenient that the checkboxes are at the bottom of each farmlist that we have to scroll down to.

Describe the solution you'd like
Move that line of checkbox to the top of each farmlist.

Additional context
It would be great like this.
image
image
image

Thank you for your effort.

Wave builder doesnt work

Script Name
Travian Wave Builder 2.9

Server address
ts8.x1.europe.travian.com

User script manager
Violentmonkey

Operating System
Manjaro

Describe the bug
Doesn't work

Bug in links

Hi @adipiciu,

There is a bug when using script in latest version of travian 4.4
if you are in hero view but not in main view, so you are at:
travian.com/hero/attributes, or
travian.com/hero/attributes, or
travian.com/hero/adventures, or
travian.com/hero/auction, but not:
travian.com/hero
then you click on any link from links provided by script, then it will not go to desired target. because the link is broken, it become like this:
travian.com/hero/karte.php?d=71622 . Which keeps you in hero view, I think because it's only cutting last part of URL.

Thanks in advance.

Building queue

Script Name
Example: Travian Task Queue

Is there a way to add buildings in the queue more like the master builder? I can add 2-3 but after that need to calculate when the previous level will be finished.. I mess up calculations sometimes. or what's the optimal way of doing a queue... for x5, x10 servers... where you can get a lot done in little time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.