Giter Club home page Giter Club logo

Comments (5)

sapid avatar sapid commented on July 1, 2024

After more research, it seems like this bug may be on Factorio's end, not yours. The only similar bug I could find was in a post about another scenario fairly recently. Either way, I can't for the life of me figure out why Factorio is rejecting the require ONLY for separate_spawns_guis.lua

I worked around it by turning this scenario in to a mod. Turned out to be easier than I expected! Just make an info.json, a settings.lua, replace some hard-coded variables with variables from settings.lua, and finally add a locale file for the settings variables, then zip it all up!

This revealed a new problem, though - if a player chooses default spawn, they don't get teleported out of the lobby moat. Is this a known issue?

I noticed your lobby surface code, so I worked around this by turning that code on, spawning the player on the lobby surface, then teleporting them to the default spawn if that's the spawn they choose.

from factorioscenariomultiplayerspawn.

Oarcinae avatar Oarcinae commented on July 1, 2024

I bet I messed up something when those options are disabled. Shouldn't be hard to fix, I'll look into it when I get time. Thanks for reporting it!

from factorioscenariomultiplayerspawn.

sapid avatar sapid commented on July 1, 2024

If it's any help, I've uploaded almost all of the changes I made over here:
https://github.com/sapid/FactorioScenarioMultiplayerSpawn/tree/mod-0.15.x

However, it's a work in progress; not everything that should be moved to settings.lua has been moved there.

from factorioscenariomultiplayerspawn.

Oarcinae avatar Oarcinae commented on July 1, 2024

Yeah, to be honest I've let a lot of the original code go untested in my recent push. I currently don't have time to do any testing of a lot of the configuration options. The issues you're seeing are most likely because I added regrowth and did not test the all the options that are in the config... Thanks for sharing your code.

Whenever I do get time to look into it, I'll eventually try to clean up some of it.

from factorioscenariomultiplayerspawn.

Oarcinae avatar Oarcinae commented on July 1, 2024

I'm restesting now with the same things disabled (long reach, undecorator, regrowth) but I am not crashing on load. Closing this issue as I can't reproduce with the latest version. Please re-open or make a new one if this is still an issue. I'm also making sure everything works even when regrowth is disabled.

from factorioscenariomultiplayerspawn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.