Forums Tyrant

[TWEAK-GUIDE] Your Tyrant runs slow and with lag? Block all the game content like foil, animations and backgrounds

122 posts

Flag Post

Why Tyrant run slowly, lagged (at low FPS) and uses too many resources?

Because the game uses big background images overlays, in a modern pc the game runs fluently, but is that ok? NO, check the resources consumed in 4hs~ of play, its enormous for a flash game, and the primary cause is the big backgrounds images of raids and missions locations.

Sadly we cant see the current frames per second (FPS) that the game runs but Im pretty sure that will be notable after the job is done.




STARTING THE GUIDE:

This tweak guide consists in BLOCKING all the heavy and big images/animations of the game that cause lag.

Preview:


REQUIRED TOOL:

[FIREFOX] Adblock Plus

[FIREFOX MOBILE] Adblock Plus

[CHROME] Adblock Plus

[OPERA] NoAds Advanced

[SAFARI] Safari AdBlocker




TUTORIAL STEP BY STEP FOR AdBlock Plus of Firefox

Open it via the “ABP icon” in the toolbar or add-on bar and click on “Filter Preferences..”.

Go to the “Custom Filters” tab and create a new “Filter group” called Tyrant or whatever you want.

Finally you will have to add every URL of those heavy background images and other craps, just copy & paste all the next list of URLs into your ABP.

Here you have a screenshot on how should be done:


Tyrant – Block list (UPDATED: 23 Sep 2012)


!________     CARD ANIMATIONS   ________!
! Foil card animation (cause lag)
http://kg.tyrantonline.com/assets/images/eliteloopLG.swf
! Jotun raid (Freeze animation, cause lag)
http://kg.tyrantonline.com/assets/images/blizzardloop.swf
! Miasma raid (Mist animation, cause lag)
http://kg.tyrantonline.com/assets/images/fogloop.swf
!________     CONQUEST MAP IMAGES   ________!
http://cdn.tyrantonline.com/tyrant/images/conquest/*
!________     MISSION BACKGROUNDS   ________!
http://cdn.tyrantonline.com/tyrant/images/maps/*
http://cdn.tyrantonline.com/tyrant/images/maps/fx/*
!________    RAID BACKGROUNDS   ________!
! Arctics Vanguard
http://cdn.tyrantonline.com/warhawk/images/arctisraid1.png
http://cdn.tyrantonline.com/warhawk/images/arctisraid2.png
http://cdn.tyrantonline.com/warhawk/images/arctisraid3.jpg
! Xeno Walker
http://cdn.tyrantonline.com/warhawk/images/xenowalker1.png
http://cdn.tyrantonline.com/warhawk/images/xenowalker2.png
http://cdn.tyrantonline.com/warhawk/images/xenowalker3.jpg
! Siege on Kor
http://cdn.tyrantonline.com/warhawk/images/raiderbeach3.jpg
http://cdn.tyrantonline.com/warhawk/images/raiderbeach2.png
http://cdn.tyrantonline.com/warhawk/images/raiderbeach1.png
! Imperial Purger
http://cdn.tyrantonline.com/warhawk/images/imperial1.png
http://cdn.tyrantonline.com/warhawk/images/imperial2.png
http://cdn.tyrantonline.com/warhawk/images/imperial3.jpg
! Enclave Flagship
http://cdn.tyrantonline.com/warhawk/images/xenoairbattle1.png
http://cdn.tyrantonline.com/warhawk/images/xenoairbattle2.png
http://cdn.tyrantonline.com/warhawk/images/xenoairbattle3.jpg
! Oluth
http://cdn.tyrantonline.com/warhawk/images/BTnest1.png
http://cdn.tyrantonline.com/warhawk/images/BTnest2.png
http://cdn.tyrantonline.com/warhawk/images/BTnest3.jpg
! Tartarus Swarm
http://cdn.tyrantonline.com/warhawk/images/blightswarm1.png
http://cdn.tyrantonline.com/warhawk/images/blightswarm2.png
http://cdn.tyrantonline.com/warhawk/images/blightswarm3.jpg
! Behemot
http://cdn.tyrantonline.com/warhawk/images/tartarusbehemothfor.png
http://cdn.tyrantonline.com/warhawk/images/tartarusbehemothmid.png
http://cdn.tyrantonline.com/warhawk/images/tartarusbehemothback.jpg
! Miasma
http://cdn.tyrantonline.com/warhawk/images/fogwarfor.png
http://cdn.tyrantonline.com/warhawk/images/fogwarmid.png
http://cdn.tyrantonline.com/warhawk/images/fogwarback.jpg
! Blightbloom
http://cdn.tyrantonline.com/warhawk/images/tartarblitzfor.png
http://cdn.tyrantonline.com/warhawk/images/tartarblitzmid.png
http://cdn.tyrantonline.com/warhawk/images/tartarblitzback.jpg
! Gore Typhon
http://cdn.tyrantonline.com/warhawk/images/bloodtyphonfor.png
http://cdn.tyrantonline.com/warhawk/images/bloodtyphonmid.png
http://cdn.tyrantonline.com/warhawk/images/bloodtyphonback.jpg
! Jotun
http://cdn.tyrantonline.com/warhawk/images/santacolossusfor.png
http://cdn.tyrantonline.com/warhawk/images/santacolossusmid.png
http://cdn.tyrantonline.com/warhawk/images/santacolossusback.jpg
! Pantheon
http://cdn.tyrantonline.com/warhawk/images/pantheonfor.png
http://cdn.tyrantonline.com/warhawk/images/pantheonmid.png
http://cdn.tyrantonline.com/warhawk/images/pantheonback.jpg
! Sentinel Reborn
http://cdn.tyrantonline.com/warhawk/images/sentinelreturnsmid.png
http://cdn.tyrantonline.com/warhawk/images/sentinelreturnsback.jpg
http://cdn.tyrantonline.com/warhawk/images/sentinelreturnsfor.png
! Lithid
http://cdn.tyrantonline.com/warhawk/images/lithidmid.png
http://cdn.tyrantonline.com/warhawk/images/lithidback.jpg
http://cdn.tyrantonline.com/warhawk/images/lithidfor.png
! Hydra
http://cdn.tyrantonline.com/warhawk/images/hydrafor.png
http://cdn.tyrantonline.com/warhawk/images/hydramid.png
http://cdn.tyrantonline.com/warhawk/images/hydraback.jpg
!________     OTHERS   ________!
http://cdn.tyrantonline.com/tyrant/images/banners/*
http://kg.tyrantonline.com/assets/*.mp3
http://kg.tyrantonline.com/assets/static.swf
http://kg.tyrantonline.com/js.js?*


