All Broken Scripts

crimsoni

Contributing Poster
Reaction score
350
Can you post the script that you are using?

What browser (and its version) are you using?
 
Last edited:

DeletedUser47445

Guest
javascript:$.getScript('https://dl.dropboxusercontent.com/u/26362756/haulStats/main.js');void(0);

Another broken dropbox script. Anyone able to fix this?
 

DeletedUser116936

Guest
Code:
javascript:function%20end(){c='xxx|yyy';var%20d=document;if(window.frames.length>0)d=window.main.document;url=d.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');a=c.match(/(\d+\|\d+)/g);b=a[Math.round(Math.random()*(a.length-1))].split("|");d.forms[0].x.value=b[0];d.forms[0].y.value=b[1];d.forms[0].spear.value=0;d.forms[0].sword.value=0;d.forms[0].axe.value=0;d.forms[0].spy.value=1;d.forms[0].light.value=3;d.forms[0].heavy.value=0;d.forms[0].ram.value=0;d.forms[0].catapult.value=0;d.forms[0].snob.value=0;d.forms[0].archer.value=0;d.forms[0].marcher.value=0;d.forms[0].knight.value=0;}end();

Farm script randomly input a coord and specified units.

I not sure whats going on. It works on my phone through the app but not through the browser on the computer.
 

DeletedUser103945

Guest
I got this error when trying to use my troop counter script:

A script in your Quick Bar attempted to load another script over an insecure connection.As part of the security model of your web browser, scripts can only be loaded from URLs starting with https://The URL that could not be loaded was: http://www.crosstrigger.com/tw/v7/troop_counter.js

Is there some way I can change my browser preferences to allow http:// website scripts? I assume this is a browser issue as stated in the error message and not the game developers but please tell me if I'm wrong. I use FF and Opera. Thanks!
 

sidd 271

Contributing Poster
Reaction score
312
the co-ordinate picker (dalesmckay's co-ordinate picker) is not working. Anyone have the updated version of it?
 

Ibra Gonza II

Non-stop Poster
Reaction score
140
the co-ordinate picker (dalesmckay's co-ordinate picker) is not working. Anyone have the updated version of it?
Use this one:
Code:
javascript:    var win=(window.frames.length>0)?window.main:window;  var coords=[];  var outputID='villageList';  var encodeID='cbBBEncode';  var isEncoded=true;    function fnRefresh(){win.$('#'+outputID).val(coords.map(function(e){return isEncoded?'[coord]'+e+'[\/coord]':e;}).join(isEncoded?'\n':' '));}    win.$(win.document).ready(function(){   if(win.$('#'+outputID).length<=0){    if(win.game_data.screen=='map'){     var srcHTML=      '<div id="coord_picker">'+       '<span style="color:blue;text-decoration:underline;">dalesmckay\'s co-ordinate picker v7.1:</span><br/><br/>'+       '<input type="checkbox" id="cbBBEncode" onClick="isEncoded=this.checked;fnRefresh();"'+(isEncoded?'checked':'')+'/>BB-Codes<br/>'+       '<textarea id="'+outputID+'" cols="40" rows="10" value="" onFocus="this.select();"/>'+      '</div>';          ele=win.$('body').append(win.$(srcHTML));       win.TWMap.map._handleClick=function(e){      var pos=this.coordByEvent(e);     var coord=pos.join("|");     var ii=coords.indexOf(coord);      if(ii>=0){       coords.splice(ii,1);      }      else{       coords.push(coord);     }          fnRefresh();          return false;     };    }    else{     alert("Run this script from the Map.\nRedirecting now...");     self.location=win.game_data.link_base_pure.replace(/screen\=\w*/i,"screen=map");    }   }  });    void(0);
 

DeletedUser114063

Guest
If you need an advanced coord picker providing you a large variety of tools and editing options you may use the following script:

Advanced Coords Extractor
Code:
 javascript:$.getScript('https://dl.dropboxusercontent.com/s/u6f4fro64tbcovr/Tsalkapone.Advanced_Coords_Extractor_ek.js');void 0;

If you need an advanced coord picker using the Map you may use the following script:

Map Scripts
Code:
  javascript:$.getScript('https://dl.dropboxusercontent.com/s/9m6y4nwjs9luyoh/Tsalkapone.Map_scripts.js');void 0;

Both scripts are APPROVED.

There is no need to mention more about each script function since every necessary info is embedded in the script.

You may find more useful and approved scripts on the following link:

Tsalkapone ~ Scripts
 

DeletedUser98112

Guest
I got this error when trying to use my troop counter script:

A script in your Quick Bar attempted to load another script over an insecure connection.As part of the security model of your web browser, scripts can only be loaded from URLs starting with https://The URL that could not be loaded was: http://www.crosstrigger.com/tw/v7/troop_counter.js

Is there some way I can change my browser preferences to allow http:// website scripts? I assume this is a browser issue as stated in the error message and not the game developers but please tell me if I'm wrong. I use FF and Opera. Thanks!

I'm going to bump this, seeing the same issue on opera and chrome, with this troop counter and the dalesmckay troop counter
 

Ibra Gonza II

Non-stop Poster
Reaction score
140
I'm going to bump this, seeing the same issue on opera and chrome, with this troop counter and the dalesmckay troop counter

That's simply because the owners of these hosts did not renew their SSL certificate, so the scripts can't be loaded over https anymore, and TW blocks all (for your own protection) that is not loaded securely over https.

You can easily resolve this by putting them on dropbox, or ask someone else to put it on an https server.

As for the troop counter, I placed it on my server :
Code:
javascript:(window.main||window).$.getScript('https://scripts.ibragonza.nl/troop_counter/troop_counter.js');void 0;
 

DeletedUser120500

Guest
Code:
javascript:var coords='521|695 519|691 507|687 508|687 518|689 518|690 507|690 508|688 508|689 509|693 506|690 524|695 522|696 523|698 525|698 525|699 507|689 505|686 523|697 523|699';var doc=(window.frames.length>0)?window.main.document:document;if(doc.forms[0].x.value==""){var index=0;var last="";timers=[];nukecookie=document.cookie.match('(^|;) ?nuke=([^;]*)(;|$)');if(nukecookie!=null)index=parseInt(nukecookie[2]);coords=coords.split(" ");if(index==coords.length-1)last="Last village!";if(index>=coords.length)index=0;var coordxy=coords[index];coordxy=coordxy.split("|");index=index+1;cookie_date=new Date(2020,02,13);document.cookie ="nuke="+index+";expires="+cookie_date.toGMTString ();doc.forms[0].x.value=coordxy[0];doc.forms[0].y.value=coordxy[1];doc.getElementsByTagName("h3")[0].innerHTML="Attacking village (" + (index) + "/" + coords.length + ") "+last;}selectAllUnits(true);if(doc.forms[0].spy.value>3)doc.forms[0].spy.value=doc.forms[0].spy.value-30;

using chrome and hot key. Each time it opens a new tab and doesn't work. Any ideas?
 

JawJaw

Awesomest CM Ever
Reaction score
2,210
Code:
javascript:var coords='521|695 519|691 507|687 508|687 518|689 518|690 507|690 508|688 508|689 509|693 506|690 524|695 522|696 523|698 525|698 525|699 507|689 505|686 523|697 523|699';var doc=(window.frames.length>0)?window.main.document:document;if(doc.forms[0].x.value==""){var index=0;var last="";timers=[];nukecookie=document.cookie.match('(^|;) ?nuke=([^;]*)(;|$)');if(nukecookie!=null)index=parseInt(nukecookie[2]);coords=coords.split(" ");if(index==coords.length-1)last="Last village!";if(index>=coords.length)index=0;var coordxy=coords[index];coordxy=coordxy.split("|");index=index+1;cookie_date=new Date(2020,02,13);document.cookie ="nuke="+index+";expires="+cookie_date.toGMTString ();doc.forms[0].x.value=coordxy[0];doc.forms[0].y.value=coordxy[1];doc.getElementsByTagName("h3")[0].innerHTML="Attacking village (" + (index) + "/" + coords.length + ") "+last;}selectAllUnits(true);if(doc.forms[0].spy.value>3)doc.forms[0].spy.value=doc.forms[0].spy.value-30;

using chrome and hot key. Each time it opens a new tab and doesn't work. Any ideas?


Try this:
Code:
javascript:var coords='521|695 519|691 507|687 508|687 518|689 518|690 507|690 508|688 508|689 509|693 506|690 524|695 522|696 523|698 525|698 525|699 507|689 505|686 523|697 523|699';var doc=(window.frames.length>0)?window.main.document:document;if(doc.forms[0].x.value==""){var index=0;var last="";timers=[];nukecookie=document.cookie.match('(^|;) ?nuke=([^;]*)(;|$)');if(nukecookie!=null)index=parseInt(nukecookie[2]);coords=coords.split(" ");if(index==coords.length-1)last="Last village!";if(index>=coords.length)index=0;var coordxy=coords[index];coordxy=coordxy.split("|");index=index+1;cookie_date=new Date(2020,02,13);document.cookie ="nuke="+index+";expires="+cookie_date.toGMTString ();doc.forms[0].x.value=coordxy[0];doc.forms[0].y.value=coordxy[1];doc.getElementsByTagName("h3")[0].innerHTML="Attacking village (" + (index) + "/" + coords.length + ") "+last;}selectAllUnits(true);if(doc.forms[0].spy.value>3)doc.forms[0].spy.value=doc.forms[0].spy.value-30;void(0);
 

*kronus*

Active Member
Reaction score
1
good morning, some time ago a friend gave me this script, in which from combined overview you could calculate the plan directly from here without moving to external sites. If someone has it I would be grateful if they would turn it over to me, or solve this because it no longer works. I would like to use it in Italy


javascript: S.getScript ( 'https://media.innogamescdn.com/com_DS_BR/Scripts/Aprovados/planejador_de_ataques.js'); vuoto ...
 

Shinko to Kuma

Still Going Strong
Reaction score
776
Anyone having difficulties with Ntoomb+?
javascript:$.getScript('https://dl.dropboxusercontent.com/s/j8zzp5mdvh42ri1/LAxMaCz.js');void(0);

V

This is an outdated script, there is a fixed version here:

Code:
javascript:$.get('https://scripts.ibragonza.nl/enhancer/enhancer.js');void(0);


good morning, some time ago a friend gave me this script, in which from combined overview you could calculate the plan directly from here without moving to external sites. If someone has it I would be grateful if they would turn it over to me, or solve this because it no longer works. I would like to use it in Italy


javascript: S.getScript ( 'https://media.innogamescdn.com/com_DS_BR/Scripts/Aprovados/planejador_de_ataques.js'); vuoto ...

I would suggest using something else like TW AAP,which is extremely powerful!
 

*kronus*

Active Member
Reaction score
1
[QUOTE = "Shinko to Kuma, post: 7112875, membro: 121220"]
Questo è uno script obsoleto, c'è una versione fissa qui:

[CODICE] javascript :. $ Get (' https://scripts.ibragonza.nl/enhancer/enhancer.js'); void (0); [/ codice]




Suggerirei di usare qualcos'altro come TW AAP, che è estremamente potente!
[/ CITAZIONE]


And where do I find this TW AAP
 
Last edited:

*kronus*

Active Member
Reaction score
1


I'll post the video so you understand what I meant this morning with this script
 
Last edited:
Top