You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

21

Sunday, July 8th 2012, 11:17pm

Why did you remove the CASTING_START function? That's the central part of the entire add-on. I mentioned to remove the debugging messages. That is most likely the cause of your error message.
2013... The year from hell....

22

Sunday, July 8th 2012, 11:27pm

Oh I thought that was the debug message.

The one that says in chat CASTING_START
and had ------ under it that showed up every time you cast anything with a casting bar?

If thats the case. When I had it before.
All it said in chat was..

"CASTING_START
Global Cooldown is 0
------------------"

In the chat window whenever I casted before I removed it. The other messages that was in it didnt show up. Also the speeches for the spells were not triggering when this was happening. I removed it because I thought the whole thing was the debugging and what was stopping it.
Roleplayer in Govinda
Leader of the roleplay guild Immortal Covenant
Reagen -- 50/39 K/M-- Govinda
Xushin -- 29/54 W/M-- Govinda
Foroque -- 29/27 M/Wd --Govinda
Olan -- 22/27 P/K -- Govinda
Shivaa -- 40/40 P/S -- Govinda
Shayn -- 50/37 R/M -- Govinda
Raiden -- 22/0 M/x -- Govinda
Dieiyna -- 38/38 D/W -- Govinda

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

23

Tuesday, July 10th 2012, 1:12am

Quoted from "ReagenL;544140"

Oh I thought that was the debug message.

The one that says in chat CASTING_START
and had ------ under it that showed up every time you cast anything with a casting bar?

Remember, I asked to change that for manually debugging, but then I saw one mistake I made so didn't really need the change to that function. But now it looks like we'll need it after all. (That's the way these things go sometimes).

Quoted from "ReagenL;544140"

When I had it before.
All it said in chat was..

"CASTING_START
Global Cooldown is 0
------------------"

What this tells us is that it is getting into the event function and passes our "global" cooldown check. So it isn't recognizing the spell name for some reason.

Knowing this, we can modify the CASTING_START function to display the name of the spell it is receiving as argument and see what that says. Change it to this:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
function FFTCasting.CASTING_START(spellName, ...)
    if FFTCurGlobalTime <= 0 then
        DEFAULT_CHAT_FRAME:AddMessage("spellName is "..(spellName or "nil"))

        if WhatToSay[(spellName or '')] then
            if WhatToSay[spellName].curtime <= 0 then
                FFTCasting.Say(WhatToSay[spellName].text .. " " .. spellName .. "!")
                FFTCurGlobalTime = FFTGlobalCooldown
                WhatToSay[spellName].curtime = WhatToSay[spellName].cooldown
            end
        end
    end 
end
2013... The year from hell....

24

Wednesday, July 11th 2012, 10:46pm

Alright that got it back working right.

I also added in some additional help messages and an addition option with /fftcasting help
That gives brief info on how to add more speeches and how to change the global cooldown since those are pretty simple to do.

Thanks for the help Peryl. LIke to try and expand this further sometime, like having a way to change the cooldown for spells ingame or the global cooldown.

I think its just about good enough now to upload it to curse in the state its in now. If you think so?
To add, I've never uploaded an addon to curse before either. lol

Heres the whole thing:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
-- Copyright (c) 2009, Lewis Linn White Jr.
-- All rights reserved.
-- Edited and updated by ReagenLionel and Peryl [2012]


-- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:


--   * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
--   * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
--   * Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.


-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 
-- BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
-- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
-- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 
-- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
-- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
-- OF SUCH DAMAGE.


local FFTGlobalCooldown = 5    -- 5 second global cooldown
local FFTCurGlobalTime = 0
local FFTCasting = {}
FFTCasting.VERSION = "0.5"


_G.FFTCasting = FFTCasting


-- Create the frame
local frame = CreateUIComponent("Frame", "FFTCasting_Frame", "UIParent")
_G['FFTCasting_Frame'] = nil    -- remove the global created by CreateUIComponent


-- Set the frame's OnEvent callback
frame:SetScripts("OnEvent", [=[ FFTCasting[event](arg1) ]=])
frame:RegisterEvent("CASTING_START")    -- this line was moved to here for code consistency
frame:SetScripts("OnUpdate", [=[ FFTCasting.OnUpdateHandler(elapsedTime) ]=] )


local castingOn = true
SLASH_FFTCasting1 = "/fftcasting"
SlashCmdList['FFTCasting'] = function(editBox, msg)
    local option = string.lower(msg)


    if option == "off" then
        castingOn = false
        DEFAULT_CHAT_FRAME:AddMessage("FFTCasting has been turned off.")
    elseif option == "on" then
        castingOn = true
        DEFAULT_CHAT_FRAME:AddMessage("FFTCasting has been turned on.")
	DEFAULT_CHAT_FRAME:AddMessage("FFTCasting is now loaded and ready, type '/fftcasting off' to deactivate")
    elseif option == "cd" then
        DEFAULT_CHAT_FRAME:AddMessage("Testing.."(FFTGlobalCooldown))
    elseif option == "help" then
	DEFAULT_CHAT_FRAME:AddMessage("FFTCasting is now loaded and ready, type '/fftcasting off' to deactivate and '/fftcasting on' to reactivate")
	DEFAULT_CHAT_FRAME:AddMessage(" To edit or add more spells, go to the lUA file in the FFTCasting folder and add in the name of the spell and the speech in the same manner the others are.")
	DEFAULT_CHAT_FRAME:AddMessage("Spellnames are shown in the chat box when you cast them.")
	DEFAULT_CHAT_FRAME:AddMessage("There is a global cooldown of 5 seconds, all spells have a seperate cooldown of 10 by default. TO change go into the LUA and change the cooldown for desired spell. Global Cooldown can be changed in 'local FFTGlobalCooldown'. ")
    else
        DEFAULT_CHAT_FRAME:AddMessage("Not a valid argument: type '/fftcasting on' to activate or '/fftcasting off' deactivate. '/fftcasting help'for more info.")
    end
end


DEFAULT_CHAT_FRAME:AddMessage("FFTCasting is now loaded and ready, type '/fftcasting off' to deactivate and '/fftcasting on' to reactivate")


function FFTCasting.Say(messageToSay)
    SendChatMessage(messageToSay, "SAY")


end


local WhatToSay = {
    ['Flame'] = { text = "Star fire, awake and deliver your judgement!", cooldown = 10, curtime = 0 },
    ['Plasma Arrow'] = { text = "Clear with a mighty breeze!", cooldown = 10, curtime = 0 },
    ['Electric Bolt'] = { text = "Heavenly bolts, bring God's justice!" , cooldown = 10, curtime = 0 },
    ['Meteor Shower'] = { text = "Time has come...crash down on the wicked!" , cooldown = 10, curtime = 0 },
    ['Electric Explosion'] = { text =  "Angry spirits of the world strike now!" , cooldown = 10, curtime = 0 },
    ['Static Field'] = { text = "Absorb power in the sky and strike!" , cooldown = 10, curtime = 0 },
    ['Rising Tide'] = { text = "Effortless water, break your silence, attack!" , cooldown = 10, curtime = 0 },
    ['Urgent Heal'] = { text = "Life's refreshing breeze, heal from the sky!" , cooldown = 10, curtime = 0 },
    ['Heal'] = { text = "Ancient light, rise and revive!" , cooldown = 10, curtime = 0 },
    ['Resurrection'] = { text = "Spirits of life, give a new life to the soul!" , cooldown = 10, curtime = 0 },
    ['Group Heal'] = { text = "Heavenly wind, carry us to fountain of power!" , cooldown = 10, curtime = 0 },
    ['Ice Fog'] = { text = "Freezing wind, speak of forgotten truths!" , cooldown = 10, curtime = 0 },
    ['Chain of Light'] = { text = "Bright light, shine down on bloody impurity!" , cooldown = 10, curtime = 0 },
    ['Thunderstorm'] = { text = "Winds of destruction, take hold and deliver your wrath!" , cooldown = 10, curtime = 0 },
    ['Earth Surge'] = { text = "Earth, groan and awaken your might. Show my foe your Power and strength!" , cooldown = 10, curtime = 0 },
    ['Phoenix'] = { text =  "Flames, Burst!" , cooldown = 10, curtime = 0 },
    ['Psychic Arrows'] = { text = "Dark, sinister ambitions, take form and strike!" , cooldown = 10, curtime = 0 },
    ['Soul Pain'] = { text = "Depths of the soul, go into agony and despair." , cooldown = 10, curtime = 0 },
}


function FFTCasting.CASTING_START(spellName, ...)
    if FFTCurGlobalTime <= 0 then
        DEFAULT_CHAT_FRAME:AddMessage("spellName is "..(spellName or "nil"))


        if WhatToSay[(spellName or '')] then
            if WhatToSay[spellName].curtime <= 0 then
                FFTCasting.Say(WhatToSay[spellName].text .. " " .. spellName .. "!")
                FFTCurGlobalTime = FFTGlobalCooldown
                WhatToSay[spellName].curtime = WhatToSay[spellName].cooldown
            end
        end
    end 
end




function FFTCasting.OnUpdateHandler(elapsed)   
    local adjustedTime = FFTCurGlobalTime - elapsed


    -- Set the new global timer value, capping it to 0 if negative
    FFTCurGlobalTime = adjustedTime < 0 and 0 or adjustedTime


    for k,v in pairs(WhatToSay) do
        if v.curtime > 0 then
            adjustedTime = v.curtime - elapsed
            v.curtime = adjustedTime < 0 and 0 or adjustedTime
        end
    end
end 
Roleplayer in Govinda
Leader of the roleplay guild Immortal Covenant
Reagen -- 50/39 K/M-- Govinda
Xushin -- 29/54 W/M-- Govinda
Foroque -- 29/27 M/Wd --Govinda
Olan -- 22/27 P/K -- Govinda
Shivaa -- 40/40 P/S -- Govinda
Shayn -- 50/37 R/M -- Govinda
Raiden -- 22/0 M/x -- Govinda
Dieiyna -- 38/38 D/W -- Govinda

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

25

Thursday, July 12th 2012, 12:21am

Well you'll need to make an account with Curseforge then apply to see if they'll accept the project. Though as you don't appear to be the original author of the add-on, they aren't likely to accept it.

Frankly, as most of the code is modified well beyond the original, you'd be better off renaming it and citing FFTCasting as the inspiration (you'd need to change the name throughout the code as well).

