Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler in deiner software #2

Closed
Lyonbln opened this issue May 13, 2020 · 7 comments
Closed

Fehler in deiner software #2

Lyonbln opened this issue May 13, 2020 · 7 comments

Comments

@Lyonbln
Copy link

Lyonbln commented May 13, 2020

lässt man 2 Forschungen zur gleichen zeit laufen, eine abgeschlossen ist hat man folgende fehlermeldung: https://prnt.sc/sg787c ist ein screen, siehe Message: Undefined index: laboratory_inter
File: /includes/classes/class.BuildFunctions.php
Line: 210
URL: https://uni2.jango-online.de/game.php
PHP-Version: 7.2.24-0ubuntu0.18.04.4
PHP-API: fpm-fcgi
2Moons Version: 1.0.git
Debug Backtrace:
#0 /includes/classes/class.BuildFunctions.php(210): errorHandler(8, 'Undefined index...', 'FILEPATH ...', 210, Array)
#1 /includes/classes/class.PlanetRessUpdate.php(714): BuildFunctions::getBuildingTime(Array, Array, 113, Array)
#2 /includes/classes/class.PlanetRessUpdate.php(637): ResourceUpdate->SetNextQueueTechOnTop()
#3 /includes/classes/class.PlanetRessUpdate.php(117): ResourceUpdate->ResearchQueue()
#4 /includes/pages/game/AbstractGamePage.class.php(42): ResourceUpdate->CalcResource()
#5 /includes/pages/game/ShowOverviewPage.class.php(24): AbstractGamePage->__construct()
#6 /game.php(43): ShowOverviewPage->__construct()
#7 {main}

@Yaro2709
Copy link
Owner

  1. Строка в General.php
    $reslist['lab'] = array(916,31);

@Lyonbln
Copy link
Author

Lyonbln commented May 13, 2020

Ты имеешь в виду general.php? Где бы это было?

@Lyonbln
Copy link
Author

Lyonbln commented May 13, 2020

Da ist $reslist['lab'] = array(916,913); //единицы, которые объединяются в сеть drin also unten drunter dann 916,13 einfügen oder was?

@Lyonbln
Copy link
Author

Lyonbln commented May 13, 2020

neuer Fehler :-( Message: Undefined offset: 13
File: /includes/classes/class.PlanetRessUpdate.php
Line: 230
URL: https://uni2.jango-online.de/game.php
PHP-Version: 7.2.24-0ubuntu0.18.04.4
PHP-API: fpm-fcgi
2Moons Version: 1.0.git
Debug Backtrace:
#0 /includes/classes/class.PlanetRessUpdate.php(230): errorHandler(8, 'Undefined offse...', 'FILEPATH ...', 230, Array)
#1 /includes/classes/class.PlanetRessUpdate.php(708): ResourceUpdate::getNetworkLevel(Array, Array)
#2 /includes/classes/class.PlanetRessUpdate.php(637): ResourceUpdate->SetNextQueueTechOnTop()
#3 /includes/classes/class.PlanetRessUpdate.php(117): ResourceUpdate->ResearchQueue()
#4 /includes/pages/game/AbstractGamePage.class.php(42): ResourceUpdate->CalcResource()
#5 /includes/pages/game/ShowOverviewPage.class.php(24): AbstractGamePage->__construct()
#6 /game.php(43): ShowOverviewPage->__construct()
#7 {main}

@Lyonbln
Copy link
Author

Lyonbln commented May 14, 2020

Kleine Info dieser Fehler Rekonstruiert sich Folgendermaßen: Dieser Fehler entsteht dadurch, wenn man 2 Forschungsaufträge gleichzeitig ausführt, das heißt die erste Forschung wird dem entsprechenden Account nicht gutgeschrieben wenn die zweite dann starten will.

@Yaro2709
Copy link
Owner

Da ist $reslist['lab'] = array(916,913); //единицы, которые объединяются в сеть drin also unten drunter dann 916,13 einfügen oder was?

Заменить.

@Lyonbln
Copy link
Author

Lyonbln commented May 15, 2020

Ahhh Thank you. the error it fixing ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants