My last screenshot...

Here you can present your city to the world.

Moderator: Matison55557

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5708
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by CommanderABab » Thu Aug 10, 2017 21:47

Nice!
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4222
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: My last screenshot...

Post by Bearbear65 » Fri Aug 11, 2017 5:33

Lobby wrote:
Thu Aug 10, 2017 15:21
Changing the language has to do with hacking behind the scenes. But I got so much requests for this feature that I think it is worth it :bc
How did you do it I'm curious
ImageJust my opinion

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2759
Joined: Tue Apr 18, 2017 9:03
Location: In a place you don't expect.
Plugins: Show
Version: Beta
Phone: Have 3, all too long

Re: My last screenshot...

Post by BetterBear » Fri Aug 11, 2017 10:45

He's the dev, he knows everything.
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

User avatar
Lobby
Developer
Reactions:
Posts: 2946
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: S7 edge

Re: My last screenshot...

Post by Lobby » Fri Aug 11, 2017 11:11

I can only change the language for resources for a short time. So I change the language, copy all the translated strings into an own data structure and use this one to resolve translation requests in the future. It has a bit of overhead, but it will only be used if user set another language manually.

Code wise the important part looks like

Code: Select all

Resources resources = context.getResources();
DisplayMetrics dm = resources.getDisplayMetrics();
Configuration configuration = resources.getConfiguration();
Configuration newConfig = new Configuration(configuration);
newConfig.locale = locale;
Resources res = new Resources(resources.getAssets(), dm, newConfig);
try {
    Field[] fields = R.string.class.getDeclaredFields();
    idToString = new SparseArray<>();
    for (int i = 0; i < fields.length; i++) {
        int id = (Integer) fields[i].get(null);
        idToString.put(id, res.getString(id));
    }
} catch (IllegalAccessException e) {
    idToString = null;
}
resources.updateConfiguration(configuration, dm);
and isn't nice by any means. E.g. it uses reflection to get access on all translation ids which are stored as static fields in the R.string class.
...Have a nice stay

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4222
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: My last screenshot...

Post by Bearbear65 » Fri Aug 11, 2017 12:06

Show as the code all you want we won't be able to understand it :lol: :lol: :lol:
ImageJust my opinion

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2759
Joined: Tue Apr 18, 2017 9:03
Location: In a place you don't expect.
Plugins: Show
Version: Beta
Phone: Have 3, all too long

Re: My last screenshot...

Post by BetterBear » Fri Aug 11, 2017 13:17

Did anyone else lost their option to build runways? I lost it, but with some of them I kept I saw they are flashing now. Beautiful!
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4222
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: My last screenshot...

Post by Bearbear65 » Fri Aug 11, 2017 13:21

I dare someone to make a perfect Y junction in theotown :evil: :D
ImageJust my opinion

danekbel
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2421
Joined: Thu May 05, 2016 9:33
Plugins: Show

Re: My last screenshot...

Post by danekbel » Fri Aug 11, 2017 13:25

Bellissimo
S70811-142420.jpg

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4222
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: My last screenshot...

Post by Bearbear65 » Fri Aug 11, 2017 14:02

7/10
ImageJust my opinion

User avatar
A guy from Shireport
Inhabitant of a Supercluster
Reactions:
Posts: 3570
Joined: Fri Feb 10, 2017 17:40
Location: I won't give ya
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by A guy from Shireport » Fri Aug 11, 2017 14:06

9/10
-------------------------------------
#FightLikeAizat #PrayForAizat
-------------------------------------

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2759
Joined: Tue Apr 18, 2017 9:03
Location: In a place you don't expect.
Plugins: Show
Version: Beta
Phone: Have 3, all too long

Re: My last screenshot...

Post by BetterBear » Fri Aug 11, 2017 14:06

BetterBear wrote:
Fri Aug 11, 2017 13:17
Did anyone else lost their option to build runways? I lost it, but with some of them I kept I saw they are flashing now. Beautiful!
Anyone wants a pic?
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4222
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: My last screenshot...

Post by Bearbear65 » Fri Aug 11, 2017 15:06

