Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Civ2-Strategy-Archive > Gits' Hut Finder Program
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:24
  Old Post 04-12-2002 20:21 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Gits' Hut Finder Program Support Apolyton, buy Galactic Civilizations

Please find enclosed the latest offering from GitSoft a program that uses samson's hash table discovery to locate all huts in a given vicinity.

It should be self evident in use - but you never know.

All flames and criticisms to SG(2)

Enjoy - or post your complaints...

Sorry only for windows platform

SG[1]

Now release 1.1 also does specials!



RELEASE 1.2.0 which includes huts, specials, a schematic map and the ability to save and load data is now available see my post on page 2 - the attachment below is v1.1 and does not have the schematic or load and save features

Attachment: hutfinder.zip
This has been downloaded 24 time(s).

Last edited by Scouse Gits on 10-12-2002 at 18:40

Lars-E is offline Lars-E
Warlord

Nov 2000
time: 06:24
  Old Post 04-12-2002 21:24
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Put an end to popups!

Thanks for the christmas gift SG[1]. I bet you can do this in excel as well - formulas. Anyhow it would be nice to have other programs as well - trade calculation / trade sites and what not. Hint hint.

I should update my webpage where I have put down an oedo-table, SS-parts, tech-gifting, and what not. I'll post the link when I'm done. I want to make a systematic presentation of occ+ strategy. That make take some time

But first, must not forget Narz' challenge. A promise is a promise.

rah is offline rah
Apolyton Prince of Moderators, Master of Reason
Lord of the Ferrets
Jan 1970
time: 23:24
  Old Post 04-12-2002 22:04
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Help yourself to an AD-FREE life


Two thumbs up.
Just downloaded it and I'll take it home to test it. It looks great and seems easy to use. I'm assuming that map size doesn't have any affect.

Just another window to have available during a game. Thanks, now I can be real lazy.

Rich

rah is offline rah
Apolyton Prince of Moderators, Master of Reason
Lord of the Ferrets
Jan 1970
time: 23:24
  Old Post 04-12-2002 22:10
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization 2

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.

Even though they can easily be inferred by the hut locations, but as long as we want to be lazy, let's go all the way.

Ming is offline Ming
Chief Minion

Donate to the Red Cross
Mingapulco - CST
Jan 1970
time: 23:24
  Old Post 04-12-2002 22:17 Visit Ming<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
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.

Even though they can easily be inferred by the hut locations, but as long as we want to be lazy, let's go all the way.


I agree... what a big help that would be... I'm lazy too

Flatlander Fox is offline Flatlander Fox
Prince
Fort Living Room
Jul 2001
time: 06:24
  Old Post 04-12-2002 23:11
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

How can they be inferred by hut locales?

Give me your knowledge, oh knowledgable ones...

rah is offline rah
Apolyton Prince of Moderators, Master of Reason
Lord of the Ferrets
Jan 1970
time: 23:24
  Old Post 04-12-2002 23:52
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

create an all land map and looking at each hut, check out the relation to the nearest special.

samson is offline samson
Prince

Apr 2001
time: 05:24
  Old Post 05-12-2002 01:08
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Nice going, SG.
Thanks for doing this.

samson

DaveV is offline DaveV
King
USA - EDT (GMT-5)
Jan 1970
time: 00:24
  Old Post 05-12-2002 01:32
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Get a bigger avatar today!

There is a button labeled "seatch" below the list of hut coordinates. I assume this is meant to be "search"...

Otherwise,

War4ever is offline War4ever
Emperor
I live amongst the Red Sox Nation
Jan 1970
time: 21:24
  Old Post 05-12-2002 01:35
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Increase the size of your Attachments

Well done SG's the game now has virtually no exploration left to it

so now that we have torn this apart, can someone put it all back together again and make it better

Flatlander Fox is offline Flatlander Fox
Prince
Fort Living Room
Jul 2001
time: 06:24
  Old Post 05-12-2002 01:51
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Inflate your Upload Space

Jesus, I've made hundreds of maps, knew the pattern but not the relationship with the huts...


Thanks!

War4ever is offline War4ever
Emperor
I live amongst the Red Sox Nation
Jan 1970
time: 21:24
Wink  Old Post 05-12-2002 01:52
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by Flatlander Fox
Jesus, I've made hundreds of maps, knew the pattern but not the relationship with the huts...


Thanks!


This explains your abilities entirely

Ming is offline Ming
Chief Minion

Donate to the Red Cross
Mingapulco - CST
Jan 1970
time: 23:24
  Old Post 05-12-2002 03:04 Visit Ming<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by War4ever
This explains your abilities entirely




This program will really be useful after a few beers...

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:24
  Old Post 05-12-2002 04:27 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Got spare money?

Members of Apolyton...[Clears throat] Many thanks for your kind comments. Much as I would love to take the praise for this miracle of software, sadly I must decline. I have just discovered it ... no wonder [1] didn't turn up for a coffee today

I am (2) Admiral Git... if I can switch the damn computer on I think I'm winning [Well done 1] [/Clears throat]

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

SG(2)

Flatlander Fox is offline Flatlander Fox
Prince
Fort Living Room
Jul 2001
time: 06:24
  Old Post 05-12-2002 04:54
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by War4ever


This explains your abilities entirely





That was pretty funny.


*grumbles*




Anyway, thanks for the program, now I can finally put my laptop away during games!

War4ever is offline War4ever
Emperor
I live amongst the Red Sox Nation
Jan 1970
time: 21:24
  Old Post 05-12-2002 06:52
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Increase the size of your Attachments

quote:
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......

samson is offline samson
Prince

Apr 2001
time: 05:24
  Old Post 05-12-2002 18:35
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Enter the AD-FREE zone

quote:
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

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:24
  Old Post 05-12-2002 18:45 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Remove this text

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]

samson is offline samson
Prince

Apr 2001
time: 05:24
  Old Post 05-12-2002 19:07
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

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.

Lars-E is offline Lars-E
Warlord

Nov 2000
time: 06:24
  Old Post 05-12-2002 22:57
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Inflate your Upload Space

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

rah is offline rah
Apolyton Prince of Moderators, Master of Reason
Lord of the Ferrets
Jan 1970
time: 23:24
  Old Post 05-12-2002 23:39
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

yep, you're wrong again.

War4ever is offline War4ever
Emperor
I live amongst the Red Sox Nation
Jan 1970
time: 21:24
  Old Post 06-12-2002 02:17
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Put an end to popups!

as far as i know all versions give coordinates.....what sort of free ware are you playing......

Cyrion is offline Cyrion
King
Caught somewhere in time
Jan 2002
time: 06:24
  Old Post 06-12-2002 12:44
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Increase the size of your Attachments

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!!

Ming is offline Ming
Chief Minion

Donate to the Red Cross
Mingapulco - CST
Jan 1970
time: 23:24
  Old Post 06-12-2002 13:36 Visit Ming<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
Originally posted by Cyrion
every square was supposed to have a hut ! :


Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:24
Lightbulb  Old Post 06-12-2002 19:35 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
New in release 1.1 Remove this text

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 ...

Attachment: hutfinder.zip
This has been downloaded 16 time(s).

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:24
  Old Post 06-12-2002 19:54 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Remove this text

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

SG[1]

rah is offline rah
Apolyton Prince of Moderators, Master of Reason
Lord of the Ferrets
Jan 1970
time: 23:24
  Old Post 06-12-2002 20:08
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Help yourself to an AD-FREE life

I don't think that will be needed.
Great job.

DaveV is offline DaveV
King
USA - EDT (GMT-5)
Jan 1970
time: 00:24
  Old Post 06-12-2002 20:39
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Got spare money?

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).

samson is offline samson
Prince

Apr 2001
time: 05:24
  Old Post 06-12-2002 21:17
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Support Apolyton, buy Civilization 2

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.

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:24
  Old Post 06-12-2002 21:44 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Enter the AD-FREE zone

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)

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:24.
Apolyton Time is 00:24.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0614 seconds (93.28% PHP - 6.72% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net