New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ALS for Factorio 0.0.13 #12
Conversation
I guess there is more stuff missing, because opening the GUI results in this: |
@Mijago can I get you to upload your world and the mods you're using so I can test this? |
@jakimfett I get the same error as @Mijago. Thanks for the help! Edit. I actually just realized that that save point does not have ALS researched yet. But when selected it should be done within a minute or so. I will see if I can get a "better" save later today |
Sorry, I changed my mod-setting since then and did not have a backup. Next time i'll do one :) I hope you get the fix, I just do not enough time currently. I send this via the mail-reply as a test. I hope it works ;) |
I've had the same problem too. For me the problem was the GUI was malfunctioning.. eg: open the search and it wouldn't ever update. In order to try and reset things, I saved, uninstalled the modified mod, loaded, saved again, reinstalled the mod. When I reloaded I'd see the research item for ALS. On researching it the gui button appears. If I press the button, I see the exact error reported above. The patched mod was already malfunctioning before I tried this though - search wasn't working. |
Hey, Recently moved to a new job and a new city so been busy setteling in, i'll work on updating the mod and fixing all these issues this week. |
@anoutsider no worries, glad to do a bit to contribute! I'll have a bit of time tomorrow to poke the problems @DarkHelmet433 and @Radje and @Mijago are having, and will update the PR with whatever fixes end up happening. |
Hey. I found the remaining gui bug. change all because of Without this, the player iterations are coming up empty. With this the search interface works again and the remaining nil errors that I was having went away. To be clear, I reverted my other changes and am running with the pull request from @jakimfett plus s/ipairs(game.players)/pairs(game.players)/ and no other tweaks. |
Nice! I'll try later. Thank you! |
...yeah, sorry, I did approximately zero development this weekend because I totally wasn't playing Pokemon Go. |
Also, @DarkHelmet433 thanks for posting the info. That's probably why #14 is happening. |
I get an error message on clicking normal items: Error while running the event handler: advanced-logistics-system/control.lua:1237: bad argument #1 to 'match' (string expected, got nil) |
I got the same error in line 1237, but i am not sure why the function gets a nil number. A quick fix that seems to work for now is just returning an empty string on a nil number. --- Format numbers |
I'm getting a |
Hi everyone |
@HammerPiano when fixing things, consider submitting a pull request/forking the project if you got it to work. I am sure someone would be very interested :) |
@Danielv123, I forked this project and changed info.json according to the factorio team(added factorio version). Here is the link to my fork with the change: |
Thank you all for the help, due to conflicts and other updates to the code i'll be closing this pull request as it's no longer required. |
Remove deprecated 'defines', refactor game.get_surface(), and set item/loot distances.