If you want to completely block all the card images and battle animations check this post of Moraku:
http://www.kongregate.com/forums/65/topics/245449?page=2#posts-5294398




TESTING PART! CLEAN CACHE FIRST

To see any improvement you will have to clean your browser cache because all those animations/backgrounds could be already downloaded, or probably you are running right now the Tyrant game :D

So here is a simple screenshot on how to correctly clean all your browser cache in Firefox, do it and then if you already have Tyrant running just press F5 (refresh page).




READY TO ENJOY IT!

Good, now you are ready to experiment, do some auto fights or whatever you want, chat, check memory usage and you will see Tyrant running much more smoothly, now start viewing all the locations of the game without those crappy and laggier animations, or check any ongoing raid without background images, specially the Jotun raid.. try it :D




EXTRA: WANT A BLAZING FAST SPEED?

Combine this guide with the other one to run Tyrant directly without loading Kongregate and you will run the game at blazing fast speed!
[GUIDE] How to open the Tyrant game directly without loading Kong discussion

 
Flag Post

NOW HOW CAN I CATCH THESE BACKGROUND IMAGES?


First method: Using ABP for Firefox
Adblock Plus for Firefox

You will have to click on the icon of ABP and this time click on “Open Blockable Items”, then go to the Tyrant page and you can manually check link by link or filter the results, for example .swf for the animations or for map locations you can try searching the name, like in this example:




Second method (pro): Using Tamper Data for Firefox
Tamper Data for Firefox

This add-on works like a packet sniffer, open it via “Tools > Tamper Data” and the first thing to do is to go to “Options” and enable “Tamper with Images etc”.

Now you can start catching images and there is no need to click on “Start Tamper”, is alredy capturing the URLs, but if you want to detect correctly and in real-time the images/animations loaded by the game you should close all the other tabs, clean your cache, refresh the page, and press “Start Tamper”, you will start to be spammed by popup confirmations saying if you want to load each url or not, and thats it, with this method you can detect anything you want.

 
Flag Post

Nice stuff. Also, for Chrome’s Adblock Plus, just open up the filter options, choose to edit the filter list as raw text, and paste whatever part you want in there.

Suggestion – with the raid backgrounds, separate the backgrounds from the fore and midgrounds.
Personally, I’d like to keep the backgrounds.
And where’s the sentinel images?

Originally posted by Cerealguy:

for fishboners:
buy a new pc. i7 4+ghz with 16 RAM memory. should work


You’re alive! But a fast PC is redundant if your internet connection is crap.

 
Flag Post

for fishboners:
buy a new pc. i7 4+ghz with 16 RAM memory. should work

 
Flag Post

I had to lol @ fogloop/blizzardloop blocking :D

 
Flag Post

I find that chat is one of the biggest resource hogs. Right now, I open two instances of Tyrant which disables chat in one of them. I play in that one, and close the other window.

Using AdBlock sounds easier since it can be automated. So, how do I block only the chat window?

 
Flag Post
Originally posted by Jabbernaut:

I find that chat is one of the biggest resource hogs. Right now, I open two instances of Tyrant which disables chat in one of them. I play in that one, and close the other window.

