Expansion crashes

The next generation of server controlling with clean and powerful user interface

Moderators: oliverde8, reaby, NADEO

Post Reply
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Logs explained

Post by reaby »

Hi,

I took a look to the log files, most importantly the error log...
Since it has errorCount 15, same error can be there 15 times a row, so it looks way much more, but in reality isn't that much errors. Anyway..

From the logs I see you have custom plugin which causes most of the errors and crashes, other crashes are since:

Stuff we can't do much about:

* Connection problem ( Cannot open socket..., can't do much since basic transport can't connect to host)
* The connection to dedicated has problem (Connection interrupted while writing/reading, can't do nothing...)
* The connection to mysql server is interupted (Mysql server has gone away... can't do nothing more we do already)

Stuff we can do something:

* Numberonly login issue (trying to solve this already)
* Mapwish got null-object instead of player object..

Knockout plugin enhancements:
You shuold consider writing a forcespec helper method for your plugin to ease this problem..

Code: Select all


public function forceSpec($login, $status) {
    try {
         $this->connection->forceSpectator($login, 1);
    } catch (\Maniaplanet\DedicatedServer\Xmlrpc\UnknownPlayerException $ex) {     
          $this->console("Error while sending player to spectator,  player most likely disconnected);
          // if you have $players array, remove the player from the array (exception occurs when player disconnected at server)
          
          if (array_key_exists($login, $this->players) {
               unset($this->players[$login]);
          }
    } catch (\Exception $e) {
     // this is catched if some other error happens..
     $this->console("error while forcing spectator:" . $e->getMessage());
   }

}
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: Expansion crashes

Post by kripkee »

Thx for your help, I am still confused why this plugin was still active. I disabled it and thx for your help :3
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: Expansion crashes

Post by kripkee »

User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Expansion crashes

Post by TMarc »

Not related to the above mentioned issues, but there was another crash reported:
Response too large, Dedicated Server API (Gbx Remote) (PHP)
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Expansion crashes

Post by oliverde8 »

TMarc wrote:Not related to the above mentioned issues, but there was another crash reported:
Response too large, Dedicated Server API (Gbx Remote) (PHP)
Thanks, working on it :)
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Post Reply

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 1 guest