OGSteam / mod-recycleurs

Liste les positions des recycleurs et des phalanges de votre alliance
0 stars 0 forks source link

Erreur Callback Xtense #8

Closed darknoon29 closed 1 year ago

darknoon29 commented 3 years ago

Arrive lorsque l'on n'a pas le vaisseau REC

``* CALL ERROR (recycleurs): Undefined array key "REC" Exception Stacktrace

0 D:\Wnmp\nginx-bins\default\www\ogspy\mod\recycleurs_xtense.php(82): ogspy_error_handler(2, 'Undefined array...', 'D:\Wnmp\nginx-b...', 82)

  #1 D:\Wnmp\nginx-bins\default\www\ogspy\mod\recycleurs\_xtense.php(40): recycleurs_import(Array)
  #2 D:\Wnmp\nginx-bins\default\www\ogspy\mod\xtense\includes\CallbackHandler.php(53): recycleurs_Callback->recycleurs_import(Array)
  #3 D:\Wnmp\nginx-bins\default\www\ogspy\mod\xtense\xtense.php(1306): CallbackHandler->apply()
  #4 {main}

{"type":"home updated","page":"fleet","planet":"2:135:6","calls":{"success":["flottes"],"warning":[],"error":["Recycleurs"]},"call_messages":[{"mod":"Recycleurs","message":"Undefined array key \"REC\"","type":"error"}],"execution":"1.37"}``

darknoon29 commented 1 year ago

Fix with 54f0d1d3e681642df4daf9e638ea748ea7a34d78