Nestharus
Reaction score
84

Profile posts Latest activity Postings About

  • Hey this is regarding that post refering to x == 0 issues
    couldnt you do a boolean check on it? cuz isnt 0 = false and 1 = true?
    so: [ljass]if not x then[/ljass]
    Have you fixed the QSort already?
    Another Q
    I read somewhere that QuickSort is good for sorting lists for the first time, but after that MergeSort outspeeds it. Is this true?
    Nes your QSortI is broken, please fix it. I was trying to add a compare method and continued to fail, then tested it without my modding and it turned out to be failing big time >.>
    How about a timer that starts at initialization and never stops, when a timer it's created check the main timer's elapsed time and when does the new timer expire considering the main timer (like a time stamp), then sort them through a binary heap?
    Finally found the bug, It seems that units in my TD are DEINDEXED the second they enter the map, why? because they're instantly ordered to move to a location and they don't have the index ability yet, causing them to be deindexed. Another bug i found is because WorldBounds is bugged, looks like if the unit touches the border of the map it's deidexed and it shouldn't. Please fix thse weird bugs
    i JUST copied them from the webpage. Also checked the code and nothing seemed to be wrong with it. However there seems to be an issue regarding the "e" unit array in the unit indexer because some of my tests indicate that targetId returns an integer, but when i try to get an unit from that value it returns null.
    With [ljass]GetUnitById(DamageEvent.target)[/ljass] i hope you mean [ljass]GetUnitById(DamageEvent.targetId)[/ljass] which is basically what the operator returns. And yes, in my triggers DamageEvent.source returns an unit, but DamageEvent.target is null.

    I'll PM you my code

    In the version of unit indexer GetUnitId was commented, just downloaded it again from the webpage. Still using GetUnitUserData should be better

    EDIT: the weird thing is that targetId does return an integer, but GetUnitById(targetId) returns null
    So i decided to delete AIDS, Damage and Event (J4L libraries) from my map and replace them with yours.
    You should probaly fix the API in your Damage library from EVENT to ANY (in the post you submitted not the trigger)
    You should also mention that you commented the GetUnitId function from you UnitIndexer because users are meant to call GetUnitUserData directly

    EDIT: your damage library seems to not be returning the DamageEvent.target unit when the trigger fires. Why?
    Ok got it working now, i think that the LUA_FILE_HEADER from the quickstart tutorial is outdated.

    On a side note, i can't use your libraries now because you stole other library's names. For instance, you have your own "event" library different from J4L's, but if i replace his with yours then i can't use J4L's Damage system.
    Hm so i tried to install LUA into my map but returns an error with the ObjectMerger external block, plus, my luajass.myMap.j text file is EMPTY, why?
    This is the log from the grimex.txt file

    currentobjecttype
    setobjecttype abilities
    generateid Adef
    objectexists A!!!
    createobject A!!!
    makechange 0 anam
    makechange 0 ansf
    makechange 0 aart
    makechange 0 arac
    C:\DOCUME~1\UserName\LOCALS~1\Temp\V2CD9.tmp.lua:46: attempt to index global 'file' (a nil value)
    1 loop and 2 nested loops, that's just insane, i can't do it.
    The only thing i've done so far is put the compared values at the end of the linked list. Beyond that i don't know what else to do
    Great! the system surpasses all expectations then, it's ready for submission. Btw i'm completly lost on those algorithms you linked me, i can barely decipher the programming language they're using.
    Ok... at the very top of the heap, the root, the very first node you access... that's the biggest/smallest value >.>.

    It's O(1) access. It's like always being assured that the first node in a linked list is going to be the smallest or biggest values.
    i've been reading the lecture about heaps, it's very interesting, but there's one algorithm that i just don't get: the Heap-Max-Extract algorithm, it's not explained graphically anywhere
  • Loading…
  • Loading…
  • Loading…
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Thursday!
    +1
  • The Helper The Helper:
    Added new Crab Bisque Soup recipe - which is badass by the way - Crab Bisque - https://www.thehelper.net/threads/soup-crab-bisque.196085/
  • The Helper The Helper:
    I feel like we need to all meet up somewhere sometime. Maybe like in Vegas :)
    +2
  • The Helper The Helper:
    Would love to go to Vegas I have never been and it would be an adventure! Who is in?
  • The Helper The Helper:
    at least the full on bot attack has stopped it was getting ridiculous there for a while and we use cloudflare and everything
  • jonas jonas:
    I'm sure my wife would not be happy if I went to Vegas, but don't let that stop you guys - would be hard for me to attend anyways
    +1
  • jonas jonas:
    Do you know why the bot attack stopped?
  • The Helper The Helper:
    maybe they finally got everything lol
  • Ghan Ghan:
    There's lots of good food in Vegas.
  • Ghan Ghan:
    Everything tends to be pretty expensive though so bring your wallet.
    +1
  • The Helper The Helper:
    I have to wait longer if I am going for food because my teeth are still messed up from the work and I still cannot eat right. Going to be a couple more months before that gets better
    +1
  • The Helper The Helper:
    I would immediately hitting the dispensary though :)
    +1
  • Varine Varine:
    My Xbox account got hijacked, and apparently I have a different one from like 10 years ago that Microsoft keeps telling me is the right one
  • Varine Varine:
    Like NO, I mean for some reason that one is attached to my email, but it's not the right one
  • Varine Varine:
    I have a different one, and that one has my credit card attached to it and I would like that credit card to not be attached to it if I can't get it back
  • Varine Varine:
    Anyway Microsoft is not very helpful with this, they just keep telling me to fill out the Account Recovery form, but that just redirects me to the other account
  • The Helper The Helper:
    They should not allow you to put a credit card on a account that does not have human customer service you can call
  • Varine Varine:
    That's the only thing that got hijacked at least. I don't totally know how these integrate together, but it seems like I should be able to do this via the gamertag. Like my email is still mine, but they changed the email to that account I'm guessing.
    +1
  • Blackveiled Blackveiled:
    I went to Vegas a few weeks ago to visit my mom. I had never been either, lol! But I'm working in Salt Lake City at the moment so it's not a far trip.
    +2
  • The Helper The Helper:
    I have never been to Vegas and it is on the bucket list so...
    +1
  • tom_mai78101 tom_mai78101:
    Recently getting addicted to Shapez.
    +1
  • Ghan Ghan:
    I've heard Shapez 2 is good.
    +1
  • Ghan Ghan:
    Also Satisfactory 1.0 released on the 10th and that has been excellent as well.
    +1
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic day!

      The Helper Discord

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top