Search found 21 matches

by kevinma
Tue Feb 16, 2021 12:20 am
Forum: Duplicates
Topic: [1.1.22] Game crash on main menu
Replies: 0
Views: 124

[1.1.22] Game crash on main menu

After update, it crashed after update info is shown. Factorio crashed. Generating symbolized stacktrace, please wait ... #1 0x0000000101f79742 in Logger::logStacktrace(StackTraceInfo*) + 0x12 #2 0x00000001013cfba9 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) + 0xb9 #3 0x0000000101f602...
by kevinma
Fri Feb 05, 2021 12:48 am
Forum: Duplicates
Topic: [1.1.20] Crash using smart belt placing (CommonManualBuilder::buildByMovingCheck)
Replies: 1
Views: 488

[1.1.20] Crash using smart belt placing (CommonManualBuilder::buildByMovingCheck)

It is always crashed when using smart belt building. I use it in multiplayer game. My computer is Mac. Factorio crashed. Generating symbolized stacktrace, please wait ... #1 0x0000000101bc2b02 in Logger::logStacktrace(StackTraceInfo*) + 0x12 #2 0x000000010101e959 in CrashHandler::writeStackTrace(Cra...
by kevinma
Tue Dec 15, 2020 11:09 am
Forum: Technical Help
Topic: Is there a quick button for updating active mod to newest version?
Replies: 4
Views: 404

Re: Is there a quick button for updating active mod to newest version?

thanks for answer. I can sync mods by loading save, It will download the proper version for the save. But what I need is update the active mod to newest version on mod portal. For example, my save's SE(space exploration) version is 0.01, the newest version is 0.11. When I do synchronize, I can get 0...
by kevinma
Tue Dec 15, 2020 1:26 am
Forum: Technical Help
Topic: Is there a quick button for updating active mod to newest version?
Replies: 4
Views: 404

Is there a quick button for updating active mod to newest version?

When I want to update active mod of my save to newest version, i need to check every mod in update list. But I installed hundreds of mods(mainly from joining mod servers), So I need more than 10 minutes to do this.
by kevinma
Sun Nov 29, 2020 11:01 am
Forum: Gameplay Help
Topic: Can I copy and paste site settings when configuring train?
Replies: 6
Views: 734

Re: Can I copy and paste site settings when configuring train?

Choumiko wrote: ↑
Sun Nov 29, 2020 9:57 am
kevinma wrote: ↑
Fri Nov 27, 2020 1:43 pm
My question is: how to setup the first train quickly? The first train has a lot of similar station settings.
I made a tiny mod to help setting up a schedule with lots of the same conditions: https://mods.factorio.com/mod/DefaultTrainConditions
Thanks a lot. It solve my problem:)
by kevinma
Fri Nov 27, 2020 1:43 pm
Forum: Gameplay Help
Topic: Can I copy and paste site settings when configuring train?
Replies: 6
Views: 734

Re: Can I copy and paste site settings when configuring train?

Kyralessa wrote: ↑
Fri Nov 27, 2020 1:01 pm
You can shift-right-click on a train to copy its settings, and then shift-left-click on any other train to copy the settings to that train.
I know that. My question is: how to setup the first train quickly? The first train has a lot of similar station settings.
by kevinma
Fri Nov 27, 2020 12:05 pm
Forum: Gameplay Help
Topic: Can I copy and paste site settings when configuring train?
Replies: 6
Views: 734

Can I copy and paste site settings when configuring train?

Imaging that we have chain stations, when the next station is free, the train should go immediately. So I configure the such as: Stop1: Empty cargo or circuit condition 'Green > 0' Stop2: Empty cargo or circuit condition 'Green > 0' Stop3: .... StopN: Empty cargo And this style will apply to all kin...
by kevinma
Sun Aug 02, 2020 10:47 pm
Forum: Gameplay Help
Topic: how to find other player's blueprint after 0.18.37
Replies: 1
Views: 217

how to find other player's blueprint after 0.18.37

I used to join multiplayer map ( e.g. oarc scene ) and find some interest blueprint...
by kevinma
Sun Apr 05, 2020 5:50 pm
Forum: Mods
Topic: [MOD 0.18] KRASTORIO^2
Replies: 191
Views: 83760

Re: [MOD 0.18] KRASTORIO^2

Playing K2 with AAI Industry and Space Exploration, I can't find a way to produce sand/glass in space. Crusher cannot work in space and it is the only way to produce sand. Is it intend? In Original SE, I can handcraft sand or craft by space assembler.
by kevinma
Sat Mar 14, 2020 1:37 pm
Forum: Mods
Topic: [MOD 0.18] KRASTORIO^2
Replies: 191
Views: 83760

