Page 1 of 2

[Answered] The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 30 Jan 2020, 21:38
by 1Code
Screenshot_20200130-212608.png
Screenshot_20200130-212628.png

Here are some screenshots

Posted: 31 Jan 2020, 15:11
by 1Code
RAM
RAM
RAM.png (23.64 KiB) Viewed 6210 times
Build
Build
Build.png (34.67 KiB) Viewed 6210 times
Screen
Screen
Screen.png (23.08 KiB) Viewed 6210 times
Battery
Battery
Battery.png (20.45 KiB) Viewed 6210 times

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 31 Jan 2020, 15:44
by Lobby
What regions/cities are these? When exactly does the game freeze?

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 31 Jan 2020, 16:01
by 1Code
This is the problems that happens when the city is running even the game is paused. This also happens when I am not in the city and I am about to select cities in certain regions but the game doesn't respond. The 3rd problem of this is when I create larger cities, it will slow down the generation because the game lag in the background generation progress. The 4th problem of this is I am creating a city, trying to change the city size to smaller/larger but the game lags on click.

Before it happens on my tablet, it also happened on my computer when I am trying to play TheoTown using the android emulator (BlueStacks) even though my PC CPU/GPU are god and ram is 8GB and higher. This also happens when I buy the full version of TheoTown on steam and tried it.

If this is a bug, fix it. I also went to YouTube and searched "TheoTown" and I click on the video and I found that the game is running smoothly even though the game can load faster at startup.

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 31 Jan 2020, 16:09
by CommanderABab
Here's some things to think about.

1. There is always lag when generating the thumbnails of new maps like colossal, huge, giant. The map is being generated and can't be shown until ready. :)

2. You're doing this on a discharging battery. The system software automatically restricts and slows down some functions when the battery gets low.

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 31 Jan 2020, 16:19
by 1Code
Screenshot_20200131-160826.png

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 31 Jan 2020, 18:01
by Kamikazi
Play Protect certification doesn't influence anything. It just says that the Google service didn't come with the device and you installed it with a 3rd party app, just like my phone since it is Chinese and it didn't come with Google Play. So don't worry about it, it doesn't make your device lag

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 31 Jan 2020, 18:17
by 1Code
Jeremiah Stephens wrote:
31 Jan 2020, 16:19
Screenshot_20200131-181043.png
Kamikazi wrote:
31 Jan 2020, 18:01
Play Protect certification doesn't influence anything. It just says that the Google service didn't come with the device and you installed it with a 3rd party app, just like my phone since it is Chinese and it didn't come with Google Play. So don't worry about it, it doesn't make your device lag
Off Topic
Screenshot_20200131-181043.png

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 31 Jan 2020, 19:44
by 1Code
Factory reset is done, reinstalled the game, but the game still lags@Lobby[Posts][PM], @KINGTUT10101[Posts][PM]

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 01 Feb 2020, 23:41
by 1Code
This lag can skip onscreen frames or prevent the game from responding to clicks

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 01 Feb 2020, 23:48
by CommanderABab
Yes it can. Are you playing on a giant map? Using some of my plugins?

If there are many buildings or much traffic (many vehicles to keep track of), there can be lag. 20,000 buildings is when it gets bad for me.

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 02 Feb 2020, 09:03
by 1Code
Let me try to rename the TheoTown folder as a backup and create a new TheoTown folder because there are too many plugins in the plugins/(managed plugins) folder.. (I've already did this before this reply is publicly posted)

:66:
This is where lag started when the in-game UI has changed

:76:
If I could have play in multiplayer mode on my tablet, the decrease of the fps will multiply and 20 on-screen-frames will be skipped every time and sometimes when I tap anywhere the game will crash

Future versions of TheoTown (Android 6.0+/7.0+/8.0+)
The game will crash more often on .... very older devicess?

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 02 Feb 2020, 09:57
by Bearbear76
Jeremiah Stephens wrote:
02 Feb 2020, 09:03
sometimes when I tap anywhere the game will crash
Error messages are always useful. what did the error message say?

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 02 Feb 2020, 11:38
by 1Code
Android system cannot read and access this lag so I can't tell you what errors caused this
Show
Did you check the screenshots what caused the game to lag?

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 02 Feb 2020, 14:04
by Bearbear76
Jeremiah Stephens wrote:
02 Feb 2020, 11:38
Android system cannot read and access this lag so I can't tell you what errors caused this
Show
Did you check the screenshots what caused the game to lag?
Normally if TheoTown caused an error it will give you an error message. If you are talking about android crashing then that's different story.
But if android is crashing then I think that's more of a device problem. unless you have one of my malicious plugins. :lol:

Had a quick look at your device (andriod) and you don't have a good table. 1GB of memory is pretty low so creating big maps can cause problems with your device. for your PC I have no idea.

I feel like I explained the exact same thing on Discord too. :bt

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 02 Feb 2020, 14:29
by CommanderABab
Are you using virtual ram?  That is going to slow things down.  Especially as some TheoTown processes are concurrent.
Are you using virtual ram? That is going to slow things down. Especially as some TheoTown processes are concurrent.

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 04 Feb 2020, 08:03
by 1Code
Look at the memory and FPS
Look at the memory and FPS

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 04 Feb 2020, 11:05
by Bearbear76
63ms is about the average gui draw speed I get while drawing 40,000 dongle pixels per update. :bb

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 04 Feb 2020, 11:10
by Bearbear76
Jeremiah Stephens wrote:
04 Feb 2020, 08:03
Screenshot_20200203-135056.png
I'm pretty sure that the problem is with your device. 253ms for drawing a small map is really really bad. I would recommend getting a new one. Even cheap phones can do better than that.

Re: The game lag : when I click on cities in certain regions, it doesn't respond

Posted: 09 Feb 2020, 20:10
by 1Code