Announcement

Collapse
No announcement yet.

Gits' Hut Finder Program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Flatlander Fox





    That was pretty funny.


    *grumbles*




    Anyway, thanks for the program, now I can finally put my laptop away during games!
    so its not my bad luck afterall, or at the very least, explains how you found me so quickly......
    Boston Red Sox are 2004 World Series Champions!

    Comment


    • #17
      Originally posted by rah
      Since you already have the seed calculated, you should also display special locations. It would help knowing which way to move to find the special band at the opening and later help for mining hidden specials.
      SG(2) -

      If you want to take up rah's request and show specials as well, a slight change to the hutfinding formula will do the trick. Using the same modulo-32 SEED as for huts, you can predict all specials locations (although not their type).

      For all map coordinates:

      1) Calculate Nsum and NDiff the same way as for huts.

      2) Calculate Hash without the "+ 8" offset: Hash = (NSum/4) x 11 + (NDiff/4) x 13

      3) Use Modulo-16 instead of 32: Hash = RemainderOf( (Hash + Seed) / 16)

      4) If Hash = RemainderOf(NSum/4) + RemainderOf(NDiff/4) x 4 then the location is a special.

      Determining the type of special (fish/whale) requires a modulo-64 seed and at least three data points.

      samson

      Comment


      • #18
        Thanks for that samson I had got as far as needing the modulo 64 seed giving 4 distinct distributions within a 1:3:3:1 set of specials, but I guess I can live with simply locating the specials ...


        Changes required for release 1.1

        1) Fix typo on 'Seatch' button
        2) Sort local huts by distance (samson can you remind me of the formula for getting distance from co-ordinate pairs?)
        3) Have a tab strip to allow the display of special locations
        dreamville) Include a graphical display - not this week!

        Please feel free to add to this wish-list guys
        A very special thanks to samson for making this possible - all credit goes to him - I just programmed it!

        SG[1]
        "Our words are backed by empty wine bottles! - SG(2)
        "One of our Scouse Gits is missing." - -Jrabbit

        Comment


        • #19
          SG(1) -

          Sorry about getting you confused with (2).

          Distance can be calculated with the algorithm I described in STEP 1 in the thread "Calculating Caravan and Freight Delivery Payments", which I have bumped for you.

          Comment


          • #20
            I need to play MGE. It's the only version where you get location coordinates. If I am wrong AGAIN please don't post - it will only make me look stupid... AGAIN

            Comment


            • #21
              yep, you're wrong again.
              It's almost as if all his overconfident, absolutist assertions were spoonfed to him by a trusted website or subreddit. Sheeple
              RIP Tony Bogey & Baron O

              Comment


              • #22
                as far as i know all versions give coordinates.....what sort of free ware are you playing......
                Boston Red Sox are 2004 World Series Champions!

                Comment


                • #23
                  Thanks Gits! I had been trying to do it with Excell, but I somehow had something wrong: every square was supposed to have a hut ! Now, that would be handy...

                  And now, I don't need to check what I did wrong, thanks!!
                  Ankh-Morpork, we have an orangutan...
                  Discworld Scenario: http://apolyton.net/forums/showthrea...8&pagenumber=1
                  POMARJ Scenario:http://www.apolyton.com/forums/showt...8&pagenumber=1
                  LOST LEGIONS Scenario:http://www.apolyton.com/forums/showt...hreadid=169464

                  Comment


                  • #24
                    Originally posted by Cyrion
                    every square was supposed to have a hut ! :
                    Keep on Civin'
                    RIP rah, Tony Bogey & Baron O

                    Comment


                    • #25
                      New in release 1.1

                      Typo corrected - thanks DaveV
                      "Click here" on splash screen fixed - thanks (2)
                      Huts are ordered by (trade) distance from search point
                      The form is now the correct size! woops
                      Popped huts (or huts found to be at sea) can now be crossed off the list - just click on the coordinates ...

                      By popular demand:
                      Specials are also shown - another BIG thanks to samson

                      Plans for a small schematic are afoot - but not today

                      Enjoy - may this new tool totally ruin your civin experience

                      SG[1]

                      What's the betting that the first few turns at MP go somewhat more slowly now ...
                      Attached Files
                      "Our words are backed by empty wine bottles! - SG(2)
                      "One of our Scouse Gits is missing." - -Jrabbit

                      Comment


                      • #26
                        Ming could you please top this thread for a few days...

                        SG[1]
                        "Our words are backed by empty wine bottles! - SG(2)
                        "One of our Scouse Gits is missing." - -Jrabbit

                        Comment


                        • #27
                          I don't think that will be needed.
                          Great job.
                          It's almost as if all his overconfident, absolutist assertions were spoonfed to him by a trusted website or subreddit. Sheeple
                          RIP Tony Bogey & Baron O

                          Comment


                          • #28
                            Very nicely done. A nice extension would be the ability to enter the location of specials and show the hut locations (for those times when you see specials but no huts).

                            Comment


                            • #29
                              Yes, nicely done.

                              Re: Dave's suggestion. In order to generate hut locations from specials, you'd need the location and types of three specials from the same group of four. This can determine the modulo-64 seed which could be used to predict not only hut and special locations but the type of special as well.

                              Comment


                              • #30
                                Neat work [1]...this version really is the business. I can now discard all the notes about huts at sea and concentrate on the "Unexplored go-to"

                                -----------------------------

                                SG(2)
                                "Our words are backed by empty wine bottles! - SG(2)
                                "One of our Scouse Gits is missing." - -Jrabbit

                                Comment

                                Working...
                                X