Make it impossible for players to get "stuck"
See original GitHub issueHello, I wanted to test with a team perso. My players go directly to their camps, next to the goalkeeper and nothing happens … the ball always goes to the bottom right side and nothing happens. What is my problem?
Thank you
Team 1
{
"name": "no",
"manager": "manager no",
"players": [
{
"name": "Rodrick Helmy",
"position": "GK",
"rating": 77,
"injured": false,
"startPOS": [
60,
0
],
"skill": {
"passing": 81,
"shooting": 68,
"tackling": 68,
"saving": 18,
"agility": 75,
"strength": 84,
"penalty_taking": 68,
"jumping": 180
},
"fitness": 100
},
{
"name": "Antwan Rousselle",
"position": "LB",
"rating": 77,
"injured": false,
"startPOS": [
30,
20
],
"skill": {
"passing": 80,
"shooting": 68,
"tackling": 68,
"saving": 16,
"agility": 74.5,
"strength": 83,
"penalty_taking": 68,
"jumping": 160
},
"fitness": 100
},
{
"name": "Malcom Haessig",
"position": "CB",
"rating": 76,
"injured": false,
"startPOS": [
50,
60
],
"skill": {
"passing": 81,
"shooting": 65,
"tackling": 68,
"saving": 19,
"agility": 75,
"strength": 82,
"penalty_taking": 65,
"jumping": 190
},
"fitness": 100
},
{
"name": "Rico Vornes",
"position": "CB",
"rating": 77,
"injured": false,
"startPOS": [
50,
20
],
"skill": {
"passing": 82,
"shooting": 65,
"tackling": 51,
"saving": 19,
"agility": 81.5,
"strength": 68,
"penalty_taking": 65,
"jumping": 190
},
"fitness": 100
},
{
"name": "Mikel Emberling",
"position": "RB",
"rating": 78,
"injured": false,
"startPOS": [
90,
20
],
"skill": {
"passing": 83,
"shooting": 68,
"tackling": 53,
"saving": 15,
"agility": 81.5,
"strength": 65,
"penalty_taking": 68,
"jumping": 150
},
"fitness": 100
},
{
"name": "Russell Walmer",
"position": "LM",
"rating": 75,
"injured": false,
"startPOS": [
30,
120
],
"skill": {
"passing": 69,
"shooting": 80,
"tackling": 50,
"saving": 17,
"agility": 68,
"strength": 80,
"penalty_taking": 80,
"jumping": 170
},
"fitness": 100
},
{
"name": "Bernardo Balent",
"position": "CAM",
"rating": 74,
"injured": false,
"startPOS": [
50,
140
],
"skill": {
"passing": 68,
"shooting": 52,
"tackling": 54,
"saving": 81,
"agility": 50,
"strength": 66,
"penalty_taking": 52,
"jumping": 181
},
"fitness": 100
},
{
"name": "Isreal Lebaugh",
"position": "CDM",
"rating": 79,
"injured": false,
"startPOS": [
50,
100
],
"skill": {
"passing": 80,
"shooting": 54,
"tackling": 82,
"saving": 15,
"agility": 59,
"strength": 82,
"penalty_taking": 54,
"jumping": 150
},
"fitness": 100
},
{
"name": "Demetrius Colom",
"position": "RM",
"rating": 79,
"injured": false,
"startPOS": [
90,
120
],
"skill": {
"passing": 81,
"shooting": 50,
"tackling": 84,
"saving": 17,
"agility": 58.5,
"strength": 80,
"penalty_taking": 50,
"jumping": 170
},
"fitness": 100
},
{
"name": "Caleb Fukui",
"position": "ST",
"rating": 79,
"injured": false,
"startPOS": [
50,
270
],
"skill": {
"passing": 83,
"shooting": 51,
"tackling": 83,
"saving": 16,
"agility": 59,
"strength": 81,
"penalty_taking": 51,
"jumping": 160
},
"fitness": 100
},
{
"name": "Romeo Pelch",
"position": "ST",
"rating": 76,
"injured": false,
"startPOS": [
50,
280
],
"skill": {
"passing": 81,
"shooting": 67,
"tackling": 68,
"saving": 17,
"agility": 74,
"strength": 82,
"penalty_taking": 67,
"jumping": 170
},
"fitness": 100
}
]
}
{
"name": "no",
"manager": "manager no2",
"players": [
{
"name": "Rory Roya",
"position": "GK",
"rating": 73,
"injured": false,
"startPOS": [
60,
0
],
"skill": {
"passing": 66,
"shooting": 50,
"tackling": 53,
"saving": 82,
"agility": 51.5,
"strength": 65,
"penalty_taking": 50,
"jumping": 182
},
"fitness": 100
},
{
"name": "Isaias Apa",
"position": "LB",
"rating": 79,
"injured": false,
"startPOS": [
30,
20
],
"skill": {
"passing": 83,
"shooting": 52,
"tackling": 83,
"saving": 15,
"agility": 60,
"strength": 80,
"penalty_taking": 52,
"jumping": 150
},
"fitness": 100
},
{
"name": "Irving Stephanie",
"position": "CB",
"rating": 79,
"injured": false,
"startPOS": [
50,
40
],
"skill": {
"passing": 83,
"shooting": 51,
"tackling": 82,
"saving": 16,
"agility": 58.5,
"strength": 81,
"penalty_taking": 51,
"jumping": 160
},
"fitness": 100
},
{
"name": "Cody Ahl",
"position": "CB",
"rating": 81,
"injured": false,
"startPOS": [
50,
20
],
"skill": {
"passing": 84,
"shooting": 52,
"tackling": 84,
"saving": 17,
"agility": 59,
"strength": 83,
"penalty_taking": 52,
"jumping": 170
},
"fitness": 100
},
{
"name": "Ivory Bornmann",
"position": "RB",
"rating": 78,
"injured": false,
"startPOS": [
90,
20
],
"skill": {
"passing": 81,
"shooting": 54,
"tackling": 80,
"saving": 16,
"agility": 58.5,
"strength": 82,
"penalty_taking": 54,
"jumping": 160
},
"fitness": 100
},
{
"name": "Freddie Basco",
"position": "LM",
"rating": 77,
"injured": false,
"startPOS": [
30,
120
],
"skill": {
"passing": 84,
"shooting": 68,
"tackling": 68,
"saving": 16,
"agility": 74.5,
"strength": 80,
"penalty_taking": 68,
"jumping": 160
},
"fitness": 100
},
{
"name": "Milton Carolina",
"position": "CAM",
"rating": 77,
"injured": false,
"startPOS": [
50,
140
],
"skill": {
"passing": 84,
"shooting": 67,
"tackling": 66,
"saving": 15,
"agility": 73,
"strength": 83,
"penalty_taking": 67,
"jumping": 150
},
"fitness": 100
},
{
"name": "Deshawn Rugama",
"position": "CDM",
"rating": 77,
"injured": false,
"startPOS": [
50,
100
],
"skill": {
"passing": 83,
"shooting": 67,
"tackling": 66,
"saving": 16,
"agility": 73,
"strength": 84,
"penalty_taking": 67,
"jumping": 160
},
"fitness": 100
},
{
"name": "Duncan Beske",
"position": "RM",
"rating": 78,
"injured": false,
"startPOS": [
90,
120
],
"skill": {
"passing": 83,
"shooting": 68,
"tackling": 66,
"saving": 17,
"agility": 75,
"strength": 84,
"penalty_taking": 68,
"jumping": 170
},
"fitness": 100
},
{
"name": "Darren Moronta",
"position": "ST",
"rating": 79,
"injured": false,
"startPOS": [
50,
280
],
"skill": {
"passing": 84,
"shooting": 67,
"tackling": 50,
"saving": 15,
"agility": 83.5,
"strength": 65,
"penalty_taking": 67,
"jumping": 150
},
"fitness": 100
},
{
"name": "Thurman Bowcock",
"position": "ST",
"rating": 75,
"injured": false,
"startPOS": [
50,
270
],
"skill": {
"passing": 65,
"shooting": 83,
"tackling": 54,
"saving": 15,
"agility": 68,
"strength": 80,
"penalty_taking": 83,
"jumping": 150
},
"fitness": 100
}
]
}

