[Discovery] Malformed XML spits some editor code out

Jesus4Lyf

Good Idea™
Reaction score
397
So in my progress on BlackHole, I tried importing the first output. The result was something interesting:
Code:
eCatcher(){ l players s   >  r Group> Group> e of Array you need         #PARAM(lock) = true;
            #SUBFUNCS(actions)
            #PARAM(lock) = false;
         upLoopEnd();
         AR(p));
                #SUBFUNCS(actions)
                if (#PARAM(var) == PlayerGroupPlayer(#AUTOVAR(g), #AUTOVAR(p))) {
                    #AUTOVAR(p) = #AUTOVAR(p) + 1;
                }
            }
            }
            else if (#AUTOVAR(ai) < 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(ae) < #AUTOVAR(as))) {
                while (#PARAM(var) >= #AUTOVAR(ae)) {
                    #SUBFUNCS(actions)
                    #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
                }
            }
                }
                     &_KevtN   x.»evtN                                                                                                                                                                                                                                         ÂGá¤evtN   ?TSevtN   ï¨.evtN                                                                                                                                                                                                                        Ë   #AUTOVAR(val,param:value) = #PARAM(value);
#SUBFUNCS(cases)
#IFHAVESUBFUNCS(cases,else ){
    #SUBFUNCS(defaults)
} lse ){
                #SUBFUNCS(defaults)
            }
                   û  #AUTOVAR(as,fixed) = #PARAM(s);