Some of the big changes:

  • No XML file
  • Generalized event handler
  • Skills/spells maintained in an easy to modify list
  • Global cooldown to reduce spamming as well as individualized cooldowns per spell/skill
  • Timing code for cooldown handling


Not to mention your own changes.
2013... The year from hell....

26

Monday, July 23rd 2012, 9:28pm

Okay there seems to be a big problem and I dont know what it is exactly. Its seeming to stop loading the rest of my addons.
It took me a while to figure out exactly what it was. And I narrowed it down to this very addon.

I did some minor things such as adding more help messages. And added a new spell to it at the end. I dont know if thats actually the cause of it or what. Since the name of the spell is "Saces' Scorn"

I'm not entirely sure what it is.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
-- Copyright (c) 2009, Lewis Linn White Jr.
-- All rights reserved.

-- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

--   * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
--   * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
--   * Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 
-- BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
-- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
-- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 
-- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
-- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
-- OF SUCH DAMAGE.

local FFTGlobalCooldown = 5    -- 5 second global cooldown
local FFTCurGlobalTime = 0
local FFTCasting = {}
FFTCasting.VERSION = "0.5"

_G.FFTCasting = FFTCasting

-- Create the frame
local frame = CreateUIComponent("Frame", "FFTCasting_Frame", "UIParent")
_G['FFTCasting_Frame'] = nil    -- remove the global created by CreateUIComponent

-- Set the frame's OnEvent callback
frame:SetScripts("OnEvent", [=[ FFTCasting[event](arg1) ]=])
frame:RegisterEvent("CASTING_START")    -- this line was moved to here for code consistency
frame:SetScripts("OnUpdate", [=[ FFTCasting.OnUpdateHandler(elapsedTime) ]=] )

