1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Ride into the sunset with the 32nd Modeling Contest. The contest is optionally paired. Best of luck, people!
    Dismiss Notice
  4. This adventure has come to an end. Congratulate our heroes in the 16th Mini Mapping Contest Results.
    Dismiss Notice
  5. From the gates of hell, the 5th Special Effect Contest Results have emerged.
    Dismiss Notice
  6. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.
Magtheridon96
Last Activity:
Jun 1, 2019
Joined:
Dec 12, 2008
Messages:
6,006
Albums:
2

Awarded Medals 2

Birthday:
Jul 2, 1996 (Age: 23)
Location:
Lebanon
Occupation:
Student

Magtheridon96

♥ C++14 ♥, 23, from Lebanon

Magtheridon96 was last seen:
Jun 1, 2019
    1. Guest
      Guest
      [01-26-43] Magtheridon96: penis penis penis penis penis penis penis penis penis penis penis penis penis penis penis

      that was awesome for a moderator, anyway thanks for C++
    2. Frotty
    3. Ender
      Ender
      could you look at my jass submission again? I just updated it and could use some feedback.
    4. HammerFist132
      HammerFist132
      windows xp sp2, rly I have to learn much more :)
    5. HammerFist132
    6. HammerFist132
      HammerFist132
      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.
    7. gorillabull
      gorillabull
      thats really goooood + more rep for you :D
    8. gorillabull
      gorillabull
      ----------
      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
    9. Aeroblyctos
    10. Geries
    11. Geries
      Geries
    12. muzzel
      muzzel
      ----------
      [01-26-43] Magtheridon96: penis penis penis penis penis penis penis penis penis penis penis penis penis penis penis
      ----------
      wait, you are moderator?
    13. Geries
      Geries
      [IMG]

      HA! HAHA!
    14. Geries
    15. Geries
    16. Geries
      Geries
      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
    17. mateuspv
    18. Geries
      Geries
    19. Nestharus
      Nestharus
      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.
    20. Geries
      Geries
      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.
  • Loading...
  • Loading...
  • About

    Birthday:
    Jul 2, 1996 (Age: 23)
    Location:
    Lebanon
    Occupation:
    Student
    Current Project:
    -
    WarCraft 3 Account:
    -
    WarCraft 3 Realm:
    Northrend (Europe)
    Favourite Race:
    Arakkoa
    Favorite Organization/Clan:
    Kirin Tor
    StarCraft II Account:
    -
    I'm a 3-time competitive programming national champion, and I have an MSc in Computer Science from Oxford.

    Stop being poor

    Signature

    [​IMG]
  • Loading...
  • Loading...
  • Loading...