DeletedUser97817
Guest
It is now working on w30. Thank you for your trouble.
yeah it has been working for the past few months.
<p class="server_info">
gegenereerd in 151 ms <b>|</b> Servertijd: <span id="serverTime">22:58:25</span> <span id="serverDate">15/02/2013</span>
</p>
I guess this is wat you were asking for?
Yep thats great Ive amended the code about 30 mins ago are you still having issues ?
[SPOIL]Hi Dale, thanks for responding
Ive been holding off rehosting your excellent code in the hope you were still around
I believe the issue is caused by a CSS change
I have fixed what looks like a much older version of your code but I think I can suggest a fix for your latest version
in the function below Ive added a font size
[/SPOIL]Code:function fnInjectCustomCSS(){ twUtil.debug('CALL: fnInjectCustomCSS'); $('head').append('\ <style>\ div.clear{clear:both;vertical-align:bottom;}\ div.text{float:left;[COLOR=#ff0000]font-size: 9pt;[/COLOR]}\ div.sort{float:left;width:0.7em;[COLOR=#ff0000]font-size: 9pt;[/COLOR]}\ div.asc{width:0;height:0;line-height:0;margin-top:.0em;border-top:0px solid;border-right:.3em solid rgb(222,211,185);border-bottom:.8em solid;border-left:.3em solid rgb(222,211,185);float:left;margin-left:0px;}\ div.desc{width:0;height:0;margin-top:.2em;line-height:0;border-top:.8em solid ;border-left:.3em solid rgb(222,211,185);border-right:.3em solid rgb(222,211,185);border-bottom:0px solid;float:left;}\ div.EventHover{border-top-color:#0082BE;border-bottom-color:#0082BE;}\ div.EventActive{border-top-color:#C00;border-bottom-color:#C00;}\ div.EventInactive{border-top-color:#fff;border-bottom-color:#fff;}\ </style>\ '); } // fnInjectCustomCSS
javascript: var debugEnabled=true; var branch='http://dl.dropbox.com/u/25377948/twscripts/'; (window.main||self).$.getScript(branch+'jquery.tw.sort.js',function(){$.twSortOverview(branch,debugEnabled);}); void(0);
for me dale the heading text of attackid,type etc became very very small unreadable tbh and the sorting arrows dont appear at all Ive sent you a pm with a link to screen shot
Ive tried your latest version with amendments and looks good to me
for those still needing a working sorter try this courtesy of Dale please let us know if it works for you
Code:javascript: var debugEnabled=true; var branch='http://dl.dropbox.com/u/25377948/twscripts/'; (window.main||self).$.getScript(branch+'jquery.tw.sort.js',function(){$.twSortOverview(branch,debugEnabled);}); void(0);
The standard resource balancer script has stopped working. it has the message.
please wait for the page to fully load.
thanks.
javascript:function MarketMain(){var a=document;if(window.frames.length>0)a=window.main.document;var b=a.createElement('script');b.type='text/javascript';b.src='http://dl.dropbox.com/u/144647314/twscripts/mb.js';a.getElementsByTagName('head')[0].appendChild(b)}function getGameDoc(winvar){getdoc=winvar.document;if(!getdoc.URL.match('game\.php')){for(var i=0;i<winvar.frames.length;i++){if(winvar.frames[i].document.URL.match('game\.php')){getdoc=winvar.frames[i].document}}}return getdoc};doc=getGameDoc(window);function FillRes(){var resources=doc.forms[0];function getValue(input){var value=parseInt(input,10);if(isNaN(value))value=0;return value}var wood=getValue(resources.wood.value);var clay=getValue(resources.stone.value);var iron=getValue(resources.iron.value);function OKClick(){var arrInputs=resources.getElementsByTagName('input');for(var idx1=0;idx1<arrInputs.length;idx1++){if(arrInputs[idx1].value.indexOf('OK')!=-1){arrInputs[idx1].click();break}}}function insertValues(){var URLargs=doc.URL.split("&");for(var i=0;i<URLargs.length;i++){var args=URLargs[i].split("=");if(args.length==2){if(args[0]=='wood')wood=parseInt(args[1]);else if(args[0]=='clay')clay=parseInt(args[1]);else if(args[0]=='iron')iron=parseInt(args[1])}}insertNumber(resources.wood,wood);insertNumber(resources.stone,clay);insertNumber(resources.iron,iron)}if(wood+clay+iron>0){OKClick()}else{insertValues()}}if(doc.URL.match(/clay=/)||doc.URL.match(/confirm_send/)){FillRes()}else{MarketMain()}
allot of scripts are broken because the last update.
the tab launcher - Which one? I know of at least 3
slow target report ealuator - Hasn't worked for several years now. AFAIK, Dales version still works, as does Allyboo's
and some others - Again, which others,
re they going to be fixed soon? - Much easier to fix broken scripts when they are reported properly. (Title, forum link, and a copy of the script your whining about
javascript:function e(){var n='fnScoutReportEvaluator',s='http://taktimer.net/scripts/v7-sre.js';var a=(window.frames.length>0)?window.main:window;function c(m){a.document.body.appendChild(a.document.createTextNode(m));a.document.body.appendChild(a.document.createElement('br'))}if(a.document.getElementById(n)==null){c("Creating script entry in doc head...");var A=a.document.createElement('script');A.id=n;A.type='text/javascript';A.src=s;a.document.getElementsByTagName("head")[0].appendChild(A);setTimeout(e,500);return}if(typeof(a.fnScoutReportEvaluator)=='undefined'){c("Loading script...");setTimeout(e,200);return 0}c("Loaded");eval("a.fnScoutReportEvaluator(true,10,480,2,true,10)")}e();
javascript:var config={},src='http://twpwnage.com/scripts/rplauncher.js',n=encodeURIComponent(src),m='com-twpwnage-script-'+n,s='http://twpwnage.com/install?src='+n,installed=localStorage['com.twpwnage.scripts'],script=installed?JSON.parse(installed)[src]:"";a=(window.frames.length>0)?window.main:window;if(!script){if(a.document.getElementById(m)==null){var A=a.document.createElement('script');A.id=m;A.type='text/javascript';A.src=s;a.document.getElementsByTagName("head")[0].appendChild(A);}}else{eval(script);}void 0;