CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on Prat 3.0 Chat Mod Framework
    Quote from sylvanaar
    Make sure the chatframe and editbox doesnt overlap the action bar.



    Chatframe and Editbox are on left botton screen and my actions bars are in the middle (BT4).

    The only thing that could be considered as overlaped would be my editbox that is may be covering half part the chat tabs.

    I tested again this morning, and each time I play with recount its back again ???

    I suppressed totally the Blizz combatlog chat, could it be that ?
    Posted in: General AddOns
  • 0

    posted a message on Prat 3.0 Chat Mod Framework
    for an unknow reason, even with Taint.log, the messages did not appear again, but only after I disabled Recount data.

    As soon as I enable the data to be collected then my Taint.log have the same error again and again and suddenly my computer start to freeze.

    If i stop collecting data, then all a sudden is again perfect.

    Never had this problem until 2 days, and I have always use Prat and Recount. So now I am :confused:
    Posted in: General AddOns
  • 0

    posted a message on Prat 3.0 Chat Mod Framework
    I got this error this evening while playing

    5/29 22:41:45.187  An action was blocked in combat because of taint from Prat-3.0 - AlwaysUpFrame2DynamicIconButton:Hide()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:175
    5/29 22:41:45.187      WorldStateAlwaysUpFrame_Update()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:106
    5/29 22:41:45.187  Global variable INTERFACE_ACTION_BLOCKED_SHOWN tainted by Prat-3.0 - Interface\FrameXML\UIParent.lua:793
    5/29 22:41:45.187      AlwaysUpFrame1DynamicIconButton:AlwaysUpFrame1DynamicIconButton:()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:169
    5/29 22:41:45.187      WorldStateAlwaysUpFrame_Update()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:106
    5/29 22:41:45.187  Execution tainted by Prat-3.0 while reading INTERFACE_ACTION_BLOCKED_SHOWN - Interface\FrameXML\UIParent.lua:790
    5/29 22:41:45.187      AlwaysUpFrame2:Show()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:184
    5/29 22:41:45.187      WorldStateAlwaysUpFrame_Update()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:106
    5/29 22:41:45.187  An action was blocked in combat because of taint from Prat-3.0 - AlwaysUpFrame2:Show()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:184
    5/29 22:41:45.187      WorldStateAlwaysUpFrame_Update()
    5/29 22:41:45.187      Interface\FrameXML\WorldStateFrame.lua:106


    I had a taint.log of almost 1meg just with the same error, I dont know if this is only Prat related or coming from all that nasty patch, as I never had a problem before with Prat.
    Posted in: General AddOns
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Shefki
    Umm yeah ShortRace() doesn't exist. I haven't written it. I was interested in errors with Short(...)


    I guessed that but as you know I am learning LUA to apply and use LUA.text so I may not be for now the best to test something I dont understand very well.

    I dont even for now have an idea for what is use Short(...) : numbers probably.

    Anyway husband will help me on that to find a way to test that out.
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Shefki
    Yeah I probably need to give you ShortRace because there's really no good way to do that atm. Short() is for numbers btw. Does nothing to text. I'd be interested in the error messages you were getting. I should probably protect it from throwing errors if you're using wrong or at least throw an error saying that you're using it wrong.


    [2009/05/29 09:01:22-7-x1]: <string>:"PitBull4_LuaTexts:PICTTARG:Lua:Class":2: attempt to call global 'ShortRace' (a nil value)
    PitBull4-r20090528195509\Modules\LuaTexts\LuaTexts.lua:1099: in function `AddFontString'
    PitBull4-r20090528195509\ModuleHandling\TextProviderModule.lua:109: in function `UpdateFrame'
    PitBull4-r20090528195509\ModuleHandling\Module.lua:271: in function `Update'
    PitBull4-r20090528195509\UnitFrame.lua:492: in function `Update'
    PitBull4-r20090528195509\UnitFrame.lua:517: in function `UpdateGUID'
    PitBull4-r20090528195509\Main.lua:1086: in function `CheckGUIDForUnitID'
    PitBull4-r20090528195509\Main.lua:1090: in function `?'
    CallbackHandler-1.0-3:146: in function <...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
    <string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
    <in C code>: ?
    <string>:"safecall Dispatcher[1]":13: in function `?'
    CallbackHandler-1.0-3:91: in function `Fire'
    AceEvent-3.0-3 (PitBull4):119: in function <...e\AddOns\PitBull4\libs\AceEvent-3.0\AceEvent-3.0.lua:118>
    <in C code>: in function `TargetUnit'
    <string>:"TARGETSELF":4: in function <[string "TARGETSELF"]:1>
    
      ---
      ---
    This is the error code I have if I simply replace on the Target(Unit) the value SmartRace(Unit) by ShortRace(Unit) in that example :
    local dr,dg,db = DifficultyColor(unit)
    return "|cff%02x%02x%02x%s%s|r %s",dr,dg,db,Level(unit),Classification(unit) and '+' or '',ShortRace(unit) or ''

    I hope this will help you but there is no hurry with that, I understand that you have a lot to do actually.
    This was tested with only PB4, and Bugsack/Buggrabber, so I dont get any other addons mixing in the error feedback.

    Thank you for doing a so great job for us
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Quote from Shefki
    Yeah I probably need to give you ShortRace because there's really no good way to do that atm. Short() is for numbers btw. Does nothing to text. I'd be interested in the error messages you were getting. I should probably protect it from throwing errors if you're using wrong or at least throw an error saying that you're using it wrong.


    errr I lost everything so I remade my profil again :P That is probably the best way to learn :P

    I will post you tomorrow the errors I have in bugsack, once I will try again for that part, but for now after spending 8 hours learning .lua to be able to apply the lua.ext ...... I am not even able to remember who I am and which langage I speak.

    Good night :)
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Shefki
    Abbreviate was bugged until just a bit ago. I added it but didn't bother to test it and it wasn't working right. It's fixed now if you update to the latest version.

    However, Abbreviate(SmartRace(unit)) is probably not what he wants because I'm pretty sure there's at least one creature with a space in the name. Maybe I'm wrong.

    Incidentally, I think Abbreviate is a horrible name. It's more like Acronymize (not that is really a word).


    In fact its not Abbreviate, and not either Truncate :)
    I made some search to compare with Dogtags and how I was getting BE for Blood Elf. My code was

    [(Level (if Classification then
        '+'
    end)):DifficultyColor] [ShortRace]


    So I was trying to adapt to Lua.text but there is no ShortRace with text.lua and I get an error each time I try to use Short.

    In Dogtags the function was
    DogTag:AddTag("Unit", "ShortRace", {
        code = function(value, unit)
            return ShortRace_abbrev[value or UnitRace(unit)]
        end,
        arg = {
            'value', 'string;undef', '@undef',
            'unit', 'string;undef', 'player'
        },
        ret = "string;nil",
        doc = L["Return a shortened race of unit, or shorten a race"],
        example = ('[ShortRace] => %q; [%q:ShortRace] => %q; ["Hello":ShortRace] => ""'):format(L["Blood Elf_short"], L["Blood Elf"], L["Blood Elf_short"]),
        category = L["Abbreviations"]
    })


    Do I have to create my own script to get that working ?
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    I have been trying for some hours to get Race abbreviate, so I did :

    local dr,dg,db = DifficultyColor(unit)
    return "|cff%02x%02x%02x%s%s|r  %s",dr,dg,db,Level(unit),Classification(unit) and '+' or '',string.sub(SmartRace(unit),1,3) or ''
    but the result give : Blo and not BE as I am trying to get for Blood Elfe.

    I tried to use ShortRace too but it seems not working either.

    Do I have to create that myself in the scritp ? before I start doing that I want to be sur of it :)

    Also on a side note, the PVPduration works fine for me.
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Thank you for your help.

    After getting a little error on the pvp part, it finally works if I do this :

    local afk,dnd,pvp = AFK(unit), DND(unit)
    if UnitIsUnit(unit,"player") then
      pvp = IsPVPTimerRunning()
    end
    if afk then
      return "|cffff0000%s|r",afk
    elseif dnd then
      return "|cffff0000%s|r",dnd
    elseif pvp then
      UpdateIn(0.25)
      return "|cffff0000%s|r",math.floor (GetPVPTimer()/1000)
    end
    PVP timer format is then given in secondes not in minutes as in DogTags, but it works and its all red :)

    Thank you

    With the version you just updated, I got now the the timer pvp in minutes as well :) but still with Math.Floor
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Shefki
    Really don't understand what you're asking here.



    You probably need to remove the format tags from the string that it returns first. %s means a string %d means a signed integer.



    To switch to a given color use:
    |cffRRGGBB where RR, GG, BB is the hex value of the color you want from 0 to 255. When you want to turn off the color add |r in. This is the color escaping mechanism the game uses.

    There are a couple utility functions to give you colors:
    HostileColor()
    ClassColor()
    DifficultyColor()

    Each returns 3 values that you can put into the RGB. To get the hex you use the format %02x in the format string.



    I am really sorry to bother you and I will not after that one last.

    Under Dogtags I have this :
    ["code"] = "[(AFK:Red or DND:Red or PvPDuration:FormatDuration:Red)]",

    What could I do to have also the same thing with LUA TEXT ?

    I figured the basic how to do with LUA, and I know after some days I will be able to write what I want, but I dont find anything in LUA text that is related to pvp so I am wondering how to formulate the event.

    If you could only answer me on that one I will not bother you anymore, I promise
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    if we want for example PVP with the Duration, do we have to create that first in the LUA, then in the macro ?

    Can we shorten the name value so it contains only AFK, pvpduration, DEAD ?
    I personally always removed my name on my player frame as I know who I am :)

    I tried to suppress the name and keep the AFK but it says error.

    Can we add Color to some taggs ?

    May be someone who understand better how it works could give us some hints or some example ?
    Posted in: Unit Frames
  • 0

    posted a message on ClearFont and ClearFont2 - Official thread
    Well what I did is I replaced all the fonts inside the addon by Free Licensed-one.

    At least I can have an addon to change my fonts game working and I have then no problem with CF2.

    I checked the .lua and nothing seems wrong in the coding concerning the fonts.

    - as for CF3 its actually beta testing and not friendly user, and the numerous crashes are not easy to manage.
    Posted in: General AddOns
  • 0

    posted a message on Chinchilla - Minimap addon of awesomeness.
    Concerning the Autozoom, both are disabled on my side, and though I have still to zoom out at each logging.
    Posted in: Map/Minimap AddOns
  • 0

    posted a message on Clearfont3 and game crashes
    I use a lot of addons in the earlier stage of release and I dont mind to test but with that one there is honnestly no way to test anything at least for me.

    I am not very fond of addons without any config gui, where I have to relay only on my chat window, not for lazyness but mainly because of my eyes and my memory (even if I can feel 17 playing WOW sometimes, bones and flesh and eyes remind me that well I am not so young :p).

    So I guess I will just stay with CF2 for now and/or bypass some addons fonts by changing them directly in the .lua addons.

    Thank you for answering :)
    Posted in: AddOn HELP!
  • 0

    posted a message on Clearfont3 and game crashes
    Hello

    I am using CF2 actually and tried to upgrade to CF3.

    After 17 attemps my computer still crash each time I use this addon.

    (I tried it alone without any other addons).

    Anyone else have this problem or I am the only one ?

    Thank you
    Posted in: AddOn HELP!
  • To post a comment, please or register a new account.