-
Notifications
You must be signed in to change notification settings - Fork 659
sendContents() on null in INTERACT_PACKET handler #3530
Comments
"REPORT THE DATA BELOW THIS LINE" |
Pls, give the list of all of plugins you are using, and when it's possible give tell me when this error is happened |
None. It was a clean new development version without ANY plugins.
|
As i said: i do not!
|
@thebigsmileXD how to reproduce this issue? Is this caused by kicking a player during firing an EntityDamageByEntityEvent? And the crash dump shows that there are 55 plugins used. |
Decoded crash dump: {
"time": 1443302730,
"error": {
"type": "E_ERROR",
"message": "Call to a member function sendContents() on null",
"file": "/src/pocketmine/Player__32bit",
"line": 2356
},
"plugin": false,
"code": {
"2347": "\t\t\t\t\t$ev = new EntityDamageByEntityEvent($this, $target, EntityDamageEvent::CAUSE_ENTITY_ATTACK, $damage);",
"2348": "\t\t\t\t\tif($cancelled){",
"2349": "\t\t\t\t\t\t$ev->setCancelled();",
"2350": "\t\t\t\t\t}",
"2351": "",
"2352": "\t\t\t\t\t$target->attack($ev->getFinalDamage(), $ev);",
"2353": "",
"2354": "\t\t\t\t\tif($ev->isCancelled()){",
"2355": "\t\t\t\t\t\tif($item->isTool() and $this->isSurvival()){",
"2356": "\t\t\t\t\t\t\t$this->inventory->sendContents($this);",
"2357": "\t\t\t\t\t\t}",
"2358": "\t\t\t\t\t\tbreak;",
"2359": "\t\t\t\t\t}",
"2360": "",
"2361": "\t\t\t\t\tif($item->isTool() and $this->isSurvival()){",
"2362": "\t\t\t\t\t\tif($item->useOn($target) and $item->getDamage() >= $item->getMaxDurability()){",
"2363": "\t\t\t\t\t\t\t$this->inventory->setItemInHand(Item::get(Item::AIR, 0, 1), $this);",
"2364": "\t\t\t\t\t\t}else{",
"2365": "\t\t\t\t\t\t\t$this->inventory->setItemInHand($item, $this);",
"2366": "\t\t\t\t\t\t}"
},
"trace": [
"#0 /src/pocketmine/Server__32bit(0): pocketmine\\Server->crashDump()",
"#1 /src/pocketmine/network/RakLibInterface(140): pocketmine\\Player->handleDataPacket()",
"#2 /src/raklib/server/ServerHandler__32bit(90): pocketmine\\network\\RakLibInterface->handleEncapsulated()",
"#3 /src/pocketmine/network/RakLibInterface(81): raklib\\server\\ServerHandler->handlePacket()",
"#4 /src/pocketmine/network/Network(146): pocketmine\\network\\RakLibInterface->process()",
"#5 /src/pocketmine/Server__32bit(2485): pocketmine\\network\\Network->processInterfaces()",
"#6 /src/pocketmine/Server__32bit(2300): pocketmine\\Server->tick()",
"#7 /src/pocketmine/Server__32bit(2178): pocketmine\\Server->tickProcessor()",
"#8 /src/pocketmine/Server__32bit(1778): pocketmine\\Server->start()",
"#9 /src/pocketmine/PocketMine(464): pocketmine\\Server->__construct()",
"#10 (1): ()",
"#11 (0): {main}()"
],
"general": {
"version": "1.5dev",
"build": 1262,
"protocol": 27,
"api": "1.12.0",
"git": "0000000000000000000000000000000000000000",
"raklib": "0.7.0",
"uname": "Windows NT WIN-PPP21SHRN0I 6.3 build 9200 (Windows Server 2012 R2 Standard Edition) i586",
"php": "5.6.4",
"zend": "2.6.0",
"php_os": "WINNT",
"os": "win"
},
"plugins": {
"AdvancedKits": {
"name": "AdvancedKits",
"version": 3.1,
"authors": [
"luca28pet"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "AdvancedKits\\Main",
"load": "POSTWORLD",
"website": "https://github.com/luca28pet/AdvancedKits"
},
"Alias": {
"name": "Alias",
"version": "1.2.0",
"authors": [
"ZacHack"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "Alias\\MainClass",
"load": "POSTWORLD",
"website": null
},
"AutoUpdater": {
"name": "AutoUpdater",
"version": "1.1",
"authors": [
"EvolSoft"
],
"api": [
"1.8.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "AutoUpdater\\Main",
"load": "STARTUP",
"website": "https://www.evolsoft.tk"
},
"BlockLogger": {
"name": "BlockLogger",
"version": "1.0.0",
"authors": [
"LilCrispy2o9/Angelo Vidrio"
],
"api": [
"1.10.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "BlockLogger\\Main",
"load": "POSTWORLD",
"website": null
},
"BloodFX": {
"name": "BloodFX",
"version": "1.0.2",
"authors": [
"hoyinm14mc \u0026 CyberCube-HK Team"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "hoyinm14mc\\bloodfx\\BloodFX",
"load": "POSTWORLD",
"website": null
},
"BulkCommands": {
"name": "BulkCommands",
"version": "1.0-build#007",
"authors": [
"PEMapModder"
],
"api": [
"1.6.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "pemapmodder\\bulkcommands\\BulkCommands",
"load": "POSTWORLD",
"website": "https://github.com/PEMapModder/Small-ZC-Plugins/tree/master/BulkCommands"
},
"Cameraman": {
"name": "Cameraman",
"version": "1.0",
"authors": [
"ChalkPE"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "chalk\\cameraman\\Cameraman",
"load": "POSTWORLD",
"website": "http://chalk.pe"
},
"ChestLocker": {
"name": "ChestLocker",
"version": "1.2",
"authors": [
"EvolSoft"
],
"api": [
"1.8.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "ChestLocker\\Main",
"load": "STARTUP",
"website": "https://www.evolsoft.tk"
},
"CommandSigns": {
"name": "CommandSigns",
"version": 2,
"authors": [
"Samueljh1"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "Samueljh1\\CommandSigns\\main",
"load": "POSTWORLD",
"website": null
},
"CreativeItemsPlus": {
"name": "CreativeItemsPlus",
"version": "1.0.0",
"authors": [
"MCPEPIG"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "MCPEPIG\\CreativeItemsPlus\\Main",
"load": "POSTWORLD",
"website": null
},
"DevTools": {
"name": "DevTools",
"version": "1.10.0",
"authors": [
"PocketMine Team"
],
"api": [
"1.3.1"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "DevTools\\DevTools",
"load": "STARTUP",
"website": "https://github.com/PocketMine/DevTools"
},
"EnderPearl": {
"name": "EnderPearl",
"version": "1.2.3",
"authors": [
"Yosshi999"
],
"api": [
"1.0.0",
"1.1.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "EnderPearl\\Main",
"load": "POSTWORLD",
"website": null
},
"EssentialsPE": {
"name": "EssentialsPE",
"version": "1.1.2",
"authors": [
"LegendsOfMCPE Team"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "EssentialsPE\\Loader",
"load": "POSTWORLD",
"website": "https://github.com/LegendOfMCPE/EssentialsPE"
},
"essentialsTP": {
"name": "essentialsTP",
"version": "1.1.0",
"authors": [],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "essentialsTP\\essentialsTP",
"load": "POSTWORLD",
"website": null
},
"FastTransfer": {
"name": "FastTransfer",
"version": "1.0.2",
"authors": [
"shoghicp"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "shoghicp\\FastTransfer\\FastTransfer",
"load": "STARTUP",
"website": "https://github.com/shoghicp/FastTransfer"
},
"GrabBag": {
"name": "GrabBag",
"version": "2.2.7",
"authors": [
"aliuly"
],
"api": [
"1.10.0",
"1.11.0",
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "aliuly\\grabbag\\Main",
"load": "POSTWORLD",
"website": "https://github.com/alejandroliu/pocketmine-plugins/tree/master/GrabBag"
},
"iControlU": {
"name": "iControlU",
"version": 1.3,
"authors": [
"Falkirks"
],
"api": [
"1.6.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "icontrolu\\iControlU",
"load": "POSTWORLD",
"website": null
},
"InstantBreak": {
"name": "InstantBreak",
"version": "2.1.0",
"authors": [
"kvetinac97"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "kvetinac97\\Main",
"load": "STARTUP",
"website": null
},
"iProtector": {
"name": "iProtector",
"version": "3.1a",
"authors": [
"LDX"
],
"api": [
"1.9.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "LDX\\iProtector\\Main",
"load": "POSTWORLD",
"website": "https://github.com/LDX-MCPE/iProtector"
},
"ItemSneaking": {
"name": "ItemSneaking",
"version": "1.3.0",
"authors": [
"GmWM"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "GmWM\\ItemSneaking\\Main",
"load": "POSTWORLD",
"website": null
},
"JoinCommands": {
"name": "JoinCommands",
"version": "1.4.1",
"authors": [
"PixelGuy75"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "PixelGuy75\\JoinCommands\\Main",
"load": "POSTWORLD",
"website": null
},
"ManyWorlds": {
"name": "ManyWorlds",
"version": "2.0.2",
"authors": [
"aliuly"
],
"api": [
"1.10.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "aliuly\\manyworlds\\Main",
"load": "POSTWORLD",
"website": null
},
"OneHitKill": {
"name": "OneHitKill",
"version": "1.0.1",
"authors": [
"64FF00"
],
"api": [
"1.9.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "_64FF00\\OneHitKill\\OneHitKill",
"load": "STARTUP",
"website": "https://github.com/64FF00/OneHitKill"
},
"PerWorldAlerts": {
"name": "PerWorldAlerts",
"version": "1.1",
"authors": [
"EvolSoft"
],
"api": [
"1.9.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "PerWorldAlerts\\Main",
"load": "STARTUP",
"website": "https://www.evolsoft.tk"
},
"PerWorldChat": {
"name": "PerWorldChat",
"version": "1.2",
"authors": [
"EvolSoft"
],
"api": [
"1.10.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "PerWorldChat\\Main",
"load": "STARTUP",
"website": "https://www.evolsoft.tk"
},
"PlanB": {
"name": "PlanB",
"version": "1.2.0",
"authors": [
"Gamecrafter"
],
"api": [
"1.10.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "planb\\PlanB",
"load": "POSTWORLD",
"website": "https://github.com/Gamecrafter/PocketMine-Plugins/tree/master/PlanB"
},
"PocketGuard": {
"name": "PocketGuard",
"version": "2.1.1",
"authors": [
"MinecrafterJPN"
],
"api": [
"1.10.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "MinecrafterJPN\\PocketGuard",
"load": "POSTWORLD",
"website": "https://github.com/MinecrafterJPN/PocketGuard/"
},
"PocketMoney": {
"name": "PocketMoney",
"version": "4.0.1",
"authors": [
"MinecrafterJPN",
"MinecrafterJPN"
],
"api": [
"1.10.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "PocketMoney\\PocketMoney",
"load": "POSTWORLD",
"website": "https://github.com/MinecrafterJPN/PocketMoney"
},
"Popper": {
"name": "Popper",
"version": "1.0.0",
"authors": [
"Hoyinm14mc,PatchesMCPE"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "popper\\Popper",
"load": "POSTWORLD",
"website": null
},
"PurePerms": {
"name": "PurePerms",
"version": "1.1.10",
"authors": [
"64FF00"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "_64FF00\\PurePerms\\PurePerms",
"load": "STARTUP",
"website": "https://github.com/PurePlugins/PurePerms"
},
"RealTime": {
"name": "RealTime",
"version": "2.1.1",
"authors": [
"Guillaume351"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "RealTime\\MainClass",
"load": "POSTWORLD",
"website": null
},
"ReasonWL": {
"name": "ReasonWL",
"version": 1.1,
"authors": [
"CreeperFace"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "reasonWL\\Main",
"load": "POSTWORLD",
"website": null
},
"ReportRTS": {
"name": "ReportRTS",
"version": "1.1.3",
"authors": [
"ProjectInfinity"
],
"api": [
"1.9.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "ProjectInfinity\\ReportRTS\\ReportRTS",
"load": "POSTWORLD",
"website": null
},
"ServerMail": {
"name": "ServerMail",
"version": "0.0.2",
"authors": [
"tschrock ([email protected])"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "tschrock\\ServerMail\\ServerMail",
"load": "POSTWORLD",
"website": "http://www.tschrock.net"
},
"SignModifier": {
"name": "SignModifier",
"version": "1.0.0",
"authors": [
"wolfdale"
],
"api": [
"1.3.1"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "SignModifier\\Main",
"load": "POSTWORLD",
"website": null
},
"SimpleAuth": {
"name": "SimpleAuth",
"version": "1.7.1",
"authors": [
"PocketMine Team",
"shoghicp"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "SimpleAuth\\SimpleAuth",
"load": "STARTUP",
"website": "https://github.com/PocketMine/SimpleAuth"
},
"SkinTools": {
"name": "SkinTools",
"version": 1,
"authors": [
"Samueljh1"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "Samueljh1\\SkinTools\\main",
"load": "POSTWORLD",
"website": null
},
"Slapper": {
"name": "Slapper",
"version": "1.2.5",
"authors": [
"jojoe77777"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "slapper\\main",
"load": "POSTWORLD",
"website": null
},
"Specter": {
"name": "Specter",
"version": 0.3,
"authors": [
"Falkirks"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [
"iControlU"
],
"main": "specter\\Specter",
"load": "POSTWORLD",
"website": null
},
"TimeCapsule": {
"name": "TimeCapsule",
"version": "1.1.1",
"authors": [
"Falk"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "TimeCapsule\\TimeCapsule",
"load": "POSTWORLD",
"website": null
},
"TimeCommander": {
"name": "TimeCommander",
"version": 2,
"authors": [
"LDX"
],
"api": [
"1.0.0",
"1.1.0",
"1.2.0",
"1.3.0",
"1.4.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "LDX\\TimeCommander\\Main",
"load": "POSTWORLD",
"website": null
},
"TimerBan": {
"name": "TimerBan",
"version": "2.1",
"authors": [
"onebone"
],
"api": [
"1.2.0",
"1.2.1"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "onebone\\timerban\\TimerBan",
"load": "POSTWORLD",
"website": null
},
"VoteReward": {
"name": "VoteReward",
"version": 2.1,
"authors": [
"LDX"
],
"api": [
"1.0.0",
"1.1.0",
"1.2.0",
"1.3.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "LDX\\VoteReward\\Main",
"load": "POSTWORLD",
"website": null
},
"WorldEditArt": {
"name": "WorldEditArt",
"version": "1.0.0_beta_dev_#048",
"authors": [
"PEMapModder"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "pemapmodder\\worldeditart\\WorldEditArt",
"load": "POSTWORLD",
"website": "https://github.com/PEMapModder/Small-ZC-Plugins/tree/master/WorldEditArt"
},
"WorldProtect": {
"name": "WorldProtect",
"version": "2.2.0",
"authors": [
"aliuly"
],
"api": [
"1.10.0",
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "aliuly\\worldprotect\\Main",
"load": "STARTUP",
"website": "https://github.com/alejandroliu/pocketmine-plugins/tree/master/WorldProtect"
},
"SignWarp": {
"name": "SignWarp",
"version": "1.5.1",
"authors": [
"aliuly"
],
"api": [
"1.10.0",
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [
"FastTransfer",
"WorldProtect"
],
"main": "aliuly\\signwarp\\Main",
"load": "POSTWORLD",
"website": "https://github.com/alejandroliu/pocketmine-plugins/tree/master/SignWarp"
},
"SimpleAuthHelper": {
"name": "SimpleAuthHelper",
"version": "2.0.4",
"authors": [
"aliuly"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [
"SimpleAuth"
],
"softDepends": [],
"main": "aliuly\\helper\\Main",
"load": "POSTWORLD",
"website": "https://github.com/alejandroliu/pocketmine-plugins/tree/master/SimpleAuthHelper"
},
"PureChat": {
"name": "PureChat",
"version": "1.2.6",
"authors": [
"64FF00"
],
"api": [
"1.11.0"
],
"enabled": true,
"depends": [
"PurePerms"
],
"softDepends": [
"FactionsPro"
],
"main": "_64FF00\\PureChat\\PureChat",
"load": "STARTUP",
"website": "https://github.com/PurePlugins/PureChat"
},
"SimpleWarp": {
"name": "SimpleWarp",
"version": "2.1.0",
"authors": [
"Falkirks"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [
"FastTransfer",
"SlowTransfer",
"EssentialsPE"
],
"main": "falkirks\\simplewarp\\SimpleWarp",
"load": "POSTWORLD",
"website": null
},
"AreaEffects": {
"name": "AreaEffects",
"version": "1.0.0",
"authors": [],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "thebigsmileXD\\AreaEffects\\Main",
"load": "POSTWORLD",
"website": null
},
"ChairStairsPE": {
"name": "ChairStairsPE",
"version": "0.1.0",
"authors": [
"thebigsmileXD"
],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "thebigsmileXD\\ChairStairsPE\\Main",
"load": "POSTWORLD",
"website": null
},
"ItemRiding": {
"name": "ItemRiding",
"version": "1.3.0",
"authors": [
"thebigsmileXD"
],
"api": [
"1.12.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "thebigsmileXD\\ItemRiding\\Main",
"load": "POSTWORLD",
"website": null
},
"OITCPE": {
"name": "OITCPE",
"version": "1.0.0",
"authors": [],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "thebigsmileXD\\OITCPE\\Main",
"load": "POSTWORLD",
"website": null
},
"PocketJobs": {
"name": "PocketJobs",
"version": 2,
"authors": [
"MinecrafterJPN"
],
"api": [
"1.10.0"
],
"enabled": true,
"depends": [
"PocketMoney"
],
"softDepends": [],
"main": "MinecrafterJPN\\PocketJobs",
"load": "POSTWORLD",
"website": "https://github.com/MinecrafterJPN/PocketJobs"
},
"WolvesFortress": {
"name": "WolvesFortress",
"version": "0.0.1",
"authors": [],
"api": [
"1.0.0"
],
"enabled": true,
"depends": [],
"softDepends": [],
"main": "thebigsmileXD\\WolvesFortress\\Main",
"load": "POSTWORLD",
"website": null
}
},
"parameters": [],
"server.properties": "#Properties Config file\r\n#Sat Sep 26 21:11:58 BST 2015\r\ntype=0\r\nserver-name=WolvesFortressPE\r\nserver-ip=5.175.226.133\r\nserver-port=19132\r\nmemory-limit=\r\ngamemode=0\r\nmax-players=10\r\nspawn-protection=\r\nwhite-list=0\r\nenable-query=on\r\nenable-rcon=off\r\nmotd=\u00a7l\u00a70l\u00a74l\u00a7el \u00a7bWolvesFortressPE Server \u00a70l\u00a74l\u00a7el\u00a7r\r\nannounce-player-achievements=off\r\nallow-flight=on\r\nspawn-animals=off\r\nspawn-mobs=off\r\nforce-gamemode=on\r\nhardcore=off\r\npvp=on\r\ndifficulty=1\r\ngenerator-settings=2;7,62x3,2;1\r\nlevel-name=Spawnwelt\r\nlevel-seed=\r\nlevel-type=FLAT\r\nrcon.password=******\nauto-save=on\r\n",
"pocketmine.yml": "# Main configuration file for PocketMine-MP\n# These settings are the ones that cannot be included in server.properties\n# Some of these settings are safe, others can break your server if modified incorrectly\n# New settings/defaults won't appear automatically on this file when upgrading.\n\nsettings:\n #Three-letter language code for server-side localization\n #Check your language code on https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes\n language: \"deu\"\n #Whether to send all strings translated to server locale or let the device handle them\n force-language: true\n shutdown-message: \"\u00a74\u2764 \u00a7bWir sind gleich zur\u00fcck! \u00a74\u2764\u00a7r\\nDanke f\u00fcr dein Verst\u00e4ndnis!\"\n #Allow listing plugins via Query\n query-plugins: true\n #Show a console message when a plugin uses deprecated API methods\n deprecated-verbose: true\n #Enable plugin and core profiling by default\n enable-profiling: false\n #Will only add results when tick measurement is below or equal to given value (default 20)\n profile-report-trigger: 20\n #Number of AsyncTask workers.\n #Used for plugin asynchronous tasks, world generation, compression and web communication.\n #Set this approximately to your number of cores.\n #If set to auto, it'll try to detect the number of cores (or use 2)\n async-workers: auto\n\nmemory:\n #Global soft memory limit in megabytes. Set to 0 to disable\n #This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this\n global-limit: 0\n\n #Main thread soft memory limit in megabytes. Set to 0 to disable\n #This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this\n main-limit: 0\n\n #Main thread hard memory limit in megabytes. Set to 0 to disable\n #This will stop the server when the limit is surpassed\n main-hard-limit: 0\n\n #Period in ticks to check memory (default 1 second)\n check-rate: 100\n\n #Continue firing low-memory-triggers and event while on low memory\n continuous-trigger: true\n\n #Only if memory.continuous-trigger is enabled. Specifies the rate in memory.check-rate steps (default 30 seconds)\n continuous-trigger-rate: 30\n\n garbage-collection:\n #Period in ticks to fire the garbage collector manually (default 30 minutes), set to 0 to disable\n #This only affect the main thread. Other threads should fire their own collections\n period: 36000\n\n #Fire asynchronous tasks to collect garbage from workers\n collect-async-worker: true\n\n #Trigger on low memory\n low-memory-trigger: true\n\n max-chunks:\n #Limit of chunks to load per player, overrides chunk-sending.max-chunks\n trigger-limit: 96\n\n #Do chunk garbage collection on trigger\n trigger-chunk-collect: true\n\n #Trigger on low memory\n low-memory-trigger: true\n\n world-caches:\n disable-chunk-cache: true\n low-memory-trigger: true\n\n\nnetwork:\n #Threshold for batching packets, in bytes. Only these packets will be compressed\n #Set to 0 to compress everything, -1 to disable.\n batch-threshold: 256\n #Compression level used when sending batched packets. Higher = more CPU, less bandwidth usage\n compression-level: 7\n #Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread\n async-compression: false\n #Experimental, only for Windows. Tries to use UPnP to automatically port forward\n upnp-forwarding: false\n\ndebug:\n #If > 1, it will show debug messages in the console\n level: 0\n #Enables /status, /gc\n commands: true\n\nlevel-settings:\n #The default format that levels will use when created\n default-format: mcregion\n #If true, converts from a format that is not the default to the default format on load\n #NOTE: This is currently not implemented\n convert-format: false\n #Automatically change levels tick rate to maintain 20 ticks per second\n auto-tick-rate: true\n auto-tick-rate-limit: 20\n #Sets the base tick rate (1 = 20 ticks per second, 2 = 10 ticks per second, etc.)\n base-tick-rate: 1\n #Tick all players each tick even when other settings disallow this.\n always-tick-players: false\n\nchunk-sending:\n #Amount of chunks sent to players per tick\n per-tick: 4\n #Amount of chunks sent around each player\n max-chunks: 192\n #Amount of chunks that need to be sent before spawning the player\n spawn-threshold: 56\n #Save a serialized copy of the chunk in memory for faster sending\n #Useful in mostly-static worlds where lots of players join at the same time\n cache-chunks: false\n\nchunk-ticking:\n #Max amount of chunks processed each tick\n per-tick: 40\n #Radius of chunks around a player to tick\n tick-radius: 3\n light-updates: true\n clear-tick-list: true\n\nchunk-generation:\n #Max. amount of chunks in the waiting queue to be generated\n queue-size: 8\n #Max. amount of chunks in the waiting queue to be populated\n population-queue-size: 8\n\nticks-per:\n animal-spawns: 400\n monster-spawns: 1\n autosave: 6000\n cache-cleanup: 900\n\nspawn-limits:\n monsters: 5\n animals: 0\n water-animals: 0\n ambient: 15\n\nauto-report:\n #Send crash reports for processing\n enabled: true\n send-code: true\n send-settings: true\n send-phpinfo: false\n host: 5.175.226.133/bug\n\nanonymous-statistics:\n #Sends anonymous statistics for data aggregation, plugin usage tracking\n enabled: false\n host: stats.pocketmine.net\n\nauto-updater:\n enabled: false\n on-update:\n warn-console: true\n warn-ops: true\n #Can be development, beta or stable.\n preferred-channel: stable\n #If using a development version, it will suggest changing the channel\n suggest-channels: true\n host: www.pocketmine.net\n\naliases:\n restart: [save-all, silentbc Server startet neu, in 10 stop]\n clearlag: [et nuke Others, et nuke Mobs]\n cl: [et nuke Others, et nuke Mobs]\n hub: mw tp Spawnwelt\n\nworlds:\n #These settings will override the generator set in server.properties and allows loading multiple levels\n #Example:\n #world:\n # seed: 404\n # generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45)\n Spawnwelt: []\n oitc: []\n survival: []",
"extensions": {
"Core": "5.6.4",
"bcmath": false,
"calendar": false,
"ctype": false,
"date": "5.6.4",
"ereg": false,
"filter": "0.11.0",
"ftp": false,
"hash": "1.0",
"iconv": false,
"json": "1.2.1",
"mcrypt": false,
"SPL": "0.2",
"odbc": "1.0",
"pcre": false,
"Reflection": "$Id: b2a30058688ac580cb2883c4283c19fd0e00d535 $",
"session": false,
"standard": "5.6.4",
"mysqlnd": "mysqlnd 5.0.11-dev - 20120503 - $Id: f373ea5dd5538761406a8022a4b8a374418b240e $",
"tokenizer": "0.1",
"zip": "1.12.4",
"zlib": "2.0",
"libxml": false,
"dom": "20031129",
"PDO": "1.0.4dev",
"Phar": "2.0.2",
"SimpleXML": "0.1",
"wddx": false,
"xml": false,
"xmlreader": "0.1",
"xmlwriter": "0.1",
"Weakref": "0.2.6",
"curl": false,
"mysqli": "0.1",
"sqlite3": "0.7-dev",
"sockets": false,
"mbstring": false,
"yaml": "1.1.1",
"pthreads": "2.0.10",
"com_dotnet": "0.1",
"mhash": false,
"Zend OPcache": "7.0.4-devFE",
"xdebug": "2.2.6"
}
} |
This is caused by plugins kicking players in EntityDamageByEntityEvent. Therefore, I label this as an API issue, since it makes it impossible for plugins to kick players in the event. |
Well, about the crash dump: Yes, this was the one with plugins.. didn't had the crash dump of the other anymore. |
@thebigsmileXD that is not possible. If inventory is null, that means either the player has not logged in or the player has left. This may (or more likely may not due to prior checks before handling the packet) be used to attack the server. I can't think of any other cases that this is possible that a client sends an INTERACT_PACKET when he is offline? Please make sure that you reproduced that exact error with vanilla PocketMine. |
$this->inventory === null |
@thebigsmileXD I don't understand why the inventory field would suddenly become null. The only write access to it that can null it is the close() method. But if the player is closed, he must not have a packet received. In conclusion, the only possible place that the inventory is nulled is when a plugin closed the player. Now, before trying to insist that this issue exists on vanilla, why not actually try to reproduce it on vanilla again? Otherwise, as a non-reproducible and unreasonable issue, not even concrete evidence that it exists, we have no reason to believe that it wasn't you got the crash without realizing that you actually had plugins in that server. |
Because i don't know when this happened. It was 0.11! |
This is still an existent issue on the API perspective. We are working on a solution to let EntityDamageEvent handlers and other event handlers to kick the player gracefully without scheduling a kick task, without removing the |
Related issue: pmmp/PocketMine-MP#1239 |
The text was updated successfully, but these errors were encountered: