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

World causing server crashes?

Discussion in 'Help' started by jasonwynn10, Jun 17, 2017.

  1. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    I have an old PC world which seems to be causing crashes. I've tested this on a clean install, so i know it's the map's fault. What Can I do to prevent it issue from occurring?
    [​IMG]
     

    Attached Files:

  2. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    If this happens with no plugins then personally I'd be tempted to modify https://github.com/pmmp/PocketMine-...2f2ef/src/pocketmine/nbt/tag/ShortTag.php#L69 to compress the value when greater than 2**15 - 1 instead of throwing an exception, which might fix the issue once for the map once the entity is saved again with a valid value. I'm only guessing, but maybe the PC version uses unsigned values for PickupDelay - I would use unsigned for a delay, if I had the choice - but PHP doesn't do unsigned integers so maybe that's how your map ended up with an invalid value.
     
    jasonwynn10 likes 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.