Ok
ImageJust my opinion

User avatar
Josh
Graphic designer
Reactions:
Posts: 2233
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by Josh » Fri Aug 11, 2017 20:12

IGN 11/10
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you🌲

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5708
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by CommanderABab » Sat Aug 12, 2017 11:19

Screenshot_20170812-033446.jpg
Screenshot_20170812-033020.jpg
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4222
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: My last screenshot...

Post by Bearbear65 » Sat Aug 12, 2017 13:22

Lol :lol:
ImageJust my opinion

User avatar
khadafi laidi
Inhabitant of a Continent
Reactions:
Posts: 1281
Joined: Fri Dec 16, 2016 13:11
Location: ternate,indonesia
Plugins: Show
Version: Beta
Phone: Oppo neo 5

Re: My last screenshot...

Post by khadafi laidi » Sat Aug 12, 2017 14:10

My plugin :D ........
Fact about me:
-President of FINDONEZIA
-Plugin illustrator
-Motivator
-Comedian B)
-Indonesian translator (Stoped)
-I hate soccer :x
-Now i am the Wiki Editor

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 255
Joined: Mon May 15, 2017 0:05
Location: Gdańsk
Plugins: Show

Re: My last screenshot...

Post by MXD77 » Sat Aug 12, 2017 14:14

Building 5 Stars Hotel Kapitola
Screenshot_20170811-113431.png
Happy owner of cat and dog :D
Have a niceday :)
And greatings from Gdańsk ;)

User avatar
khadafi laidi
Inhabitant of a Continent
Reactions:
Posts: 1281
Joined: Fri Dec 16, 2016 13:11
Location: ternate,indonesia
Plugins: Show
Version: Beta
Phone: Oppo neo 5

Re: My last screenshot...

Post by khadafi laidi » Sat Aug 12, 2017 14:15

Future complex.png
My city with FUTURE building
Fact about me:
-President of FINDONEZIA
-Plugin illustrator
-Motivator
-Comedian B)
-Indonesian translator (Stoped)
-I hate soccer :x
-Now i am the Wiki Editor

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5708
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by CommanderABab » Sat Aug 12, 2017 14:58

That looks promising!
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2759
Joined: Tue Apr 18, 2017 9:03
Location: In a place you don't expect.
Plugins: Show
Version: Beta
Phone: Have 3, all too long

Re: My last screenshot...

Post by BetterBear » Sat Aug 12, 2017 22:49

CommanderAbab: The ultimate TheoGamer :lol:
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5708
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by CommanderABab » Sun Aug 13, 2017 2:20

Screenshot_20170812-192846.jpg
UFO set this on fire
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
motomo
Small-town resident
Reactions:
Posts: 36
Joined: Tue Aug 08, 2017 7:58
Location: Easternia
Plugins: Show
Phone: Android 5.0 Lollipop

Re: My last screenshot...

Post by motomo » Sun Aug 13, 2017 2:56

Osena.png
the not so dense city

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5708
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by CommanderABab » Sun Aug 13, 2017 3:27

I see a lot of cool looking plugins in there!
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
motomo
Small-town resident
Reactions:
Posts: 36
Joined: Tue Aug 08, 2017 7:58
Location: Easternia
Plugins: Show
Phone: Android 5.0 Lollipop

Re: My last screenshot...

Post by motomo » Sun Aug 13, 2017 6:02

CommanderABab wrote:
Sun Aug 13, 2017 3:27
I see a lot of cool looking plugins in there!
yes, I put a lot plugins there (included your plugin, Commander :bc).
because, I love skyscrapers and I always want more :lol:
Mostly I found it on some SCURK sites (Simcity 2000 stuff) and a bit remodeled it just for my own personal use :lol:

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5708
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: My last screenshot...

Post by CommanderABab » Sun Aug 13, 2017 13:15

Screenshot_20170813-063624.jpg
Screenshot_20170813-063933.jpg
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

Post Reply

Return to “Screenshots”

Who is online

Users browsing this forum: Google [Bot] and 5 guests