• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
Legal_Ease
Reaction score
213

Profile posts Latest activity Postings Experience Albums Resources About Medals

  • Nice you got the charged thingy working. Will look into it in more detail when I have time.
    TBH, I probably would have just said to use your solution haha. I didn't read it all since I thought it was broken.

    I know I wanted a "item cost calculator" system at one point, but I eventually didn't need one since I put all my base item costs into a hashtable. I wanted it for making items autocomplete (think Dota recipes, but they build the rest of the item for you) without copy-pasting item costs (which might change) everywhere. Still need to deal with some mass updates when I modify a basic, core item, though.

    I'm sure it would be helpful if someone didn't want to do the set up I have done. The shop refund vs dummy shops is nice, but I imagine it would be a lot more work to set up than a refund trigger. It is the same with other systems - like a DDS. I think the more complicated ones also allow for more use cases, but you have to jump through some hoops sometimes, and not everyone wants to do that.
    I understand your point of view and I agree with you. I think you would agree with my view as well. Though, I think I did not really follow my own view well in that one thread, so that doesn't help.

    Maybe the words "attack" and "defend" aren't right, but I'm not sure if there is a better word. It is more like I will try to think through a solution and explain the problems I see with it (not necessarily problem - I just might not understand what is happening). That's not to say I would put it down, just might be a "gotcha" thing, like one case where there is a problem. It is to help the one who needs the solution, mostly. "Defending" that could be either explaining where my thinking went wrong or why the problem I "see" is not really a problem (perhaps it's only an issue if there's a million units on the map or something).

    The point is that it is not adversarial, just maybe there can be discussion. I think I mostly ultimately failed at two things:
    - Failed to read and understand your solution properly
    - Made a comment or two that probably made me come across as arrogant

    Anyway, maybe you don't agree with that. That's okay too :p I will still keep doing it like that though.

    Cheers!

    EDIT:
    As for balancing the solutions to the level of the one requiring the solution, I fully agree with that. It is hard for me sometimes because I don't like to work with GUI and sometimes I come up with solutions that don't work in GUI. I usually end up writing pseudo code which I don't think people find very useful lol. I'll try to make more GUI triggers in those cases or maybe not really post anything as long as others are helping out.
    Glad we're cool :D despite being on the internet, I do care what people think of me - at least on this site.

    And when I say "attack", I just mean I try to point out the problems I see. They might not be real problems, but I think it is important to question things in that way. If there is a proper "defense" - such as a reason my worries are invalid, or the solution is updated, then I am happy. One of us learns something that way :D
    LOL if I remember correctly, I havent said anything advanced revently xP which post are you referring to?
    Just watch you say :p people will report things and you can get warnings. I've got one warning before lol. At least you stuck it out.
    Life. Couldn't get in touch with hive so often. But I guess i can now. :D
    Not to mention vacation is coming, Happy Chinese New Yearr ~
    Wow really?! Dude thats awesome xD what "field of lawyer-ing" do you do lol? Sorry butchered that so hard.
    LOL. You should fix your Micro Melee as a priority!


    ----------
    Meanwhile, I should be studying more for the AK Bar Exam. lol
    ----------
    AK Bar? You're trying to be a lawyer? o:
    thanks man, but I already have the item systems I need in the map.
    *mind blown*

    Damn it, now I can't claim to not understand Jass anymore. Damn it.

    I will never be satisfied with GUI triggers again :(
    If you have JNGP, you can just convert the GUI stuff you make into custom text. Then after that, you click on "function list" and just look up the parameters/arguments the calls take. Most (if not all) BJ functions always call a native, which is in purple by default.
    The normal ForGroup function doesn't create an agent that has to be nulled after its use
    [STABLE]function ForGroupBJ takes group whichGroup, code callback returns nothing
    // If the user wants the group destroyed, remember that fact and clear
    // the flag, in case it is used again in the callback.
    local boolean wantDestroy = bj_wantDestroyGroup
    set bj_wantDestroyGroup = false

    call ForGroup(whichGroup, callback)

    // If the user wants the group destroyed, do so now.
    if (wantDestroy) then
    call DestroyGroup(whichGroup)
    endif
    endfunction[/STABLE]

    Here, you see two agents that have to be nulled: result and g
    [STABLE]function GetUnitsOfTypeIdAll takes integer unitid returns group
    local group result = CreateGroup()
    local group g = CreateGroup()
    local integer index

    set index = 0
    loop
    set bj_groupEnumTypeId = unitid
    call GroupClear(g)
    call GroupEnumUnitsOfPlayer(g, Player(index), filterGetUnitsOfTypeIdAll)
    call GroupAddGroup(g, result)

    set index = index + 1
    exitwhen index == bj_MAX_PLAYER_SLOTS
    endloop
    call DestroyGroup(g)

    return result
    endfunction[/STABLE]

    I'm not a programmer, so I may have the lingo all wrong here xD
    Nah, if you take a look at the JASS function, they don't null the two groups that are created using that function, thus they fall out of scope and leak.
    Lol well at least you know it leaks x) sometimes the new users just need a visual example because they aren't programmers.
    I'd have to study the system a bit more, but I'll consider it o:
    You can easily do it in one trigger x)
    After adding like a million debug messages for your Aeros Vex spell, I came to the conclusion that you will need a seperate "Max Spell Count" and "Loop Integer" for every periodic trigger if you want to keep it that way. You will also need to deindex + index them individually.
    That's easy xP I really like the idea with the icons too. Just a little unfortunate you need to make a seperate ability for every single charge D: did you only do that for the icon, or is it not necessary?
    The gaps between the bars look enooormous when you look at the HP bar of the structure D: also can I see it not rounded off?
    Ohh I'm sorry, I totally misunderstood! I'm currently digging this one the most. If a hi-res version will fix the bluriness, I'm all in for it! Also, maybe cutting off two boxes?
    I've checked the Skins section already, Legal :( I didn't like how they looked. I kind of like how the one I have is setup, but is there a way to make it look less blurry when it gets bigger?
    Something like this with fewer boxes and maybe making it look less blurry for when it enlarges? o: I don't know if the latter is possible haha.

    [STABLE]
    STABLE]
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top