Akirane / XIVHotbar

13 stars 9 forks source link

Question #2 #4

Closed Slayerdjinn closed 4 years ago

Slayerdjinn commented 4 years ago

Hi Akirane,

Firstly I love what you did to update this addon.. I almost have it working very nicely but I cannot seem to get send to work. As I triple box I would really love to use send to give them commands.. Any chance you can tell me the formatting you got it to work? trying to do //send @all script.exec .txt

Thanks again.

Akirane commented 4 years ago

Try adding this to your lua file:

{'battle 5 0', 'ct', '/send @all lua exec .txt', '', 'exec'},

On Tue, Jun 16, 2020 at 4:46 AM Slayerdjinn notifications@github.com wrote:

Hi Akirane,

Firstly I love what you did to update this addon.. I almost have it working very nicely but I cannot seem to get send to work. As I triple box I would really love to use send to give them commands.. Any chance you can tell me the formatting you got it to work? trying to do //send @ALL https://github.com/ALL exec .txt

Thanks again.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Akirane/XIVHotbar/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOC3UL2FSQRBWJAA7A4KR3RW3MJRANCNFSM4N7F7VDA .

Slayerdjinn commented 4 years ago

Hey Akirane.

I tried what you said but i got the error Error loading file.txt saying it does not exist.. I then modified what you wrote by removing lua as I'mtrying to use windower scripts and I got the error Could not exexute1 file.txt <> - Unknown error - 123.

I have tried to put the file.txt in different locations I can think of where the path would be looking but it cannot seem to find it no matter where I decided to put the script.. But works like a charm when just sending a direct command.

Akirane commented 4 years ago

Does the .txt file exist and is it in windower's script folder? I think you need to give the name of the text file too. I tried out the macro I wrote with a lua file instead which seemed to work.

ons. 17. jun. 2020, 08:03 skrev Slayerdjinn notifications@github.com:

Hey Akirane.

I tried what you said but i got the error Error loading file.txt saying it does not exist.. I then modified what you wrote by removing lua as im trying to use windower scripts and I got the error Could not exexute1 file.txt <> - Unknown error - 123.

Any help would be appreciated but I will also play around see if I can figure it out too..

Thanks again for any help :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Akirane/XIVHotbar/issues/4#issuecomment-645170678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOC3UP45USKINAT4CHV2ALRXBMEZANCNFSM4N7F7VDA .

Slayerdjinn commented 4 years ago

Yeah there is.. image

I have a bunch written tried converting my test cureiv.txt to .lua and for whatever reason will not work for me.. Errors out saying it cannot find the file :(

Slayerdjinn commented 4 years ago

Hey Akirane,

After some trial and error here are my results.

Tried every which way to get the send command to work, but alas I never got it to do anything except give me cannot find .txt file or could not execute2 error.

The resolution that I found is to input it as follows.

{'battle 1 1', 'ct', '/send Altheana exec /Altheana/RDM',},

I think when doing {'battle 1 1', 'ct', '/send Altheana exec /Altheana/RDM','','exec'}, you are passing a blank target to the script and it errors out.. for when the execute2 comes up it shows the fill error as

"Could not execute2 /Altheana/RDM <> - Unknown Error - 123

Akirane commented 4 years ago

Turns out the syntax was this:

{'battle 1 1', 'ct', '/send Altheana exec /Altheana/RDM', nil, 'exec'}

I thought I had pushed the fix where it would accept '' or nil as legit value, but I was wrong. I hope it works better now.

man. 22. jun. 2020, 06:27 skrev Slayerdjinn notifications@github.com:

Hey Akirane,

After some trial and error here are my results.

Tried every which way to get the send command to work, but alas I never got it to do anything except give me cannot find .txt file or could not execute2 error.

The resolution that I found is to input it as follows.

{'battle 1 1', 'ct', '/send Altheana exec /Altheana/RDM',},

I think when doing {'battle 1 1', 'ct', '/send Altheana exec /Altheana/RDM','','exec'}, you are passing a blank target to the script and it errors out.. for when the execute2 comes up it shows the fill error as

"Could not execute2 /Altheana/RDM <> - Unknown Error - 123

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Akirane/XIVHotbar/issues/4#issuecomment-647267150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOC3UNHUA6M765F75T4TFLRX3MRTANCNFSM4N7F7VDA .