Too much research

Moderator: AlvaroSousa

User avatar
stjeand
Posts: 2666
Joined: Sun Jan 10, 2021 1:14 pm
Location: Aurora, NC

Re: Too much research

Post 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.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Too much research

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
guggy
Posts: 84
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

Re: Too much research

Post by guggy »

PM sent
Francis6292
Posts: 4
Joined: Tue Dec 01, 2015 5:10 pm

Re: Too much research

Post 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,
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Too much research

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
CHINCHIN
Posts: 674
Joined: Sun Sep 02, 2012 6:42 am

Re: Too much research

Post 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?
My native language is Spanish, and no English language mastery, sorry.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Too much research

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
guggy
Posts: 84
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

Re: Too much research

Post 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.
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Too much research

Post 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.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Too much research

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
guggy
Posts: 84
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

Re: Too much research

Post 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.
User avatar
stjeand
Posts: 2666
Joined: Sun Jan 10, 2021 1:14 pm
Location: Aurora, NC

Re: Too much research

Post by stjeand »

I wonder if the uninstall did not remove all the files.
That often happens, especially the scenario files in My Documents (Windows)
guggy
Posts: 84
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

Re: Too much research

Post 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.
User avatar
stjeand
Posts: 2666
Joined: Sun Jan 10, 2021 1:14 pm
Location: Aurora, NC

Re: Too much research

Post by stjeand »

I can't find research setting in the editor so not even sure how you would check.
guggy
Posts: 84
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

Re: Too much research

Post 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
User avatar
stjeand
Posts: 2666
Joined: Sun Jan 10, 2021 1:14 pm
Location: Aurora, NC

Re: Too much research

Post by stjeand »

Is it all scenarios?
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Too much research

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
guggy
Posts: 84
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

Re: Too much research

Post 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 ?
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Too much research

Post by AlvaroSousa »

I emailed you a link of an exact copy of the files I have and instructions.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
guggy
Posts: 84
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

Re: Too much research

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

Return to “War Plan: Tech Support”