---- UPDATE ---- I had jumping below 100. I modified but it does not change anything
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (11 by maintainers)
Top Results From Across the Web
Why You Get Stuck In Games, And What You Can Do About It
We talk to developers, researchers, and psychologists about what happens when players and games collide.
Read more >Instead of flaming your teammates for being hard stuck silvers ...
Instead of flaming your teammates for being hard stuck silvers and making it impossible for you to win, play with players who match...
Read more >5 Ways How Good Players Get Stuck On The Bench - YouTube
I think this video is going to hit home for alot of student athletes struggling to find their place at not only their...
Read more >Can good players get stuck in bronze because of their inability ...
my answer is:Impossible. LOL is a team game only when you have achieved the diamond.before that,your own operate is more important.
Read more >Getting Stuck - Disco Elysium Wiki Guide - IGN
It is also possible that the player can be softlocked and unable to progress. ... First, see the How to Make Money page...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
basically, is the players get stuck I set a freekick for ‘time wasting’. I don’t like this as a long term solution, but it will make your game more playable.
We see less of the ‘stuck’ state if the pitch is larger - these are the statistics for amount of time wasting free kicks given: Time Wasting Output
Run 1 - 70 time wasting free kicks (6000 its, 6000 its) [2 - 2] pitchSize = { “pitchWidth”: 120, “pitchHeight”: 600 } Run 2 - 38 time wasting free kicks (6000 its, 6000 its) [2 - 3] pitchSize = { “pitchWidth”: 120, “pitchHeight”: 600 } Run 3 - 52 time wasting free kicks (6000 its, 6000 its) [3 - 4] pitchSize = { “pitchWidth”: 120, “pitchHeight”: 600 } Run 4 - 67 time wasting free kicks (6000 its, 6000 its) [1 - 3] pitchSize = { “pitchWidth”: 120, “pitchHeight”: 600 } Run 5 - 10 time wasting free kicks (6000 its, 6000 its) [1 - 1] pitchSize = { “pitchWidth”: 680, “pitchHeight”: 1050 } Run 6 - 11 time wasting free kicks (6000 its, 6000 its) [1 - 2] pitchSize = { “pitchWidth”: 680, “pitchHeight”: 1050 } Run 7 - 12 time wasting free kicks (6000 its, 6000 its) [2 - 3] pitchSize = { “pitchWidth”: 680, “pitchHeight”: 1050 } Run 8 - 9 time wasting free kicks (6000 its, 6000 its) [2 - 1] pitchSize = { “pitchWidth”: 680, “pitchHeight”: 1050 }
Not observed in latest commit: https://github.com/GallagherAiden/footballSimulationEngine/commit/8778c58cbc937c065ee148105b3580395e7650bb - fully removed temporary workaround from the code.
Closing for now, please reopen if the same issue occurs or open a new issue for different issues