[Asking for Help]Game running abnormal

Started by mingl0280, July 22, 2014, 12:15:23 PM

Previous topic - Next topic

mingl0280

Hi,
I played the game for a few days.But each time my colony developed to above 10 people, it begin to stuck.Just now I had 20 people in the colony and I can't play at all. How can I solve the problem?
It just stuck for about 1 second and work normally for about 1 second and repeat... I'm wondering if there's a problem with the path-finding algorithm?(because it seems like using a A* algorithm)
p.s. I have the 400x400 map.
p.s.2 CPU is Intel i7 but the game only used about 30% of total, that's another problem.

p.s.3 No exceptions or warnings on log.

Dr. Z

Maybe the engine isn't optimized for that much people on a map this large.
Prasie the Squirrel!

Tynan

Game is single-core, so it's maxed your CPU.

I recommend playing on 250x250. 400 is Ludeonicrous size and was never tested.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

RawCode

Its possible to "optimize" game engine and ever include support for multiple processors by splitting map into relatively large chunks processed by it's own thread and deticated single thread for synctask.

Threads that complete it's tick sequence faster then others will wait slowest one, sync overhead wont be issue if everything done properly.

Synctask required for objects that travel from one chunk to other, in other case traveling objects may cause corruption on transition from chunk to chunk.

mingl0280

#4
Quote from: Tynan on July 22, 2014, 05:45:53 PM
Game is single-core, so it's maxed your CPU.

I recommend playing on 250x250. 400 is Ludeonicrous size and was never tested.
Well then, I had that tested and it worked almost Perfect :)

How about making the path-finding part multi-threaded? I think writing a multi-thread in C# isn't that complex...(If it is really really complex please ignore what I said)

BTW, how can I get a translator authority in rimworld wiki? I signed up at Special:TranslatorSignup but get no respond.When I clicked the "pagetranslation" link, it says "No such special pages". Thanks.

Tynan

Translations are disabled on the wiki at the moment.
Tynan Sylvester - @TynanSylvester - Tynan's Blog