local castingOn = true
SLASH_FFTCasting1 = "/fftcasting"
SlashCmdList['FFTCasting'] = function(editBox, msg)
    local option = string.lower(msg)

    if option == "off" then
        castingOn = false
        DEFAULT_CHAT_FRAME:AddMessage("FFTCasting has been turned off.")
    elseif option == "on" then
        castingOn = true
        DEFAULT_CHAT_FRAME:AddMessage("FFTCasting has been turned on.")
	DEFAULT_CHAT_FRAME:AddMessage("FFTCasting is now loaded and ready, type '/fftcasting off' to deactivate")
    elseif option == "cd" then
        DEFAULT_CHAT_FRAME:AddMessage("Testing..")
    elseif option == "help" then
	DEFAULT_CHAT_FRAME:AddMessage("FFTCasting is now loaded and ready, type '/fftcasting off' to deactivate and '/fftcasting on' to reactivate")
	DEFAULT_CHAT_FRAME:AddMessage(" To edit or add more spells, go to the lUA file in the FFTCasting folder and add in the name of the spell and the speech in the same manner the others are.")
	DEFAULT_CHAT_FRAME:AddMessage("Spellnames are shown in the chat box when you cast them.")
	DEFAULT_CHAT_FRAME:AddMessage("There is a global cooldown of 5 seconds, all spells have a seperate cooldown of 10 by default.")
	DEFAULT_CHAT_FRAME:AddMessage("To change go into the LUA and change the cooldown for desired spell.")
	DEFAULT_CHAT_FRAME:AddMessage("Global Cooldown can be changed in 'local FFTGlobalCooldown' section near the beginning.")
    else
        DEFAULT_CHAT_FRAME:AddMessage("Not a valid argument: type '/fftcasting on' to activate or '/fftcasting off' deactivate. '/fftcasting help'for more info.")
    end
end

DEFAULT_CHAT_FRAME:AddMessage("FFTCasting is now loaded and ready, type '/fftcasting off' to deactivate and '/fftcasting on' to reactivate")

function FFTCasting.Say(messageToSay)
    SendChatMessage(messageToSay, "SAY")

end

