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

Do you have any issues? Don't hesitate to tell us about it.
User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#1

Post by 1Code »

Screenshot_20200130-212608.png
Screenshot_20200130-212628.png
Last edited by 1Code on 21 Jun 2022, 06:06, edited 1 time in total.

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

Here are some screenshots

#2

Post by 1Code »

RAM
RAM
RAM.png (23.64 KiB) Viewed 6212 times
Build
Build
Build.png (34.67 KiB) Viewed 6212 times
Screen
Screen
Screen.png (23.08 KiB) Viewed 6212 times
Battery
Battery
Battery.png (20.45 KiB) Viewed 6212 times

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

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

#3

Post by Lobby »

What regions/cities are these? When exactly does the game freeze?

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#4

Post 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.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

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

#5

Post 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.

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#6

Post by 1Code »

Screenshot_20200131-160826.png

User avatar
Kamikazi
Inhabitant of a Conurbation
Reactions:
Posts: 471
Joined: 27 Jan 2018, 00:58
Location: ESPAÑA
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

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

#7

Post 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

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#8

Post 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

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#9

Post by 1Code »

Factory reset is done, reinstalled the game, but the game still lags@Lobby[Posts][PM], @KINGTUT10101[Posts][PM]

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#10

Post by 1Code »

This lag can skip onscreen frames or prevent the game from responding to clicks

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

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

#11

Post 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.

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#12

Post 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?

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

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

#13

Post 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?

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#14

Post 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?

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

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

#15

Post 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

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

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

#16

Post 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.

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#17

Post by 1Code »

Look at the memory and FPS
Look at the memory and FPS

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

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

#18

Post by Bearbear76 »

63ms is about the average gui draw speed I get while drawing 40,000 dongle pixels per update. :bb

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

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

#19

Post 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.

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

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

#20

Post by 1Code »


Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”