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

Solved server crash [Steeve: Given Unknown (38527:0) * 64 to James]

Discussion in 'Help' started by TeraCube, Sep 9, 2017.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    Hi,
    My server has stopped with this error.
    Do you think it's a PMMP issue or a plugin issue ?
    thanks

    ---------------------------------------------------------------------------------------------------------------------------------------------
    Console :
    2017-09-09 [19:42:04] [Server thread/INFO]: [Steeve: Given Unknown (38527:0) * 64 to James]
    2017-09-09 [19:42:12] [Server thread/CRITICAL]: InvalidArgumentException: "Value 38527 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    2017-09-09 [19:42:12] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
    2017-09-09 [19:42:12] [Server thread/EMERGENCY]: Please upload the "/home/gsp_1587/g6.hmserv.eu-19537/crashdumps/Sat_Sep_9-19.42.12-CEST_2017.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.

    ---------------------------------------------------------------------------------------------------------------------------------------------
    CrashDump
    PocketMine-MP Crash Dump Sat Sep 9 19:42:12 CEST 2017

    Error: Value 38527 is too large!
    File: src/pocketmine/nbt/tag/ShortTag
    Line: 70
    Type: notice

    Code:
    [61] /**
    [62] * @param int $value
    [63] *
    [64] * @throws \TypeError
    [65] */
    [66] public function setValue($value){
    [67] if(!\is_int($value)){
    [68] throw new \TypeError("ShortTag value must be of type int, " . \gettype($value) . " given");
    [69] }elseif($value < -(2 ** 15) or $value > ((2 ** 15) - 1)){
    [70] throw new \InvalidArgumentException("Value $value is too large!");
    [71] }
    [72] parent::setValue($value);
    [73] }
    [74] }
    [75]
    [76]
    [77]
    [78]
    [79]
    [80]

    Backtrace:
    #0 src/pocketmine/nbt/tag/NamedTag(38): pocketmine\nbt\tag\ShortTag->setValue(integer 38527)
    #1 src/pocketmine/nbt/tag/ShortTag(39): pocketmine\nbt\tag\NamedTag->__construct(string id, integer 38527)
    #2 src/pocketmine/item/Item(941): pocketmine\nbt\tag\ShortTag->__construct(string id, integer 38527)
    #3 src/pocketmine/entity/Human(453): pocketmine\item\Item->nbtSerialize(integer 0)
    #4 src/pocketmine/Player(3408): pocketmine\entity\Human->saveNBT()
    #5 src/pocketmine/Server(2364): pocketmine\Player->save(boolean 1)
    #6 src/pocketmine/Server(2514): pocketmine\Server->doAutoSave()
    #7 src/pocketmine/Server(2239): pocketmine\Server->tick()
    #8 src/pocketmine/Server(2118): pocketmine\Server->tickProcessor()
    #9 src/pocketmine/Server(1700): pocketmine\Server->start()
    #10 src/pocketmine/PocketMine(531): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:////home/gsp_1587/g6.hmserv.eu-19537/PocketMine-MP.phar/, string /home/gsp_1587/gsp_1587/g6.hmserv.eu-19537/, string /gsp_1587/g6.hmserv.eu-19537/plugins/)
    #11 /home/gsp_1587/gsp_1587/g6.hmserv.eu-19537/PocketMine-MP.phar(1): require(string phar:///home/gsp_1587/gsp_1587/g6.hmserv.eu-19537/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

    PocketMine-MP version: 1.6.2dev #563 [Protocol 113; API 3.0.0-ALPHA7]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux ns3023271.ip-151-80-230.eu 4.4.19-mod-std-ipv6-64 #1 SMP Mon Aug 22 13:05:01 CEST 2016 x86_64
    PHP Version: 7.0.17
    Zend version: 3.0.0
    OS : Linux, linux

    Loaded plugins:
    PurePerms 1.4.1-dev2 by 64FF00 & ProjectInfinity for API(s) 3.0.0-ALPHA7
    Slapper 1.3.5 by jojoe77777 for API(s) 3.0.0-ALPHA7
    AllSigns 1.0.3 by for API(s) 3.0.0-ALPHA7
    ItemCasePE 1.1.0-dev1 by aliuly for API(s) 3.0.0-ALPHA7
    FactionsPro 1.4.5 by Tethered_, HostingItAll.com for API(s) 3.0.0-ALPHA7
    KillMoney 1.1.2 by kenygamer for API(s) 3.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7
    xyz 1.0.3 by unerds for API(s) 3.0.0-ALPHA7
    EconomyAPI 5.7.1-dev2 by onebone for API(s) 3.0.0-ALPHA7
    CrateKeys 1.0.0 by for API(s) 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7
    AlwaysSpawn 2.2.3-dev1 by Philip Shilling for API(s) 3.0.0-ALPHA7
    Jail 1.2.0 by hoyinm14mc for API(s) 2.0.0, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7
    SimpleAuth 2.0.0-alpha7 by PocketMine Team, shoghicp, awzaw for API(s) 3.0.0-ALPHA7
    SimpleAuthHelper 2.0.6 by aliuly for API(s) 3.0.0-ALPHA7
    PiggyCustomEnchants 1.0.2 by DaPigGuy for API(s) 3.0.0-ALPHA7
    essentialsTP 1.2.0-dev1 by for API(s) 3.0.0-ALPHA7
    ChatToDiscord 1.1.0 by eDroid for API(s) 3.0.0, 3.0.0-ALPHA6, 3.0.0-ALPHA7
    iProtector 4.0.1#3.1b by Array for API(s) 3.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7
    Parkour 1.5.6 by awzaw for API(s) 3.0.0-ALPHA7
    EconomyShop 2.0.8-dev2 by onebone for API(s) 3.0.0-ALPHA7
    PureChat 1.4.10-dev2 by 64FF00 for API(s) 3.0.0-ALPHA7

    -------------------------------------------------------------------------------------------------------------------------------------------

    sorry for my bad english
     
  2. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    A player called "Steeve" ran the command /give James 38527 and since there is no item with the id 38527, the server couldn't give that non-existence item to the player "James" and crashed.

    Perhaps @dktapps should fix that and it should give an error message saying "Item not found" or something.
     
    TeraCube and WinterBuild7074 like this.
  3. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    Thanks NickTehUnicorn, do i need to create an issue ?
     
  4. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    You can and I'm sure they'd appreciate it. Make sure to properly enter all the details in the issue though.
     
    WinterBuild7074 likes this.
  5. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    What crate plugin do you use... I cant find any Alpha 7 one...
     
  6. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    You can use CrateKeys by @WinterBuild7074 but let's just not go off topic.
     
    WinterBuild7074 likes this.
  7. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I'll soon add a Common, Rare, Legendary keys function to the plugin too if you want that.
     
    NickTehUnicorn likes this.
  8. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
  9. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    Yes please winter and thanks ;3
     
  10. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    How do u use the plugin?
     
  11. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    Please see the config.yml to get some ideas.
     
  12. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    I did, but I dont get how to use the cratekey is the coords in config where the chest will be, and only allow one chest?
     
  13. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    If the Crate Chest is at X: 240, Y: 70 and Z: 90, set the X, Y and Z in the config.yml to the position of the chest:
    Code:
    # Where is the CrateChest located?
    X: 240
    "Y": 70
    Z: 90
    World: <worldName>
    
    And yes, you can only make one Crate Chest on your server.
     
  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.