Thread Tools Display Modes
06/30/19, 11:58 AM   #1
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member
Join Date: May 2019
Posts: 210
Exclamation Show CP Level On Alts Lower Than Level 50

I'm wanting to know my CP level on my alts that are lower than level 50.
Without having to go into the Champion UI and add up all the points myself to figure it out.
Or without having to go back to the character log-in screen to see my CP total.

Whether it's a command I can type in the chat and have the chat respond with my CP level,
Or whether it's a small addition to my character screen UI,
Or a small number somewhere on the Champion UI.

I don't care how it's done, but I'm tired of having all these alts below level 50 and not knowing quickly what my CP level is.
How it's not already implemented into the UI somehow blows my mind.

I found that the addon Foundry Tactical Combat includes it in its player unit frames. But I don't want to use its player unit frames.

So if someone could create another way for us to see our CP on lowbies, that would be awesome.
Or if someone knows a way for me to edit the lua of Slightly Improved Experience Bar for it to show CP on lowbie alts, that would be super cool as well.
  Reply With Quote
06/30/19, 01:13 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Try these scripts in the chat:

If you are logged in to a char below level 50 it might return 0 though.
In the past I think they returned the CP points or level only if you already reached the CP ranks (at level 50) with each char.

Champion points earned
/script d("CP points: " .. GetPlayerChampionPointsEarned())

Champion points effective (usable)
/script d("CP points: " .. GetUnitEffectiveChampionPoints("player"))

Champion XP
/script d("CP XP: " .. GetPlayerChampionXP())

I'm not sure though if there is an API function to show the champion rank. I only know there are 2: for friendslist and guildlist. Maybe there is also one for the own characters but I haven't found it in the API today.
  Reply With Quote
06/30/19, 01:30 PM   #3
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member
Join Date: May 2019
Posts: 210
Thumbs up Script Works!

Originally Posted by Baertram View Post
Champion points earned
/script d("CP points: " .. GetPlayerChampionPointsEarned())
This works on characters lower than level 50. It's what I was looking for.
I tried it on my level 37 Necromancer, and it came back with:
CP points: 377

Great! Just the information I need!

I'll save that in a word document to use in the future.
Although, it would be great if someone created a small addon that enabled you to type in a short command (like: /cp or /cppoints or /cplevel) to get that information to show in chat. Rather than having to remember that script.

But yes, thank you for the response! I really appreciate it!
  Reply With Quote
06/30/19, 01:36 PM   #4
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
Originally Posted by amber1019 View Post
Although, it would be great if someone created a small addon that enabled you to type in a short command (like: /cp or /cppoints or /cplevel) to get that information to show in chat. Rather than having to remember that script.
That is something extremely easy to do. You could use an addon like Hello World to get started. Then, you just need to create a chat command:

Lua Code:
  1. SLASH_COMMANDS["/cplevel"] = MyAddon.ShowCPLevel

Then make that function with the contents being:

Lua Code:
  1. d("CP points: " .. GetPlayerChampionPointsEarned())
  Reply With Quote
06/30/19, 01:52 PM   #5
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member
Join Date: May 2019
Posts: 210
Originally Posted by Rhyono View Post
That is something extremely easy to do. You could use an addon like Hello World to get started.
That's great! Thanks for the tip.
But I'd really rather someone else made the addon, or implemented it into an addon that already exists.
I appreciate the information in case I ever want to do something else in the future, but I'd rather not deal with it myself right now.
Someone much more knowledgeable than me could obviously create it within mere minutes.

I'm hoping a kind and generous addon creator/author does something with this.
If not, I understand.
If so, much appreciated!
  Reply With Quote
06/30/19, 02:29 PM   #6
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
New addon SlashCommands

/cp -> Show the champion points earned

Feel free to use it and add your own slash comamnds.
I'm not going to oficcially release this.
  Reply With Quote
06/30/19, 03:03 PM   #7
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member
Join Date: May 2019
Posts: 210
Talking Baertram Is Fantastic!

Originally Posted by Baertram View Post
New addon SlashCommands

/cp -> Show the champion points earned

Feel free to use it and add your own slash comamnds.
I'm not going to oficcially release this.
You're SPECTACULAR, Baertram. Thank you SO much for taking the time to do that. You're officially one of my favorite people, ever.
I've added it to my dropbox for safekeeping and put a backup of it in another folder.
Thank you!
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Show CP Level On Alts Lower Than Level 50

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off