Page 3 of 3

Posted: Fri Sep 28, 2007 12:15 pm
by Lardmaster
Number 3. It should reflect his overall position I think.

Posted: Fri Sep 28, 2007 12:24 pm
by trewqh
3.

I don't see the point of leaving out 1 or 2 from the score.

HOW it should be calculated is a totally different matter...

Posted: Fri Sep 28, 2007 1:12 pm
by korexus
Does anyone want to email Al and ask how it was done?

Or to run variations on the WoK V manager, to calculate the formula?

Note, *I* am not volunteering to do either of these things...


Chris.

Posted: Fri Sep 28, 2007 7:38 pm
by Mullog
I have the original wok5 sourcecode on my computer, so I may take a look. It is the scoring you are interested in? 8)

Posted: Fri Sep 28, 2007 11:20 pm
by korexus
Mullog wrote:I have the original wok5 sourcecode on my computer,

NOW he tells us... :roll:

Posted: Sat Sep 29, 2007 8:58 am
by Mullog
I told you ages ago! Long before you guys started working on EWOK. But you thought it would be easiest to do the job without the sources... 8)

Posted: Sat Sep 29, 2007 4:20 pm
by Aussie Gaz
Mullog

Yes. I would like to know how the original WOK5 calculated the score.

Posted: Sat Sep 29, 2007 4:36 pm
by trewqh
Post it here, please. :twisted:

Posted: Sun Sep 30, 2007 10:06 am
by Mullog
Ok. I will try to look it up.
Unfortunately, AL's code is quite unreadable so its not trivial to find it out, but I will install Visual Basic and try to find out. And post it here of course. 8)

Posted: Sun Sep 30, 2007 10:14 am
by korexus
Heh, that's true. I remember trying to find the WoK IV formula from those reams of Qbasic...

To make life easier, it will be close to the end and should *look* like a formula. (Lots of constants being added together). I also know that Al added a random value to the end, to stop backwards engineering of scores, although that may have been done at the turn report level...


Chris.

Posted: Sun Sep 30, 2007 1:51 pm
by Brykovian
Mullog wrote:Ok. I will try to look it up.
Unfortunately, AL's code is quite unreadable so its not trivial to find it out, but I will install Visual Basic and try to find out. And post it here of course. 8)
I still have VB6 installed, if you want to send it to me for the look-through. Then again, Al never sent me the source code ... so maybe he had a reason for that. :P

-Bryk

Posted: Sun Sep 30, 2007 8:09 pm
by Mullog
I think I found it, although I think my copy of the code is old (wok5 v3.3) for there is no random element in the score.

Anyway. Here it is - the secret WOK5 scoring formula:
For each province a player owns add the following: pop + wok * 2 + (armies + pikemen + archers + knights + catapults) * level * 4 + creature nr + trees / 5 + crop / 4 + spies * 3 + gca's * 3 + magicians * 10

Then add the total # of diamonds * 3, the players eff, woodstores / 5 + cornstores / 4 + goldstores / 6 + tech level * 10

Finally add the item numbers of each item in the players Spell & Potion pocket. For instance, if I have spell #87 - refill, add 87 to the score.

I did a few test runs and it looks like this is the correct formula. 8)

Posted: Sat Nov 17, 2007 3:34 pm
by Aussie Gaz
After fixing the last couple of bugs this turn I agree with Korexus that the testing is pretty well over.

Unless there are any objections I will just flag the game as finished.

Thanks all for your comments and patience.

Just one Final test of all the optional bits (Ewok - Omega Test ) and Ewok will be set to go.

Sorry it has taken so long.