PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.25k stars 660 forks source link

[ERROR] Pocketmine API error #279

Closed sigbinium closed 11 years ago

sigbinium commented 11 years ago

What error is this pertaining to? The configs? or world? Last time I started the server, it had no such error.

sigbinium commented 11 years ago

Its just before the line where it says [INFO] Map: HAGGA (rofl) ;3

shoghicp commented 11 years ago

If you paste the error I can do something...

sigbinium commented 11 years ago

18:25:12 [INFO] Starting ServerAPI server handler... 18:25:12 [DEBUG] Loading server.properties... 18:25:12 [INFO] PocketMine-MP Alpha_1.2.2 #578 by @shoghicp, LGPL License 18:25:12 [INFO] Target Minecraft PE: v0.6.1 alpha, protocol #9 18:25:12 [INFO] Starting Minecraft PE Server at 0.0.0.0:19132 18:25:12 [INFO] Loading database... 18:25:12 [INFO] Server Name: Minecraft Server 18:25:12 [INFO] [UPnP] Trying to port forward... 18:25:12 [INFO] Checking for new server version 18:25:12 [INFO] Last check: 2013-05-22 16:29:17 18:25:12 [ERROR] PocketMine API error 18:25:12 [INFO] Map: survival 18:25:12 [INFO] Spawn: X 110 Y 64 Z 119 18:25:12 [INFO] Time: 338846 18:25:12 [INFO] Seed: 1357706571 18:25:12 [INFO] Gamemode: survival 18:25:12 [INFO] Difficulty: easy 18:25:12 [INFO] Loading map... 18:25:13 [INFO] Loading default APIs 18:25:13 [INFO] API console [ConsoleAPI] loaded 18:25:13 [INFO] API level [LevelAPI] loaded 18:25:13 [INFO] API block [BlockAPI] loaded 18:25:13 [INFO] API chat [ChatAPI] loaded 18:25:13 [INFO] API ban [BanAPI] loaded 18:25:13 [INFO] API entity [EntityAPI] loaded 18:25:13 [INFO] API tileentity [TileEntityAPI] loaded 18:25:13 [INFO] API player [PlayerAPI] loaded 18:25:13 [INFO] API time [TimeAPI] loaded 18:25:13 [INFO] Loading authentication lists... 18:25:13 [INFO] API plugin [PluginAPI] loaded 18:25:13 [INFO] Loading Plugins... 18:25:13 [INFO] [PluginAPI] Loading plugin "ChestShop" 1.3 #4 by MinecrafterJPN 18:25:13 [INFO] [PluginAPI] Loading plugin "PocketJobs" 1.1 #4 by MinecrafterJPN 18:25:13 [INFO] [PluginAPI] Loading plugin "PocketMoney" 1.3 #4 by MinecrafterJPN 18:25:13 [INFO] Loading entities... 18:25:13 [INFO] Loading events... 18:25:13 [INFO] Server started! 18:27:18 [INFO] Player "Steve" connected from 192.168.1.105:36749 18:27:18 [CHAT] [PocketMoney]Steve has been registered.

Well. Uhm, with my insufficient knowledge for this type of stuff, this was the only thing I could find in the logs.

Oh btw, is there a way to set a player spawn point correctly?

And the world name really is survival :P

shoghicp commented 11 years ago

Oh, don't worry. That is not an important error. It refers to the Web API

sigbinium commented 11 years ago

Thank you for your fast replies sir! :P Looking forward to the next update. Caaaaaan't wait. Haha

DeDannyHD commented 11 years ago

I need help mine would say [ERROR] A level 2 error happened: "socket_bind(): Host lookup failed [11004]: The " in "C:\User\luna\Downloads\PocketMine-MPRT\src\network\UDPSocket.php" at line 41 [ERROR] Couldn't bind to 609.92.87.625:19133

Please Help,

ekorocks360 commented 11 years ago

Leave the server ip part blank

TobyForbes commented 10 years ago

I got this error... [PocketMine] Server is starting... [PocketMine] Server was started. [Server] 15:32:45 [NOTICE] PocketMine-MP hasn't been tested with PHP >= 5.5 [PocketMine] Server was stopped.

lesander commented 10 years ago

Make a separate issue for each error guys, this issue has been solved. Don't hijack it with something different.

StringerJ commented 8 years ago

Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 150994944 bytes) File: /src/pocketmine/Server Line: 1644 Type: E_ERROR

