Compare commits

...

10 Commits

Author SHA1 Message Date
4d07fc2225 Add releases 2024-12-27 16:42:27 +01:00
a5ab1313f0 Add readme and remove agent 2024-12-27 16:39:51 +01:00
76a6159d96 Configure on login 2024-12-27 16:34:52 +01:00
ba56ab3f15 Add deploy script 2024-12-27 16:34:34 +01:00
abb00c9500 Remove all bullshit that is not channeler from channeler 2024-12-27 16:34:29 +01:00
5d2b1c3fb6 Add spellQ settings 2024-12-15 22:18:57 +01:00
5e4b358763 Don't set camera speed to nil wtf 2024-12-12 12:45:19 +01:00
62000b8502 Add foobar channel for testing 2024-12-12 12:45:12 +01:00
8fdbb8858f Rename project 2024-12-12 12:19:10 +01:00
49d3d36e74 Add cleu parser 2024-12-10 10:26:26 +01:00
11 changed files with 80 additions and 30 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
*.zip filter=lfs diff=lfs merge=lfs -text

View File

@@ -1,20 +0,0 @@
local function SetCameraSpeed(speed)
print("Camera speed set to " .. speed)
SetCVar("cameraYawMoveSpeed", speed)
SetCVar("cameraPitchMoveSpeed", speed)
end
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
frame:SetScript("OnEvent", function(self, event, ...)
SetCameraSpeed(CykaCameraSpeed)
end)
SlashCmdList["CAMERASETTINGS"] = function(speed)
if speed then
CykaCameraSpeed = speed
end
SetCameraSpeed(CykaCameraSpeed)
end
SLASH_CAMERASETTINGS1 = "/cs"

View File

@@ -6,8 +6,7 @@ local debug = false
---@type Channel[]
local channels = {
{ name = "Agent", password = "agents42" },
{ name = "Horde", password = "garrosh" },
{ name = "Horde", password = "garrosh" },
{ name = "world_ru", password = nil }
}
---@type string
@@ -30,7 +29,8 @@ local subscribedMessageGroups = {
---@type string[]
local subscribedChannels = {
"Agent",
"Horde"
"Horde",
"Foobar"
}
local function JoinChannels()
@@ -109,15 +109,16 @@ end
local function Configure()
JoinChannels()
FindOrCreateChatFrame("Auto", subscribedMessageGroups, subscribedChannels)
FindOrCreateChatFrame("world_ru", {}, { "world_ru" })
-- FindOrCreateChatFrame("Agent", {}, { "Agent" })
-- FindOrCreateChatFrame("Horde", {}, { "Horde" })
--FindOrCreateChatFrame("Horde", {}, { "Horde" })
--FindOrCreateChatFrame("world_ru", {}, { "world_ru" })
--FindOrCreateChatFrame("Agent", {}, { "Agent" })
end
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
frame:SetScript("OnEvent", function(self, event, ...)
Configure()
C_Timer.After(1, function()
Configure()
end)

View File

@@ -1,9 +1,7 @@
## Interface: 70300
## Title: Channeler
## Title: Channeler
## Notes: Automatically sets up chat channels
## Author: Cyka
## SavedVariables: CykaCameraSpeed
#core
Channeler.lua
CameraSettings.lua
Channeler.lua

BIN
Channeler_HordeAll_1tab.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Channeler_HordeAll_world_2tab.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Channeler_Horde_1tab.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Channeler_Horde_world_2tab.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Channeler_Horde_world_all_3tab.zip (Stored with Git LFS) Normal file

Binary file not shown.

50
README.md Normal file
View File

@@ -0,0 +1,50 @@
# Channeler
## Overview
Channeler is a World of Warcraft AddOn that helps manage and organize chat channels and windows, providing a customized chat experience for players.
## Features
- Automatically joins predefined chat channels
- Creates custom chat windows with specific message groups and channels
- Provides a quick reconfiguration slash command
## Predefined Channels
The AddOn automatically joins the following channels:
- Horde (password: garrosh)
- world_ru (no password)
## Subscribed Message Groups
The AddOn subscribes to the following message types:
- SAY
- YELL
- EMOTE
- PARTY
- PARTY_LEADER
- RAID
- RAID_LEADER
- RAID_WARNING
- BATTLEGROUND
- BATTLEGROUND_LEADER
- INSTANCE_CHAT
- INSTANCE_CHAT_LEADER
- WHISPER
## Chat Windows
Two custom chat windows are created:
1. "Auto" - Includes all subscribed message groups and channels (Agent, Horde, Foobar)
2. "world_ru" - Dedicated to the world_ru channel
## Slash Commands
- `/fix` or `/f`: Reconfigures chat windows and channels
## Versions
- 1 tab - horde only
- 2 tab - horde, world_ru
- 3 tab - horde, world_ru, everything else
- 2 tab - horde+everything else, world_ru
- 1 tab - horde+everything else
## Installation
1. Download the [addon](https://git.site.quack-lab.dev/dave/wow_channeler/raw/branch/master/Channeler.zip)
2. Extract the AddOn to your World of Warcraft `Interface/AddOns` directory
3. Ensure the AddOn is enabled in the character selection screen

5
deploy.sh Normal file
View File

@@ -0,0 +1,5 @@
rm Channeler.zip
mkdir Channeler
cp *.lua *.toc Channeler
7z a Channeler.zip Channeler
rm -rf Channeler