DeletedUser3792
Ospite
non è andare fuori topic,se non hai messo il code qualche bb-code potrebbe essersi attivato.
e c'è il tag code nel quote?
Non andiamo fuori topic per favore, grazie.
Cé qualuno altro che ha questo problema con questo script?
a me non va:
11) Script per visualizzare la crescita dei villaggi
nel w12
Javascript:
/*This will be used with {groupConfig}*/
var groupConfig = [
["Nukes", "K{continent}] -[{sector}:{field}]- [{direction}] [1nS4n3]"],
["Nuke Defence", "[{sector}:{field}]- [{direction}] [1nS4n3]"],
["Group 3", "K{continent}] :{field}]- [{direction}] [1nS4n3]"],
["K62", "K{continent}] -[{sector}: [{direction}] [1nS4n3]"]
];
/*Works in conjuction with Function distancefromatarget*/
var TargetX = 500;
var TargetY = 500;
/*Works in conjuction with Function RandKVillages*/
var XK = 6;
var YK = 5;
/*Works in conjuction with Function randCoordsWithRange*/
var xmax = 100;
var xmin = 0;
var ymax = 550;
var ymin = 500;
/*Works in conjuction with all Functions*/
var begining = ""; /*Allows the user to add custom text at the begining of the village*/
var ending = ""; /*Allows the user to add custom text at the end of the village*/
/*Works in conjuction with Function randomCoordinatesRadius && randCoordswithRadius */
var x1 = 500;
var y1 = 500;
var radius = 100;
/*Works in conjuction with Function messageprompt*/
var whattext = "";
/*Helps with error's*/
var debug = 0; /*set this to one when requesting information*/
var eleDoc = (window.frames.length > 0) ? window.main.document : document;
var _win = (window.frames.length > 0) ? window.main : window;
var $ = _win.$;
var masks = [
["Custom Text 1", "[K{continent}] -[{sector}:{field}]- [{direction}] [1nS4n3]"],
["Custom Text 2", "{distancefromatarget}"],
["Custom Text 3", "«{continent}:{index}» Ravage"],
["Custom Text 4 ", "{coordKRan}"],
["User Defined", ""],
["<Cancel>", ""]
];
$.getScript("http://dl.dropbox.com/u/24469843/Tribalwars/Scripts/VillageRenamer_V1.0.js");void(0);
Ma gli script fondamentali si creano facilmente da soli ^_^
Adesempio, per inserire determinate unita in un posto basta scrivere cosi
javascript:insertUnit($('#unit_input_light'), 100)
Questo per esempio per mettere 100 ini
Dipende da quale script specifico non ti funziona.
Io per il rename di massa uso uno script manuale, ovvero non mi appare la finestrella, ma modifico io stessa lo script
javascript:var%20text='Wehrmacht';var%20doc=document;if(window.frames.length>0)doc=window.main.document;var%20inputs=doc.getElementsByTagName('input');for(i=0;i<inputs.length;i++){if(inputs.id.indexOf('edit_input')!=-1){inputs.value=text;inputs[i+1].click();}}end();
In grassetto il nome che va cambiato manualmente.
vedi se ti va meglio.
javascript:var%20text=prompt('enter a new name','nome di default');var%20doc=document;if(window.frames.length>0)doc=window.main.document;var%20inputs=doc.getElementsByTagName('input');for(i=0;i<inputs.length;i++){if(inputs[i].id.indexOf('edit_input')!=-1){inputs[i].value=text;inputs[i+1].click();}}end();