Auch in diesem Thread geht es wieder um einen Teil des Bot Mods für die 1.7
Derzeit versuche ich diesen in die 1.8git einzubauen, mein problem ist folgendes:
This thread is about the bot mod for the 1.7
Currently Iam trying to recode this Mod for the 1.8git, my problem is the following:
Display All
Die funktion in der dieser fehler auftritt ist folgende:
The function that the error occoures is:
Meine derzeitige class.bot.php hänge ich an da es zu viel code für ein posting ist.
Ich weiß auch das in der class.PlanetRessUpdate.php eine funktion vorhanden ist die für genau diesen aufruf zuständig ist, doch wie ich diese zu 100% korrekt bedienen soll weiß ich noch nicht.
I attach my current class.bot.php because there is too much code for a posting.
I also know that in class.PlanetRessUpdate.php a function is available
that is responsible for exactly this call, but how I use this to 100%
correct I do not know yet.
Ich bin für jede hilfe und jeden Hinweis dankbar!
Thx for any help
Derzeit versuche ich diesen in die 1.8git einzubauen, mein problem ist folgendes:
This thread is about the bot mod for the 1.7
Currently Iam trying to recode this Mod for the 1.8git, my problem is the following:
Source Code: error.log
- [12-May-2018 16:44:10] NOTICE: "Undefined index: b_hangar_id"
- File: /var/www/html/game/includes/classes/class.PlanetRessUpdate.php | Line: 310
- URL: https://www.gamercircle.de/game/cronjob.php?cronjobID=10 | Version: 1.8.git
- Stack trace:
- #0 /includes/classes/class.PlanetRessUpdate.php(310): errorHandler(8, 'Undefined index...', '/var/www/html/g...', 310, Array)
- #1 /includes/classes/class.PlanetRessUpdate.php(104): ResourceUpdate->ShipyardQueue()
- #2 /includes/classes/class.bot.php(380): ResourceUpdate->CalcResource(Array, Array)
- #3 /includes/classes/class.bot.php(248): Bot->Play()
- #4 /includes/classes/class.bot.php(264): Bot::playBot(Array)
- #5 /includes/classes/cronjob/BotCronjob.class.php(13): Bot::getBots()
- #6 /includes/classes/Cronjob.class.php(57): BotCronjob->run()
- #7 /cronjob.php(54): Cronjob::execute(10)
- #8 {main}
Die funktion in der dieser fehler auftritt ist folgende:
The function that the error occoures is:
Meine derzeitige class.bot.php hänge ich an da es zu viel code für ein posting ist.
Ich weiß auch das in der class.PlanetRessUpdate.php eine funktion vorhanden ist die für genau diesen aufruf zuständig ist, doch wie ich diese zu 100% korrekt bedienen soll weiß ich noch nicht.
I attach my current class.bot.php because there is too much code for a posting.
I also know that in class.PlanetRessUpdate.php a function is available
that is responsible for exactly this call, but how I use this to 100%
correct I do not know yet.
Ich bin für jede hilfe und jeden Hinweis dankbar!
Thx for any help
The post was edited 1 time, last by TheAlex ().