Code: [1635] Server::$sleeper->wait($ms); [1636] }, $microseconds); [1637] } [1638] [1639] public function getExpectedExperience($level){ [1640] if(isset($this->expCache[$level])) return $this->expCache[$level]; [1641] $levelSquared = $level * 2; [1642] if($level < 16) $this->expCache[$level] = $levelSquared + 6 * $level; [1643] elseif($level < 31) $this->expCache[$level] = 2.5 * $levelSquared - 40.5 * $level + 360; [1644] else $this->expCache[$level] = 4.5 * $levelSquared - 162.5 \ $level + 2220; [1645] return $this->expCache[$level]; [1646] } [1647] [1648] public function about(){ [1649] $this->logger->info($this->aboutstring); [1650] } [1651] [1652] public function loadAdvancedConfig(){ [1653] $this->playerMsgType = $this->getAdvancedProperty("server.player-msg-type", self::PLAYER_MSG_TYPE_MESSAGE); [1654] $this->playerLoginMsg = $this->getAdvancedProperty("server.login-msg", "§3@player joined the game");

Backtrace:

0 (): pocketmine\Server->crashDump(boolean)

Genisys version: 1.2dev #607 [Protocol 81; API 2.0.0] uname -a: Linux ca4.server.pro 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7 11:35:27 CET 2015 x86_64 PHP version: 7.0.2 Zend version: 3.0.0 OS : Linux, linux

Server uptime: 11 hours 25 minutes 58 seconds Number of loaded worlds: 3 Players online: 0/10

Loaded plugins: ManyWorlds 2.1.0 by aliuly for API(s) 2.0.0 SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0 PlayerStats 0.1.0 by ImagicalGamer for API(s) 1.0.0, 2.0.0, 3.0.0 CTF_DODO 1.1.0 by KaitoDoDo for API(s) 1.0.0, 1.1.0, 2.0.0 Lightning_Strike 2 by MichaelM04 for API(s) 1.0.0, 2.0.0 PerWorldAlerts 1.1 by EvolSoft for API(s) 1.9.0 iControlU 1.3 by Falkirks for API(s) 1.6.0 Slapper 1.2.9.6 by jojoe77777 for API(s) 2.0.0 mcg76_TNTRun 1.6.0 by minecraftgenius76 for API(s) 1.12.0 superBAR 1.5.0 by FaigerSYS for API(s) 1.13.0, 2.0.0 1vs1 0.0.5 by for API(s) 1.0.0, 1.1.0 SkyWarsDoDo 1.0.0 ReloadedENGLISH by KaitoDoDo for API(s) 1.0.0, 1.1.0, 2.0.0 Pundler 1.4.3 by MinecrafterJPN for API(s) 1.10.0 BlockBoost 1.0.0 by for API(s) 1.13.0 MicroBattles 2.3.0 by KaitoDoDo+LittleBigMC for API(s) 1.0.0, 2.0.0 FactionsPro 1.3.2 by Tethered for API(s) 1.12.0 MineReset 2.1 by Falk for API(s) 1.0.0 FSurvivalGame 1.0.3(Translated by Anie) by FENGberd for API(s) 1.0.0 WorldEdit 2.0.0 TRANSLATE BY ZIKEN by ikenusi, hmy2001(Plug- source reference) for API(s) 1.13.0 essentialsTP 1.1.0 by for API(s) 1.12.0 ChatDefender 1.1.1 by Falkirks for API(s) 1.6.0 JoinPopup-NoMessage 1.0.0 by for API(s) 1.14.0, 2.0.0 BuyCraft 1.2.2 by Falkirks for API(s) 1.0.0 CustomAlerts 1.6 by EvolSoft for API(s) 1.12.0 TapToDo-LEET.CC 1.0.0 by Falk, 64FF00 for API(s) 1.0.0 StaffList 3 by Array for API(s) 1.10.0 NoAdvertisingPE 1.0.1 by Vaivez66 for API(s) 1.12.0 EconomyAPI 2.0.9 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 WorldProtect 2.2.0 by aliuly for API(s) 1.10.0, 1.12.0 InfiniteSlots 1 by DRedDogPE for API(s) 1.12.0 SimpleAuthHelper 2.0.4 by aliuly for API(s) 1.12.0 KillChat 1.0.2.MOD by Array for API(s) 1.9.0, 2.0.0 PerWorldChat 1.3 by EvolSoft for API(s) 1.10.0 iProtector 3.1b by LDX for API(s) 1.9.0, 2.0.0 BetterRaw 2.0BUILD#5 by Ad5001 for API(s) 1.14.0, 2.0.0 Healthy 1.1 by MamayAdesu for API(s) 1.12.0 WorldGM 1.1.0 by Vaivez66 for API(s) 1.12.0, 2.0.0 AdminFun 1.0.0 by hoyinm14mc for API(s) 1.12.0, 1.13.0, 2.0.0 PurePerms 1.3.7 by 64FF00 & ProjectInfinity for API(s) 1.13.0, 2.0.0 PeacefulSpawn 2.5 by LDX for API(s) 1.0.0, 2.0.0 SignWarp 1.5.1 by aliuly for API(s) 1.10.0, 1.12.0 PureChat 1.4.0 by 64FF00 for API(s) 1.13.0, 2.0.0 SimpleWarp 2.1.0 by Falkirks for API(s) 1.12.0 Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 150994944 bytes) File: /src/pocketmine/Server Line: 1644 Type: E_ERROR

Code: [1635] Server::$sleeper->wait($ms); [1636] }, $microseconds); [1637] } [1638] [1639] public function getExpectedExperience($level){ [1640] if(isset($this->expCache[$level])) return $this->expCache[$level]; [1641] $levelSquared = $level * 2; [1642] if($level < 16) $this->expCache[$level] = $levelSquared + 6 * $level; [1643] elseif($level < 31) $this->expCache[$level] = 2.5 * $levelSquared - 40.5 * $level + 360; [1644] else $this->expCache[$level] = 4.5 * $levelSquared - 162.5 \ $level + 2220; [1645] return $this->expCache[$level]; [1646] } [1647] [1648] public function about(){ [1649] $this->logger->info($this->aboutstring); [1650] } [1651] [1652] public function loadAdvancedConfig(){ [1653] $this->playerMsgType = $this->getAdvancedProperty("server.player-msg-type", self::PLAYER_MSG_TYPE_MESSAGE); [1654] $this->playerLoginMsg = $this->getAdvancedProperty("server.login-msg", "§3@player joined the game");

Backtrace:

0 (): pocketmine\Server->crashDump(boolean)

Genisys version: 1.2dev #607 [Protocol 81; API 2.0.0] uname -a: Linux ca4.server.pro 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7 11:35:27 CET 2015 x86_64 PHP version: 7.0.2 Zend version: 3.0.0 OS : Linux, linux

Server uptime: 11 hours 25 minutes 58 seconds Number of loaded worlds: 3 Players online: 0/10

Loaded plugins: ManyWorlds 2.1.0 by aliuly for API(s) 2.0.0 SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0 PlayerStats 0.1.0 by ImagicalGamer for API(s) 1.0.0, 2.0.0, 3.0.0 CTF_DODO 1.1.0 by KaitoDoDo for API(s) 1.0.0, 1.1.0, 2.0.0 Lightning_Strike 2 by MichaelM04 for API(s) 1.0.0, 2.0.0 PerWorldAlerts 1.1 by EvolSoft for API(s) 1.9.0 iControlU 1.3 by Falkirks for API(s) 1.6.0 Slapper 1.2.9.6 by jojoe77777 for API(s) 2.0.0 mcg76_TNTRun 1.6.0 by minecraftgenius76 for API(s) 1.12.0 superBAR 1.5.0 by FaigerSYS for API(s) 1.13.0, 2.0.0 1vs1 0.0.5 by for API(s) 1.0.0, 1.1.0 SkyWarsDoDo 1.0.0 ReloadedENGLISH by KaitoDoDo for API(s) 1.0.0, 1.1.0, 2.0.0 Pundler 1.4.3 by MinecrafterJPN for API(s) 1.10.0 BlockBoost 1.0.0 by for API(s) 1.13.0 MicroBattles 2.3.0 by KaitoDoDo+LittleBigMC for API(s) 1.0.0, 2.0.0 FactionsPro 1.3.2 by Tethered for API(s) 1.12.0 MineReset 2.1 by Falk for API(s) 1.0.0 FSurvivalGame 1.0.3(Translated by Anie) by FENGberd for API(s) 1.0.0 WorldEdit 2.0.0 TRANSLATE BY ZIKEN by ikenusi, hmy2001(Plug- source reference) for API(s) 1.13.0 essentialsTP 1.1.0 by for API(s) 1.12.0 ChatDefender 1.1.1 by Falkirks for API(s) 1.6.0 JoinPopup-NoMessage 1.0.0 by for API(s) 1.14.0, 2.0.0 BuyCraft 1.2.2 by Falkirks for API(s) 1.0.0 CustomAlerts 1.6 by EvolSoft for API(s) 1.12.0 TapToDo-LEET.CC 1.0.0 by Falk, 64FF00 for API(s) 1.0.0 StaffList 3 by Array for API(s) 1.10.0 NoAdvertisingPE 1.0.1 by Vaivez66 for API(s) 1.12.0 EconomyAPI 2.0.9 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 WorldProtect 2.2.0 by aliuly for API(s) 1.10.0, 1.12.0 InfiniteSlots 1 by DRedDogPE for API(s) 1.12.0 SimpleAuthHelper 2.0.4 by aliuly for API(s) 1.12.0 KillChat 1.0.2.MOD by Array for API(s) 1.9.0, 2.0.0 PerWorldChat 1.3 by EvolSoft for API(s) 1.10.0 iProtector 3.1b by LDX for API(s) 1.9.0, 2.0.0 BetterRaw 2.0BUILD#5 by Ad5001 for API(s) 1.14.0, 2.0.0 Healthy 1.1 by MamayAdesu for API(s) 1.12.0 WorldGM 1.1.0 by Vaivez66 for API(s) 1.12.0, 2.0.0 AdminFun 1.0.0 by hoyinm14mc for API(s) 1.12.0, 1.13.0, 2.0.0 PurePerms 1.3.7 by 64FF00 & ProjectInfinity for API(s) 1.13.0, 2.0.0 PeacefulSpawn 2.5 by LDX for API(s) 1.0.0, 2.0.0 SignWarp 1.5.1 by aliuly for API(s) 1.10.0, 1.12.0 PureChat 1.4.0 by 64FF00 for API(s) 1.13.0, 2.0.0 SimpleWarp 2.1.0 by Falkirks for API(s) 1.12.0