local WhatToSay = {
    ['Flame'] = { text = "Star fire, awake and deliver your judgement!", cooldown = 10, curtime = 0 },
    ['Plasma Arrow'] = { text = "Clear with a mighty breeze!", cooldown = 10, curtime = 0 },
    ['Electric Bolt'] = { text = "Heavenly bolts, bring God's justice!" , cooldown = 10, curtime = 0 },
    ['Meteor Shower'] = { text = "Time has come...crash down on the wicked!" , cooldown = 10, curtime = 0 },
    ['Electric Explosion'] = { text =  "Angry spirits of the world strike now!" , cooldown = 10, curtime = 0 },
    ['Static Field'] = { text = "Absorb power in the sky and strike!" , cooldown = 10, curtime = 0 },
    ['Rising Tide'] = { text = "Effortless water, break your silence, attack!" , cooldown = 10, curtime = 0 },
    ['Urgent Heal'] = { text = "Life's refreshing breeze, heal from the sky!" , cooldown = 10, curtime = 0 },
    ['Heal'] = { text = "Ancient light, rise and revive!" , cooldown = 10, curtime = 0 },
    ['Resurrection'] = { text = "Spirits of life, give a new life to the soul!" , cooldown = 10, curtime = 0 },
    ['Group Heal'] = { text = "Heavenly wind, carry us to fountain of power!" , cooldown = 10, curtime = 0 },
    ['Ice Fog'] = { text = "Freezing wind, speak of forgotten truths!" , cooldown = 10, curtime = 0 },
    ['Chain of Light'] = { text = "Bright light, shine down on bloody impurity!" , cooldown = 10, curtime = 0 },
    ['Thunderstorm'] = { text = "Winds of destruction, take hold and deliver your wrath!" , cooldown = 10, curtime = 0 },
    ['Earth Surge'] = { text = "Earth, groan and awaken your might. Show my foe your Power and strength!" , cooldown = 10, curtime = 0 },
    ['Phoenix'] = { text =  "Flames, Burst!" , cooldown = 10, curtime = 0 },
    ['Psychic Arrows'] = { text = "Dark, sinister ambitions, take form and strike!" , cooldown = 10, curtime = 0 },
    ['Soul Pain'] = { text = "Depths of the soul, go into agony and despair." , cooldown = 10, curtime = 0 },
    ['Psychic Whirlwind'] = { text = "Black" , cooldown = 10, curtime - 0 },
    ['Saces' Scorn'] = { text = "Darkness, cast fear into thier heart" , cooldown = 10, curtime = 0 },
}

function FFTCasting.CASTING_START(spellName, ...)
    if FFTCurGlobalTime <= 0 then
        DEFAULT_CHAT_FRAME:AddMessage("spellName is "..(spellName or "nil"))

        if WhatToSay[(spellName or '')] then
            if WhatToSay[spellName].curtime <= 0 then
                FFTCasting.Say(WhatToSay[spellName].text .. " " .. spellName .. "!")
                FFTCurGlobalTime = FFTGlobalCooldown
                WhatToSay[spellName].curtime = WhatToSay[spellName].cooldown
            end
        end
    end 
end


function FFTCasting.OnUpdateHandler(elapsed)   
    local adjustedTime = FFTCurGlobalTime - elapsed

    -- Set the new global timer value, capping it to 0 if negative
    FFTCurGlobalTime = adjustedTime < 0 and 0 or adjustedTime

    for k,v in pairs(WhatToSay) do
        if v.curtime > 0 then
            adjustedTime = v.curtime - elapsed
            v.curtime = adjustedTime < 0 and 0 or adjustedTime
        end
    end
end 
Roleplayer in Govinda
Leader of the roleplay guild Immortal Covenant
Reagen -- 50/39 K/M-- Govinda
Xushin -- 29/54 W/M-- Govinda
Foroque -- 29/27 M/Wd --Govinda
Olan -- 22/27 P/K -- Govinda
Shivaa -- 40/40 P/S -- Govinda
Shayn -- 50/37 R/M -- Govinda
Raiden -- 22/0 M/x -- Govinda
Dieiyna -- 38/38 D/W -- Govinda

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

27

Monday, July 23rd 2012, 10:55pm

In the spell list you have:

Source code

1
['Psychic Whirlwind'] = { text = "Black" , cooldown = 10, curtime - 0 },

it should be curtime = 0

When you do a change and things start to break, go over your changes carefully. Chances are one of the changes messed something up.
2013... The year from hell....

28

Monday, July 23rd 2012, 11:30pm

Oh I see. That little bitty problem and I been trying to figure out the whole thing for weeks.

Its crazy that little bity problem was affecting every single other addon I had. Thanks. Was pulling out my hair trying to figure it out.
Roleplayer in Govinda
Leader of the roleplay guild Immortal Covenant
Reagen -- 50/39 K/M-- Govinda
Xushin -- 29/54 W/M-- Govinda
Foroque -- 29/27 M/Wd --Govinda
Olan -- 22/27 P/K -- Govinda
Shivaa -- 40/40 P/S -- Govinda
Shayn -- 50/37 R/M -- Govinda
Raiden -- 22/0 M/x -- Govinda
Dieiyna -- 38/38 D/W -- Govinda

29

Tuesday, July 24th 2012, 1:55am

After I changed it. It was working fine. But now sometime while I was playing. I got this strange error message and speeches stopped triggering and some other addons stopped functioning.

This is the error message I began recieving

Source code

1
 call ChatFram1's OnEvent, line: [string'?']:116: attempt to perform arithmetic on field 'offset' (a nil value)


And any incoming message from any chat channels cant be seen for me, but outgoing messages still goes through normally (though I cant see them myself )
Roleplayer in Govinda
Leader of the roleplay guild Immortal Covenant
Reagen -- 50/39 K/M-- Govinda
Xushin -- 29/54 W/M-- Govinda
Foroque -- 29/27 M/Wd --Govinda
Olan -- 22/27 P/K -- Govinda
Shivaa -- 40/40 P/S -- Govinda
Shayn -- 50/37 R/M -- Govinda
Raiden -- 22/0 M/x -- Govinda
Dieiyna -- 38/38 D/W -- Govinda

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

30

Tuesday, July 24th 2012, 2:47am

I don't think that is related to your add-on.

The error message is saying that inside ChatFrame1's OnEvent handler, it tried to do math on something called offset and failed because it was nil (usually means that the variable doesn't exist or has no value).

You don't do anything with ChatFrame1 other than send a few text messages via the functions DEFAULT_CHAT_FRAME:AddMessage() and SendChatMessage(). Nor do you have anything in your add-on called offset.

I'm not sure what went wrong but I have seen the default chat frame bug out before (though usually at game startup). So I'd say it is the default chat UI that is bugged and not your add-on.
2013... The year from hell....

31

Tuesday, July 24th 2012, 5:49am

any idea on how to remedy this?
Roleplayer in Govinda
Leader of the roleplay guild Immortal Covenant
Reagen -- 50/39 K/M-- Govinda
Xushin -- 29/54 W/M-- Govinda
Foroque -- 29/27 M/Wd --Govinda
Olan -- 22/27 P/K -- Govinda
Shivaa -- 40/40 P/S -- Govinda
Shayn -- 50/37 R/M -- Govinda
Raiden -- 22/0 M/x -- Govinda
Dieiyna -- 38/38 D/W -- Govinda

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

32

Tuesday, July 24th 2012, 2:05pm

Send a ticket to Frogster.
2013... The year from hell....