hebbinkpro / pocketmap Goto Github PK
View Code? Open in Web Editor NEWA dynamic map plugin for PocketMine-MP
License: GNU General Public License v3.0
A dynamic map plugin for PocketMine-MP
License: GNU General Public License v3.0
Hello
The Web server crashes when trying to access with https, but the server doesn't crash just this error appear and the website cannot be accessed before a server restart.
[CRITICAL] Undefined array key "Host"
#0 phar:///home/container/plugins/PocketMap_dev-27.phar/src/Hebbinkpro/PocketMap/libs/Hebbinkpro/WebServer/http/header/HttpHeaders.php(41): pocketmine\errorhandler\ErrorToExceptionHandler::handle(2, 'Undefined array...', 'phar:///home/co...', 41)
#1 phar:///home/container/plugins/PocketMap_dev-27.phar/src/Hebbinkpro/PocketMap/libs/Hebbinkpro/WebServer/http/HttpRequest.php(54): Hebbinkpro\PocketMap\libs\Hebbinkpro\WebServer\http\header\HttpHeaders->get('Host')
#2 phar:///home/container/plugins/PocketMap_dev-27.phar/src/Hebbinkpro/PocketMap/libs/Hebbinkpro/WebServer/HttpServer.php(113): Hebbinkpro\PocketMap\libs\Hebbinkpro\WebServer\http\HttpRequest::fromString('GET / HTTP/1.1\r...')
#3 phar:///home/container/plugins/PocketMap_dev-27.phar/src/Hebbinkpro/PocketMap/libs/Hebbinkpro/WebServer/HttpServer.php(60): Hebbinkpro\PocketMap\libs\Hebbinkpro\WebServer\HttpServer->serveExistingConnections()
#4 phar:///home/container/PocketMine-MP.phar/src/thread/CommonThreadPartsTrait.php(109): Hebbinkpro\PocketMap\libs\Hebbinkpro\WebServer\HttpServer->onRun()
#5 [internal function]: pocketmine\thread\Thread->run()
TypeError: "imagecopy(): Argument #2 ($src_image) must be of type GdImage, null given" (EXCEPTION) in "/home/container/plugins/PocketMap_dev-38.phar/src/Hebbinkpro/PocketMap/render/AsyncChunkRenderTask" at line 135
--- Stack trace ---
#0 /home/container/plugins/PocketMap_dev-38.phar/src/Hebbinkpro/PocketMap/render/AsyncChunkRenderTask(135): imagecopy(object GdImage#121521, null, int 0, int 0, int 0, int 0, int 16, int 16)
#1 /home/container/plugins/PocketMap_dev-38.phar/src/Hebbinkpro/PocketMap/render/AsyncChunkRenderTask(71): Hebbinkpro\PocketMap\render\AsyncChunkRenderTask->createChunkTexture(object pocketmine\world\format\Chunk#121731, object Hebbinkpro\PocketMap\textures\TerrainTextures#17, int 16, int 16)
#2 /home/container/plugins/PocketMap_dev-38.phar/src/Hebbinkpro/PocketMap/render/AsyncRenderTask(49): Hebbinkpro\PocketMap\render\AsyncChunkRenderTask->render(object Hebbinkpro\PocketMap\region\PartialRegion#11011, object GdImage#11015)
#3 pmsrc/src/scheduler/AsyncTask(82): Hebbinkpro\PocketMap\render\AsyncRenderTask->onRun()
#4 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---
[15:11:37.102] [Server thread/CRITICAL]: pocketmine\thread\ThreadCrashException: "Worker 3 crashed while running task Hebbinkpro\PocketMap\render\AsyncChunkRenderTask#777466" (EXCEPTION) in "pmsrc/src/scheduler/AsyncPool" at line 226
--- Stack trace ---
#0 pmsrc/src/scheduler/AsyncPool(266): pocketmine\scheduler\AsyncPool->checkCrashedWorker(int 3, object Hebbinkpro\PocketMap\render\AsyncChunkRenderTask#777466)
#1 pmsrc/src/scheduler/AsyncPool(241): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 3)
#2 pmsrc/src/Server(1793): pocketmine\scheduler\AsyncPool->collectTasks()
#3 pmsrc/src/Server(1678): pocketmine\Server->tick()
#4 pmsrc/src/Server(1064): pocketmine\Server->tickProcessor()
#5 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#6 pmsrc/src/PocketMine(357): pocketmine\server()
#7 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
--- End of exception information ---
[15:11:37.102] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed.
Currently, the block render process goes like the following:
For a single chunk, this isn't so bad. But for larger worlds with more than 100 chunks, this will cause a (massive) performance decrease, because most chunks will have some of the same blocks as other chunks.
To solve this issue and make the world renderer more efficient, all blocks should be mapped to their correct modelled texture and colormaps should be applied where required, and their color calculated for each registered biome.
Player heads are not visible on the map and are replaced by the placeholder text marker
Is it possible to add support for the NetherGamesMC core?
When installing the plugin, a map rendering error occurs due to inconsistencies with the block type and problems with the void world type
Error Render:
[AsyncWorker#0 thread/CRITICAL]: ErrorException: "Undefined array key "OAK"" (EXCEPTION) in "pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/utils/block/BlockDataValues" at line 239
--- Stack trace ---
#0 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/utils/block/BlockDataValues(239): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[25] Undefined array key "OAK", string[82] /server/plugins/pocketmap/src/Hebbinkpro/PocketMap/utils/block/BlockDataValues.p, int 239)
#1 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/textures/TerrainTextures(309): Hebbinkpro\PocketMap\utils\block\BlockDataValues::getDataValue(object pocketmine\block\Wood#56)
#2 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/textures/TerrainTextures(282): Hebbinkpro\PocketMap\textures\TerrainTextures->getTextureByBlock(object pocketmine\block\Wood#56)
#3 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/utils/TextureUtils(123): Hebbinkpro\PocketMap\textures\TerrainTextures->getBlockTexturePath(object pocketmine\block\Wood#56)
#4 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/utils/TextureUtils(73): Hebbinkpro\PocketMap\utils\TextureUtils::createBlockTexture(object pocketmine\block\Wood#56, object Hebbinkpro\PocketMap\textures\model\DefaultBlockModel#81, object pocketmine\world\format\Chunk#50, object Hebbinkpro\PocketMap\textures\TerrainTextures#19)
#5 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/render/AsyncChunkRenderTask(209): Hebbinkpro\PocketMap\utils\TextureUtils::getBlockTexture(object pocketmine\block\Wood#56, object pocketmine\world\format\Chunk#50, object Hebbinkpro\PocketMap\textures\TerrainTextures#19, int 16)
#6 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/render/AsyncChunkRenderTask(124): Hebbinkpro\PocketMap\render\AsyncChunkRenderTask->getBlockTexture(int 9, int 8, object pocketmine\world\format\Chunk#50, object Hebbinkpro\PocketMap\textures\TerrainTextures#19, int 16)
#7 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/render/AsyncChunkRenderTask(70): Hebbinkpro\PocketMap\render\AsyncChunkRenderTask->createChunkTexture(object pocketmine\world\format\Chunk#50, object Hebbinkpro\PocketMap\textures\TerrainTextures#19, int 16, int 16)
#8 pmsrc/plugins/pocketmap/src/Hebbinkpro/PocketMap/render/AsyncRenderTask(49): Hebbinkpro\PocketMap\render\AsyncChunkRenderTask->render(object Hebbinkpro\PocketMap\region\PartialRegion#18, object GdImage#17)
#9 pmsrc/src/scheduler/AsyncTask(82): Hebbinkpro\PocketMap\render\AsyncRenderTask->onRun()
#10 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---
Error Render Two:
Server thread/CRITICAL]: pocketmine\thread\ThreadCrashException: "Worker 0 crashed while running task Hebbinkpro\PocketMap\render\AsyncChunkRenderTask#63295" (EXCEPTION) in "pmsrc/src/scheduler/AsyncPool" at line 226
--- Stack trace ---
#0 pmsrc/src/scheduler/AsyncPool(266): pocketmine\scheduler\AsyncPool->checkCrashedWorker(int 0, object Hebbinkpro\PocketMap\render\AsyncChunkRenderTask#63295)
#1 pmsrc/src/scheduler/AsyncPool(241): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 0)
#2 pmsrc/src/Server(1820): pocketmine\scheduler\AsyncPool->collectTasks()
#3 pmsrc/src/Server(1705): pocketmine\Server->tick()
#4 pmsrc/src/Server(1090): pocketmine\Server->tickProcessor()
#5 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[8] /server/, string[16] /server/plugins/)
#6 pmsrc/src/PocketMine(357): pocketmine\server()
--- End of exception information ---
Since I installed your plugin and put all the recommended virions and they are well launched, after 1 hour of waiting to move a little everywhere on my server, no indication of player has appeared, do you have an idea or is it a bug? Thank you! (use Pocketmap 0.4.3)
The grass and foliage colors inside roofed forest (Dark Oak) biomes shown on the map are not correct and have a nearly black color.
The textures of blocks from Minecraft Education Edition are not included in the Bedrock Samples pack, so blocks like the elements, hardened glass and the lab tables will be displayed as Bedrock on the map.
Some colored blocks, like terracotta and glass, are displayed as the fallback block (Bedrock by default) on the map.
Hello
It would be great if the plugin could replace custom blocks by something like dirt block in the world render because actually it is just crashing the server
Like when it see and unknown block id replacing it by dirt or I don't know
Thank you
Hello
Concrete blocks colors are not longer loading correctly neither the barrier blocks
Thank you for your plugin
Hi, this seems like a very good plugin for my earth smp however what ports do i need to port forward (im running the server on an ubuntu oracle cloud server).
Thank you
How do I connect to the web?
Hi, I had a crash with your plugin with your version 0.5.0 of pocketmap here is the crash:
[12:34:28.508] [Server thread/INFO]: Activation de PocketMap v0.5.0
[12:34:28.523] [Server thread/CRITICAL]: ErrorException: "Function utf8_encode() is deprecated" (EXCEPTION) in "plugins/PocketMap-main/src/Hebbinkpro/PocketMap/textures/TerrainTextures" at line 146
--- Stack trace ---
#0 plugins/PocketMap-main/src/Hebbinkpro/PocketMap/textures/TerrainTextures(146): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 8192, string[36] Function utf8_encode() is deprecated, string[119] C:\Users\Matheo\Desktop\ServeurPM5 - Copie\plugins\PocketMap-main\src\Hebbinkpro, int 146)
#1 plugins/PocketMap-main/src/Hebbinkpro/PocketMap/textures/TerrainTextures(63): Hebbinkpro\PocketMap\textures\TerrainTextures->getAllResourcePacks(object pocketmine\resourcepacks\ResourcePackManager#44664, null)
#2 plugins/PocketMap-main/src/Hebbinkpro/PocketMap/PocketMap(307): Hebbinkpro\PocketMap\textures\TerrainTextures::generate(object Hebbinkpro\PocketMap\PocketMap#180256, string[80] C:/Users/Matheo/Desktop/ServeurPM5 - Copie/plugin_data/PocketMap/resource_packs/, object Hebbinkpro\PocketMap\textures\TerrainTexturesOptions#45121)
#3 plugins/PocketMap-main/src/Hebbinkpro/PocketMap/PocketMap(165): Hebbinkpro\PocketMap\PocketMap->loadTerrainTextures()
[17:26:50.356] [Server thread/CRITICAL]: ErrorException: "Undefined array key "textures"" (EXCEPTION) in "plugins/PocketMap_dev-34.phar/src/Hebbinkpro/PocketMap/textures/TerrainTextures" at line 84
--- Stack trace ---
#0 plugins/PocketMap_dev-34.phar/src/Hebbinkpro/PocketMap/textures/TerrainTextures(84): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[30] Undefined array key "textures", string[106] phar:///home/container/plugins/PocketMap_dev-34.phar/src/Hebbinkpro/PocketMap/te, int 84)
#1 plugins/PocketMap_dev-34.phar/src/Hebbinkpro/PocketMap/textures/TerrainTextures(68): Hebbinkpro\PocketMap\textures\TerrainTextures->loadFromFile()
#2 plugins/PocketMap_dev-34.phar/src/Hebbinkpro/PocketMap/textures/TerrainTextures(43): Hebbinkpro\PocketMap\textures\TerrainTextures::fromExistingTextures(string[53] /home/container/plugin_data/PocketMap/resource_packs/, object Hebbinkpro\PocketMap\textures\TerrainTexturesOptions#41884)
#3 plugins/PocketMap_dev-34.phar/src/Hebbinkpro/PocketMap/PocketMap(281): Hebbinkpro\PocketMap\textures\TerrainTextures::generate(object Hebbinkpro\PocketMap\PocketMap#42261, string[53] /home/container/plugin_data/PocketMap/resource_packs/, object Hebbinkpro\PocketMap\textures\TerrainTexturesOptions#41884)
#4 plugins/PocketMap_dev-34.phar/src/Hebbinkpro/PocketMap/PocketMap(235): Hebbinkpro\PocketMap\PocketMap->loadTerrainTextures()
#5 pmsrc/src/plugin/PluginBase(119): Hebbinkpro\PocketMap\PocketMap->onEnable()
#6 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#7 pmsrc/src/Server(1389): pocketmine\plugin\PluginManager->enablePlugin(object Hebbinkpro\PocketMap\PocketMap#42261)
#8 pmsrc/src/Server(1022): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#41730)
#9 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#10 pmsrc/src/PocketMine(357): pocketmine\server()
#11 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
--- End of exception information ---
Hello
After the latest update, this bug appeared
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: PocketMap
Thread: Main
Error: Trying to access array offset on value of type null
File: plugins/PocketMap_dev-25.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures
Line: 161
Type: ErrorException
Backtrace:
#0 plugins/PocketMap_dev-25.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures(161): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[51] Trying to access array offset on value of type null, string[113] phar:///home/container/plugins/PocketMap_dev-25.phar/src/Hebbinkpro/PocketMap/te, int 161)
#1 plugins/PocketMap_dev-25.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures(85): Hebbinkpro\PocketMap\terrainTextures\TerrainTextures::extractResourcePack(object pocketmine\resourcepacks\ZippedResourcePack#44114, string[53] /home/container/plugin_data/PocketMap/resource_packs/, null)
#2 plugins/PocketMap_dev-25.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures(34): Hebbinkpro\PocketMap\terrainTextures\TerrainTextures::extractResourcePacks(string[53] /home/container/plugin_data/PocketMap/resource_packs/, object pocketmine\resourcepacks\ResourcePackManager#41187, null)
#3 plugins/PocketMap_dev-25.phar/src/Hebbinkpro/PocketMap/PocketMap(281): Hebbinkpro\PocketMap\terrainTextures\TerrainTextures::generate(object Hebbinkpro\PocketMap\PocketMap#41907, string[53] /home/container/plugin_data/PocketMap/resource_packs/, object Hebbinkpro\PocketMap\terrainTextures\TerrainTexturesOptions#42150)
#4 plugins/PocketMap_dev-25.phar/src/Hebbinkpro/PocketMap/PocketMap(177): Hebbinkpro\PocketMap\PocketMap->loadTerrainTextures()
#5 pmsrc/src/plugin/PluginBase(118): Hebbinkpro\PocketMap\PocketMap->onEnable()
#6 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#7 pmsrc/src/Server(1389): pocketmine\plugin\PluginManager->enablePlugin(object Hebbinkpro\PocketMap\PocketMap#41907)
#8 pmsrc/src/Server(1022): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#41598)
#9 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#10 pmsrc/src/PocketMine(357): pocketmine\server()
#11 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
Thank you
When adding markers with a given ID, the given ID is not used and is replaced by an automaticaly generated ID.
This issue will impact the markers that are created using the /pmap marker add
commands where the id
argument is given, and markers that are created using the plugin API by third party plugins that use custom IDs.
Hello again
I'm sorry for making so much issues but my custom block from Customies are crashing the server
BAD PLUGIN: PocketMap
Thread: AsyncWorker#0
Error: No serializer registered for -----\block\Bin with type ID 30014
File: pmsrc/src/data/bedrock/block/convert/BlockObjectToStateSerializer
Line: 252
Type: pocketmine\data\bedrock\block\BlockStateSerializeException
Backtrace:
#0 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/utils/block/BlockStateParser(21): pocketmine\data\bedrock\block\convert\BlockObjectToStateSerializer->serializeBlock(object ----\block\Bin#151869)
#1 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(344): Hebbinkpro\PocketMap\utils\block\BlockStateParser::getBlockStateData(object ----\block\Bin#151869)
#2 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(197): Hebbinkpro\PocketMap\utils\TextureUtils::getBlockTextureName(object -----\block\Bin#151869)
#3 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(159): Hebbinkpro\PocketMap\utils\TextureUtils::getBlockTexture(object ----\block\Bin#151869, object Hebbinkpro\PocketMap\utils\ResourcePack#14)
#4 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(120): Hebbinkpro\PocketMap\utils\TextureUtils::createBlockTexture(object ----\block\Bin#151869, object pocketmine\world\biome\PlainBiome#151865, object Hebbinkpro\PocketMap\utils\ResourcePack#14)
#5 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(98): Hebbinkpro\PocketMap\utils\TextureUtils::createCompressedBlockTexture(object ----\block\Bin#151869, object pocketmine\world\biome\PlainBiome#151865, object Hebbinkpro\PocketMap\utils\ResourcePack#14, int 16)
#6 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(135): Hebbinkpro\PocketMap\utils\TextureUtils::createChunkTexture(object pocketmine\world\format\Chunk#124182, object Hebbinkpro\PocketMap\utils\ResourcePack#14, int 16, int 16)
#7 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(103): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->drawChunks(object Hebbinkpro\PocketMap\render\PartialRegion#15, object GdImage#18)
#8 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(80): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->renderFull(object Hebbinkpro\PocketMap\render\PartialRegion#15)
#9 /home/container/plugins/PocketMap_dev-23.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(61): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->renderPartial(object Hebbinkpro\PocketMap\render\PartialRegion#15)
#10 pmsrc/src/scheduler/AsyncTask(82): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->onRun()
#11 (): pocketmine\scheduler\AsyncTask->run()
Thank you a lot
Hello
My texture pack is still crashing the server
[10:58:51.437] [Server thread/CRITICAL]: ErrorException: "Undefined array key "texture_data"" (EXCEPTION) in "plugins/PocketMap_dev-26.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures" at line 250
--- Stack trace ---
#0 plugins/PocketMap_dev-26.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures(250): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[34] Undefined array key "texture_data", string[113] phar:///home/container/plugins/PocketMap_dev-26.phar/src/Hebbinkpro/PocketMap/te, int 250)
#1 plugins/PocketMap_dev-26.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures(208): Hebbinkpro\PocketMap\terrainTextures\TerrainTextures::getResourcePackBlockIndex(string[90] /home/container/plugin_data/PocketMap/resource_packs/31589455-80ba-42e2-a806-102)
#2 plugins/PocketMap_dev-26.phar/src/Hebbinkpro/PocketMap/terrainTextures/TerrainTextures(36): Hebbinkpro\PocketMap\terrainTextures\TerrainTextures::indexBlocks(string[53] /home/container/plugin_data/PocketMap/resource_packs/, array[1], null)
#3 plugins/PocketMap_dev-26.phar/src/Hebbinkpro/PocketMap/PocketMap(281): Hebbinkpro\PocketMap\terrainTextures\TerrainTextures::generate(object Hebbinkpro\PocketMap\PocketMaphttps://github.com/Hebbinkpro/PocketMap/issues/42130, string[53] /home/container/plugin_data/PocketMap/resource_packs/, object Hebbinkpro\PocketMap\terrainTextures\TerrainTexturesOptions#41788)
#4 plugins/PocketMap_dev-26.phar/src/Hebbinkpro/PocketMap/PocketMap(177): Hebbinkpro\PocketMap\PocketMap->loadTerrainTextures()
#5 pmsrc/src/plugin/PluginBase(118): Hebbinkpro\PocketMap\PocketMap->onEnable()
#6 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#7 pmsrc/src/Server(1389): pocketmine\plugin\PluginManager->enablePlugin(object Hebbinkpro\PocketMap\PocketMap#42130)
#8 pmsrc/src/Server(1022): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#41606)
#9 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#10 pmsrc/src/PocketMine(357): pocketmine\server()
#11 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
--- End of exception information ---
Hello
A new bug is occurring on the servers running under Pterodactyl Panel environment
The worlds are successfully rendered, but the image cannot be accessed by the browser and the image files are returning a 404 File not found error. I tried this in 2 different servers from different host and 3 different browsers, and it is doing the same thing.
And I check in the render and this files exist. I think that maybe the file location is rong or that the api have a bug.
Thank you for your plugin.
Hi sorry for the bobardment of questions, however have you made any or is there any pocketmine plugins like towny which has towns show up on the map, if not is there a factions/towns/nations plugin in general you recommend (It doesnt have to show up on pocketmap) ?
Because of a decision I made, snow layers, carpets and other flowable blocks that have normal top surfaces don't render.
I'm currently working on a better way to remove or render blocks with cross models (like tall grass, flowers, etc).
During a (full world) render, it is possible for this crash to pop-up.
This probably happens because of a memory leak caused by not deleting stored chunk data and/or render images in memory after a render is finished.
I'm working on a fix, but until then it's safe to restart your server after the crash.
Crash Info for context:
Thread: AsyncWorker#0
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24576 bytes)
File: plugins/PocketMap/src/Hebbinkpro/PocketMap/render/RegionChunks
Line: 126
Type: E_ERROR
Backtrace:
#0 pmsrc/src/thread/CommonThreadPartsTrait(133): pocketmine\thread\ThreadCrashInfo::fromLastErrorInfo(array[4], string[13] AsyncWorker#0)
#1 (): pocketmine\thread\Worker->pocketmine\thread\{closure}()
#2 pmsrc/src/thread/CommonThreadPartsTrait(150): pmmp\thread\ThreadSafe->synchronized(object Closure#116233)
#3 (): pocketmine\thread\Worker->onShutdown()
Hello,
The plugin is currently crashing after latest pocketmine update
[06:51:20.354] [Server thread/CRITICAL]: Error: "Undefined constant pocketmine\data\bedrock\block\BlockTypeNames::CONCRETE_POWDER" (EXCEPTION) in "plugins/PocketMap_dev-31.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils" at line 237
--- Stack trace ---
#0 plugins/PocketMap_dev-31.phar/src/Hebbinkpro/PocketMap/textures/TerrainTexturesOptions(20): Hebbinkpro\PocketMap\utils\TextureUtils::getBlockTextureName(object pocketmine\block\Bedrock#41733)
#1 plugins/PocketMap_dev-31.phar/src/Hebbinkpro/PocketMap/PocketMap(273): Hebbinkpro\PocketMap\textures\TerrainTexturesOptions->__construct(object pocketmine\block\Bedrock#41733, int 0, int 3)
#2 plugins/PocketMap_dev-31.phar/src/Hebbinkpro/PocketMap/PocketMap(175): Hebbinkpro\PocketMap\PocketMap->loadTerrainTextures()
#3 pmsrc/src/plugin/PluginBase(119): Hebbinkpro\PocketMap\PocketMap->onEnable()
#4 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#5 pmsrc/src/Server(1389): pocketmine\plugin\PluginManager->enablePlugin(object Hebbinkpro\PocketMap\PocketMap#42057)
#6 pmsrc/src/Server(1022): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#41730)
#7 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#8 pmsrc/src/PocketMine(357): pocketmine\server()
#9 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
Thank you
PocketMine-MP Crash Dump Thu Jul 11 17:07:08 UTC 2024
PocketMine-MP version: 5.17.0 [Protocol 686]
Git commit: 37bf4bc0b0c095758c8ee09e5681a369396da7ce
PHP version: 8.2.17
OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN
Thread: Main
Error: CortexPE\Commando\BaseSubCommand::__construct(): Argument #1 ($name) must be of type string, Hebbinkpro\PocketMap\PocketMap given, called in /home/container/plugins/PocketMap-main/src/Hebbinkpro/PocketMap/commands/PocketMapCommand.php on line 50
File: /home/container/virions/Commando-bc68c93d91f0099e1d8ae724e133b42f3dac36cb/src/CortexPE/Commando/BaseSubCommand
Line: 60
Type: TypeError
Backtrace:
#0 plugins/PocketMap-main/src/Hebbinkpro/PocketMap/commands/PocketMapCommand(50): CortexPE\Commando\BaseSubCommand->__construct(object Hebbinkpro\PocketMap\PocketMap#50673, string[4] help, string[26] Get a list of all commands, array[1])
#1 /home/container/virions/Commando-bc68c93d91f0099e1d8ae724e133b42f3dac36cb/src/CortexPE/Commando/BaseCommand(89): Hebbinkpro\PocketMap\commands\PocketMapCommand->prepare()
#2 plugins/PocketMap-main/src/Hebbinkpro/PocketMap/PocketMap(188): CortexPE\Commando\BaseCommand->__construct(object Hebbinkpro\PocketMap\PocketMap#50673, string[9] pocketmap, string[17] PocketMap command, array[1])
#3 pmsrc/src/plugin/PluginBase(119): Hebbinkpro\PocketMap\PocketMap->onEnable()
#4 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#5 pmsrc/src/Server(1404): pocketmine\plugin\PluginManager->enablePlugin(object Hebbinkpro\PocketMap\PocketMap#50673)
#6 pmsrc/src/Server(1024): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#50217)
#7 pmsrc/src/PocketMine(355): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#2, string[16] /home/container/, string[24] /home/container/plugins/)
#8 pmsrc/src/PocketMine(378): pocketmine\server()
#9 /home/container/PocketMine-MP.phar(168): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMP1hBVuH.tar/src/PocketMine.php)
Code:
[51] /** @var string[] /
[52] private array $permissions = [];
[53] /* @var CommandSender /
[54] protected CommandSender $currentSender;
[55] /* @var BaseCommand /
[56] protected BaseCommand $parent;
[57] /* @var BaseConstraint[] */
[58] private array $constraints = [];
[59]
[60] public function __construct(string $name, string $description = "", array $aliases = []) {
[61] $this->name = $name;
[62] $this->description = $description;
[63] $this->aliases = $aliases;
[64]
[65] $this->prepare();
[66]
[67] $this->usageMessage = $this->generateUsageMessage();
[68] }
[69]
[70] abstract public function onRun(CommandSender $sender, string $aliasUsed, array $args): void;
Hello
When I have concrete in my map the server crashes for :
ErrorException: "Undefined array key "white_concrete"" (EXCEPTION) in "/home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils" at line 201
--- Stack trace ---
#0 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(201): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[36] Undefined array key "white_concrete", string[100] phar:///home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/ut, int 201)
#1 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(154): Hebbinkpro\PocketMap\utils\TextureUtils::getBlockTexture(object pocketmine\block\Concrete#84218, object Hebbinkpro\PocketMap\utils\ResourcePack#10895)
#2 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(116): Hebbinkpro\PocketMap\utils\TextureUtils::createBlockTexture(object pocketmine\block\Concrete#84218, object pocketmine\world\biome\PlainBiome#151618, object Hebbinkpro\PocketMap\utils\ResourcePack#10895)
#3 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils(94): Hebbinkpro\PocketMap\utils\TextureUtils::createCompressedBlockTexture(object pocketmine\block\Concrete#84218, object pocketmine\world\biome\PlainBiome#151618, object Hebbinkpro\PocketMap\utils\ResourcePack#10895, int 2)
#4 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(135): Hebbinkpro\PocketMap\utils\TextureUtils::createChunkTexture(object pocketmine\world\format\Chunk#105010, object Hebbinkpro\PocketMap\utils\ResourcePack#10895, int 16, int 2)
#5 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(103): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->drawChunks(object Hebbinkpro\PocketMap\render\PartialRegion#10886, object GdImage#10893)
#6 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(80): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->renderFull(object Hebbinkpro\PocketMap\render\PartialRegion#10886)
#7 /home/container/plugins/PocketMap_dev-18.phar/src/Hebbinkpro/PocketMap/task/AsyncRegionRenderTask(61): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->renderPartial(object Hebbinkpro\PocketMap\render\PartialRegion#10886)
#8 pmsrc/src/scheduler/AsyncTask(84): Hebbinkpro\PocketMap\task\AsyncRegionRenderTask->onRun()
#9 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---
[07:36:50.348] [Server thread/CRITICAL]: RuntimeException: "Worker 1 crashed while running task Hebbinkpro\PocketMap\task\AsyncRegionRenderTask#4940173" (EXCEPTION) in "pmsrc/src/scheduler/AsyncPool" at line 223
--- Stack trace ---
#0 pmsrc/src/scheduler/AsyncPool(260): pocketmine\scheduler\AsyncPool->checkCrashedWorker(int 1, object Hebbinkpro\PocketMap\task\AsyncRegionRenderTask#4940173)
#1 pmsrc/src/scheduler/AsyncPool(235): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 1)
#2 pmsrc/src/Server(1786): pocketmine\scheduler\AsyncPool->collectTasks()
#3 pmsrc/src/Server(1671): pocketmine\Server->tick()
#4 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#5 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#6 pmsrc/src/PocketMine(357): pocketmine\server()
#7 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
--- End of exception information ---
Thank you
Rover17
Fixed first issue
PocketMap cannot register custom blocks
I now this issue is not fixable but it would be great if I could use it with Customies
Hello again
Each time I'm trying to do the render of my world, my server crashes for this reason:
Error: pocketmine\world\format\Chunk::getBlockStateId(): Argument #2 ($y) must be of type int, null given, called in phar:///home/container/plugins/PocketMap_dev-22.phar/src/Hebbinkpro/PocketMap/utils/TextureUtils.php on line 83
File: pmsrc/src/world/format/Chunk
Line: 98
Type: TypeError
Thank you for your plugin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.