• 🏆 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!
Malhorne
Reaction score
45

Profile posts Latest activity Postings Experience Albums Resources About

  • okay, so:
    Allocate >> create
    chain >> Turn ON
    unchain >> Turn OFF
    deallocate >> eradicate xD
    I know some french dont worry.(Je m'appelle Stalker.Je ne parles pas francais with the weird c)
    Nan, stun bug, c'est tout.

    Comme tous les autres messages deleted sur mon mur d'ailleurs.

    Grr, mais que font les admins !
    Got it, :)
    I want to use struct because I don't have to use the global variable editor in WE if I use struct, I can write all the codes in one piece and do not have click here and there, :)
    Thanks for the clarification. I will follow your guidance, no more extends array at this moment. :)
    But out of curiosity, if the struct only has static methods, then I might be able to use extends array? Right?

    @ Real Life: thank you for your kindness wishes.
    Oh, lol. I don't get why people are too much into efficiency nowadays. With jaws, there can be no efficiency, it's all mind boggling weird things. T_T
    :) Wish you all my best in your real life. (I hope I did not misunderstand your meaning)
    My thread of the "instance" raised some debate. LOL. These things about vJass really confuses me..
    C'est du même ordre que le custom struct allocator VS default struct allocator.
    Au moins sa démarche resterait logique.

    Bonne nuit, je vais au taff demain mais je m'en fous :ogre_haosis:
    Même pas un troll facile ca n'a aucun gout !
    Libre à toi de penser ce que tu veux comme c'est mon cas, tu ne me feras pas changer d'avis à son sujet.
    Pas à mon avis, il n'a pas assez de recul sur lui même, en gros se croit infaillible, et en plus comme ce n'est pas un mappeur la plupart de ses ressources sont buggées car "théoriques", non utilisées dans une map réelle.
    Cela dit je n'aime pas le personnage pour d'autres raisons aussi tel que la démagogie et son côté speedfreak complètement ridicule (liste non exhaustive)
    Oh et puis lol le mec qui prend pour le premier noob venu quoi.
    Faut reconnaitre une chose à Nestharus il a une sacré influence sur les newbie.
    Dans ce cas oui cela a un sens.

    Mais nan j'ai pas fail c'était pour voir si tu étais un gros stalker, et puis quel fail d'abord, t'as des preuves ? :ogre_hurrhurr:
    Evidemment et puis c'est une connerie de remplacer l'allocator par défaut, hormis si on a besoin d'un différent ...
    Flemme de détailler plus, mais j'ai déjà donné des pistes et puis ca tombe sous le sens ...
    I can't get it right .-. well I meant like they dont pass through walls and stuff D: btw imma just send it to yah.
    I'm not waiting it for now, besides, i can't work while i have a physics test tomorrow xD
    And np for the typo .p
    ----------
    HALLELLUJA
    ----------
    it's "HALLELLUYA" or HALLELLUIA"
    whether is the same, sorry but the origin of this is arabic (ma language :3) so i'm just fixing the typo xD

    and it's okay to make changes XD
    recode whut? the drone thingie? if yes. no problem (it should still work xD)
    and 1.3K Post !
    library DoT
    globals
    private constant real FPS = 0.0100
    endglobals

    struct DoT extends array
    private unit caster
    private unit target
    private real interval
    private real during
    private real dmg
    private real temp
    private static integer count
    private thistype prev
    private thistype next
    private static timer period

    private static method iterate takes nothing returns nothing
    local thistype this = thistype(0)
    loop
    set this = this.next
    exitwhen this == 0
    set this.temp = this.temp + FPS
    if this.temp+FPS >= this.interval then
    call UnitDamageTarget(this.caster, this.target, this.dmg, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null)
    set this.temp = 0
    endif
    set this.during = this.during - FPS
    if this.during <= 0 then
    call this.destroy()
    endif
    endloop
    endmethod

    static method add takes unit cast, unit targ, real dur, real inter, real dm returns nothing
    local thistype this

    if thistype(0).prev == 0 then
    set count = count + 1
    set this = count
    else
    set this = thistype(0).prev
    set thistype(0).prev = thistype(0).prev.prev
    endif

    if thistype(0).next == 0 then
    call TimerStart(period, FPS, true, function thistype.iterate)
    else
    set thistype(0).next.prev = this
    endif

    set this.next = thistype(0).next
    set thistype(0).next = this
    set this.prev = thistype(0)

    set this.caster = cast
    set this.target = targ
    set this.interval = inter
    set this.during = dur
    set this.dmg = dm
    set this.temp = 0
    endmethod

    private method destroy takes nothing returns nothing
    if this.next != 0 then
    set this.next.prev = this.prev
    endif

    set this.prev.next = this.next
    set this.prev = thistype(0).prev
    set thistype(0).prev = this

    if thistype(0).next == 0 then
    call PauseTimer(period)
    endif

    set this.caster = null
    set this.target = null
    endmethod

    private static method onInit takes nothing returns nothing
    set count = 0
    set period = CreateTimer()
    endmethod
    endstruct
    endlibrary
    Mallllll, you sig... there is no link in for kawaii.. and you can arrange all this stuff so that the image of kawaii won't get cut off :3 (if you don't know how, i'll be pleased to do it)
    ofcoarse ofcoarse :D I'll just PM you the skills, I'll give you 3 days to work on it :)) hope that's enough.
    What's "Reserved" actually?
    I saw some people post it the first post..
    Haha xD, you don't need to credit me in the sig bro, that's the acolyte's job! I used to think universities got the best wifi trololololol!
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top