Too much research
Moderator: AlvaroSousa
Re: Too much research
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.
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.
- AlvaroSousa
- Posts: 12016
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: Too much research
Need the password for the game.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 ?
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: Too much research
PM sent
-
- Posts: 4
- Joined: Tue Dec 01, 2015 5:10 pm
Re: Too much research
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,
Cordialement,
- AlvaroSousa
- Posts: 12016
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: Too much research
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.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: Too much research
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?
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.
- AlvaroSousa
- Posts: 12016
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: Too much research
Every way I try a player can get around.
BTW it isn't the scenario. So something must be wrong with his install.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: Too much research
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.
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
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.
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.
- AlvaroSousa
- Posts: 12016
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: Too much research
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.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: Too much research
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.
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
I wonder if the uninstall did not remove all the files.
That often happens, especially the scenario files in My Documents (Windows)
That often happens, especially the scenario files in My Documents (Windows)
Re: Too much research
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.
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
I can't find research setting in the editor so not even sure how you would check.
Re: Too much research
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
Is it all scenarios?
- AlvaroSousa
- Posts: 12016
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: Too much research
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.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: Too much research
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 ?
Don't know what to do next ?
- AlvaroSousa
- Posts: 12016
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: Too much research
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: Too much research
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.
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.