Giter VIP home page Giter VIP logo

myentities's People

Contributors

benda95280 avatar himbeersaftlp avatar poggit-bot avatar thebigsmilexd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

myentities's Issues

Remove 'Skin_empty' from Entity

Is your feature request related to a problem? Please describe.
'Skin_empty' should be removed from the entity

Describe the solution you'd like
Get skin from file directly
Should handle error if skin has been removed

Additional context
Must be done if item is used from other plugin, when you save all CustomNBT, you're not going to save skin too ...

Error

[09:39:45] [Server thread/INFO]: GamerDaniel3000 joined the game

[09:40:50] [Server thread/CRITICAL]: TypeError: "imagedestroy() expects parameter 1 to be resource, bool given" (EXCEPTION) in "plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/PlayerHeadObj" at line 309

[09:40:50] [Server thread/DEBUG]: #0 plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/PlayerHeadObj(309): imagedestroy(boolean )

[09:40:50] [Server thread/DEBUG]: #1 plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/PlayerHeadObj(275): Benda95280\PlayerHeadObj\PlayerHeadObj::createSkin(string[6] book_1)

[09:40:50] [Server thread/DEBUG]: #2 plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/commands/PHCommand(88): Benda95280\PlayerHeadObj\PlayerHeadObj::getPlayerHeadItem(string[6] book_1, string[9] Nice Book, array[4])

[09:40:50] [Server thread/DEBUG]: #3 src/pocketmine/command/SimpleCommandMap(270): Benda95280\PlayerHeadObj\commands\PHCommand->execute(object pocketmine\Player, string[3] pho, array[1])

[09:40:50] [Server thread/DEBUG]: #4 src/pocketmine/Server(2029): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[17] pho entity book_1)

[09:40:50] [Server thread/DEBUG]: #5 src/pocketmine/Player(2231): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[17] pho entity book_1)

[09:40:50] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(240): pocketmine\Player->chat(string[18] /pho entity book_1)

[09:40:50] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)

[09:40:50] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)

[09:40:50] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)

[09:40:50] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)

[09:40:50] [Server thread/DEBUG]: #11 src/pocketmine/Player(3126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)

[09:40:50] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)

[09:40:50] [Server thread/DEBUG]: #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 46.80.35.118 62923, object raklib\protocol\EncapsulatedPacket, integer 0)

[09:40:50] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()

[09:40:50] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()

[09:40:50] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()

[09:40:50] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()

[09:40:50] [Server thread/DEBUG]: #18 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1567928450.7391)

[09:40:50] [Server thread/DEBUG]: #19 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()

[09:40:50] [Server thread/DEBUG]: #20 src/pocketmine/Server(1784): pocketmine\Server->start()

[09:40:50] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/minecraft/, string[24] /home/minecraft/plugins/)

[09:40:50] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(299): pocketmine\server()

[09:40:50] [Server thread/DEBUG]: #23 (1): require(string[68] phar:///home/minecraft/pocketmine.phar/src/pocketmine/PocketMine.php)

[09:40:50] [Server thread/INFO]: GamerDaniel3000 left the game

[09:40:50] [Server thread/INFO]: GamerDaniel3000[/46.80.35.118:62923] logged out due to Internal server error

players can't collide with each other

Describe the bug
when u get close to a player u can't go through him it pushes u away and sometimes pushes him away too

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
you go through the player

Screenshots

Additional Infos

  • Version of Pocketmine: 3.15.0
  • Version of the Plugin: 0.1.2

wrong

the copying from skins head is not correct
Screenshot (731)

Add support for language file

We need to add multiple language file support.

Why:
Everything is HardCoded for the language, and some action have default message, because cannot be set by configuration of the entity.
(Like the action to repair an item)

Ressources not copied on first launch

Describe the bug
All ressources are not copied on fist launch, only Config.yml

To Reproduce
Install plugin, and launch server.

Expected behavior
All ressource should be here, but skins are missing.

Skins: New folders (Vehicle / Head / Custom)

I'm thinking to separate skins files:
If you add 15 heads, 6 customs, and 3 vehicle, it will have a lot of files inside the folder.

Solution:

  • Create one folder by type (Vehicle / Head / Custom)
    or
  • Create folders Geometry and Skins
    or
  • Any other idea :)

@thebigsmileXD What do you think about it ?

help

Describe the bug
when i do /mye entity it crashed me

[12:24:02] [Server thread/CRITICAL]: ErrorException: "Trying to access array offset on value of type bool" (EXCEPTION) in "plugins/MyEntities_dev-46.phar/src/Benda95280/MyEntities/commands/EntityCommand" at line 78
[12:24:02] [Server thread/CRITICAL]: #0 plugins/MyEntities_dev-46.phar/src/Benda95280/MyEntities/commands/EntityCommand(78): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[51] Trying to access array offset on value of type bool, string[106] phar:///home/container/plugins/MyEntities_dev-46.phar/src/Benda95280/MyEntities/, integer 78, array[9])

Error

[Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamager()" (EXCEPTION) in "plugins/MyEntities-master/src/Benda95280/MyEntities/entities/MyCustomEntity" at line 110

Phar?

Can you release a phar on github?

Add commands to run on clicking on it and make confg.yml more easy to handle it's so complicated

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Seperate head entities from custom entities

Is your feature request related to a problem? Please describe.
The code is getting quite messy since custom entities and head entities share alot of code inside MyCustomEntity.

Describe the solution you'd like
I would like to seperate it into HeadEntity, CustomHeadEntity and CustomEntity. (Vehicles could also extend CustomEntity)

This would make several things easier:

  • Constructing the entities
  • What data should be saved
  • The drops of the entity
  • Collisions and scale
  • Skin management
  • Rotation/placement

@benda95280 i need your opinion on this

make able to wear the head

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
can you make it where we can wear the head with skin
Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Entity: Strange placement / Can be placed on plant

Describe the bug
Entity can be placed on plant, but in strange position too, see below.

To Reproduce
Place some entity

Expected behavior
Only one entity per "Block", cannot be placed if something is in the block.

Screenshots

Error give entity

ErrorException: "Trying to access array offset on value of type bool" (EXCEPTION) in "plugins/MyEntities.phar/src/Benda95280/MyEntities/commands/EntityCommand" at line 78

pmmp 3.21.0
php 7.4

Head from a player

Mybe offline players are a problem.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

A command with which you can get a head from a player. for example / head {player name}.
A clear and concise description of what you want to happen.

///
A clear and concise description of any alternative solutions or features you've considered.

///
Add any other context or screenshots about the feature request here.

Suggestion

Add a give action where you can choose id, meta, and count

Invalid value "added entity" for argument #1

Hello, when I write /mye entities "(the name of the entity i added)", the plugin reply with -> Invalid value "(name of the entity)" for argument #1.

It appear when I add an new entity.

PS: I use the penultimate poggit version because the last one don't work on my server

Kick (Internal server error) on '/mye entity [name]' command execute

Hi, I have a bug with your plugin, when i try to spawn an entity, the plugin make me crash (internal server error). It make me crash when i write /mye entity [name of the entity].
I have tested the plugin with no other plugins, but it does not change anything.

If it can help, add a screenshot of the console of my server :

Pocketmine version: 3.9.5
Minecraft Bedrock version: v1.12.0

PS : sorry for my bad english, i'm French ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.