Cities: Skylines

Cities: Skylines

The Amazing Tree De-Duplicator
43 則留言
Zake  [作者] 2023 年 4 月 8 日 下午 12:00 
Hi folks, I'm still here but won't promise any support of the mod since I didn't write it and its only purpose is a bandaid fix of a relatively rare edge-case. Glad to see it's somehow still working for most of you though, seven years later.
Stxners Music 2023 年 3 月 30 日 下午 5:17 
Anyways good luck with these weight of life's problems
RubyRobbins 2021 年 9 月 26 日 上午 9:42 
This is truly, honestly amazing. Thank you <3
Kuban 2020 年 12 月 3 日 下午 8:57 
It looks like is breaking my game...
got debugged window with tons of problem when I clicked clear I gat never-ending loop of problem, no electricity no water no bus connections and so on.

anyone same problem... or how can I fix this?
Is there any mod that doesn't go along this one?
NoirMoutton 2019 年 12 月 24 日 上午 8:35 
This is an excellent practical mod that should be near the top of workshop rankings!
FortyCS 2019 年 10 月 11 日 下午 5:33 
Could it be that you get duplicate trees when the brush is on full intensity? I figure there are no duplicate trees when I put the brush strenght to zero,
100 houndmaster bucks 2019 年 3 月 4 日 上午 5:19 
Any ways to hide the button after you've done with trees? Or at least make it more compact
notDONEyet 2018 年 11 月 6 日 上午 2:21 
this mod should have more stars
Slick Gamble 2018 年 1 月 4 日 上午 12:14 
Still works. Got a map that starts with 900k trees, eliminated almost 10k duplicate trees.
Manuel 2017 年 10 月 1 日 上午 3:19 
ok i worked it out , my problem has something to do with the combination of "extra landscaping tools" and "prop and tree anarchy" . deactivating the ELT while gardening is the solution

Manuel 2017 年 9 月 30 日 下午 2:21 
i just found out that it only has this issue when i click very fast , when i wait a second between placing trees its all fine so i think the problem is my laptop.

prop and tree anarch has no influence on it in my game
Zake  [作者] 2017 年 9 月 30 日 下午 12:21 
Idk as far as removing the duplicated trees. But through my gameplay it seems like stacks of trees get placed if you have anarchy on.
Manuel 2017 年 9 月 30 日 下午 12:09 
it didnt work with my game , it took like 5 seconds (im just starting filling parks etc. got like 1600 trees ) the mod told me it removed like 1000 duplicated trees . But when i bulldoze bushes then
there is still 5 in one

any suggestions ?
AquilaSol 2017 年 5 月 18 日 上午 11:35 
Works with 1.7.0 and Mass Transit DLC on my system. :) It does freeze for about +-30 seconds, but that makes perfect sense.
funchenstein 2017 年 4 月 2 日 下午 9:06 
Thank you for a lifesaving mod! Just discovered it. 36395 duplicated trees removed :D
Baleur 2017 年 1 月 16 日 下午 9:34 
Please please make a draggable button. Its overlapping everything =(
I AM BORG 2016 年 5 月 9 日 上午 12:01 
@knighthawkGP
It didn't work .... trees are still there after pressing De-Duplicate button.
knighthawkGP 2016 年 5 月 8 日 上午 11:32 
@I AM Borg
Run it with it enabled (if the map uses it).
I AM BORG 2016 年 5 月 7 日 下午 11:32 
@Zake

Should I run this mod and apply it with or without the Unlimited Trees mod subscribed to.
Zake  [作者] 2016 年 4 月 20 日 下午 3:51 
I can try to do that by adapting code from the traffic report tool button, but I won't be able to do that for at least the next couple weeks, as I'm finishing my last semester at college.

As far as I know, this mod wasn't really intended to be a permanent addition to the game, just a quick install-run-uninstall sort of utility. That said, there's no reason it should be hard to use.
GordonDry 2016 年 4 月 20 日 上午 3:50 
You could make it a round button with an icon and draggable by right-click and saving the position.
Zake  [作者] 2016 年 4 月 19 日 下午 6:17 
Should I move it again? Maybe I should put it in the upper right to make conflicts less likely?
GordonDry 2016 年 4 月 19 日 上午 7:57 
The button position really starts going on my nerves.
Zake  [作者] 2016 年 3 月 28 日 下午 1:42 
@eighthsin, I have the same problem on one of my maps, haven't found a solution yet.
eighthsin 2016 年 3 月 28 日 上午 6:29 
Mod deduplicates trees, but after saving, trees rededuplicate. Not sure why the reoccurrence but it improves frame rate at least.
Baleur 2016 年 2 月 24 日 下午 2:29 
Great mod, already have it from the reddit though :)
knighthawkGP 2016 年 2 月 22 日 下午 10:14 
@Warchief why don't you upload\pubish the map you have that has the problem along with the output_log.txt and full* list of all mods used on the map, I'll take a look, I'd like to have a sample of one of these saves.
Warchief 2016 年 2 月 22 日 下午 7:33 
yeh, hope they fix it soon, should not have to have a mod for a dam bug =(
Zake  [作者] 2016 年 2 月 22 日 下午 6:12 
Yeah idk sorry :( Best I can say is post an output_log.txt in that reddit thread so the guy who wrote this can see it. I can look at it too and see what I can find but I don't have the time to delve into debugging.
Warchief 2016 年 2 月 22 日 下午 12:28 
sorry for all the fuss, just want to get this sorted, my trees glich and flicker all the time, i started to do myself it was peeeing my off so much lol, but takes for ever, theres like 20+ trees ontop of allmost every tree lol.
Warchief 2016 年 2 月 22 日 下午 12:23 
Amd Phenom 2 (6cores) 16gb ram and 4g gtx 960 G-card, and yes it crash as soon as i pree botton. i left it crashed for about 10mins while i went to make a sandwich and tea, nothing happen, i restarted the game and it did the same =(
Zake  [作者] 2016 年 2 月 22 日 下午 12:19 
hmm. hard to say. Where does it crash, is it right after pressing the button? Have you tried letting it sit for a little while? Sometimes when a program works really hard it stops responding and then comes back; mine does that just loading the game.

What are your specs, do you have a good CPU?
Warchief 2016 年 2 月 22 日 上午 12:25 
i have done what you said Zake, but the game just crash, says program not responding and my screen goes white?
knighthawkGP 2016 年 2 月 21 日 上午 11:16 
Thanks for that update. As for the draggble button I've not done one all by itself (but as part of window) I think you could just create a UIDragHandle and assign it's target as the button object in question. UIDragHandle m_DragHandler; m_DragHandler = ui.AddUIComponent<UIDragHandle>(); m_DragHandler.target = button;
Zake  [作者] 2016 年 2 月 21 日 上午 10:32 
Fixed!
Zake  [作者] 2016 年 2 月 21 日 上午 10:09 
Whoops! Current version crashes the game. I think I messed up the folder hierarchy. Working on fixing it.
Zake  [作者] 2016 年 2 月 21 日 上午 9:58 
@knighthawkGP I actually just found that on my own as well. Moved the button just slightly down, to (-1.8, 0.9). Now teaching myself how to update a workshop file.

As for support, I'll merge any changes, and if you want I'll even upload to Github if there's a desire. I have a basic programming background but I've never worked with C#, and I'm using Notepad++ to update this :)

I haven't the slightest clue how to get the draggable button but I assume it would be a matter of copying another mod's code.
knighthawkGP 2016 年 2 月 21 日 上午 9:33 
Glad to see someone added this to the workshop for those that run into the problem.
Also a related thread on reddit.
https://www.reddit.com/r/CitiesSkylines/comments/3wwxg8/game_save_loads_every_possible_instance_of_each/

If anyone has a problem with gui's overlaping, adjusting the button position offset will probably help. Just tweak the button.transformPosition = new Vector3(-1.65f, 0.97f); line.
Zake  [作者] 2016 年 2 月 21 日 上午 9:07 
Sorry to be totally unhelpful but you'll likely get more help at the posted reddit thread.

@Warchief Load the save with the mod enabled, then click the button on the top left when you're ready. Probably best to pause your game so it's not doing too many things at once.
@GordonDry I had the same trouble. I'll mention it but as this is meant to be a quick one-time use, it should only get in the way for the short time you need it. That is... I hope duplicating trees isn't a recurring issue...
GordonDry 2016 年 2 月 21 日 上午 2:44 
Could you please change the button to a draggable round icon?
Or at least change the position, now it overlaps the TM:PE button.
Warchief 2016 年 2 月 21 日 上午 2:16 
it gets rid of them instantly when i load a game? or it deletes them over time untill all are gone?
Warchief 2016 年 2 月 21 日 上午 2:09 
This mod has not worked for me ? i still have the same problem. can i use it on an old saved city? still have loads of glitching flickering trees with 10s-100s of trees in the same spot. seems to be random how many are there.
xt1014 2016 年 2 月 20 日 下午 10:58 
thx, finally