Jump to content
EN
Play

Forum

Tanker's Day gold box?


 Share

Recommended Posts

Hi, so... err... i have this bad habit of going through my cache regularly, and this is what i've found today:

Gold_Box_2000_crystals_September_2015_un

 

It've checked my cached several times today, and it sure wasn't here this morning. Perhaps a gold box for Tanker's Day? Gold boxes' images are sometimes released in advance- perhaps for caching purposes, i assume.

 

Anyway, whatcha think?

Share this post


Link to post
Share on other sites

You sure have the interest of going through the game cache files XD

This is very useful to know what updates are gonna arrive.

 

It is a gold box, no doubt. However, no one knows what are they gonna be used for. Given the fact that Tanker's Day is just around the corner, it should be used for this purpose.

 

BTW, if you look closely and deeply into the cache files, you'll get some cool stuff. For ex. Shaft's scope.

Is that against the rules? Nobody knows...

Edited by HyperQuantum

Share this post


Link to post
Share on other sites

Looks awesome!!!

 

How did you get to your cache? I wanna check it out

Open a new tab and type in about:cache in the URL bar. What i then usually do is to open by JavaScript console and paste a code like this, to change all links to Tanki images to actual images that appear on the screen:

var a = Array.prototype.slice.apply(document.querySelectorAll("a")),
	b = document.createElement("div");
a.forEach(function(self, i) {
	var url = self.innerText;
	if (url.indexOf("http://s.tankionline.com/") == 0 && url.search(/\.(?:jpe?g|png)(?:$|#|\?)/i) > -1) {
		var img = document.createElement("img");
		img.src = url;
		img.style.maxWidth = "300px";
		img.style.maxHeight = "200px";
		b.appendChild(img);
	}
});
document.body.innerHTML = "";
document.body.appendChild(b);

I use Chrome but it should work the same in any other modrn web browser.

Share this post


Link to post
Share on other sites

Open a new tab and type in about:cache in the URL bar. What i then usually do is to open by JavaScript console and paste a code like this, to change all links to Tanki images to actual images that appear on the screen:I use Chrome but it should work the same in any other modrn web browser.

So about:cache > Control + Shift + J > Paste that > Enter?

Share this post


Link to post
Share on other sites

So about:cache > Control + Shift + J > Paste that > Enter?

That didn't work for me. The links that used to be there just turned blank.

Share this post


Link to post
Share on other sites

Try perhaps this then:

var images = [];
/* find image url matches in the cache */
Array.prototype.forEach.call(document.querySelectorAll("a"), function(self) {
	var url = self.innerText;
	if (
		url.indexOf("http\x3a//s.tankionline.com/") > -1 && // tanki's domain
		url.search(/\.(?:jpe?g|png|gif)(#|\?|$)/) > -1 // a raster image
	) {
		var img = document.createElement("img");
		img.src = url;
		img.style.maxWidth = "300px";
		img.style.maxHeight = "210px";
		images.push(img);
	}
});
/* blank the page to make room for the images */
while (document.body.childNodes.length > 0) {
	document.body.removeChild(document.body.childNodes[0]);
}
/* ad images by order */
for (var i in images) {
	document.body.appendChild(images[i]);
}
/* add a notice when done */
console.info("Done! It may take a few seconds for all images to load."); 

Though if this one doesn't work either, i'm really not sure what it is that goes wrong :s

Edited by AN_602

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...