kgPanels
Create panels for customizing your UI, sucessor to eePanels
OnClick now provides a pressed and released variable you can check for.
if pressed then -- do mouse down actions elseif released then -- do mouse up actions end
This means your script will get called twice when someone clicks the panel.
Here is a youtube link to a video Tutorial
Ive created an Example Texture Pack.
This example pack is just a template. If you want to use it as a storage spot for your art, look at the read me file for directions on usage.
there is an import eepanels layout command in the config.
Hey mate,
I have been using eePanels for a while since coming back to WoW, but I think maybe I should update to kgPanels now.
Is there a simple way to try and import most of the settings from eePanels into kgPanels? Would it be best to go into the WTF/Config folder and copy over the value from the eePanels.lua file to the kgPanels.lua file?
Thanks
I have tried an underscore and it did not help. Sorry I should have mentioned that.
Here is the error. 1x <string>:"rightmenu-info_OnLoad":40: attempt to index global 'LegoFortressFishing_Broker' (a nil value)
try an _ char it might just not be shwn well thats its an underscore.
I have scripted my Fortress blocks in Kgpanels to show and hide with onclick events.
However one specific Fortress piece is giving me an issue because it has a space in its name.
As the Frame Finder displays it LegoFortressFishing Broker
of course scripting this the space causes issues.
Sample Onload script of panel.
LegoFortressFishing Broker:Hide() LegoFortressFishing Broker:SetFrameStrata("HIGH")
I have tried wrapping this to get the right syntax here.
Also played the google game, with not luck. Anyone here able to help me get this wrapped correctly?
Hey guys, I´m having a problem with KG Panels which I recently noticed. (Only the action bar layer, chat and recount layer working correctly.)
When I log on, my action bar layer looks like this: http://img682.imageshack.us/img682/4135/pic1rk.jpg
When I /reload UI, and only when I /reload UI, it looks like this: http://img695.imageshack.us/img695/1949/pic2vo.jpg
As you can see, the boarders are a bit thicker when I /reload UI.
This is how its supposed to be AND how it was originally designed.
(THE WIDTH/HEIGHT NUMBERS DO NOT CHANGE THO.)
So then I thought, just make it a big thicker, and I added 1 width and 1 height each panel and then it looked like it should look.
But when I /reload UI now OR even when I log off / on again, it looks like this: http://img19.imageshack.us/img19/4646/pic3ai.jpg
(P.S: I can avoid /rl, the problem is, when I do not change the settings it looks smaller. (screen 1)
When I change the widht and height to the settings I want to (screen 2), THEN THEY CHANGE THRU logging on or off and look bigger (screen 3). (so this time no /rl).)
The same happens with skada, it just wont let me set a new position for it, after each relog / new log on it moved 1inch to the left.
Hi, and thanks for nice work.
Don't have much experience with scripting, but trying figure out how to change texture or background color based on DK presence change (Blood, Frost, Unholy).
Please )
I've set up my KgPanels to what I wanted with artworks and so, I have 3 active panels now :
Down : for button middle, where action bars are.
Corner 1: Right down corner, smoke picture
Corner 2: Left down corner, smoke picture.
Whenever I relog, reload UI or exit game and I log in again, the down panel changes to black like I chose Solid background, gray actually and the Corner 1 panel disappears. I need to /kgpanels config everytime and under active panels choose Down > Texture and choose artowork again. For Corner 1, I need to same thing but I can copy all options from corner 1 again and paste it and it will work.
what's the prob?
Cause most of the times it wont save your changes.
If you are try logging out to character screen first after you make changes, so your settings are saved.
http://wowprogramming.com/docs/api/UnitHasVehicleUI
http://wowprogramming.com/docs/events/UNIT_ENTERED_VEHICLE
You should register your frame for UNIT_ENTERED_VEHICLE and then use UnitHasVehicleUI to check whether or not you're bringing up the vehicle UI (driving or gunning) as opposed to getting in a passenger seat.
WoWBuild: 21159
Realm: Mug'thol [12.129.225.118:3724]
Local Zone: Forlorn Woods, Crystalsong Forest
Local Player: Unknown, 0380000001637D4F, (5622.12,156.768,535.879)
Total lua memory: 62676KB
Current Addon: (null)
Current Addon function: UNKNOWN
Current Addon object: (null)
Add Ons: _NPCScan _NPCScan.Overlay AchScreenshotter AckisRecipeList Ampere Armory ArmoryGuildBank AtlasLoot AtlasLootFu Broker_Auditor Auditor2 AuldLangSyne AuldLangSyne_Backup AuldLangSyne_FriendList AuldLangSyne_Fu AuldLangSyne_GuildList AuldLangSyne_Info AuldLangSyne_Note AuldLangSyne_Panel AuldLangSyne_Sync AutoEmote AutoRez AutoShoutOut BadBoy Bartender4 Broker2FuBar buffalo3 ButtonFacade ButtonFacade_Demigod Round ButtonFacade_Demigod Square ButtonFacade_Aion cargBags cargBags_Anywhere cargBags_Aurora Chatter DBM-Interrupts ElitistGroup FastQuest Fizzle FloatingFrames FriendShare FuBar_AmmoFu FuBar_BagFu FuBar_BattlegroundFu FuBar_ChatAlertsFu FuBar_ClockFu FuBar_DurabilityFu FuBar_GroupFu FuBar_LocationFu FuBar_PerformanceFu FuBar_QuestsFu FuBar_RecountFu FuBar_SkillsPlusFuLt FuBar_Token FuBar_TrackerFu FuBar FuTextures GatherMate GearScore GuildMailbox GuildBankStatement GuildGreet GupPet GupPet_ButtonFacade GupPet_CollectMe HatTrick InspectEquip kgPanels LargerMacroIconSelection LibRock-1.0 Littlehelpers LuckyCharms2 MailTo Mendeleev MozzFullWorldMap NazGuildRecruiter oGlow OmniCC OPie Overachiever Overachiever_Tabs Overachiever_Trade PetShop Quartz Quartz_Flight Quartz_Interrupt Quartz_Player Quartz_Range Quartz_Target Quartz_Tradeskill QuestAnnounce RecipeRadar RecipeBook Recount Select SexyMap SharedMedia SharedMediaAdditionalFonts StufRaid Stuf Stuf_VisualHeal Stuf_Range Talented Talented_SpecTabs TipTac TipTacItemRef TipTacTalents TradeTabs VendorBait XLootGroup XLootMonitor XLoot XPBarNone DBM-Core
Code Type: X86
OS Version: Mac OS X 10.5.2 (9C7010)
Executable UUID: EF87E99C-096C-1F9C-9823-542F9025F6F1
Settings:
SET locale "enUS"
SET coresDetected "2"
SET hwDetect "0"
SET gxMultisampleQuality "0.000000"
SET gxFixLag "0"
SET videoOptionsVersion "2"
SET pixelShaders "1"
SET movie "0"
SET expansionMovie "0"
SET Gamma "1.000000"
SET readTOS "1"
SET readEULA "1"
SET showToolsUI "1"
SET Sound_VoiceChatInputDriverName "System Default"
SET Sound_VoiceChatOutputDriverName "System Default"
SET Sound_OutputDriverName "System Default"
SET realmList "us.logon.worldofwarcraft.com"
SET patchlist "us.version.worldofwarcraft.com"
SET lod "1"
SET SmallCull "0.040000"
SET DistCull "500.000000"
SET shadowLevel "0"
SET farclip "507"
SET specular "1"
SET spellEffectLevel "8"
SET groundEffectDensity "40"
SET groundEffectDist "110"
SET weatherDensity "3"
SET realmName "Mug'thol"
SET gameTip "117"
SET uiScale "0.8299999833107"
SET showPartyDebuffs "0"
SET shadowLOD "0"
SET DesktopGamma "1"
SET autoLootCorpse "1"
SET ChatMusicVolume "0.29999998211861"
SET ChatSoundVolume "0.39999997615814"
SET ChatAmbienceVolume "0.29999998211861"
SET Sound_MasterVolume "0.20000000298023"
SET Sound_SFXVolume "0.30000001192093"
SET Sound_MusicVolume "0.10000000149012"
SET Sound_AmbienceVolume "0.20000000298023"
SET OutboundChatVolume "1"
SET InboundChatVolume "1"
SET VoiceActivationSensitivity "0.39999997615814"
SET SlideBarConfig "anchor=right;position=116.0000837259"
SET gxTripleBuffer "1"
SET readScanning "-1"
SET readContest "-1"
SET readTerminationWithoutNotice "-1"
SET useUiScale "1"
SET mouseSpeed "1.4000000953674"
SET accounttype "LK"
SET installType "Retail"
SET gxMultisample "8"
SET textureFilteringMode "5"
SET environmentDetail "1"
SET projectedTextures "1"
SET timingTestError "0"
SET gxWindow "1"
SET screenshotQuality "6"
SET ffxDeath "0"
SET Sound_NumChannels "64"
SET Sound_ZoneMusicNoDelay "1"
SET Sound_EnableMusic "0"
SET Sound_EnableErrorSpeech "0"
SET UnitNameEnemyCreationName "0"
SET UnitNameFriendlyCreationName "0"
SET UnitNameCompanionName "0"
SET checkAddonVersion "0"
SET gxRefresh "60"
SET MovieRecordingGUI "0"
SET lastCharacterIndex "1"
SET gxResolution "1440x900"
----------------------------------------
GxInfo
----------------------------------------
GxApi: OpenGL
Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce 8800 GT OpenGL Engine
Version: 2.0 NVIDIA-1.5.26
=========================================================
Exception Raised!
App: /Volumes/Data/World of Warcraft/World of Warcraft.app
Exception: EXC_BAD_ACCESS
Error Code: 0x85100086
Time: 2010-01-13 23.35.04 EST
Error: EXC_BAD_ACCESS KERN_PROTECTION_FAILURE 0x24f37000
Registers:
eax = 0x00040000 ebx = 0x00000000 ecx = 0x00140000 edx = 0xffffe000
edi = 0x24f39000 esi = 0x195d302c ebp = 0xbfffdecc esp = 0xbfffdec0
ss = 0x0000001f eflags = 0x00010287 eip = 0xffff139f cs = 0x00000017
ds = 0x0000001f es = 0x0000001f fs = 0x00000000 gs = 0x00000037
Crashed Thread: 0x0000020b
---------------------------------------------------------
Thread 0 0x0000020b
0 0xffff139f
1 0xffff086e
2 0x008cdb25
3 0x008ce1fa
4 0x008ca396
5 0x008cc02c
6 0x008aac5f
7 0x008cc36a
8 0x008c73e4
9 0x007df5c2
10 0x007f7bce
11 0x0083a8b2
12 0x0074d2cd
13 0x00751060
14 0x00751329
15 0x007513ec
16 0x0096092c
17 0x0096d91b
18 0x9455bfc3 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181
19 0x9455b3fd SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
20 0x9455b262 _SendEventToEventTargetWithOptions + 58
21 0x9458a520 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 356
22 0x9455c37c DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2134
23 0x9455b3fd SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
24 0x94577e0e _SendEventToEventTarget + 52
25 0x945e5110 _ToolboxEventDispatcher + 86
26 0x945e196a _RunApplicationEventLoop + 222
27 0x0096e22a
28 0x00002d2b
29 0x00002c59
Thread 1 0x0000370b
0 0x92009b06 _mach_wait_until + 10
1 0x9208172f _nanosleep + 314
2 0x920815ef _usleep + 61
3 0x000ceefa
4 0x000c21ac
5 0x9203ac55 __pthread_start + 321
6 0x9203ab12 _thread_start + 34
Thread 2 0x00003b07
0 0x92010bce ___semwait_signal + 10
1 0x9203b8cd _pthread_cond_wait$UNIX2003 + 73
2 0x939cd332 _glvmDoWork + 162
3 0x9203ac55 __pthread_start + 321
4 0x9203ab12 _thread_start + 34
Thread 3 0x00005503
0 0x920099e6 _mach_msg_trap + 10
1 0x920111dc _mach_msg + 72
2 0x903c3a5d _glcDebugListener + 349
3 0x9203ac55 __pthread_start + 321
4 0x9203ab12 _thread_start + 34
Thread 4 0x00006113 (Current)
0 0x000b438e
1 0x000b4905
2 0x000d149c
3 0x00090fe4
4 0x0096d10c
5 0x009665c6
6 0x0096338d
7 0x00963242
8 0x9207f41f _mach_msg_server + 343
9 0x00963460
10 0x9203ac55 __pthread_start + 321
11 0x9203ab12 _thread_start + 34
Thread 5 0x00006503
0 0x92009b06 _mach_wait_until + 10
1 0x9208172f _nanosleep + 314
2 0x920815ef _usleep + 61
3 0x0083d7e8
4 0x000a8f09
5 0x000a9100
6 0x940fd5ad -[NSThread main] + 45
7 0x940fd154 ___NSThread__main__ + 308
8 0x9203ac55 __pthread_start + 321
9 0x9203ab12 _thread_start + 34
Thread 6 0x00006907
0 0x92009a2e _semaphore_wait_signal_trap + 10
1 0x9203bdc6 __pthread_cond_wait + 1267
2 0x920818bb _pthread_cond_wait + 48
3 0x00092a86
4 0x00927cd7
5 0x000a8f09
6 0x000a9100
7 0x940fd5ad -[NSThread main] + 45
8 0x940fd154 ___NSThread__main__ + 308
9 0x9203ac55 __pthread_start + 321
10 0x9203ab12 _thread_start + 34
Thread 7 0x00009a03
0 0x920099e6 _mach_msg_trap + 10
1 0x920111dc _mach_msg + 72
2 0x90ad90de _CFRunLoopRunSpecific + 1806
3 0x90ad9d18 _CFRunLoopRunInMode + 88
4 0x90197468 HALRunLoop::OwnThread(void*) + 160
5 0x90197304 CAPThread::Entry(CAPThread*) + 96
6 0x9203ac55 __pthread_start + 321
7 0x9203ab12 _thread_start + 34
Thread 8 0x00009f07
0 0x92009a46 _semaphore_timedwait_signal_trap + 10
1 0x9203bdaf __pthread_cond_wait + 1244
2 0x9203d633 _pthread_cond_timedwait_relative_np + 47
3 0x901a6a4b CAGuard::WaitFor(unsigned long long) + 213
4 0x901a8606 CAGuard::WaitUntil(unsigned long long) + 70
5 0x901a6dab HP_IOThread::WorkLoop() + 759
6 0x901a6aaf HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7 0x90197304 CAPThread::Entry(CAPThread*) + 96
8 0x9203ac55 __pthread_start + 321
9 0x9203ab12 _thread_start + 34
Thread 9 0x0000a103
0 0x92009b06 _mach_wait_until + 10
1 0x94b3a3eb _MPDelayUntil + 39
2 0x00a2142b
3 0x00a3f12f
4 0x9203ac55 __pthread_start + 321
5 0x9203ab12 _thread_start + 34
Thread 10 0x0000a203
0 0x92009b06 _mach_wait_until + 10
1 0x94b3a3eb _MPDelayUntil + 39
2 0x00a2142b
3 0x00a3f12f
4 0x9203ac55 __pthread_start + 321
5 0x9203ab12 _thread_start + 34
Thread 11 0x0000a30b
0 0x92009a2e _semaphore_wait_signal_trap + 10
1 0x9203bdc6 __pthread_cond_wait + 1267
2 0x920818bb _pthread_cond_wait + 48
3 0x00092a86
4 0x00127d1a
5 0x000a8f09
6 0x000a9100
7 0x940fd5ad -[NSThread main] + 45
8 0x940fd154 ___NSThread__main__ + 308
9 0x9203ac55 __pthread_start + 321
10 0x9203ab12 _thread_start + 34
Thread 12 0x0000a703
0 0x92009a46 _semaphore_timedwait_signal_trap + 10
1 0x9203bdaf __pthread_cond_wait + 1244
2 0x92086de7 _pthread_cond_timedwait + 47
3 0x000929a1
4 0x0072e46f
5 0x0072e4aa
6 0x000a8f09
7 0x000a9100
8 0x940fd5ad -[NSThread main] + 45
9 0x940fd154 ___NSThread__main__ + 308
10 0x9203ac55 __pthread_start + 321
11 0x9203ab12 _thread_start + 34
Thread 13 0x0000a803
0 0x9204172e _select$DARWIN_EXTSN$NOCANCEL + 10
1 0x0072f4bb
2 0x0072e7e5
3 0x000a8f09
4 0x000a9100
5 0x940fd5ad -[NSThread main] + 45
6 0x940fd154 ___NSThread__main__ + 308
7 0x9203ac55 __pthread_start + 321
8 0x9203ab12 _thread_start + 34
Thread 14 0x0000af07
0 0x920099e6 _mach_msg_trap + 10
1 0x920111dc _mach_msg + 72
2 0x90ad90de _CFRunLoopRunSpecific + 1806
3 0x90ad9d18 _CFRunLoopRunInMode + 88
4 0x94160ac0 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320
5 0x940fd5ad -[NSThread main] + 45
6 0x940fd154 ___NSThread__main__ + 308
7 0x9203ac55 __pthread_start + 321
8 0x9203ab12 _thread_start + 34
Thread 15 0x0000b803
0 0x920871f2 ___sem_wait_nocancel + 10
1 0x00a3f0fb
2 0x9203ac55 __pthread_start + 321
3 0x9203ab12 _thread_start + 34
Thread 16 0x0000ba03
0 0x920871f2 ___sem_wait_nocancel + 10
1 0x00a3f0fb
2 0x9203ac55 __pthread_start + 321
3 0x9203ab12 _thread_start + 34
Thread 17 0x0000be0b
0 0x92059b3a ___select + 10
1 0x9203ac55 __pthread_start + 321
2 0x9203ab12 _thread_start + 34
Thread 18 0x0000c307
0 0x920099e6 _mach_msg_trap + 10
1 0x920111dc _mach_msg + 72
2 0x90ad90de _CFRunLoopRunSpecific + 1806
3 0x90ad9d18 _CFRunLoopRunInMode + 88
4 0x93f286cc CFURLCacheWorkerThread(void*) + 396
5 0x9203ac55 __pthread_start + 321
6 0x9203ab12 _thread_start + 34
Thread 19 0x0000d903
0 0x92010bce ___semwait_signal + 10
1 0x9203b8cd _pthread_cond_wait$UNIX2003 + 73
2 0x12a9d787 _gleCmdProcessor + 375
3 0x9203ac55 __pthread_start + 321
4 0x9203ab12 _thread_start + 34
=========================================================
i dont receve this error at all if kgpanels is disabled so i know thats whats causing the problem... i reall really like this mod
if you can help me with this problem so i can continue to use it that would be awesome thanks...
I've been experimenting with using kgPanels to toggle a ChatFrame when I enter/exit a city (and the associated Trade Channel), but can't seem to get it work. I've tried the scripts from the kgPanels page at: http://www.wowace.com/addons/kg-panels/pages/sample-scripts/#w_controlling-a-panel-based-on-entering-a-major-city
But that doesn't seem to work (even when I correct the typo on "RegisterEvent" and add quotes around CHAT_MSG_CHANNEL_NOTICE
Right now, here's what I'm using, and not certain why it won't work:
OnLoad: self:RegisterEvent("CHAT_MSG_CHANNEL_NOTICE") { note this is different than the sample scripts page, which is self:RegsiterEvent('CHAT_MSG_CHANNEL_NOTICE') }
OnEvent: if event == "CHAT_MSG_CHANNEL_NOTICE" then if arg1 == "YOU_JOINED" and arg7 == 2 then ChatFrame3:Show() end if arg1 == "YOU_LEFT" and arg7 == 2 then ChatFrame3:Hide() end end
Note that I tagged it as ChatFrame3:Show() and Hide() respectively, because I actually want to toggle that frame, not the kgPanels frame itself.
I've tried toggling the self:Show() and self:Hide() and anchoring/parenting it to ChatFrame3, and that doesn't seem to work either.
Notably, I *can* make it work by making an OnClick event as follows: if pressed then if ChatFrame3:IsVisible() then ChatFrame3:Hide() else ChatFrame3:Show() end end
I just cannot make it occur "automatically" based on CHAT_MSG_CHANNEL_NOTICE
Any insight would be greatly appreciated!
Ive created an Example Texture Pack. aber hab versucht drauf zu gehn und dan kommt nur Uoops 404 fehler oder so. kann mir bitte da wer helfen auf deutsch ich kann leider kein englisch sry wegen deutsch schrift ^^ sry
I've been using kgpanels for quite some time now. But today I'm having problems with it. I removed kgpanels and reinstalled it. Then I started to make panels, after a few hours it was looking great. Then I reloaded my ui and it was all screwed up.
Some panels are still there but most are gone. When I go to the config screen and unlock a certain panel the panel is invisible and convers the whole screen.
Hope anyone can help me out, love this addon and really want to keep using it :)
Cheers