1. The long-awaited results for Concept Art Contest #11 have finally been released!
    Dismiss Notice
  2. The mythological era has spawned some interesting characters around. Check them out and be sure to vote for them in the 30th Poll of the Texturing Contest.
    Dismiss Notice
  3. The 20th iteration of the Terraining Contest is upon us! Join and create exquisite Water Structures for it.
    Dismiss Notice
  4. Hivers united and created a bunch of 2v2 melee maps. Vote for the best in our Melee Mapping Contest #4 - Poll!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Malhorne
Last Activity:
Jun 27, 2017
Joined:
Sep 14, 2012
Messages:
2,336
Albums:
1
Birthday:
Aug 28, 1996 (Age: 22)
Location:
France :3

Malhorne

Coding and Metal ~, 22, from France :3

Malhorne was last seen:
Jun 27, 2017
    1. MasterHaosis
      MasterHaosis
      whats up man?
    2. kakuzu
      kakuzu
      Happy Easter !
    3. MasterHaosis
      MasterHaosis
      Malhorne, :cgrin:
    4. chobibo
      chobibo
      Heys, hows ares yous?
    5. 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'.
    6. chobibo
      chobibo
      I'm not banned lol, I'm Bαnned :D
    7. chobibo
      chobibo
      I forgot, the guy requested it to be deleted... :(
    8. chobibo
      chobibo
      I guess it hurts to post some 'criticisms' on a 'review'.
    9. chobibo
      chobibo
      Verbal attack.
    10. chobibo
      chobibo
      Just yesterday.
    11. chobibo
      chobibo
      nothing, u?
    12. chobibo
      chobibo
      hey bro :D sup?
    13. 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..
    14. 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.
    15. 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 >_<
    16. Heinvers
      Heinvers
      Such moose, much fun, more serious.
      :>

      Hi Malhorne :)
    17. 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.
    18. chobibo
      chobibo
      Let's both do this expression then haha XD
      [IMG]
    19. chobibo
      chobibo
      Holy shit, you're right! I forgot to greet you, sorry :( Happy Nyu Year bro! :D
    20. BlueSaint
      BlueSaint
      I think it's made with dynamic arrays.
      Mother dynamic array to point to its children,
      and child dynamic arrays which have the values.
  • Loading...
  • Loading...
  • About

    Birthday:
    Aug 28, 1996 (Age: 22)
    Location:
    France :3
    Current Project:
    Wut?
    WarCraft 3 Realm:
    Northrend (Europe)
    Favourite Race:
    Pandaren
    Favorite Organization/Clan:
    Scarlet Crusade

    Interact

    Signature

  • Loading...
  • Loading...