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

Profile posts Latest activity Postings Experience Albums Resources About Medals

  • hello my master, I have started my programmin life few months ago, and it was with ''python'' I have mastered it well, but now I was to learn something in C++ in Visial Studio 2010, problemm is because I cannot find dl link for SP2 version, pls can u help me.
    ----------
    One other thing I noticed is your reliance on one timer per instance.
    Instead of having one timer per instance, you can have one timer for the system entirely.
    It would work like this:

    You would keep an integer called count to keep track of the number of instances running.
    When a new instance is created, increase count by 1. If count is then 1, start the global timer to iterate over instances in the list.
    When an instance is destroyed, decrease count by 1. If count is then 0, pause the global timer to stop iterating over the instances in the list.

    This way, your system would be pretty efficient for large numbers of DamageOverTime instances. (Hundreds)
    ----------


    i know about this method but the whole point of the system is to deal the damage once per specific interval so that if you have a custom critical strike in your map the damage has a chance to be multiplied, if i used the timer loop it will crit many many times and that looks weird kinda like drain life i want it to look like doom for example, although you can make it look like lifedrain too. same goes for heals. it looks weird if you are healing every 0.001 second and that has other problems. for example if a unit is being healed every 0.001 second then it will block some of the damage incoming to it which makes the heal act sort of like a shield absorbing some of the damage, but if you heal the unit once per 3 seconds for example then that is totally different.
    i had to limit the number of instances because it gets very laggy if you have more than 15-20 running at the same time , the reason for this is because i cant figure out a more efficient way to check if the specific time per interval of an instance has elapsed than to first calculate the time of an interval then calculate the number of intervals and then put them in "double" array where where the first slot was for the damage over time instance and the second was for the number of instances
    so if i had 5 instances each with a 3 second timeout for 1 dot instance i would put them in an array like somename[1] [5]. then i would have to loop through all the dot instances of the somename[loop] and then another loop for the second slot i also have to store the number of instances per dot instance to know when to stop the second loop
    also this loop runs every 0.001 seconds and the condition checks:
    if elapsed timer time[timer created for instance] == somename[loop1] [loop2] then ..
    do damage or heal.. i know its very confusing but thats the point of damage over a specific interval
    sadly i cant come up with a better, more efficient method to check if the elapsed time of the timer is equal to the interval time of the instance but ill keep trying and soz about wall of text XD
    ----------
    [01-26-43] Magtheridon96: penis penis penis penis penis penis penis penis penis penis penis penis penis penis penis
    ----------
    wait, you are moderator?
    Soo, I'll leave that damn password encrypting to SHA512, and I found a lot more awesome place where to use the password-generated-key GCrypt encryption :D You know, there are those fancy databases which will be two-step encoded, so user will have to give set the password at config.file/command line/exe will ask for( thats the safest, so they have to memh4xx ), so they will have to bruteforce it, max 8,5781777534284265411908227168123e+506 variations of keys. :))) And there I'd not care about collisions much, because they can go die if they even let ppl extract every database :D
    Send me what u have for week 4 atm, I've some ideas : )

    I'm thinking discrete math instead of boolean algebra

    The project should be
    Given a list of conditions (like if a is pressed, then b and c have to be pressed), create a boolean expression and then simplify that expression. From there, apply it to solve the problem.
    lol this fedora shit corrupted the partition table... Its not more than 1 kb( I think 512 bytes ) and it successfully corrupted even that. Good point to the windows: it fixed it... I don't even think I'd like to have a linux crap on my pc. Linux can fuck itself.
    I was messing with this fedora linux shit, attempting to install the booter for an SD card and installing the rest of the OS to a reserved spot on the disk, so it won't mess up the windows booter, and anytime I want I can switch between OS-es. Awesome plan isn't it? :D So this install finished, I rebooted my pc, I saw windows starting, yay it still works :D then I saw something blue shit appear, and it restarted :C I was like: "was that a bluescreen you motherfucker?!" and "I DON'T WANT TO REINSTALL YOU YOU PIECE OF SHIT WINDOWS". I tried to boot the installed fedora, fucken comp said "NO >:C" and refused to boot from SD card. I tried Windows repair shit, it booted and stuff, but it didn't list the Windows7 there........ Ok, I pressed "Fix boot problems", it detected errors, started fixing and said it might even take up one hours. Ofc in 10 secs it popped error that it can't fix it xD So I tried the installer DVD too, because that has some partition managing stuff, so I can check if something fucked up. Well, kinda it was, it couldn't even recognize the disk. I was like wtf. So I booted on live OS again, and deleted that fucker fedora partition while yelling "DIE BITCH". And windows booted. So again, I have wincrap, no linux. But this time I didn't have to reinstall it, not like I could since this damn installer couldn't even see the disk. At all.

    A cool story, bro :D

    So now, what I'll do will be to try setting a linux partition which won't bludeth windows.... then I don't know, I need something for boot, but I don't actually want to have some custom bootloader
    hahaha!
    But I knew that you have once in time a specific idea. I knew this will happen, soon or later. :cgrin:
    Plus you are enhanced with haosis virus, thats why it happens often.
    Y u no enjoy life?! :C Not enjoying life with me?! I SHALL BE THE ONE WHO'S NOT ENJOYING LIFE! I LIVE WITH YOU, I DO EVERYTHING FOR YOU, AND YOU ARE EMO-ING HERE :C I SHALL BREAK UP WITH YOU :C
    Opposite of asexual? Bsexual? :D
    Hahaha, sorry.

    Seriously, don't end up too bad thinking about your future.
    I will guarantee you 100% it won't be as you imagine :p
    When I was 16 my life looked the same.
    But I am pretty sure it will change a lot in the next few years :)
    So you destroy yourself?
    You can be just like me, 22, successful in work, love and family ;D
    Hey mag, I know you are busy with more important stuff, so take your time and enjoy life :)
    Reputation (+1):
    (Post) Love your JASS course idea and will defiantly be learning from it thanks so much:)
    If you find a valid reason why is the encrypt 3 times slower just vm me :p

    Anyways I realized that the two-step encrypting is possible too, and not much gayer to handle :D
    Wow. I certainly did not expect that. All I can say is please excuse me if I made you question your authority. The work you've done for THW is astounding, and everyone respects that.

    Cheers,
    Heh. :p Well, the tablet I've got doesn't cost much more than a full-priced game, but still, I see the problem. ;)

    Anyways, feel free to pop into the sigshop! I think you're one of the people with requests still on the old list.
    Whoa bro! I come back to the site for another go, to find out that you've surpassed me in every aspect? What is this heresy?! :mad:

    Nah, I kid. ^^ Congratulations on your great success!
    Hey Mag. I hope it's OK that I just hand in my assignments when I complete them. I haven't touched a computer since Friday. I'm writing this from my phone.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top