Muirfield / pocketmine-plugins

Repository for my PocketMine plugins
GNU General Public License v2.0
86 stars 78 forks source link

PHP 7 support needed #91

Open ManagedMango opened 8 years ago

ManagedMango commented 8 years ago

Is it possible to update your plug-in so it will work in PHP 7

ghost commented 8 years ago

Some of them. Just change the api to 2.0.0

xXMarlonJrXx commented 8 years ago

Thats my problem too

Bidou0418 commented 8 years ago

is this guy dead?

StupidQuestionsGuy commented 8 years ago

hes really active but he doesnt talk

Landy005 commented 8 years ago

rip

AndroidHackPro commented 8 years ago

@imjayl Here is my problem, how I update to 2.0.0?

Genisys Crash Dump Mon Jul 11 16:22:28 PDT 2016

Error: Cannot use pocketmine\nbt\tag\String as String because 'String' is a special class name File: /LiveSigns_v1.2.1.phar/src/aliuly/livesigns/TileUpdTask Line: 10 Type: E_COMPILE_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN : LiveSigns v1.2.1

Code: [1] <?php [2] namespace aliuly\livesigns; [3] [4] use pocketmine\scheduler\PluginTask; [5] use pocketmine\plugin\Plugin; [6] use pocketmine\tile\Sign; [7] use pocketmine\network\protocol\TileEntityDataPacket; [8] use pocketmine\nbt\NBT; [9] use pocketmine\nbt\tag\Compound; [10] use pocketmine\nbt\tag\String; [11] [12] class TileUpdTask extends PluginTask{ [13] /* [14] * @param Plugin $owner [15] / [16] public function construct(Plugin $owner){ [17] parent::construct($owner); [18] } [19] public function onRun($currentTicks){ [20] $this->getOwner()->updateVars();

Backtrace:

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

Genisys version: 1.2dev #621 [Protocol 81; API 2.0.0] uname -a: Linux mcpe1.netherbox.com 2.6.32-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64 PHP version: 7.0.3 Zend version: 3.0.0 OS : Linux, linux

Server uptime: 2 seconds Number of loaded worlds: 2 Players online: 0/100

HimbeersaftLP commented 8 years ago

LiveSigns isn't php7 even updating the API won't work for it...

SleepSpace9 commented 8 years ago

There's a pending PullRequest (https://github.com/Muirfield/pocketmine-plugins/pull/102) for LiveSigns which is working for me.