Download
(1 Kb)
Download
Updated: 11/12/20 12:23 PM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Updated:11/12/20 12:23 PM
Created:11/21/19 09:21 AM
Monthly downloads:39
Total downloads:6,156
Favorites:13
MD5:
Categories:Miscellaneous, Discontinued & Outdated
RealCP  Popular! (More than 5000 hits)
Version: 1.2.3
by: MrPikPik [More]
With the raise of the CP cap to 3600 in Update 29 (ESO 6.3.5 - Flames of Ambition) this addon is rendered obsolete!

This tiny addon displays the actual amount of earned champion points of a player after they hit the current champion points cap of 810.

It does that by basically just patching a single UI function not to check if the CP are higher than 810.



The addon supports 2 commands:

/realcpdebug - Toggles the display of an error message if it fails to resolve the level
/realcprestore - Restores a saved, unpatched version of the original function. This effectivly "unloads" the addon.






The function sometimes gets called with wrong parameters! In that case it displays a red questionmark as the level, indicating it could not resolve the level! This seems to be a bug from the game itself though, since the patched function is almost identical to the unmodified one (according to the esoui reference on git):

Lua Code:
  1. -- Original function
  2. function GetLevelOrChampionPointsStringNoIcon(level, championPoints)
  3.     if championPoints and championPoints > 0 then
  4.         if championPoints > CHAMPION_CAP then
  5.             return tostring(CHAMPION_CAP)
  6.         else
  7.             return tostring(championPoints)
  8.         end
  9.     elseif level and level > 0 then
  10.         return tostring(level)
  11.     else
  12.         return ""
  13.     end
  14. end
  15.  
  16. -- Patched function
  17. function GetLevelOrChampionPointsStringNoIcon(level, championPoints)
  18.     if championPoints and championPoints > 0 then
  19.         return tostring(championPoints)
  20.     elseif level and level > 0 then
  21.         return tostring(level)
  22.     else
  23.         return "|caa0000?|r"
  24.     end
  25. end
1.2.3 (12.11.2020)
- Updated API version from 100032 to 100033

1.2.2
- Updated API version from 100031 to 100032
- Addon Disclaimer added

1.2.1.1
- Updated API version from 100030 to 100031 for support of the Greymoor Chapter

1.2.1
- Updated API version from 100029 to 100030 for support of the Harrowstorm DLC on the PTS.

1.2
- CP now showing in group window and in open world while looking at a player.

1.1
- Abilty to restore original functions.

1.0
- Initial release.
Archived Files (5)
File Name
Version
Size
Uploader
Date
1.2.2
2kB
MrPikPik
09/10/20 07:41 AM
1.2.1.1
2kB
MrPikPik
05/27/20 06:37 PM
1.2.1
1kB
MrPikPik
01/20/20 08:04 PM
1.2
1kB
MrPikPik
11/21/19 02:03 PM
1.1
1kB
MrPikPik
11/21/19 09:34 AM


Post A Reply Comment Options
Unread 06/19/21, 12:29 PM  
ChrisK

Forum posts: 0
File comments: 176
Uploads: 0
Thank you for the great addon, have loved using it MrPikPik!
Report comment to moderator  
Reply With Quote
Unread 03/26/21, 12:55 PM  
HowellQagan
 
HowellQagan's Avatar

Forum posts: 11
File comments: 437
Uploads: 0
With the raise of the CP cap to 3600 in Update 29 (ESO 6.3.5 - Flames of Ambition) this addon is rendered obsolete!
Thank you for your service! /salute
Report comment to moderator  
Reply With Quote
Unread 10/18/20, 08:11 AM  
contagrepolis01

Forum posts: 0
File comments: 20
Uploads: 0
I was looking for this addon for months because all others modify the whole UI and I like the default UI.
Thank you very much for this work!
Report comment to moderator  
Reply With Quote
Unread 12/06/19, 09:15 AM  
MrPikPik
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 34
Uploads: 27
Originally Posted by Rhyono
Missing levels are supposedly fixed now.
Rarely they are missing, but usually they are all there on game start
Report comment to moderator  
Reply With Quote
Unread 11/29/19, 04:47 PM  
Rhyono
AddOn Author - Click to view AddOns

Forum posts: 659
File comments: 1357
Uploads: 19
Missing levels are supposedly fixed now.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: