Page 3 of 3

Re: Too much research

Posted: Mon Mar 07, 2022 11:32 am
by stjeand
So if two people have different versions...which does it use?

Say I create a game...that gives the Germans 10 more units...you accept my challenge I would expect you to see 10 more German units.

BUT if you created the game and yours was "normal"...when I accept there should not be "10 more units"



SO if someone want to cheat.
I would expect they would have to modify the base scenario and start the game.
Then others that join would be playing the modified version.

That makes sense.


BUT guggy made 2 games I joined...and I made 2 games he joined.
All experienced the same issue.

That does NOT make sense.

2 games should have used my 1939 scenario and 2 used his.



I think the game should do a checksum on the scenarios on both players computers. If they do not match then it will fail.

Re: Too much research

Posted: Mon Mar 07, 2022 2:37 pm
by AlvaroSousa
guggy wrote: Mon Mar 07, 2022 12:03 am @Alvaro : can you please join the game I created for you and check the game files to clean me of this false accusations and solve this annoying bug ?
Need the password for the game.
PM it to me.

Re: Too much research

Posted: Mon Mar 07, 2022 3:13 pm
by guggy
PM sent

Re: Too much research

Posted: Mon Mar 07, 2022 5:05 pm
by Francis6292
Je tiens à préciser @Guggy que malgré tout ce que j'ai dit vous êtes un excellent joueur avec un très bonne connaissance du jeu et de très bonne stratégie.
Cordialement,

Re: Too much research

Posted: Tue Mar 08, 2022 12:28 am
by AlvaroSousa
Ok so I got my WP working. Apparently the new windows update decided WarPlan was a bad bad program and blocked it's internet access but only when uploading a game ?!?!?!? go figure that one.

So I ran a test back and forth with myself via the server, no issues.
I also have guggy running one back and forth with me. The problem is there.

So the issue seems to be in guggy's scenario.
Likely the data simply got corrupted when installed.

The research bug is both ways. Both sides get it. There is a variable that sets the chance of research.

I am going to get one more turn from him then look at the data file. I believe at the top of the forum there is a link to the newest campaigns.

Re: Too much research

Posted: Tue Mar 08, 2022 9:04 am
by CHINCHIN
Hello Alvaro,

Do you contemplate the possibility of WP verifying that both players in a PBEM have the same scenario, and preventing play if both sides do not have the same scenario?

Re: Too much research

Posted: Tue Mar 08, 2022 2:52 pm
by AlvaroSousa
Every way I try a player can get around.

BTW it isn't the scenario. So something must be wrong with his install.

Re: Too much research

Posted: Tue Mar 08, 2022 4:10 pm
by guggy
Thanks Alvaro for your insight.
As you said, I will uninstall and reinstall the game asap and try with a new hotseat game to see if the bug is gone.

Re: Too much research

Posted: Wed Mar 09, 2022 7:45 pm
by ncc1701e
guggy has always been a superb opponent knowing the rules of the game perfectly. I have absolutely no doubt that this bug will be fixed.

Re: Too much research

Posted: Wed Mar 09, 2022 8:24 pm
by AlvaroSousa
It's not a bug.

There is something specifically wrong with his install. I don't know how it is possible but there it is.

Only time the error occurs is playing specifically him.

If I play myself via any method it doesn't happen. And it isn't his scenario.

Re: Too much research

Posted: Thu Mar 10, 2022 3:02 pm
by guggy
I am playing under CrossOver on a Mac, I bought my game licence directly from Matrix.

I just un-installed and re-installed the game (base + v1.00.16) and run a few turns on hotseat.. the "bug" is still there : every nation gets 1 research point every turn.

Re: Too much research

Posted: Thu Mar 10, 2022 3:19 pm
by stjeand
I wonder if the uninstall did not remove all the files.
That often happens, especially the scenario files in My Documents (Windows)

Re: Too much research

Posted: Thu Mar 10, 2022 8:54 pm
by guggy
That could be the case with a classic Windows install but I used Crossover on a Mac, so there will be no files left after the uninstall.

New install on Crossover means fresh set of files.

Really strange outcome.

I may have to wait for the next patch v1.00.17 to get a clean new game.

Re: Too much research

Posted: Thu Mar 10, 2022 10:29 pm
by stjeand
I can't find research setting in the editor so not even sure how you would check.

Re: Too much research

Posted: Fri Mar 11, 2022 6:49 am
by guggy
The "bug" was not there while playing under v1.00.16, it came with v1.00.17... let's hope it will be gone with v1.00.18

Re: Too much research

Posted: Fri Mar 11, 2022 2:17 pm
by stjeand
Is it all scenarios?

Re: Too much research

Posted: Sat Mar 12, 2022 2:40 pm
by AlvaroSousa
Just so everyone can see this is the function that determines if you get a new researcher. It has not changed

public void NewResearcher(int production) {
if (Random.Range(0, 333) < Math.Sqrt(production)) {
researchers++;
NewResearchers = true;
}
}

So say the US has 1,000 production. The square root of that is 31.6.This is roughly a 9% chance to get a researcher.

There is only 1 reference to this function. It has not changed. So there is an issue with the install.

Re: Too much research

Posted: Wed Mar 16, 2022 7:53 am
by guggy
Just updated to v1.00.16.1 full of hope and started a hotseat game... unfortunately, every nation gets a research point every turn. The "bug" if I may call it that way is still there.

Don't know what to do next ?

Re: Too much research

Posted: Wed Mar 16, 2022 2:54 pm
by AlvaroSousa
I emailed you a link of an exact copy of the files I have and instructions.

Re: Too much research

Posted: Thu Mar 17, 2022 11:50 am
by guggy
Tried and failed... under CrossOver.

Besides, I installed Parallels Desktop with Windows 11 on my Mac and re-installed Warplan under this set-up.
Finally the "bug" is gone and research points earned are back to normal (zero points most of the time).

Well, I guess I need to say CrossOver bye-bye and hello Parallels.