• 🏆 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!
looking_for_help

Profile posts Latest activity Postings Experience Resources About Medals

  • A
    Hello,
    your PDD detects the splash damage of the fire orb not as physical damage. For my system I need to get the hit by the splash/ hit by auto attacks, but no spell should trigger my event where I use the units.
    Adding the condition PDD_damageType Equal PDD_PHYSICAL excludes the fire orb splash.
    Do you know what I mean and do you know a solution ?
    I didnt respond because I was writing template stuff that would do the same thing as example, but then I failed, because it would include stuff I would really not want to compile(parse ambiguity mostly), but this could technically be done with concepts:


    template <type T, type U>
    concept ContainerValue
    method T.operator[] takes integer returns U
    endconcept

    template <type Container, type U> requries ContainerValue<Container, U>
    function foo takes Container c, U initValue returns nothing
    endfunction

    :D

    Also what about the C++ concept as template argument style?

    template <type T>
    concept Printable
    method T.print takes nothing returns nothing
    endconcept

    template <Printable P>
    function f takes P p returns nothing
    call p.print()
    endfunction
    .

    Also just now thinking about having Or-ing in the concepts, so the Printable concept would require EITHER method print OR function Print, something like this


    template <type T>
    concept Printable
    or{
    method T.print takes nothing returns nothing
    function Print takes T returns nothing
    }
    endconcept

    ? :D
    I was thinking about something.

    While there is the "auto" feature, do you think having "result_of" for type be useful?

    Like you could say local result_of(funcCall() + 5) r which would compile to whatever the expression funcCall() + 5 evaluates into(as type)
    Reputation (+1):
    (Bundle) I was planning on making a Math Library but you already did. In fact, it's really good.
    I may try opening another free host on that hosting server :D see how it goes, and it is fully html based, and all code is in my hands, so there is no problem porting it anywhere basically, as long as it supports PHP
    well as I said the admins wanted IPs, and Im not going to ask neither give it to them, cause it is very sensitive data. So my only option really is to abandon that website and port it to some other free hosting, or start using pms on hive, because there are only 2 people giving any feedback whatsoever anyways(you and Xonok)
    so update from the admins, they want IP addresses, hell Im not going to give them that :D fuck them, but there was "service unavailable" today 2 times, so maybe the tinkered with something, if you have some time can you please try posting something smoewhere(anywhere anything), to see if the problem vanished or persists?
    apparently its not problem related to you. Ive done testing with Shar and my friend and it seems it is doing regional blocking, because neither you nor Shar are Slovakia/Czech based, and my friend and I are both in Slovakia, and me and him can post freely, but neither you nor Shar can post anything, and both of you get the same error message.

    Email already sent, lets see
    one more thing. The error 403 did appear when? After posting, or when loading the page?(So I know what to ask for)
    that message is full of bullshit. Its in czech, and it says "Error 403: Access denied. Because of attack on hosting application your IP was blocked", thats BULL.

    I will try to contact the admins of the website and ask them what the actual fuck. Meanwhile, I can post it on your behalf if you want.

    Meanwhile, I will add that the "closest upper scope" is not actually needed now, because if it worked like:

    All upper scoes are visible within your scope.

    Then,


    library L
    scope S
    function f...
    endfunction

    struct St
    method m takes nothing returns nothing
    call f() //error, nothing called f inside struct S
    call S.f() //OK, call the function just above
    endmethod
    endstruct
    endscope
    endlibrary
    hey, just wanted to let you know I commented on the "scope resolution operator" on the not publically disclosable project on issue tracker with de-facto proposal + example with current vs next-gen(again, if it ever happens :D) behaviour. Some input is very valued, because this is really big design decision, that could change the way the "thingy" will work completly if someone decides to change it mid-way
    ----------
    Hm, I'm not sure if I understand your suggestion... so you want to make a system that detects whether a damage was melee or ranged, right? How is this going to work? Because I don't know a method that could achieve that...
    ----------
    I have discovered a method that can achieve it.

    Edit: I'll send you a copy of your DDS map/demo with my code in it.
    Likely won't be for a bit though, somewhat busy currently.
    I'm glad I managed to spark some interest. =)

    Everyone above beginner level should know this trick, but nobody thought to combine it with a DDS due to either being lazy or just thinking it to be bothersome. Wouldn't it be nice to detect if the unit is actually really melee or ranged? The Booleans might malfunction and return wrong values, though I am still testing that however by using a certain something you can detect if a unit is melee or ranged. For example with the Booleans you could have a melee unit with 500 range.... Don't you think that should count as ranged instead?

    Edit: I will be trying to somehow figure out a method where it doesn't waste a status slot.
    Hey lfh may I be of assistance to you? I want to help you make the best/ultimate DDS in history of WC3. Which it already is, but it can be even better if you let me make an optional system to go with yours. It requires a slot in the status bar of all units, but that's a small price for what it allows control over.

    I'll tell you all about it if your interested. :thumbs_up:
    Ive done one more update to the website, backgrond one this time. It seems that it was in fact my problem. When posting stuff to database, I was enclosing the string inside '', and escaping the characters of the string. I didnt read carefully the manual tho, and it says that only if you pass additional flag to it it will encode ', so it was passing it in raw, and it fucked up the query. So I changed every query to the database from using ' to using ", while still escaping the contents, so it should be safe to post now.
    if you are going to add anything to the issue tracker, copy the contents before posting please. Xonok wrote rather big message and it didnt get send for some reason. I tried to mitigate this, but I cant really overcome shitty hosting. If you feel like it may not post(it has pretty shit delay today, it takes quite some time for anything on the site), just pm me in here, even tho I said to use the website, but I cant insist on using something that is not responding
    Looks like a lot of things are fucked up lol, thanks for that parser info dude lol.
    the thing is, this percentage value depends on the armor. so when i set it, i need to know the armor, no?
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top