GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Error on /gs

Ank111 opened this issue ยท 10 comments

commented

Latest Code
Latest PTR
When typing /GS
Message: Interface\AddOns\GS-Core\Core.lua:113: Usage: GetSpecializationInfoByID(specID[, sex])
Time: 07/01/16 07:51:56
Count: 2
Stack: [C]: in function GetSpecializationInfoByID' Interface\AddOns\GS-Core\Core.lua:113: in function <Interface\AddOns\GS-Core\Core.lua:108> Interface\AddOns\GS-Core\Core.lua:151: in function?'
Interface\FrameXML\ChatFrame.lua:4319: in function <Interface\FrameXML\ChatFrame.lua:4266>
[C]: in function ChatEdit_ParseText' Interface\FrameXML\ChatFrame.lua:3987: in function <Interface\FrameXML\ChatFrame.lua:3986> [C]: in functionChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4023: in function `ChatEdit_OnEnterPressed'
[string ":OnEnterPressed"]:1: in function <[string ":OnEnterPressed"]:1>

Locals: (*temporary) = nil

commented

Hey Ank111,

Did you have any custom sequences ir was it just out of the box?

TimothyLuke

On 1 Jul 2016, at 9:52 PM, Ank111 [email protected] wrote:

Latest Code
Latest PTR
When typing /GS
Message: Interface\AddOns\GS-Core\Core.lua:113: Usage: GetSpecializationInfoByID(specID[, sex])
Time: 07/01/16 07:51:56
Count: 2
Stack: [C]: in function GetSpecializationInfoByID'
Interface\AddOns\GS-Core\Core.lua:113: in function <Interface\AddOns\GS-Core\Core.lua:108>
Interface\AddOns\GS-Core\Core.lua:151: in function?'
Interface\FrameXML\ChatFrame.lua:4319: in function
[C]: in function ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3987: in function <Interface\FrameXML\ChatFrame.lua:3986>
[C]: in functionChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4023: in function `ChatEdit_OnEnterPressed'
[string ":OnEnterPressed"]:1: in function <[string ":OnEnterPressed"]:1>

Locals: (*temporary) = nil

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

commented

Ah ha that was it. I added custom sequences. Once I disabled them the error went away.

I am on PTR not Beta. I was not in combat.

commented

SO what I did is take the GS-DraikMacros folder and duplicate it. I then changed the toc info to my own and renamed the folder. Then I customized my sequences and left the Draik ones alone.

If I remove all of the sequences except for the logged in character class from the macro folder it works. Adding any other class causes the error.

I have tried it with both the DraikMacros on and off.

commented

OK this is part of the change I made today. I started that when you do a /gs it adds in the macros for your current spec into the /macro interface to make things easier but looking at the code I probabely have a logic error in the if statements.

commented

ok did this with a default out of the box GS-Core and GS-Draiksmacros and made a level 100 priest. Switched to shadow and did a /gs, One macro was added to the /macro tab. Did a second /gs and nothing was added but usual message about the macro and its help appeared.

Switched to Holy and did a /gs and no errors.

This was with all class macros present, - Could you please try the latest commit 72f6c7e ?

commented

still errors if I have more than the 1 sequence file in the macros folder. For instance, If I am logging on my deathknight, I can have the deathknight.lua in the macros folder. Leaving all the other class.lua files will cause the error on /gs. However the macros will be added and the chat will output.

commented

Thanks Ank111,

I checked in come code while at work and am still working through it at home with the game. I'm guessing that's PTR and not Beta?

Were you in combat at the time?

TimothyLuke

On 1 Jul 2016, at 9:52 PM, Ank111 [email protected] wrote:

Latest Code
Latest PTR
When typing /GS
Message: Interface\AddOns\GS-Core\Core.lua:113: Usage: GetSpecializationInfoByID(specID[, sex])
Time: 07/01/16 07:51:56
Count: 2
Stack: [C]: in function GetSpecializationInfoByID'
Interface\AddOns\GS-Core\Core.lua:113: in function <Interface\AddOns\GS-Core\Core.lua:108>
Interface\AddOns\GS-Core\Core.lua:151: in function?'
Interface\FrameXML\ChatFrame.lua:4319: in function
[C]: in function ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3987: in function <Interface\FrameXML\ChatFrame.lua:3986>
[C]: in functionChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4023: in function `ChatEdit_OnEnterPressed'
[string ":OnEnterPressed"]:1: in function <[string ":OnEnterPressed"]:1>

Locals: (*temporary) = nil

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

commented

There must be something in your sequences that I am not able to replicate. Could you zip up your entire GS-* folders and attach them?

TimothyLuke

On 2 Jul 2016, at 12:15 AM, Ank111 [email protected] wrote:

still errors if I have more than the 1 sequence in the macros folder. For instance, If I am logging on my deathknight, I can have the deathknight.lua in the macros folder.

โ€”
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

commented

Found a fixed a few other bugs that might have been part of this. Does this still occur with 8a3c6f5 ?

commented

going to close this as without any further information I cannot trouble shoot this.