• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. đź”—Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Bannar
Reaction score
281

Profile posts Latest activity Postings Experience Albums Resources About Medals

  • Btw your Weather library made me realize that there are rawcodes for weathereffects, which is why I added them to the autocomplete list. Thx for that :D
    Yes, I understand, but actually I am more busy than usual :D I will take a look right now, and at least give my thoughts
    D
    ----------
    Another Wurst follower :"D
    ----------
    NO IM NOT
    I'll have to make some changes then. Code can retain complexity without restricting readability, that's what comments are for. If there's a particular section that makes no sense, can you refer me to the line numbers?
    That's fine. I misread the code. I just read that you wrote "key" and I figured it was a mistake (I didn't check how you used it), but it is fine the way it is.
    ----------
    Codemonkey11' is also very nice yet I'd like to be able to read what I actually import into my map. I fail each time I read his scripts :(
    ----------
    Are you talking about StructuredDD? I would like to improve documentation and code readability if there's a problem :)
    I would help you, but I'm participating ;)
    So, how about hosting the next contest? You don't necessarily have to judge it :)
    Hey mate, if I remember correctly, you wanted to judge the Mini-Mapping Contest #9, right?
    Well, how would you like to host the next contest?
    Here is the idea: We make a theme and a thread about, ask for people to give their opinion, would they join/judge/etc. Once we have enough people, we go to Admin Contact and ask for approval, and the contest starts :)
    I'm not sure what you're talking about, or really who you are. Hello? : )

    //EDIT// Ah, ok, just checked your profile & you're "Spinnaker"... Dang name-changes. :p Well... I'm still not sure what you're referring to. Sorry?
    So i sum up:
    You say:
    ----------
    Remember that Wurst code is not so beautiful once its compiled.
    ----------
    I say:
    ----------
    pls give us some example
    ----------
    You say:
    ----------
    I'm not the first nor the last one who shared this opinion
    ----------
    And you tell me iam not a good diplomate...
    ----------
    Remember that Wurst code is not so beautiful once its compiled.
    ----------
    This is bullshit²!
    Ever saw compiled wurst code? The compiler got so much options, which let u decide if the code is performant or readable. For an example take a look at the last post by peq in this issue:
    https://github.com/peq/WurstScript/issues/245
    If you still think compiled wurstscript code looks bad or is inperformant pls give us some example so we can fix it. Otherwise you should accept, that wurstscript got the better compiled code!
    What does the console say?..

    Make sure you hit Run on easyhook and SharpCraft / Wc3 have admin permissions.
    nah, I don't understand lol :D
    it's just suggestion anyway, I'm noob coder here, you know better than me :p

    EDIT: Im not so good at english so dont give me a wall of text ^^ I will never understand
    oh, still needs some times for me to understand :p
    thnks a lot! :D
    btw, afaik there's nothing wrong with your xString code. it's just not really neat.
    I will mention one thing:
    sometimes you give one extra linebreak after local declaration, sometimes not :p
    method insert takes integer pos, string str returns thistype
    local integer len = StringLength(str)
    if ( assert_range(pos) ) then
    method compareSubstrings takes integer pos, integer len, string str, integer subpos, integer sublen returns integer
    local string sub = SubString(value, pos, pos+len)
    local string sub2 = SubString(str, subpos, subpos+sublen)
    local integer result = - 1

    if sub == sub2 then
    * | method operator [] takes integer pos returns string
    * | access specified character
    * |
    * | method operator []= takes integer pos, string s returns nothing
    * | sets specified character
    hey, how can I use that part? is it something like
    set string[5] = string[3]?

    listen, I'm still new at vJass so I don't understand too much about structs
    Reputation (+1):
    (Post) forgot to give my gratitud for your GetClosestWidget and also you are so active at Jass section. keep going ;)
    If debugMsg equals null than BJDebugMsg call wont show you anything anyways, thus checking for such case is rather pointless.
    ----------
    debug if debugMsg != null then
    debug call BJDebugMsg(debugMsg)
    debug endif
    ----------
    how about it? I suggested it because I need it :p I want to be in debug mode without debug message shown..
    "Remember that Wurst code is not beautiful once it's compiled",
    ehm no?

    Unoptimized it is actually readable (unlike vjass with stupid naming),
    optimized it's fast. If you want the little extra performance you can disable stack-traces und debugmsgs.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top