1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Loading map from PNG

Discussion in 'Skript' started by Dan Owen, Oct 15, 2018.

  1. Dan Owen

    Dan Owen Member

    Joined:
    Aug 21, 2017
    Messages:
    4
    Likes Received:
    0
    So with SkQuery (I think) you used to be able to do this, just updated everything to start running 1.13.1 can this not longer works, I am sure I am just out of date

    Before I spend hours of my life re working this, can anyone point out the "old" thing I used and need to change?

    command /genmaps:
    trigger:
    overwrite map 167
    erase map 167
    set {_image} to image from "http://minecraft.test.com/minecraft/art/harley_quinn.png"
    draw {_image} image %image% on map 167
    draw image {_image} on map 167 starting from 0, 0
    set {_map} to map:167 named "Harley Quinn"
    set data value of {_map} to 167
     
  2. Efnilite

    Supporter

    Joined:
    May 12, 2018
    Messages:
    214
    Likes Received:
    9
    Skript 2.3 is not recommended for anything now, it's mainly for finding bugs. Also replace %image% with the image since its not an expression.
     
    • Like Like x 1
  3. Dan Owen

    Dan Owen Member

    Joined:
    Aug 21, 2017
    Messages:
    4
    Likes Received:
    0
    Best way to find the bugs is to use it :emoji_slight_smile: don't worry most of the skript on my server are mirror tweaks

    Its not the end of the world when something stops just annoying lol

    So I have enabled the first few lines

    command /genmaps:
    trigger:
    overwrite map 167

    But get back
    Can't understand this condition/effect: overwrite map 167 (maps.sk, line 6: overwrite map 167')

    Am I being dumb
     
  4. Efnilite

    Supporter

    Joined:
    May 12, 2018
    Messages:
    214
    Likes Received:
    9
    SkQuery doesn't work on 2.3 yet. It hasn't been updated.
     
  5. Dan Owen

    Dan Owen Member

    Joined:
    Aug 21, 2017
    Messages:
    4
    Likes Received:
    0
    Ah Ha I am being dumb! chuckle cool no worries

    Thanks for pointing out my error :emoji_grinning:
    --- Double Post Merged, Dec 6, 2018, Original Post Date: Oct 17, 2018 ---
    Ok so we are on 3.6.2-Lime "Recode and 2.3 Skript" but I still can't get the code to work

    Am I being dumb again? (will update with more info if it's not just me being silly :emoji_stuck_out_tongue: )
     
  6. L

    Joined:
    Jan 26, 2017
    Messages:
    317
    Likes Received:
    12
    I also believe map support has been removed from skquery lime
     
  7. Snow-Pyon

    Moderator Resource Staff

    Joined:
    Jan 25, 2017
    Messages:
    1,216
    Likes Received:
    168
    Medals:
    It is usable at this point, the only annoying bug left is the one with skulls.

    You can't use the <item>:<data value> format anymore, gotta set the data value manually just like you did in the line next to the one you used this.
     
  8. Efnilite

    Supporter

    Joined:
    May 12, 2018
    Messages:
    214
    Likes Received:
    9
    That post was from October 17th, when alpha-5 just released lol
    And yes, you can use it now
     
  9. Dan Owen

    Dan Owen Member

    Joined:
    Aug 21, 2017
    Messages:
    4
    Likes Received:
    0
    Soooooooooo maps?
     
Loading...