Git Product home page Git Product logo

customnpc's Introduction

Hey you all, I'm HighestDreams

I spend most of my free time coding to gain more experiance in it, I am currently good at Go, Php, C# and I want to learn more languages in the near future. I have worked in the fields of game development, Windows/Android app development, website development, etc., but in general, I am more interested in making Telegram robots, most of the time I am online in Telegram and I don't have discord & etc.

πŸ“ˆ GitHub STATS πŸ“‰

HighestDream's stats

customnpc's People

Contributors

highestdreams avatar kostamax27 avatar poggit-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

customnpc's Issues

Suggestions

Make a Feature that we can import npc from simple npc and slapper plugin

Invalid else block

What's the point of this else block?
During my testing I found that this causes the Y value of the other player/entity to decrease by 1.

Idea πŸ’‘ #3

Improved translation into different languages. Add translation in forms

Incompatible network protocal version

Every-time I start my server it says on Custom NPC β€œIncompatible network protocal version (plugin requires one of: 361, 388, 389, 390, 407, 408, 440, 448)”

Errro

2021-12-27 [03:42:52] [Server thread/CRITICAL]: ValueError: "min(): Argument #1 ($value) must contain at least one element" (EXCEPTION) in "plugins/CustomNPC_dev-72.phar/src/HighestDreams/CustomNPC/NPC" at line 228
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #0 plugins/CustomNPC_dev-72.phar/src/HighestDreams/CustomNPC/NPC(228): min(array[0])
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #1 plugins/CustomNPC_dev-72.phar/src/HighestDreams/CustomNPC/EventsHandler(60): HighestDreams\CustomNPC\NPC->getNPCCooldown(object HighestDreams\CustomNPC\Entity\CustomNPC)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #2 plugins/CustomNPC_dev-72.phar/src/HighestDreams/CustomNPC/EventsHandler(48): HighestDreams\CustomNPC\EventsHandler->execute(object pocketmine\Player, object HighestDreams\CustomNPC\Entity\CustomNPC, string[8] Commands)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): HighestDreams\CustomNPC\EventsHandler->EntityDamageByEntityEvent(object pocketmine\event\entity\EntityDamageByEntityEvent)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object HighestDreams\CustomNPC\EventsHandler, object pocketmine\event\entity\EntityDamageByEntityEvent)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageByEntityEvent)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/entity/Entity(933): pocketmine\event\Event->call()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/entity/Living(552): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Player(2745): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(149): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(106): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/Player(3336): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #15 plugins/AntiInternalKick_dev-4.phar/src/Jibix/AntiInternalKick/utils/ModifiedRakLib(148): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #16 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): Jibix\AntiInternalKick\utils\ModifiedRakLib->handleEncapsulated(string[21] 103.241.234.175 44886, object raklib\protocol\EncapsulatedPacket, integer 0)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #17 plugins/AntiInternalKick_dev-4.phar/src/Jibix/AntiInternalKick/utils/ModifiedRakLib(88): raklib\server\ServerHandler->handlePacket()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #18 plugins/AntiInternalKick_dev-4.phar/src/Jibix/AntiInternalKick/utils/ModifiedRakLib(78): Jibix\AntiInternalKick\utils\ModifiedRakLib->process()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): Jibix\AntiInternalKick\utils\ModifiedRakLib->Jibix\AntiInternalKick\utils{closure}()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #20 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1640576572.0597)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #24 pmsrc/src/pocketmine/PocketMine(332): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #25 pmsrc/src/pocketmine/PocketMine(362): pocketmine\server()
2021-12-27 [03:42:52] [Server thread/CRITICAL]: #26 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

suggestion

can you add features like number of players on your npc?

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.