• Galactic Dynasty error

    From klunk@21:1/124 to Apam on Sunday, November 17, 2024 22:30:40
    Hi Apam,
    Avon says I should contact you here.
    My co-sysop reports that there is an lua error and the maths are completely out of wak on galactic dynasty. If I could have your email address i can send you the screen shot. The game reports you have insufficent planets even though you have just bought 1 million of the required type. Is this a 32 bit overflow error of the program or something else?
    Regards
    Andy
    (Klunk)

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: Who Dares Wins Amiga BBS (21:1/124)
  • From Apollo@21:1/236 to klunk on Sunday, November 17, 2024 18:50:18
    My co-sysop reports that there is an lua error and the maths are
    completely out of wak on galactic dynasty. If I could have your email address i can send you the screen shot. The game reports you have insufficent planets even though you have just bought 1 million of the required type. Is this a 32 bit overflow error of the program or
    something else?

    First off, here's the gitlab repos, so you could make an issue there

    https://gitlab.com/apamment/galactic-dynasty
    or
    https://gitlab.com/apamment/galactic-dynasty-2

    Second, the uint_t for plants he uses in GD v1 can hold 4,294,967,295
    So at only 1,000,000 no overflow is occuring at least on C or C++ side,
    Lua should be using 64-bit unless Apam explicitly tells it to only use
    32-bit. (If Lua uses a signed integer (int32_t) then 2,147,483,647 which
    still wouldn't overflow at 1,000,000)

    I would make an issue there, maybe add @apamment so it pings him
    (assuming he has gitlab setup with some email or something to push a notification to)


    --- Talisman v0.54-dev (Linux/x86_64)
    * Origin: Lunar Mod (21:1/236)
  • From apam@21:4/158.1 to klunk on Monday, November 18, 2024 11:02:20
    Hi Apam,
    Avon says I should contact you here.
    My co-sysop reports that there is an lua error and the maths are completely out
    of wak on galactic dynasty. If I could have your email address i can send you the screen shot. The game reports you have insufficent planets even though you have just bought 1 million of the required type. Is this a 32 bit overflow error of the program or something else?

    I think the lua error has been fixed - if it's the one I'm thinking of, it's not really a problem, but you can get the latest at https://gitlab.com/apamment/galactic-dynasty/

    The other thing does sound like a 32 bit overflow. Perhaps I should have put a maximum number of planets you can buy.. I think most people win the game and reset it before hitting the max.

    Galactic Dynasty is pretty old now, and I probably did a ton of things wrong when I wrote it. You could fork it and fix it if you want to. I don't really have any motivation left to fix it.

    Andrew

    --
    |09apam |08(|11Andrew Pamment|08)
    |15Starlight |07:: |15starlight.zapto.org|07


    --- Noddy git-27636aa
    * Origin: Starlight :: starlight.zapto.org:2323 (21:4/158.1)
  • From Avon@21:1/101 to apam on Thursday, December 12, 2024 16:49:48
    On 18 Nov 2024 at 11:02a, apam pondered and said...

    Hi Apam,
    Avon says I should contact you here.

    [snip]

    it's not really a problem, but you can get the latest at https://gitlab.com/apamment/galactic-dynasty/

    [snip]

    Galactic Dynasty is pretty old now, and I probably did a ton of things wrong when I wrote it. You could fork it and fix it if you want to. I don't really have any motivation left to fix it.

    ..so just following up on this comment, I'd best try and get the 'current' versions of the software for Windows and Linux and ensure they are the ones hatched out to nodes..

    But I'm also left wondering if bugs pop up and you (and fair enough) opt not to want to fix them any more... is it worth continuing to run the inter-bbs game if a bug that's discovered may not get fixed going forward?

    I'm moreover just pondering aloud I think as I play catch-up in echomail... and to be fair from what I can see the game has not really been an issue in terms of any know bugs that I'm currently aware of in recent times or earlier..

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From apam@21:3/197 to Avon on Thursday, December 12, 2024 15:43:38
    ..so just following up on this comment, I'd best try and get the
    'current' versions of the software for Windows and Linux and ensure
    they are the ones hatched out to nodes..

    To be honest, I've lost track of which versions are which. I thought I'd
    fixed the lua bug a while back but I mustn't have committed it. If you
    want me to make another build for you I can, (though the lua bug just
    really needs the .lua file copied over)

    But I'm also left wondering if bugs pop up and you (and fair enough)
    opt not to want to fix them any more... is it worth continuing to run
    the inter-bbs game if a bug that's discovered may not get fixed going forward?

    Maybe not, I guess that's a question best put to those who are playing
    it. Apart from the buying billions of planets overflow thing, which can
    be avoided by resetting fairly often I guess, I don't think there's
    anything too game breaking. (and it's not like Barren Realms Elite or any
    of the other more popular InterBBS doors are getting updates either ;)

    If people are actually keen on playing it (rather than just setting it up
    for the sake of setting it up) I would be happy to fix that over flow bug
    (but it would mean an actual update)

    Andrew

    --
    |09apam |08(|11Andrew Pamment|08)
    |12Bloodlust |04:: |12bloodlust.envybbs.org|08:|122023|07

    --- envy/0.1-630bf2b
    * Origin: Bloodlust - bloodlust.envybbs.org:2023 (21:3/197)
  • From Avon@21:1/101 to apam on Friday, December 13, 2024 10:31:26
    On 12 Dec 2024 at 03:43p, apam pondered and said...

    To be honest, I've lost track of which versions are which. I thought I'd fixed the lua bug a while back but I mustn't have committed it. If you want me to make another build for you I can, (though the lua bug just really needs the .lua file copied over)

    let me dig out which latest versions I have and perhaps there's no need.. will get back to you. thanks Andrew.

    opt not to want to fix them any more... is it worth continuing to run the inter-bbs game if a bug that's discovered may not get fixed going forward?

    Maybe not, I guess that's a question best put to those who are playing
    it. Apart from the buying billions of planets overflow thing, which can
    be avoided by resetting fairly often I guess, I don't think there's anything too game breaking. (and it's not like Barren Realms Elite or any of the other more popular InterBBS doors are getting updates either ;)

    If people are actually keen on playing it (rather than just setting it up for the sake of setting it up) I would be happy to fix that over flow bug (but it would mean an actual update)


    seems to me like there's a core group of people actively playing the game and some who set it up and never play it, so the usual mix of engagement / disengagement.. same can be said for any inter-bbs game I think.

    I agree other inter-bbs doors are not (for the most part) being actively updated/extended... and mostly work fine even now :) I guess that was an appeal at the time for GD and FH in that the community had you developing something at that stage.

    If you opt to do further work on the games then that's great but if you're essentially done with them I understand that also. I just need to factor in to offering the inter-bbs stuff the issue of supporting stuff if it breaks and my ability to do so (or not)... so that's what I'm pondering.

    I think it seems fine to keep them running at the moment in Z21...

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From apam@21:3/197 to Avon on Friday, December 13, 2024 09:11:30
    seems to me like there's a core group of people actively playing the
    game and some who set it up and never play it, so the usual mix of engagement / disengagement.. same can be said for any inter-bbs game I think.

    Sure, I'll look to fixing the planet over flow bug, but mighn't be for a
    few days yet.

    I agree other inter-bbs doors are not (for the most part) being
    actively updated/extended... and mostly work fine even now :) I guess
    that was an appeal at the time for GD and FH in that the community had
    you developing something at that stage.

    One of the main reasons I started writing doors was to give people on
    raspberry pis etc to have an easier way to get games working without
    having to deal with dos emulation etc, which at the time was pretty hit
    and miss (dosbox not having file locking etc). Galactic Dynasty at this
    stage (apart from the bugs) I think of as finished - I don't plan on
    extending it further.

    I think it seems fine to keep them running at the moment in Z21...

    Ok

    Andrew

    --
    |09apam |08(|11Andrew Pamment|08)
    |12Bloodlust |04:: |12bloodlust.envybbs.org|08:|122023|07

    --- envy/0.1-630bf2b
    * Origin: Bloodlust - bloodlust.envybbs.org:2023 (21:3/197)
  • From j0hnny a1pha@21:4/158 to apam on Friday, December 13, 2024 06:55:25
    One of the main reasons I started writing doors was to give people on raspberry pis etc to have an easier way to get games working without
    having to deal with dos emulation etc, which at the time was pretty
    hit
    and miss (dosbox not having file locking etc). Galactic Dynasty at
    this
    stage (apart from the bugs) I think of as finished - I don't plan on extending it further.

    I remember in my early retun-to-BBSing days, I was running Mystic on Pi
    and when i realized it'd be difficult (but not technically impossible) to
    run DOS doors, I was bummed.

    Door servers were the answer then and now, but it's also cool that new-ish Dosbox variants (X, Staging) support SHARE and run headless on linux..
    QEMU as well, but that's got its own foibles...

    But I digress! GD2 is one of the great modern doors IMHO and I was/am
    stoked to have games that run natively on linux.


    |07|02/|10\|03/ |11j0hnny a1pha |03\|10/|02\|07


    --- Talisman v0.54-dev (Linux/x86_64)
    * Origin: Space Junk! BBS :: SpaceJunkBBS.com:2323 (21:4/158)