#AUTOVAR(ae,fixed) = #PARAM(e);
#AUTOVAR(ai,fixed) = #PARAM(increment);
#PARAM(var) = #AUTOVAR(as);
if (#AUTOVAR(ai) > 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(as) < #AUTOVAR(ae))) {
    while (#PARAM(var) <= #AUTOVAR(ae)) {
        #SUBFUNCS(actions)
        #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
    }
}
else if (#AUTOVAR(ai) < 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(ae) < #AUTOVAR(as))) {
    while (#PARAM(var) >= #AUTOVAR(ae)) {
        #SUBFUNCS(actions)
        #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
    }
}        while (#PARAM(var) >= #AUTOVAR(ae)) {
                    #SUBFUNCS(actions)
                    #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
                }
            }
                
  P²`&   ?  H?k                                 ConversationReplySetState       4     ??k    èäã[Â       4   evtN    A                                             p6kevtNÌv§                          ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                             è{¸                                                            6     Mark ~conversationId~ ~replyId~ as ~state|Read/Unread~                                                                                                C               
  P²`     Created Unit                         EventUnitCreatedUnit                C           ±^ë?7<ý          evtN    A                                             p6kevtNÌv§                         ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                                                                                         ¸?¸                                                                                                                                                            C                    hv7evtN                                                                                                                                                                                                                                                
  P²`(   ?  0-m                            #   ?  hú©                                C           èmKEEÏ<       â+	ÅevtN    A                                             p6kevtNÌv§                          ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                             À?¸                                                            =     Set the custom statistic value of the victory panel to ~text~                                                                                         C                    ¹??cevtN                                                               
 players s   >  r Group> Group> e of Array you need         #PARAM(lock) = true;
            #SUBFUNCS(actions)
            #PARAM(lock) = false;
         upLoopEnd();
         AR(p));
                #SUBFUNCS(actions)
                if (#PARAM(var) == PlayerGroupPlayer(#AUTOVAR(g), #AUTOVAR(p))) {
                    #AUTOVAR(p) = #AUTOVAR(p) + 1;
                }
            }
            }
            else if (#AUTOVAR(ai) < 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(ae) < #AUTOVAR(as))) {
                while (#PARAM(var) >= #AUTOVAR(ae)) {
                    #SUBFUNCS(actions)
                    #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
                }
            }
                }
                     &_KevtN   x.»evtN                                                                                                                                                                                                                                         ÂGá¤evtN   ?TSevtN   ï¨.evtN                                                                                                                                                                                                                        Ë   #AUTOVAR(val,param:value) = #PARAM(value);
#SUBFUNCS(cases)
#IFHAVESUBFUNCS(cases,else ){
    #SUBFUNCS(defaults)
} lse ){
                #SUBFUNCS(defaults)
            }
                   û  #AUTOVAR(as,fixed) = #PARAM(s);
#AUTOVAR(ae,fixed) = #PARAM(e);
#AUTOVAR(ai,fixed) = #PARAM(increment);
#PARAM(var) = #AUTOVAR(as);
if (#AUTOVAR(ai) > 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(as) < #AUTOVAR(ae))) {
    while (#PARAM(var) <= #AUTOVAR(ae)) {
        #SUBFUNCS(actions)
        #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
    }
}
else if (#AUTOVAR(ai) < 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(ae) < #AUTOVAR(as))) {
    while (#PARAM(var) >= #AUTOVAR(ae)) {
        #SUBFUNCS(actions)
        #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
    }
}        while (#PARAM(var) >= #AUTOVAR(ae)) {
                    #SUBFUNCS(actions)
                    #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
                }
            }
                
  P²`&   ?  H?k                                 ConversationReplySetState       4     ??k    èäã[Â       4   evtN    A                                             p6kevtNÌv§                          ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                             è{¸                                                            6     Mark ~conversationId~ ~replyId~ as ~state|Read/Unread~                                                                                                C               
  P²`     Created Unit                         EventUnitCreatedUnit                C           ±^ë?7<ý          evtN    A                                             p6kevtNÌv§                         ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                                                                                         ¸?¸                                                                                                                                                            C                    hv7evtN                                                                                                                                                                                                                                                
  P²`(   ?  0-m                            #   ?  hú©                                C           èmKEEÏ<       â+	ÅevtN    A                                             p6kevtNÌv§                          ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                             À?¸                                                            =     Set the custom statistic value of the victory panel to ~text~                                                                                         C                    ¹??cevtN
Anyone... find this interesting? :(
Looks like code internal to the editor. Somehow got spat out when I didn't end something properly. :p

I'm wondering if those #THINGS can be used by us.

Edit: Attached the lib I imported. It's actually formed correctly, in XML terms. It just fails in the editor in a perhaps convenient manner. ;)
Edit: Another one.
Code:
rn true;
ol BlackHoleCatcher(){
 players s   >  r Group> Group> e of Array you need         #PARAM(lock) = true;
            #SUBFUNCS(actions)
            #PARAM(lock) = false;
         upLoopEnd();
         AR(p));
                #SUBFUNCS(actions)
                if (#PARAM(var) == PlayerGroupPlayer(#AUTOVAR(g), #AUTOVAR(p))) {
                    #AUTOVAR(p) = #AUTOVAR(p) + 1;
                }
            }
            }
            else if (#AUTOVAR(ai) < 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(ae) < #AUTOVAR(as))) {
                while (#PARAM(var) >= #AUTOVAR(ae)) {
                    #SUBFUNCS(actions)
                    #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
                }
            }
                }
                     &_KevtN   x.»evtN                                                                                                                                                                                                                                         ÂGá¤evtN   ?TSevtN   ï¨.evtN                                                                                                                                                                                                                        ?   #IFSUBFUNC(notfirst,else )if (#AUTOVAR(val,parent) == #PARAM(value)) {
    #SUBFUNCS(actions)
}   #SUBFUNCS(actions)
            }
                  yâE^E?¹?dò   à*o^?_Èfò   n[?^¥2´øhòû  #AUTOVAR(as,fixed) = #PARAM(s);
#AUTOVAR(ae,fixed) = #PARAM(e);
#AUTOVAR(ai,fixed) = #PARAM(increment);
#PARAM(var) = #AUTOVAR(as);
if (#AUTOVAR(ai) > 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(as) < #AUTOVAR(ae))) {
    while (#PARAM(var) <= #AUTOVAR(ae)) {
        #SUBFUNCS(actions)
        #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
    }
}
else if (#AUTOVAR(ai) < 0 || (#AUTOVAR(ai) == 0 && #AUTOVAR(ae) < #AUTOVAR(as))) {
    while (#PARAM(var) >= #AUTOVAR(ae)) {
        #SUBFUNCS(actions)
        #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
    }
}        while (#PARAM(var) >= #AUTOVAR(ae)) {
                    #SUBFUNCS(actions)
                    #PARAM(var) = #PARAM(var) + #AUTOVAR(ai);
                }
            }
                
  P²`&   ?  ?Ig                                 ConversationReplySetState       4     ¸Ig    èäã[Â       4   evtN    A                                             °kevtNÜ*£                          ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                             è0´                                                            6     Mark ~conversationId~ ~replyId~ as ~state|Read/Unread~                                                                                                C               
  P²`     Created Unit                         EventUnitCreatedUnit                C           ±^ë?7<ý          evtN    A                                             °kevtNÜ*£                         ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                                                                                         ¸9´                                                                                                                                                            C                    hv7evtN                                                                                                                                                                                                                                                
  P²`(   ?  hßh                            #   ?  а¥                                C           èmKEEÏ<       â+	ÅevtN    A                                             °kevtNÜ*£                          ÿÿÿÿÿÿÿÿ        ÿÿÿÿÿÿÿÿ                             À<´                                                            =     Set the custom statistic value of the victory panel to ~text~                                                                                         C                    ¹??cevtN
 

Attachments

  • Output.SC2Lib
    716 bytes · Views: 381

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
That's pretty funny, but all it seems to be is function descriptions... Obfusticated and what not... Unless I'm seeing something else entirely.
 

Jesus4Lyf

Good Idea™
Reaction score
397
But things like this...
JASS:
if (#PARAM(var) == PlayerGroupPlayer(#AUTOVAR(g), #AUTOVAR(p))) {

Can we use #PARAM(myVar) in custom scripts to refer to the internal names of things, instead of hardcoding the prefixes? :)
So I thought I'd post it for all those experimental Azliers out there, etc. :thup:

PS. It seems Blizzard hard coded the custom script lines to start reading from 3 tabs in, so that's why this can frak up and do that.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top