Hey @Mylon, I don't know how to contact you so I just create this forum post and cross link it together with https://mods.factorio.com/mod/Peppermin ... 180a72e82d. One day you'll find one or the other ^^
Here at least I can upload an attachment with the mod fixes.
I have fixed my most pressing issues with the mod:
1) Parallelism through chunks. Instead of one list of coordinates, those are now grouped by chunk. And every peppermint.stretch() now takes one coordinate for every chunk in the same tick. One disadvantage though, chunks don't check neighboring chunks, so you could have a multiple amount of mine() commands on the same logistic network, leaving you with too many ores to pickup for bots. I'll have to look into it and reconsider the loop, but at least you have a state as of now. Maybe I better do one chunk at a time with a separate chunkpicker and lower the ntick of stretch().
2) Cleanup of invalid coordinates. Once the ore is not valid anymore for the coordinate I now correctly remove it (after the already existing rechecking for ore changes). Additional cleanup because of chunks: If there is no valid coordinates anymore in a chunk, the chunk is also removed.
Please do a diff between yours and my control.lua, some places had also small bugs (e.g. the separator you chose was " " space instead of ",")
IMPORTANT
If you use my changes as-is, you need to write a migration, as the format of global.peppermint and global.picker have changed to include the chunk-key.
Feel free to use my changes in any form.
Mod-Bugfix for Mylon's Peppermint Mining
Topics and discussion about specific mods
-
- Manual Inserter
- Posts: 3
- Joined: Sun Oct 16, 2016 10:41 am
- Contact:
Mod-Bugfix for Mylon's Peppermint Mining
Post by dragondionysius »
- Attachments
-
- Peppermint_Mining_Improved_1.0.1.zip
- (66.9 KiB) Downloaded 62 times
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Implemented in 2.0
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions