OCX Tools

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

Tags:
  1. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    224
    Likes Received:
    364
    Trophy Points:
    18
    Hello everyone. I've just released OCX Tools 1.3.8.

    OCX Tools 1.3.8

    There is a video of using it here: .

    V 1.3.8 contains:
    • bug fix: xp window opened via toolbar caused error
    • bug fix: unable to reset harvest via reset button
    • bug fix: harvest window didn't stay closed if closed via toolbar
    • better error handling when loading kills window
    • bug fix: allow ctrl-shift-[ and ctrl-shift-] movement on stats detail if opened via toolbar
    ---

    But the big change this time was Mac support. You can now use everything (except timers) on a Mac. It's all diven via the keyboard, since the reason it wasn't on Mac before is because buttons didn't work and so the toolbar didn't work.

    To learn all the keyboard commands, click the link in the lua window you see when the game first loads. The keyboard commands also work on Windows.

    One thing i did notice on the Mac installer is that if i used the finder gui to unzip it, it flattened everything into the same directory. You will need to go to the terminal and run the unzip cmomand to get everything into the proper location. You should have the ocx-tools.lua file in the Lua directory, and a subdirectory named ocx:

    [​IMG]

    Inside of the ocx directory, you have a few files and a few subdirectories:

    [​IMG]
     
    Last edited: Mar 25, 2021
    Xithar, Rinaldi, Quotient and 24 others like this.
  2. FrostII

    FrostII Bug Hunter

    Messages:
    5,286
    Likes Received:
    10,280
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Pacific Northwest
  3. amarious

    amarious Avatar

    Messages:
    370
    Likes Received:
    964
    Trophy Points:
    43
    Gender:
    Male
    Very nice my friend! Lookin good!
     
  4. Barugon

    Barugon Avatar

    Messages:
    13,699
    Likes Received:
    21,303
    Trophy Points:
    153
    Gender:
    Male
    How are you able to have an avatar other than the lot owner attack your practice dummy?
     
    addrox likes this.
  5. Margaritte

    Margaritte Avatar

    Messages:
    600
    Likes Received:
    2,246
    Trophy Points:
    105
    Gender:
    Female
    Location:
    California
    As long as the lot owner is present, you can use the dummy, pretty sure.
     
  6. Barugon

    Barugon Avatar

    Messages:
    13,699
    Likes Received:
    21,303
    Trophy Points:
    153
    Gender:
    Male
    Thanks. Forgot about that.
     
  7. Archer

    Archer Avatar

    Messages:
    247
    Likes Received:
    174
    Trophy Points:
    30
    Location:
    UK, EU, Terra
    Tried getting this running on Linux. After jumping over the usual problems (like the filepath bug) I got it started and immediately hit an error: Lua error chunk_5:[1,11005-11031]: Attempt to index a nil value

    Given the lack of formatting there's no way I can debug it ;-)
     
  8. Daxxe Diggler

    Daxxe Diggler Avatar

    Messages:
    2,704
    Likes Received:
    5,738
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Virtue Oasis - Hidden Vale
    Just watched the video. I think the ability to move any of your elements is one of the best features. Looks great so far. Looking forward to trying it and seeing what else you add to it.
     
    Feldon Grimshaw likes this.
  9. Malek Zandor

    Malek Zandor Avatar

    Messages:
    54
    Likes Received:
    70
    Trophy Points:
    8
    Well done - thank you
     
    Feldon Grimshaw likes this.
  10. Daxxe Diggler

    Daxxe Diggler Avatar

    Messages:
    2,704
    Likes Received:
    5,738
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Virtue Oasis - Hidden Vale
    DPS Meters don't include pet damages?
     
  11. Archer

    Archer Avatar

    Messages:
    247
    Likes Received:
    174
    Trophy Points:
    30
    Location:
    UK, EU, Terra
    One suggestion. Instead of having two entries in the Lua directory, consider having the images one under the ocx one: i.e. ./ocx/images
     
  12. Morgathys

    Morgathys Avatar

    Messages:
    172
    Likes Received:
    262
    Trophy Points:
    18
    Gender:
    Male
    I'd like to suggest to the possibility to rename timers =)

    Great tool, ggwp!
     
  13. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    224
    Likes Received:
    364
    Trophy Points:
    18
    No, but .. they probably should. I'll add it to my list.
     
  14. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    224
    Likes Received:
    364
    Trophy Points:
    18
    Why didn't I think of that? It's only this way from some left over cruft before I made an installer. I'll rearrange things. Good idea.
     
  15. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    224
    Likes Received:
    364
    Trophy Points:
    18
    How do you mean? Like adding a title above each timer that you can change?
     
  16. Murphy

    Murphy Avatar

    Messages:
    79
    Likes Received:
    80
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Atlanta, Ga
    Are wildcards a possibility when adding/subtracting things to loot table ie. "!addloot * Fragment" "!addloot Pine *" "addloot Rusty *"
     
  17. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    224
    Likes Received:
    364
    Trophy Points:
    18
    hmm, that would be a bit more challenging, technically, because it's just doing name matching. additional state would need to be kept, but yes, it's possible. i'll think about it.
     
  18. Zurthock

    Zurthock Avatar

    Messages:
    54
    Likes Received:
    50
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Montreal, QC
    The XP button doesn't do anything for me anymore. The first time it worked and now every time I click on it, nothing is showing up. I've reloaded, bounced the game and re-copied the files, without success. Any one has an idea?

    Thank you,
    Z.
     
  19. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    224
    Likes Received:
    364
    Trophy Points:
    18
    In the Lua/ocx directory, here is a file named "xp-[your avatarname].dat". if you delete that file, it should reset the xp window.
     
  20. Echondas

    Echondas Bug Hunter Bug Moderator

    Messages:
    2,941
    Likes Received:
    3,427
    Trophy Points:
    165
    Gender:
    Male
    Location:
    NY
    The script loads but nothing appears on the screen? This is with latest greatest as of right now.

    Ah -- hitting Ctrl-Shift-F12 made the menu appear.
    (nothing appears on screen automatically after the script loads initially or doing a /lua reload)
     
    Last edited: Jan 4, 2020