Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] message("Alchemist: "CLASS_ALCHEMIST" returned?

[DiscordArchive] message("Alchemist: "CLASS_ALCHEMIST" returned?

[DiscordArchive] message("Alchemist: "CLASS_ALCHEMIST" returned?

Pages (5): 1 2 3 4 5 Next
rektbyfaith
Administrator
0
07-01-2021, 07:42 PM
#1
Archived author: 이사야 • Posted: 2021-07-01T19:42:01.275000+00:00
Original source

message("Alchemist: "CLASS_ALCHEMIST" returned?
rektbyfaith
07-01-2021, 07:42 PM #1

Archived author: 이사야 • Posted: 2021-07-01T19:42:01.275000+00:00
Original source

message("Alchemist: "CLASS_ALCHEMIST" returned?

rektbyfaith
Administrator
0
07-01-2021, 07:46 PM
#2
Archived author: 이사야 • Posted: 2021-07-01T19:46:32.789000+00:00
Original source

i see this here
end
local coords = CLASS_ICON_TCOORDS[classFileName];
CharacterCreateClassIcon:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
CharacterCreateClassLabel:SetText(className);
CharacterCreateClassRolesText:SetText(abilityText);
CharacterCreateClassText:SetText(GetFlavorText("CLASS_"..strupper(classFileName), GetSelectedSex()).."|n|n");
CharacterCreateClassScrollFrameScrollBar:SetValue(0);
rektbyfaith
07-01-2021, 07:46 PM #2

Archived author: 이사야 • Posted: 2021-07-01T19:46:32.789000+00:00
Original source

i see this here
end
local coords = CLASS_ICON_TCOORDS[classFileName];
CharacterCreateClassIcon:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
CharacterCreateClassLabel:SetText(className);
CharacterCreateClassRolesText:SetText(abilityText);
CharacterCreateClassText:SetText(GetFlavorText("CLASS_"..strupper(classFileName), GetSelectedSex()).."|n|n");
CharacterCreateClassScrollFrameScrollBar:SetValue(0);

rektbyfaith
Administrator
0
07-01-2021, 07:52 PM
#3
Archived author: stoneharry • Posted: 2021-07-01T19:52:29.734000+00:00
Original source

So in your table you have: ` ["ALCHEMIST"] = {0.25, 0.49609375, 0.5, 0.75}`
But your name is not `ALCHEMIST`, it is `CLASS_ALCHEMIST`
rektbyfaith
07-01-2021, 07:52 PM #3

Archived author: stoneharry • Posted: 2021-07-01T19:52:29.734000+00:00
Original source

So in your table you have: ` ["ALCHEMIST"] = {0.25, 0.49609375, 0.5, 0.75}`
But your name is not `ALCHEMIST`, it is `CLASS_ALCHEMIST`

rektbyfaith
Administrator
0
07-01-2021, 07:53 PM
#4
Archived author: stoneharry • Posted: 2021-07-01T19:53:14.600000+00:00
Original source

If that is truly what the message displayed on the screen
rektbyfaith
07-01-2021, 07:53 PM #4

Archived author: stoneharry • Posted: 2021-07-01T19:53:14.600000+00:00
Original source

If that is truly what the message displayed on the screen

rektbyfaith
Administrator
0
07-01-2021, 07:56 PM
#5
Archived author: 이사야 • Posted: 2021-07-01T19:56:54.448000+00:00
Original source

i just put that there trying to figure out how you were plugging that in
rektbyfaith
07-01-2021, 07:56 PM #5

Archived author: 이사야 • Posted: 2021-07-01T19:56:54.448000+00:00
Original source

i just put that there trying to figure out how you were plugging that in

rektbyfaith
Administrator
0
07-01-2021, 07:58 PM
#6
Archived author: 이사야 • Posted: 2021-07-01T19:58:31.962000+00:00
Original source

the class_icon_tcoords above were from the constants.lua and the charactercreate.lua
rektbyfaith
07-01-2021, 07:58 PM #6

Archived author: 이사야 • Posted: 2021-07-01T19:58:31.962000+00:00
Original source

the class_icon_tcoords above were from the constants.lua and the charactercreate.lua

rektbyfaith
Administrator
0
07-01-2021, 08:09 PM
#7
Archived author: stoneharry • Posted: 2021-07-01T20:09:06.479000+00:00
Original source

On line 327 you have:
`local coords = CLASS_ICON_TCOORDS[classFileName];`
Insert a line afterwards that adds the debug statement, like so:
```lua
local coords = CLASS_ICON_TCOORDS[classFileName];
message("My class name: " .. classFileName .. " returned " .. tostring(coords))
```
It should popup with a message saying what you are selecting
rektbyfaith
07-01-2021, 08:09 PM #7

Archived author: stoneharry • Posted: 2021-07-01T20:09:06.479000+00:00
Original source

On line 327 you have:
`local coords = CLASS_ICON_TCOORDS[classFileName];`
Insert a line afterwards that adds the debug statement, like so:
```lua
local coords = CLASS_ICON_TCOORDS[classFileName];
message("My class name: " .. classFileName .. " returned " .. tostring(coords))
```
It should popup with a message saying what you are selecting

rektbyfaith
Administrator
0
07-01-2021, 08:23 PM
#8
Archived author: 이사야 • Posted: 2021-07-01T20:23:39.195000+00:00
Original source

hmmm same error not sure *shrugs* lol
rektbyfaith
07-01-2021, 08:23 PM #8

Archived author: 이사야 • Posted: 2021-07-01T20:23:39.195000+00:00
Original source

hmmm same error not sure *shrugs* lol

rektbyfaith
Administrator
0
07-01-2021, 08:24 PM
#9
Archived author: 이사야 • Posted: 2021-07-01T20:24:01.748000+00:00
Original source

local coords = CLASS_ICON_TCOORDS[classFileName];
message("My class name: " .. classFileName .. " returned " .. tostring(coords))
CharacterCreateClassIcon:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
CharacterCreateClassLabel:SetText(className);
CharacterCreateClassRolesText:SetText(abilityText);
CharacterCreateClassText:SetText(GetFlavorText("CLASS_"..strupper(classFileName), GetSelectedSex()).."|n|n");
CharacterCreateClassScrollFrameScrollBar:SetValue(0);
end
rektbyfaith
07-01-2021, 08:24 PM #9

Archived author: 이사야 • Posted: 2021-07-01T20:24:01.748000+00:00
Original source

local coords = CLASS_ICON_TCOORDS[classFileName];
message("My class name: " .. classFileName .. " returned " .. tostring(coords))
CharacterCreateClassIcon:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
CharacterCreateClassLabel:SetText(className);
CharacterCreateClassRolesText:SetText(abilityText);
CharacterCreateClassText:SetText(GetFlavorText("CLASS_"..strupper(classFileName), GetSelectedSex()).."|n|n");
CharacterCreateClassScrollFrameScrollBar:SetValue(0);
end

rektbyfaith
Administrator
0
07-01-2021, 08:25 PM
#10
Archived author: 이사야 • Posted: 2021-07-01T20:25:08.148000+00:00
Original source

wait
rektbyfaith
07-01-2021, 08:25 PM #10

Archived author: 이사야 • Posted: 2021-07-01T20:25:08.148000+00:00
Original source

wait

Pages (5): 1 2 3 4 5 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)