[OBSOLETE] Hotfix Move Button [62165-62350]

Discussion in 'Mod Discussions' started by wondible, March 5, 2014.

  1. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Fix the move planet button, which also allows the entire planet list to render in some situations. Note there are still other bugs with celestial movement, such as losing the economy bar.

    Caution: I haven't tested the actual mod because it takes so long to build three halleys and the economy to support them.

    Screen Shot 2014-03-05 at 13.51.30 .png

    Details: the Change Orbit button was supposed to call a method named ".movePlanet(id)", but the function name was missing and we got the illegal syntax ".(id)"

    Attached Files:

    Last edited: March 5, 2014
    Antiglow likes this.
  2. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    AWESOME! uhh ^^ pardon... what does it do?

    Moving planets is actually implemented but it was only the button that was broken????
  3. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    That's my take.

    I added a short description of the change, and updated the version change canery to 62350
  4. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    :/ lemme test but I think it's not in the server-side code yet.
  5. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    If that is the case, this mod is a pretty epic exploit!
  6. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    well it does do SOMETHING but I don't think I can use it. r.png
  7. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    SH IT! simulation ended but I was about to record it.

    The moon had it's engines on and it had an orbit of ridiculous speed.

    it hadn't changed orbitee but it was just spinning around it's orbitee like crazy it was hilarious!
    mishtakashi and cptconundrum like this.
  8. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Okay, so maybe it is buggy. I was able to fly a planet back and forth in an Instant Sandbox game, so I considered it good enough to share. I don't believe the engines shut off, so that may be one of the issues.
  9. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    no I think the "changing to another orbit" part not being there at all in the code is the real issue. currently you can just make the planet spin. which I think is simply a consequence of being able to give the planet momentum but the orbit being unbreakable.

    and can't you spawn multiple planets in sandbox?
  10. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Opps, you're right. I could have edited defaults, but I went through the normal lobby now that we have sandbox ai back.
  11. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    This (was) fixed in 62409
    Antiglow likes this.

Share This Page