OCX Tools

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

Tags:
  1. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    hmm, good point. i'll change it so the toolbar is on by default.
     
    Anpu and Echondas like this.
  2. Echondas

    Echondas Bug Hunter Bug Moderator

    Messages:
    3,785
    Likes Received:
    4,001
    Trophy Points:
    165
    Gender:
    Male
    Location:
    NY
    Thanks! I was watching the video and it sounded/seemed like the toolbar appeared automatically after the script loaded. Thanks for adjusting :) So far so good - thanks for the cool toy :)
     
    Feldon Grimshaw likes this.
  3. Echondas

    Echondas Bug Hunter Bug Moderator

    Messages:
    3,785
    Likes Received:
    4,001
    Trophy Points:
    165
    Gender:
    Male
    Location:
    NY
    I see if I have "Lua" enabled in chat filters - it appears all the chat data is going to LUA ? if that's true - a cool feature might be to set up some kind of keyword list that you can parse for - and then trigger an alert (either visual or audio) or perhaps send that filtered output (grep the line with the keyword, basically) to a window?

    Example: someone might not be watching chat but they care if someone mentions their name in Universal chat, or some other keyword from a list?
     
  4. Zurthock

    Zurthock Avatar

    Messages:
    52
    Likes Received:
    50
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Montreal, QC
    I deleted the file (8 KB) with the game closed. I re-opened and reloaded lua. The file got re-created (1 KB), but still, when I click on the [XP] button, nothing is showing up...

    Thank you for your help,
    Z.
     
  5. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    that's an interesting idea...

    yes, lua gets everything that goes to the chat windows, so i can intercept it. and yes, i could allow some way to add a list of listen filters, and yes, i could pop up a window. (can't play sounds yet, but there are rumors that might be coming)., i could also send it to the lua console window with colored highlighting.

    i'll add it to my list.
     
    Anpu and Echondas like this.
  6. Elgarion

    Elgarion Dev Emeritus Dev Emeritus

    Messages:
    3,223
    Likes Received:
    9,292
    Trophy Points:
    153
    Gender:
    Male
    I watched the video - great app! I'll give it a whirl soon as I start to use more and more LUA creations. Great job man :)
     
  7. Morgathys

    Morgathys Avatar

    Messages:
    209
    Likes Received:
    321
    Trophy Points:
    18
    Gender:
    Male
    Exactly, as we have 3 timers, adding a description should help to identify which timer is what.
    I don't tested but it is persistent between sessions? Should be great if we can increase the timers for watering farms (need more than 1 hour max)

    cheers
     
  8. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    that's on my todo list: a farming timer. i was waiting until we had more sophisticated UI options so there could be dropdowns to pick seed type (slow/medium/fast), area type (slow/medium/fast) and then it could calculate how long for you. and also some way to have a window that scrolls so you could have unlimited timers in case you have lots of farms..
     
    Numa, Morgathys, Anpu and 2 others like this.
  9. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    thanks!
     
    Elgarion likes this.
  10. Malek Zandor

    Malek Zandor Avatar

    Messages:
    57
    Likes Received:
    79
    Trophy Points:
    8
    Can you please insert the current version number of the mod with the release date in the first post?
     
  11. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    done. also, there's a new version.
     
    Malek Zandor, Echondas and Anpu like this.
  12. Drake Aedus

    Drake Aedus Avatar

    Messages:
    536
    Likes Received:
    886
    Trophy Points:
    75
    Gender:
    Male
    Firstly thanks, great work. Next, feedback. :)

    1) Can we get an !ocxhelp command to list your available commands from ingame?

    2) Can you disable the extraneous OnConsoleInput messaging in the lua tab?
     
    Sean Silverfoot likes this.
  13. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    Thanks. Great feedback!

    1) How's this?

    [​IMG]

    2) Done. It was a debug statement i forgot to remove.
     
    Numa, Sean Silverfoot, Mimner and 2 others like this.
  14. Glepo

    Glepo Avatar

    Messages:
    65
    Likes Received:
    34
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
    Hi,

    excellent stuff in this lua for sure thanks for that. I seem to have one problem with the loot though. I can not get the loot tracker to register supply bundles. I can not get it to track any of the supply bundles.
     
    FrostII likes this.
  15. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    good catch. there was a parsing error if the loot item had a parenthesis. fixed. will be in the next release.
     
    Mimner and FrostII like this.
  16. FrostII

    FrostII Bug Hunter

    Messages:
    5,890
    Likes Received:
    11,038
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Pacific Northwest
    Excellent work, @Feldon Grimshaw ! ;)
     
  17. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    Version 1.2.6 has been released. The link is at the top of this thread.
     
    FrostII, Mimner and Echondas like this.
  18. Glepo

    Glepo Avatar

    Messages:
    65
    Likes Received:
    34
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
    Hmm how do I add looted gold to my ===Loot=== table? Would be nice to know how much gold I have looted in 2, 3, 4, 7 days. Also would be nice to have a counter on the loot table that shows how many days it has recorded loot in it.
     
    FrostII likes this.
  19. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    257
    Likes Received:
    448
    Trophy Points:
    28
    Gold is tracked separately, but ... not a bad idea to allow it to be in the loot table. Also, i'll add your suggestion for a "how long since loot reset" counter to my list.
     
    FrostII likes this.
  20. FrostII

    FrostII Bug Hunter

    Messages:
    5,890
    Likes Received:
    11,038
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Pacific Northwest
    Hey @Feldon Grimshaw
    Any idea when your new video for OCX Tools will be avail ??