Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: Endzeit
Forum: AddOn Help/Support 11-28-15, 04:46 PM
Replies: 2
Views: 3,266
Posted By Endzeit
i change some code and try to formate better.....

i change some code and try to formate better.. this is working so far. There is no event for Opening Garrison Table or?


function CheckShipyard(self)
local Destroyer = 0 -- id59
local Battleship...
Forum: AddOn Help/Support 11-28-15, 06:10 AM
Replies: 2
Views: 3,266
Posted By Endzeit
C_Garrison.GetFollowers(2)

Hello,

i want to track all my Ships with classNames. Everytime i go the Shipyard i want a print in chat like:
# Transporter: 1
# Destroyer: 2
# Total: 3/10

GossipFrame:SetScript( "OnShow",...
Forum: Lua/XML Help 08-21-15, 10:27 AM
Replies: 5
Views: 6,121
Posted By Endzeit
okay.. i dont get it, i think i'm too stupid or...

okay.. i dont get it, i think i'm too stupid or too inexperienced...

also have a problem with accessing the global savevariables outside functions.
e.g.
inside functions()
EndzeitUIOptions.raidbuffs...
Forum: Lua/XML Help 08-20-15, 07:03 PM
Replies: 5
Views: 6,121
Posted By Endzeit
Disable Button: if variable == false

http://i.imgur.com/SnPKF6Q.png

i searched in the api for hours now.. i found only button:disabled().. but it is the wrong code i think.
My Buttons left Work, but i want to disable the Button, when...
Forum: Lua/XML Help 08-19-15, 09:49 AM
Replies: 26
Views: 7,166
Posted By Endzeit
new problem with a table :) i think the table is...

new problem with a table :) i think the table is not the problem this time.. i think it is the event.. i tryed eyverthing for hours but i dont get it.

no print("TEST")


local bloodlust = { 2825,...
Forum: AddOn Search/Requests 08-17-15, 08:52 PM
Replies: 0
Views: 2,313
Posted By Endzeit
Search Text Animation Addon

Hi,

i'm searching this addon / code from this youtube video
https://www.youtube.com/watch?v=bn6rVPQ93wM&feature=youtu.be&t=112 @1:52min

This "Enter Combat" Message.

The User of this Video are...
Forum: Lua/XML Help 08-15-15, 03:43 PM
Replies: 26
Views: 7,166
Posted By Endzeit
this cannot be working like this for example...

this cannot be working like this
for example playername: "Killer"
target returns "Killer"
UnitName("player") returns "Killer...
Forum: Lua/XML Help 08-15-15, 03:13 PM
Replies: 26
Views: 7,166
Posted By Endzeit
this is not working.. lua errors. also trying...

this is not working.. lua errors.
also trying change from 'function(self,event,msg,who...)' to 'function(self,event,msg,who,...)'
and
' if who==UnitName("player")' to ' if who==UnitName("player")...
Forum: Lua/XML Help 08-15-15, 01:06 PM
Replies: 26
Views: 7,166
Posted By Endzeit
-- Chat...

-- Chat Hook
ChatFrame_AddMessageEventFilter("CHAT_MSG_LOOT",function(self,event,msg,...)
local id=tonumber(msg:match("|Hitem:(%d+)")) or 0;-- Force nil to zero if we have an invalid link (no...
Forum: Lua/XML Help 08-14-15, 07:55 PM
Replies: 26
Views: 7,166
Posted By Endzeit
thanks suicidalkatt & elcius. 1 set = 1 itemid....

thanks suicidalkatt & elcius.


1 set = 1 itemid. Both variants are correct for me. ItemId 123456 can not be in 2 Sets in my table.


function AddLootMsg(self, event, message, ...)
if not...
Forum: Lua/XML Help 08-14-15, 07:19 AM
Replies: 26
Views: 7,166
Posted By Endzeit
wow this works great. thanks :) Next Step i want...

wow this works great. thanks :)

Next Step i want to add Message, when one of this Items received Loot.

function AddLootMsg(self, event, message, ...)
local itemName,itemLink =...
Forum: Lua/XML Help 08-13-15, 07:51 AM
Replies: 26
Views: 7,166
Posted By Endzeit
Problems with Big Tables

Edit#2:
It works now.. but i got stutter when hover over items.. is there a way with a ~1800 table to improve performance?
-----
EDIT:
i found the problem.. this is working:

local setName = {
[1] =...
Showing results 1 to 12 of 12