Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Great script - very well written, thanks. I just had a small feature suggestion (or rather, an un-feature). I dual-account with a friend, and I've run into a problem where I leave this running all night, and when he gets on in the morning he can't change the village he's on because this script automatically resets it to where ever I left it (very frustrating for him! :P). Anyways, I figured the best way to solve this was to have another setting allowing you to disable the switchActiveVillage() function, if desired. I hacked this together, if you're interested.
var sCurrentServer = ""; // Set this to the server's url to override automatic server detection
// (i.e. s1.travian.net)
// Dont set it if you're playing on multiple servers simultaneously!
var bReturnToVillage = true; // Determines whether the script will return to the original village after executing a command
/**********************
**** End of Settings ****
***********************/
function switchActiveVillage(did) {
_log(2, (bReturnToVillage ? "S" : "Not s") + "witching your village back to " +did);
if(!isInt(did) || !bReturnToVillage) {return; }
get("dorf1.php?newdid="+did, null, null);
}
|
|
|
It's really a great script. I like it. ^_^
|
|
|
Hey Great script, using now with no problems, makes me a 24 hour Travian user which is good, putting me ahead among my neighbors, however I have a request... Is there anyway you could have the script auto calculate when stuff can be built (like Travian helper can based on your resource income) and then have the task queue use that info to input a time ofset by a minute (to compensate for lag or anything) then build? As for the hardest part for me is calculating when i can add stuff to be built, like a 24hour queue to upgrade resource fields and stuff like that. I did use it last night which was good to keep my farms going all night. :) Thanks again. Len |
|
|
I have been using this script for a few weeks and it is awesome. But it hasn't worked for me for over a week. It just adds things to the queue and when they are ready, the disappear, but nothing gets built. I wonder if it's a problem on my end or Travain changed something to prevent this script from working? I kinda hate playing the game without this script. It doesn't work even with no other scripts running in Grease Monkey. I have tried it on multiple .com servers. Tried other variations of this script too, don't work. Anyone else have problems? Anyone else can tell me if theirs still works? Anyone know what I might do to fix it? |
|
|
!!! SWEDISH TRANSLATION BUGFIX !!!
|
|
|
hi all,
|
|
|
MAke troops later doesn't i see the butten for. |
|
|
the send troops later doesn't work as stated by some users before, the Task Schedule window appears when you select the troops and then disappears, but nothing happens. Now something very weird I found out. I am playing 2 servers, s1 and s4. I'm playing teutons at s1, the send later troops works fine there. I am playing romans at s4, but the send later troops option doesn't work there?! It is the same country and the same settings?! Where is the catch? |
|
|
Welcome back Risi! |
|
|
In the com server Spelling of Armory is 'Armoury' not 'Armory'. But in the script you use Armory, so it does not show the update link there! |
|
|
Hi! This script is great! But I can't attack every 3 sec. Why ? o.O Cheers |
|
|
i have problem with the time, it is not sync with the server time, i try it on some other server it work, it dont work in server 1 i dont know why any idea |
|
|
@Voltron , how i can edit it, can u please explain for me how to get the file to be edited ? |
|
|
I love you Voltron, it works! You made me so happy. |
|
|
@Alejololz Just substitute the case net for this one. It works for me perfectly. case "net": //Spanish - by Carlos R (fixed by Mr.Kurt & Voltron).
aLangBuildings = ["", "Leñador", "Barrera", "Mina", "Granja", "Serrería", "Ladrillar", "Fundición", "Molino", "Panadería",
"Almacén", "Granero", "Herrería", "Armería", "Plaza de Torneos", "Edif. principal", "Plaza reuniones", "Mercado", "Embajada",
"Cuartel", "Establo", "Taller", "Academia", "Escondite", "Ayuntamiento", "Residencia", "Palacio", "Tesoro", "Oficina de Comercio",
"Cuartel Grande", "Establo Grande", "Muralla", "Terraplén", "Empalizada", "Cantero", "Cervecería", "Trampero", "Hogar del héroe",
"Almacén Grande", "Granero Grande", "Maravilla"];
aLangTasks = ["Construir", "Mejorar", "Atacar", "Investigar", "Entrenar"];
aLangStrings = ["Construir más tarde", "Mejorar más tarde", "Atacar más tarde", "Investigar más tarde",
"Programar esta tarea para más tarde", "Hemos empezado a construir el edificio ", " fue intentado con resultado desconocido.",
"Grado", " no puede ser construido.", " no puede ser mejorado.", "La tarea ha quedado programada.", "Producción actual:",
"No se puede programar esa tarea ahora.", "ˇLa programación de tareas no está disponible!", "Tareas programadas",
"Eliminar", "Enviar más tarde", "No se selecionaron tropas.", "Tus tropas se enviaron a", "Tus tropas NO han podido ser enviadas",
"Refuerzo", "Atacar", "Saquear", "Catapultas atacarán...", "aleatorio", "a", "o después", "segundos", "minutos", "horas", "días",
"Espiar recursos y tropas ", "Espiar defensas y tropas", "fuera(away)", "El ataque no se ha programado porque no se fijo el objetivo.",
"al cuadrante nş", "Ordenar por:", "tipo ", "hora ", "objetivo ", "opciones ", "aldea ", "Historial de tareas", "Borrar Historial",
"Se ha empezado a investigar ", " no puede ser investigado.", "Mejorar más tarde", "Espiar", "Entrenar más tarde", "tropas.",
"Entrenar", "Se ha empezado a entrenar ", " no se puede entrenar."];
aLangTroops[0] = ["Legionario", "Pretoriano", "Imperano", "Equites Legati", "Equites Imperatoris", "Equites Caesaris",
"Carnero", "Catapulta de Fuego", "Senador", "Colono", "Héroe"]; //Romanos
aLangTroops[1] = ["Luchador de Porra", "Lancero", "Luchador de Hacha", "Emisario", "Paladín", "Jinete Teutón", "Ariete",
"Catapulta", "Cabecilla", "Colono", "Héroe"]; //Germanos
aLangTroops[2] = ["Falange", "Luchador de Espada", "Batidor", "Rayo de Theutates", "Jinete Druida", "Jinete Eduo", "Ariete",
"Catapulta de Guerra", "Cacique", "Colono", "Héroe"]; //Galos
break;
|
|
|
I play on s1.net, and the script doesn't work for me perfectly. It can programate a new building, but it can't upgrade existings buildings. Is it a bug or that the script isn't configurated? I'm roman if it is needed. |
|
|
Hiho, I play on s1.net
|
|
|
@ Baby_Yoda
|
|
|
I cant select the hero when he's not around. When that special function? The problem is when i send the hero with the troops.
See this at: |
|
|
@Baby_Yoda Wow, it seems like a mess x_x. Maybe if you reinstall the script it will work perhaps? It's weird, because it should look organized when you open it with notepad. |
|
|
Is it a bug when I'm using "Server time" that the time for upgrade later or send later is blank but if I use "Local time" its filled in with current time? |
|
|
@Voltron
Greets (btw, *offtopic* I really want to write scripts myself, anyone knows good tutorials ? Or something that could help me ? Thanks) |
|
|
@tiagozn Eu não tenho a certeza absoluta, mas acho que as tarefas têm que ser agendadas com um mínimo de 30 segundos. Tenta com 45 segundos ou assim e depois diz o que aconteceu. Sou português. @tiagozn I'm not sure, but I think that tasks must be scheduled to a minimum of 30 seconds. Try with 45 seconds or so and then let us know what happened. |
|
|
Hi guys. I'm having problems to send troops later. To upgrade resources and buildings is OK! I schedule to 15 seconds after, the Task Schedule window apeears until there, everything ok. At the time I scheduled, the "Task Schedule" disapeears and nothing happens. The "Task History" doesn't open and the "Confirmation of The Task" either. I got this error messages, copied from "Error Console" as Bug Report instructions. Alert: Error in processing of value of property 'font'. Declaration ignored.
alert: Error in processing of value of property 'FILTER'. Declaration ignored.
alert: Error in processing of value of property 'float'. Declaration ignored.
alert: Error in processing of value of property 'float'. Declaration ignored.
alert: Error in processing of value of property 'FILTER'. Declaration ignored.
alert: Error in processing of value of property 'float'. Declaration ignored.
alert: Error in processing of value of property 'float'. Declaration ignored.
|
