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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  4. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  5. The results are out! Check them out.
    Dismiss Notice
  6. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  7. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  8. 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.
Malhorne
Last Activity:
Oct 15, 2019 at 7:17 PM
Joined:
Sep 14, 2012
Messages:
2,340
Albums:
1
Birthday:
Aug 28, 1996 (Age: 23)
Location:
France

Malhorne

Barry Zemoose, 23, from France

Guess I'm back Jul 24, 2019

Malhorne was last seen:
Oct 15, 2019 at 7:17 PM
    1. MasterHaosis
      MasterHaosis
      I had two exams, I am tired
    2. kakuzu
      kakuzu
      Nice to see you back
    3. MasterHaosis
      MasterHaosis
      whats up man?
    4. kakuzu
      kakuzu
      Happy Easter !
    5. MasterHaosis
      MasterHaosis
      Malhorne, :cgrin:
    6. chobibo
      chobibo
      Heys, hows ares yous?
    7. chobibo
      chobibo
      If I were really banned, I wouldn't be able to log in, this is just a test. Some people are reacting to my posts violently because of the user title 'Bαnned'.
    8. chobibo
      chobibo
      I'm not banned lol, I'm Bαnned :D
    9. chobibo
      chobibo
      I forgot, the guy requested it to be deleted... :(
    10. chobibo
      chobibo
      I guess it hurts to post some 'criticisms' on a 'review'.
    11. chobibo
      chobibo
      Verbal attack.
    12. chobibo
      chobibo
      Just yesterday.
    13. chobibo
      chobibo
      nothing, u?
    14. chobibo
      chobibo
      hey bro :D sup?
    15. BlueSaint
      BlueSaint
      Oh, alright ^^ I've only seen dyn index used, but linked list sounds sensible too.

      Tbh I now see how much vJass enhances JASS :D All the triggers are like, scopes and there's no custom native declarations >.< Bad thing it's not an active project anymore..
    16. BlueSaint
      BlueSaint
      Yup, you're right.

      I'm already very far in the struct way, so I'll just see how it turns out :/

      But I know JASS2 resources use Dynamic Indexing instead of struct-inspired allocation.
    17. BlueSaint
      BlueSaint
      Alright, thanks for guidance ^^

      Btw, I'm creating a vanilla JASS spell, I'm using your allocation in it:
      function Siphon_Deallocate takes integer this returns nothing
      if udg_SiIArr[this] != 0 then
      set udg_SiIArr[udg_SiIArr[this]+4050]=udg_SiIArr[this+4050]
      endif
      set udg_SiIArr[udg_SiIArr[this+4050]]=udg_SiIArr[this]
      set udg_SiIArr[this+4050]=udg_SiIArr[4050]
      set udg_SiIArr[4050]=this
      if udg_SiIArr[0]==0 then
      call PauseTimer(udg_SiT)
      endif
      endfunction

      function Siphon_OnExpire takes nothing returns nothing

      endfunction

      function Siphon_Allocate takes nothing returns integer
      local integer this
      if udg_SiIArr[4050]==0 then
      set udg_SiIArrM=udg_SiIArrM+1
      set this=udg_SiIArrM
      else
      set this=udg_SiIArr[4050]
      set udg_SiIArr[4050]=udg_SiIArr[udg_SiIArr[4050]+4050]
      endif
      if udg_SiIArr[0]==0 then
      call TimerStart(udg_SiT, Siphon_Interval(), true, function Siphon_OnExpire)
      else
      set udg_SiIArr[udg_SiIArr[0]+4050]=this
      endif
      set udg_SiIArr[this]=udg_SiIArr[0]
      set udg_SiIArr[0]=this
      set udg_SiIArr[this+4050]=0
      return this
      endfunction
      Looks messy as fuck >_<
    18. Heinvers
      Heinvers
      Such moose, much fun, more serious.
      :>

      Hi Malhorne :)
    19. chobibo
      chobibo
      ----------
      Here is the thing we can't really know (or I'm not aware and I'll be welcome to know). One solution is that their hashing function takes 3 arguments, the keys and the value and then determine the index.
      Or it is more basic and then the first key give the place in the array and the second key the place in the linked list.
      ----------
      Probably, they use both keys to generate a "hash" for the handle id.
    20. chobibo
      chobibo
      Let's both do this expression then haha XD
      [IMG]
  • Loading...
  • Loading...
  • About

    Birthday:
    Aug 28, 1996 (Age: 23)
    Location:
    France
    Favourite Race:
    Old Gods
    Favorite Organization/Clan:
    Scarlet Crusade

    Interact

  • Loading...
  • Loading...