Re: [MOD 0.18] KRASTORIO^2

If I want to play with space exploration, should I add AAI Industry? Is it compatible and well balanced?
by kevinma
Sat Feb 01, 2020 7:48 am
Forum: Modding help
Topic: default pathfinding cannot bypass cliff
Replies: 1
Views: 296

Re: default pathfinding cannot bypass cliff

I figure out the problem. I should pass the entity.prototype.collision_box instead of entity.bounding_box.

But another problem still exists, the api failed frequently.

To solve the problem, i implements a custom pathfinding algorithm . It works but slow :(
WX20200201-181905@2x.jpg
WX20200201-181905@2x.jpg (545.38 KiB) Viewed 251 times
by kevinma
Fri Jan 31, 2020 9:09 am
Forum: This Forum
Topic: Is the forum support compressing image attachments?
Replies: 1
Views: 531

Is the forum support compressing image attachments?

Some screenshots are larger than 4. It would be fine to compress before uploading.
by kevinma
Fri Jan 31, 2020 2:47 am
Forum: Modding help
Topic: default pathfinding cannot bypass cliff
Replies: 1
Views: 296

default pathfinding cannot bypass cliff

I try to control my man by scripts. I invoke surface.request_path and find a path. But It can't bypass the cliff and the forest. Follow is the piece of my code: self.path_id = entity.surface.request_path({ bounding_box = entity.bounding_box, collision_mask = {"player-layer"}, start = entit...
by kevinma
Tue Mar 05, 2019 9:48 am
Forum: Modding discussion
Topic: How to draw line/arrow on surface/map?
Replies: 2
Views: 504

Re: How to draw line/arrow on surface/map?

darkfrei wrote: ↑
Tue Mar 05, 2019 8:24 am
https://lua-api.factorio.com/latest/LuaRendering.html

Code: Select all

rendering.draw_line(table)
Thank you very much
by kevinma
Tue Mar 05, 2019 6:32 am
Forum: Modding discussion
Topic: How to draw line/arrow on surface/map?
Replies: 2
Views: 504

How to draw line/arrow on surface/map?

from data.raw, I found 'fake-selection-box-2x2' and 'orange-arrow-with-circle'. Is that right?

em... I want to visual vehicle speed and its movement path using line and arrow.
by kevinma
Fri Feb 22, 2019 2:53 am
Forum: Modding help
Topic: how to get current timestamp?
Replies: 3
Views: 294

how to get current timestamp?

os.time() is not work since missing the os table.

on_tick event may help, but is there any other ways?
by kevinma
Sun Jan 27, 2019 4:42 am
Forum: Modding help
Topic: Is there any high-level gui library?
Replies: 0
Views: 288

Is there any high-level gui library?

I'm going to build some simple menu, like chrome, click a menu to show its children, click one of it to trigger some function. I try to find some code in factorio-stdlib, ComfyFactorio. But these library is hard code to build menu. I want to find a library with high level API, helps to register even...
by kevinma
Sat Jan 26, 2019 7:37 am
Forum: Resolved Problems and Bugs
Topic: game crashed while loading saves
Replies: 7
Views: 928

Re: game crashed while loading saves

In order to reconstruct objects on loading, I need to check if a table is a native object. Can I check with the following code? type(object) == 'table' and type(object.__self) == 'userdata' I change the implement of function is_native_class in kcontainer.lua and fix the issue. It works for LuaPlayer...
by kevinma
Sat Jan 26, 2019 4:13 am
Forum: Resolved Problems and Bugs
Topic: game crashed while loading saves
Replies: 7
Views: 928

Re: game crashed while loading saves

Thanks for the report. Don't use the inspect library. It's known to be buggy and cause crashes. Aside from that, when I test it in 0.17 it's saying you're giving "nil" in place of direction when calling: entity.walking_state = {walking=boolean, direction=defines.direction} meaning you did...
by kevinma
Sat Jan 26, 2019 3:45 am
Forum: Resolved Problems and Bugs
Topic: game crashed while loading saves
Replies: 7
Views: 928

game crashed while loading saves

I'm developing a mod for AI player. Currently finish the IOC container and some simple steering behavior. How to reproduce: 1. start new game with mod 2. spawn some solders by clicking button 'S' 3. command it to follow by clicking button 'C' 4. save the game 5. quit 5. load the save 6. repeat 2~5 a...

Go to advanced search