Using AdBlock sounds easier since it can be automated. So, how do I block only the chat window?

Chat doesn’t actually cause lag at all. Dark already explained what does.

 
Flag Post
Originally posted by Jabbernaut:

I find that chat is one of the biggest resource hogs. Right now, I open two instances of Tyrant which disables chat in one of them. I play in that one, and close the other window.

Using AdBlock sounds easier since it can be automated. So, how do I block only the chat window?

Use this extra add-on: Element Hiding Helper for Adblock Plus :: Add-ons for Firefox

 
Flag Post

@haleyyyy

My eyes are telling me differently. If I disable chat, I get less screen stuttering… not only in Tyrant, but also in other games.

(Maybe my earlier post should be in DarkBlood1’s other thread which deals with laggy Kong elements?)

 
Flag Post
Originally posted by DarkBlood1:

Use this extra add-on: Element Hiding Helper for Adblock Plus :: Add-ons for Firefox

Thanks very much. :)

 
Flag Post

www.kongregate.com###chat_tab_pane <—- Chat window. Add that to your block list.

 
Flag Post
Originally posted by Shadowhopeful:

www.kongregate.com###chat_tab_pane <—- Chat window. Add that to your block list.

Works great. Thanks. :)

 
Flag Post

Sometimes, I find the poison/disease/jam animation and similar things to lag my old laptop.
I might suggest to also block the following:

http://kg.tyrantonline.com/assets/images/poisonContinued.swf
http://kg.tyrantonline.com/assets/images/diseaseloop.swf
http://kg.tyrantonline.com/assets/images/jacobsLadder.swf
http://kg.tyrantonline.com/assets/images/fusionloop.swf
http://kg.tyrantonline.com/assets/images/chaosloop.swf
http://kg.tyrantonline.com/assets/images/freezeloop.swf
http://kg.tyrantonline.com/assets/images/immobilizeContinued.swf

As a bonus, you’ll also be able to see through the immobilized (jail) animation now.

 
Flag Post
Originally posted by Jabbernaut:

@haleyyyy

My eyes are telling me differently. If I disable chat, I get less screen stuttering… not only in Tyrant, but also in other games.

(Maybe my earlier post should be in DarkBlood1’s other thread which deals with laggy Kong elements?)

I see this too. My machine is below minimum spec though, just i7 2.8GHz with 8MB RAM.

 
Flag Post
Originally posted by Moraku:

Sometimes, I find the poison/disease/jam animation and similar things to lag my old laptop.
I might suggest to also block the following:

http://kg.tyrantonline.com/assets/images/poisonContinued.swf
http://kg.tyrantonline.com/assets/images/diseaseloop.swf
http://kg.tyrantonline.com/assets/images/jacobsLadder.swf
http://kg.tyrantonline.com/assets/images/fusionloop.swf
http://kg.tyrantonline.com/assets/images/chaosloop.swf
http://kg.tyrantonline.com/assets/images/freezeloop.swf
http://kg.tyrantonline.com/assets/images/immobilizeContinued.swf

As a bonus, you’ll also be able to see through the immobilized (jail) animation now.

Yes, some attack/status animations can be blocked, but the most useful to block is the minigun attack (the most common attack).

http://kg.tyrantonline.com/assets/images/minigunAttack.swf

 
Flag Post

RMB → Quality → Low

There.

 
Flag Post
Originally posted by jappipi:

RMB → Quality → Low

There.

Almost does nothing the low or high quality in THIS game, the real lag problem are the big background images/animations, but only happens on old PCs or notebooks.

 
Flag Post
Originally posted by DarkBlood1:
Originally posted by jappipi:

RMB → Quality → Low

There.

Almost does nothing the low or high quality in THIS game, the real lag problem are the big background images/animations, but only happens on old PCs or notebooks.

I have no idea what you’re talking about, because it works like a charm on my pc and my pc is a bit old too.

 
Flag Post

So raids like Jotun won’t take 3 minutes
per battle because of animations?

Thank you. Excellent Thread.

 
Flag Post
Originally posted by DarkBlood1:
Originally posted by jappipi:

RMB → Quality → Low

There.

Almost does nothing the low or high quality in THIS game, the real lag problem are the big background images/animations, but only happens on old PCs or notebooks.

Agreed. Low quality makes the text look horrible, but doesn’t affect the number and size of the images/animations. Blocking them seems to be the best answer for us slowpokes with old computers.

 
Flag Post

This sounds incredible. Will try it out and thank you later.

 
Flag Post

fantastic :)
my netbook seems to like this guide a lot :D

 
Flag Post

Cool guide :)
Well since my pc is quite fast ~ I don’t see improve on it but I think this should help those netbook / Ipad :D

Great job though ~

 
Flag Post

wadr bout teh macs D:

 
Flag Post
Originally posted by aanuel:

wadr bout teh macs D:

You do realize you can download Firefox and the same add-ons for Mac….