forums/development/624/1
The first thing is this runs *every* single time the screen refreshes. This is absolutely insane. Run it ONCE. Don't use an OnUpdate. But no, other than that I don't see anything logically wrong with it.
View Articleforums/development/624/10
I edited the command line to call ... local frame = CreateFrame("Frame") frame:RegisterEvent("PLAYER_LOGIN") frame:SetScript("OnEvent", function(self, event, ...) -- This line will run it in debug...
View Articleforums/development/624/11
Does it not run? How do you know it doesn't run? Do you have an error? Did you add a print statement to ensure that its not getting run? I cannot debug this for you. You want it done another way, then...
View Articleforums/development/624/12
I know that is not working because when I went into the game, he did not send nor print or remove players with 30+ guild. And so I gave the /reload he did the removal. I changed the code as you showed,...
View Articleforums/development/624/13
Open Interface Options -> Go to Help -> Display Lua Errors (select this). Does the code give you an error when you login?
View Articleforums/development/624/14
Ok, I activated the option that you mentioned. I login but nothing happened, only after I /reload
View Articleforums/development/624/15
Post every single file of your addon here. Everything, the .toc file, the .lua file. Everything.
View Articleforums/development/624/16
Sorry for the delay friend, but had to give attention to my family. The code of each file are ... OldPlayer.toc ## Interface: 40000 ## Title: |cFF086BCDEOldPlayer|r ## Version: 0.1 ## Notes: Kick old...
View Articleforums/development/624/17
function KickOldFromGuild(actuallyKick) if not CanGuildRemove() and actuallyKick then return end for i=1,GetNumGuildMembers() do local y,m,d=GetGuildRosterLastOnline(i) if y then if y>0 or m>0...
View Articleforums/development/624/18
At this point I'm going to have to ask you to either purchase my book, or look elsewhere for your help with World of Warcraft addons. I am incredibly time limited, and quite generous, but I can't...
View Articleforums/development/624/19
I understand my friend, anyway thank you for all the help they gave me throughout this time. May God bless you.
View Articleforums/development/624/2
There are some players with more than 30 days without getting in my guild, I run this addon and it is not working properly, have no idea of what can be?
View Articleforums/development/624/4
I performed a check of the code and it really is working, but he kicked out the players with more than 30 days and is trying to remove self-guild also, what might be happening?
View Articleforums/development/624/5
I don't know. You need to debug it. Add some print statements. Find out what is happening. This isn't something I can test for you.
View Articleforums/development/624/6
What exactly is happening is the following. I activate the addon and so my game finishes loading the screen, it automatically kicks who has more than 30 days away. What is happening is that it is...
View Articleforums/development/624/7
You are missing the point entirely. Let me attempt to be clearer. 1. I don't have this addon. 2. I don't have a guild in which I can test this. 3. I've already given you one problem with the code...
View Articleforums/development/624/8
These are codes that you spent working very well and I really appreciate your attention, but he's an obstacle that all my other codes were. As soon as I enter the game nothing happens, it only executes...
View Articleforums/development/624/9
Then call KickOldFromGuild(true) or KickOldFromGuild(false). /run KickOldFromGuild(false).
View Article