1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Enchantments Do not work (ver. 1.14.60) (3.12.0)

Discussion in 'Help' started by TeamEquinox, May 5, 2020.

  1. TeamEquinox

    TeamEquinox Creeper

    Messages:
    5
    GitHub:
    totallynotkhm9
    Weird that enchantments do not work at all for some odd reason, A RAKLIB error kicks in each time I use the /enchant command. This is also affecting my plugins too. I did not tamper with any of the code. And did not do anything towards the code other than just adding plugins and scripting the YML files for located in the plugin data. I get an "internal server" each time I try to use the enchanment command. I think this is a pocketmine issue. First I thought it was an issue with the plugin but I'm not sure.. In a nutshell.. I'm not sure why it's doing this.. Enchantments had worked for me in other servers but apparently not mine.

    https://gyazo.com/655c05a17dabe804529d158f67ba6c4e

    [​IMG]

    [​IMG]

    Main Critical Error

    [Server thread/CRITICAL]: Error: "Call to a member function getSize() on array" (EXCEPTION) in "src/pocketmine/item/enchantment/Enchantment" at line 154

    Pastebin (Error + Debugs)
    https://pastebin.com/QBSVK6YB
     
  2. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
    (Make a backup of your server before proceeding)
    Try removing each plugin one by one until the error doesn't appear. If the error still appears after all your plugins are deleted, make a report here: https://github.com/pmmp/PocketMine-MP/issues
     
  3. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    If you have TeaSpoon installed, try removing it and see if the error still occurs.
     
  4. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    I have the same issue still no clue on how to fix it
     
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
     
  6. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    I dont have tea spoon
     
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Any other plugins?
     
  8. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    I tried on my test server and it had no plugin which could mess with enchants
     
  9. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    I'm fairly certain this is caused by a plugin though. Would you mind sending a list of plugins?
     
    ethaniccc likes this.
  10. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
    I was unable to reproduce the issue, if this still appears without any plugins, make an issue: https://github.com/pmmp/PocketMine-MP/issues
    Server Log:
    Code:
    2020-05-07 [12:04:03] [Server thread/INFO]: Loading pocketmine.yml...
    2020-05-07 [12:04:03] [Server thread/INFO]: Loading server properties...
    2020-05-07 [12:04:03] [Server thread/INFO]: Selected English (eng) as the base language
    2020-05-07 [12:04:03] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.14.60
    2020-05-07 [12:04:03] [Server thread/WARNING]: Online mode is disabled. The server will not verify that players are authenticated to Xbox Live.
    2020-05-07 [12:04:03] [Server thread/WARNING]: While this makes it possible to connect without internet access, it also allows hackers to connect with any username they choose.
    2020-05-07 [12:04:03] [Server thread/WARNING]: To enable authentication, set "xbox-auth" to "true" in server.properties.
    2020-05-07 [12:04:03] [Server thread/INFO]: Opening server on 0.0.0.0:20002
    2020-05-07 [12:04:04] [Server thread/INFO]: This server is running PocketMine-MP version 3.12.0
    2020-05-07 [12:04:04] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
    2020-05-07 [12:04:04] [Server thread/INFO]: Loading resource packs...
    2020-05-07 [12:04:05] [Server thread/INFO]: Preparing world "InvadedLands"
    2020-05-07 [12:04:05] [Server thread/INFO]: Starting GS4 status listener
    2020-05-07 [12:04:05] [Server thread/INFO]: Setting query port to 20002
    2020-05-07 [12:04:05] [Server thread/INFO]: Query running on 0.0.0.0:20002
    2020-05-07 [12:04:05] [Server thread/INFO]: Default game type: Adventure Mode
    2020-05-07 [12:04:05] [Server thread/INFO]: If you find this project useful, please consider donating to support development: https://patreon.com/pocketminemp
    2020-05-07 [12:04:05] [Server thread/INFO]: Done (1.196s)! For help, type "help" or "?"
    2020-05-07 [12:04:06] [Server thread/INFO]: Plugins (0):
    2020-05-07 [12:04:08] [Server thread/INFO]: This server is running PocketMine-MP 3.12.0 for Minecraft: Bedrock Edition v1.14.60 (protocol version 390)
    2020-05-07 [12:04:12] [Server thread/INFO]: Epicthic[/192.168.1.189:46532] logged in with entity id 1 at (InvadedLands, 2.5943, 64, 1.8732)
    2020-05-07 [12:04:29] [Server thread/INFO]: Epicthic joined the game
    2020-05-07 [12:04:42] [Server thread/INFO]: [CONSOLE: Given Diamond Sword (276:0) * 1 to Epicthic]
    2020-05-07 [12:04:55] [Server thread/INFO]: [Epicthic: Enchanting succeeded]
    2020-05-07 [12:05:01] [Server thread/INFO]: ---- Server status ----
    2020-05-07 [12:05:01] [Server thread/INFO]: Uptime: 57 seconds
    2020-05-07 [12:05:01] [Server thread/INFO]: Current TPS: 20 (1.7%)
    2020-05-07 [12:05:01] [Server thread/INFO]: Average TPS: 20 (3.77%)
    2020-05-07 [12:05:01] [Server thread/INFO]: Network upload: 0.05 kB/s
    2020-05-07 [12:05:01] [Server thread/INFO]: Network download: 0.05 kB/s
    2020-05-07 [12:05:01] [Server thread/INFO]: Thread count: 7
    2020-05-07 [12:05:01] [Server thread/INFO]: Main thread memory: 44.39 MB.
    2020-05-07 [12:05:01] [Server thread/INFO]: Total memory: 44.39 MB.
    2020-05-07 [12:05:01] [Server thread/INFO]: Total virtual memory: 56.00 MB.
    2020-05-07 [12:05:01] [Server thread/INFO]: Heap memory: 0.00 MB.
    2020-05-07 [12:05:01] [Server thread/INFO]: Maximum memory (system): 56.00 MB.
    2020-05-07 [12:05:01] [Server thread/INFO]: World "invaded" (InvadedLands): 96 chunks, 1 entities. Time 0.81ms
    2020-05-07 [12:05:10] [Server thread/INFO]: [Server] i will now run command through console
    2020-05-07 [12:05:17] [Server thread/INFO]: [CONSOLE: Enchanting succeeded]
    2020-05-07 [12:05:19] [Server thread/INFO]: [CONSOLE: Stopping the server]
    2020-05-07 [12:05:19] [Server thread/INFO]: Epicthic left the game
    2020-05-07 [12:05:19] [Server thread/INFO]: Epicthic[/192.168.1.189:46532] logged out due to The beta server has been shut down.
    2020-05-07 [12:05:19] [Server thread/INFO]: Unloading world "InvadedLands"
    2020-05-07 [12:05:20] [Server thread/INFO]: Stopping other threads
    
     
  11. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    I tried on my test server and it had no plugin which could mess with enchants
    The test server is now deleted but i can show you the issue reproduced
     
  12. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    [17:14:16] [Server thread/CRITICAL]: Error: "Call to a member function getSize() on array" (EXCEPTION) in "src/pocketmine/item/enchantment/Enchantment" at line 154

    Recreated the error
     
  13. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    The list of plugins on this server
     

    Attached Files:

  14. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
    You'd be surprised that plugins can actually mess with more then they are supposed to. Delete each plugin on that server until the error does not happen, because based off my test (with no plugins), the error did not occur.
     
    EdwardHamHam and Muqsit like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.