OCX Tools

Discussion in 'Player Created Lua Script Repository' started by Feldon Grimshaw, Dec 31, 2019.

Tags:
  1. Archer

    Archer Avatar

    Messages:
    245
    Likes Received:
    174
    Trophy Points:
    30
    Location:
    UK, EU, Terra
    Just checked out the latest version. Love the new Harvest window, except that it is missing Tungsten!
     
  2. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    221
    Likes Received:
    364
    Trophy Points:
    18
    hehe ... i only added a few of the things i care about. but i could add tungsten. what other things might be useful? i thought about various things from trees as well
     
  3. Archer

    Archer Avatar

    Messages:
    245
    Likes Received:
    174
    Trophy Points:
    30
    Location:
    UK, EU, Terra
    Yes, the various barks, Pine Resin and Pecan Nuts from trees would be good. Also, Hoppers from Cotton
     
    Sean Silverfoot and Anpu like this.
  4. Glepo

    Glepo Avatar

    Messages:
    65
    Likes Received:
    33
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
    Best thing would be if possible to be able to add the things yourself you want to have in the harvest window.
     
  5. Anpu

    Anpu Bug Hunter

    Messages:
    5,538
    Likes Received:
    6,176
    Trophy Points:
    153
    Location:
    Pacific Northwest
    Can you add a kill counter for creatures you kill? I just really need that for testing purposes. Thank you.

    EDIT just to clarify: List each and every single specific creature killed and how many. And this is fine if it is just per session as well.
     
    Last edited: Feb 24, 2021
  6. zavb9lov

    zavb9lov Avatar

    Messages:
    99
    Likes Received:
    122
    Trophy Points:
    20
    Gender:
    Male
    Location:
    Russian, Tomsk
    объясните пожалуйста глупому человеку как запустить программу? для windows 10
     
  7. Lorddread

    Lorddread Avatar

    Messages:
    22
    Likes Received:
    10
    Trophy Points:
    3
    Hi gett ing a lua error when i click button to open xp window
    lua error in chunk_7:(1,76103-76105): attempt to call a nil value
    The xp windows does come up though.
     
  8. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    221
    Likes Received:
    364
    Trophy Points:
    18
    Hopefully google translated the russian correctly. you unzip the file into the Lua folder inside the game's directory. You can get to the game directory by typing "/datafolder" from within the game.
    once it's unzipped, either restart the game, or you can type "/lua reload" to load the module. the first post on this thread has a video on how to use the ocx tools.
     
    zavb9lov likes this.
  9. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    221
    Likes Received:
    364
    Trophy Points:
    18
    hmm ... well i've got a new version coming out soon. perhaps that will fix it. does it happen every time, or just sometimes?
     
    Glepo and FrostII like this.
  10. Anpu

    Anpu Bug Hunter

    Messages:
    5,538
    Likes Received:
    6,176
    Trophy Points:
    153
    Location:
    Pacific Northwest
    This mod doesn’t have anything you click on to open the xp window, it’s only by keys. Is this person perhaps using a different mod?
     
  11. Cora Cuz'avich

    Cora Cuz'avich Avatar

    Messages:
    3,973
    Likes Received:
    6,454
    Trophy Points:
    153
    Location:
    Veritas Sanctuary
    I started using this a few days ago. Other than ctrl-shift-f12 for the main bar, I click on all the stuff to show/hide windows. I'm sure there's key commands, but I don't any of them.
     
  12. Anpu

    Anpu Bug Hunter

    Messages:
    5,538
    Likes Received:
    6,176
    Trophy Points:
    153
    Location:
    Pacific Northwest
    Ahhh I had actually missed that, thanks. I have just been using the keyboard keys to open windows.
     
  13. AzazelReborn

    AzazelReborn Avatar

    Messages:
    196
    Likes Received:
    239
    Trophy Points:
    18
    When is the new version coming out?

    BTW XP is the first button and on console when you click crtl-shift-f12.
     
  14. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    221
    Likes Received:
    364
    Trophy Points:
    18
    FrostII, Glepo and Anpu like this.
  15. Anpu

    Anpu Bug Hunter

    Messages:
    5,538
    Likes Received:
    6,176
    Trophy Points:
    153
    Location:
    Pacific Northwest
    Thank you for adding the specific creatures killed and kill counter!
     
    Feldon Grimshaw, FrostII and Glepo like this.
  16. Lorddread

    Lorddread Avatar

    Messages:
    22
    Likes Received:
    10
    Trophy Points:
    3
    Happens every time and only when you open the xp window with button ie it doesn't come up when i close the xp window if that matters. I haven't tried using the key combo to open it though only the button. Still there is last ver i got which i think is 1.37. maybe i should del whole ocx folder and then copy new one in there incase there is a file in the folder thats not in newer version. Oh checking now and the error has changed a bit ie the numbers
    lua error chunk_7:(1,77542-77544) attempt to call a nil value
    I assume because you added code to the file and it moved it to dif location.
     
  17. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    221
    Likes Received:
    364
    Trophy Points:
    18
    @Lorddread you might want to just try to clear out all the old data files in the /Lua/ocx that have to do with xp (xp-XXXX.dat). That line# is referring to an xp attenuation calculation. Not sure why it would be giving you an error. In the next release, i'll wrap some protection code around it and try to improve logging to help track it down.
     
    Lorddread and FrostII like this.
  18. AzazelReborn

    AzazelReborn Avatar

    Messages:
    196
    Likes Received:
    239
    Trophy Points:
    18
    Hi I keep getting these error, that causes my computer to slow down to a crawl.

    [09/03/2021 18:05:58] [18:05] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:05:59] [18:05] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:01] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:02] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:03] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:04] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:05] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:07] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:08] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:09] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:11] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:12] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:14] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
    [09/03/2021 18:06:15] [18:06] (Lua): Lua Error chunk_1:(1,101451-101480): table index is nil
     
  19. Anpu

    Anpu Bug Hunter

    Messages:
    5,538
    Likes Received:
    6,176
    Trophy Points:
    153
    Location:
    Pacific Northwest
    This only happens when you have the toolbar open correct? I never open the toolbar and only open the Windows with the hot keys, and I have yet to see this error?
     
  20. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    221
    Likes Received:
    364
    Trophy Points:
    18
    It looks like the kills data file might be corrupted. In your Lua/ocx dir, if you delete any files that start with "kills", it should fix it. (you'll have to reload lua afterwards - /lua reload)

    i'll make a note to add some error checking around this for the future.
     
    FrostII likes this.