1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[JASS] TerrainPathability Library Error

Discussion in 'Triggers & Scripts' started by Megafyr, Dec 20, 2010.

  1. Megafyr

    Megafyr

    Joined:
    Oct 29, 2007
    Messages:
    957
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
  2. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,181
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    I was able to import it without problems.

    Comment out that if block and try to save the map again. Does it still give errors?
     
  3. watermelon_1234

    watermelon_1234

    Joined:
    Nov 18, 2007
    Messages:
    1,066
    Resources:
    10
    Spells:
    9
    JASS:
    1
    Resources:
    10
    Have you updated JassHelper to 0.A.2.B?
     
  4. PurgeandFire

    PurgeandFire

    Code Moderator

    Joined:
    Nov 11, 2006
    Messages:
    7,426
    Resources:
    18
    Icons:
    1
    Spells:
    4
    Tutorials:
    9
    JASS:
    4
    Resources:
    18
    ^

    Static ifs and //! optionals do not work unless you have updated jasshelper to 0.A.2.B. Make sure you put the updated clijasshelper.exe, jasshelper.exe, and jasshelper.conf in your jassnewgenpack5d/jasshelper folder and in your jassnewgenpack5d/bin folder.
     
  5. Bribe

    Bribe

    Joined:
    Sep 26, 2009
    Messages:
    8,083
    Resources:
    25
    Maps:
    3
    Spells:
    10
    Tutorials:
    3
    JASS:
    9
    Resources:
    25
    TerrainPathability has problems because it thinks the item can be offset by 10 units and that makes the terrain ok to be pathable. It wastes efficiency by hiding the surrounding items, first, before checking if the item was offset. I'm building a remake of that library in order to fix the issues.