menu
#2387711 Call to undefined function Cinematic\imagecreatetruecolor()

Submitted by PocketMine-MP 3.8.1

General information

Version: 3.8.1
Git commit: 7521160f
Plugin involvement: Direct
Report date: 2019-05-15 20:48:31 +0000 UTC

System Information

PHP version: 7.2.13
Operating system: win
System banner: Windows NT DESKTOP-PMC7MFI 10.0 build 17763 (Windows 10) AMD64

Error information

Warning: the Cinematic plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined function Cinematic\imagecreatetruecolor()
File: plugins/Cinematic/src/Cinematic/ShowTask
Line: #22
Error level: Error
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
public function __construct($plugin, $p){
$this->p = $p;
$this->plugin = $plugin;
$this->num=0;
}

public function onRun(int $currentTick) : void{
$p=$this->p;
$pl=$this->plugin;
$image = imagecreatetruecolor(128, 128);
if(is_resource($image)){
$this->createPicture($image, $p);
$block = $this->getServer()->getDefaultLevel()->getTile(new Vector3(255,40,254));
if($block instanceof ItemFrame){
$colors = $this->toABGRArray($image);
$map = new ImageMap();
$block->setItem($map);
$mid = $map->getMapId();
$this->mid[$p->getName()] = $mid;
$this->bytes[$p->getName()] = $colors;
#0 src/pocketmine/scheduler/TaskHandler(159): Cinematic\ShowTask->onRun(integer 557)
#1 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 557)
#2 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 557)
#3 src/pocketmine/Server(2559): pocketmine\plugin\PluginManager->tickSchedulers(integer 557)
#4 src/pocketmine/Server(2335): pocketmine\Server->tick()
#5 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1775): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(258): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\gapri\OneDrive\Desktop\..........\Murat\Sandstone 1.9\, string C:\Users\gapri\OneDrive\Desktop\..........\Murat\Sandstone 1.9\plugins\)
#8 (1): require(string phar://C:/Users/gapri/OneDrive/Desktop/........../Murat/Sandstone 1.9/Sandstone.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show