Detailed changes for version 1.024
2 posters
Total RP 2 :: Development :: Discussion
Page 1 of 1
Detailed changes for version 1.024
You can find here the detailed changes for version 1.024
- Changes to totalRP2/totalRP2_API.lua:
- TRP2_GetInt():
replaced- Code:
return math.floor(tonumber(value));
- Code:
if value then
return math.floor(tonumber(value));
end
return 0;
- Changes to totalRP2/totalRP2_UI_Interface.xml:
- Minimap, line 76:
replaced- Code:
<Layer level="OVERLAY">
- Code:
<Layer level="NORMAL">
- Changes to totalRP2/totalRP2_UI_Registre.xml:
- Portrait button, line 2473:
replaced- Code:
<HighlightTexture file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight" alphaMode="ADD"/>
- Code:
HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight">
<Size x="41" y="41"/>
<Anchors>
<Anchor point="CENTER" x="0" y="-3"/>
</Anchors>
</HighlightTexture>
- Changes to totalRP2_Auras/totalRP2_Auras_Main.lua:
- TRP2_UpdateAuraTargetFrame():
replaced- Code:
if not TRP2_Module_Interface["BannedID"][k] and (auraInfo ~= nil or TRP2_AuraTargetFrame.target==TRP2_Joueur.."-"..GetRealmName():gsub("%s+", "") or TRP2_AuraTargetFrame.master == TRP2_Joueur.."-"..GetRealmName():gsub("%s+", "")) then
- Code:
if not TRP2_Module_Interface["BannedID"][k] and (auraInfo ~= nil or TRP2_SimplifyNameIfPlayer(TRP2_AuraTargetFrame.target) ==TRP2_Joueur or TRP2_SimplifyNameIfPlayer(TRP2_AuraTargetFrame.master) == TRP2_Joueur) then
replaced- Code:
Message = Message.."{v}< "..TRP2_Auras_Categorie[TRP2_GetInt(tonumber(TRP2_GetWithDefaut(auraInfo,"EtatCat",2)))].." >\n{w}\"{o}"..TRP2_GetWithDefaut(auraInfo,"Description","").."{w}\"";
- Code:
Message = Message.."{v}< "..TRP2_Auras_Categorie[TRP2_GetWithDefaut(auraInfo,"EtatCat",2)].." >\n{w}\"{o}"..TRP2_GetWithDefaut(auraInfo,"Description","").."{w}\"";
- Code:
Titre = TRP2_Auras_Color[TRP2_GetInt(TRP2_GetWithDefaut(auraInfo,"Type",2))].."|TInterface\\ICONS\\"..TRP2_GetWithDefaut(auraInfo,"Icone","Temp.blp")..":30:30|t\n"..TRP2_GetWithDefaut(auraInfo,"Nom",TRP2_LOC_NewAura);
- Code:
Titre = TRP2_Auras_Color[TRP2_GetWithDefaut(auraInfo,"Type",2)].."|TInterface\\ICONS\\"..TRP2_GetWithDefaut(auraInfo,"Icone","Temp.blp")..":30:30|t\n"..TRP2_GetWithDefaut(auraInfo,"Nom",TRP2_LOC_NewAura);
- Changes to totalRP2_Creation/totalRP2_Creation_Aura.lua:
- TRP2_SetAuraApercuTooltip():
replaced- Code:
local Message = "{v}< "..TRP2_Auras_Categorie[TRP2_GetInt(tonumber(TRP2_GetWithDefaut(objet,"EtatCat",2)))].." >\n";
- Code:
local Message = "{v}< "..TRP2_Auras_Categorie[TRP2_GetWithDefaut(objet,"EtatCat",2)].." >\n";
- TRP2_CreateAuraTabCreation():
- replaced
- Code:
objet["EtatCat"] = TRP2_GetInt(TRP2_DefautToNil(TRP2_CreationFrameAuraFrameGeneralCategorie:GetValue(),2));
- Code:
objet["EtatCat"] = TRP2_DefautToNil(TRP2_GetInt(TRP2_CreationFrameAuraFrameGeneralCategorie:GetValue()),2);
- Changes to totalRP2_Interface/totalRP2_Interface_GestionChatFrame.lua:
- TRP2_ChatFrame_OnEvent():
added back the function to hide color in names in the chat frame before line 134- Code:
if not TRP2_GetConfigValueFor("UseColorInChat",true) then
personnage = TRP2_DeleteColorCode(personnage);
end
- Changes to totalRP2_Interface/totalRP2_Interface_Main.lua:
- TRP2_InitialisationUI():
replaced- Code:
TRP2_WorldMapButtonMenuIcon:SetTexture("Interface\\ICONS\\ABILITY_SEAL");
- Code:
TRP2_WorldMapButtonMenuIcon:SetTexture("Interface\\ICONS\\inv_misc_map02");
- Changes to totalRP2_Inventaire/totalRP2_Inventaire_Main.lua:
- TRP2_ExchangeReceiveTab():
replaced- Code:
if tostring(tab[1]) ~= TRP2_Joueur.."-"..GetRealmName():gsub("%s+", "") then
- Code:
if tostring(TRP2_SimplifyNameIfPlayer(tab[1])) ~= TRP2_Joueur then
- Changes to totalRP2_Language/totalRP2_Language_Main.lua:
- TRP2_TransformMessage():
added- Code:
TRP2MainFrameLangageMain:Hide();
- Code:
TRP2_OpenPanelLangues();
- Changes to totalRP2_PlayerInfo/totalRP2_PlayerInfo_Main.lua:
- TRP2_DD_PotraitIconeClick():
replaced- Code:
if not nom then
nom, royaume = UnitName("target");
if not royaume then
royaume = GetRealmName():gsub("%s+", "");
end
nom = nom.."-"..royaume;
end
- Code:
if not nom then
nom = TRP2_UnitNameWithRealm("target");
end
replaced- Code:
if nom == TRP2_Joueur.."-"..GetRealmName():gsub("%s+", "") then
- Code:
TRP2_SimplifyNameIfPlayer(nom) == TRP2_Joueur
Ellypse- Admin
- Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France
Re: Detailed changes for version 1.024
For the layer level the predefined settings are BACKGROUND, BORDER, ARTWORK, OVERLAY, HIGHLIGHT in ascendant order.
A little link. As it is explained somewhere, the default value is ARTWORK so in fact as NORMAL isn't recognize the default value is used instead.
A little link. As it is explained somewhere, the default value is ARTWORK so in fact as NORMAL isn't recognize the default value is used instead.
CMCCallaghan- Developer
- Posts : 25
Join date : 2014-02-18
Re: Detailed changes for version 1.024
Oh, you're right, thank you for reporting this error. I think I was thinking about something else when I was doing this
I will use the correct value in next version.
I will use the correct value in next version.
Ellypse- Admin
- Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France
Re: Detailed changes for version 1.024
there is also an improvement that can be done to avoid issues in FrameXML.log.
in totalRP2_UI_Includes.xml line 615 you should remove file="" as the games tries to load the texture which doesn't exist.
In totalRP2_UI_Registre.xml line 243 and 251 remove file="" too for the same reason.
FrameXML.log is clear of any loading errors after that.
in totalRP2_UI_Includes.xml line 615 you should remove file="" as the games tries to load the texture which doesn't exist.
In totalRP2_UI_Registre.xml line 243 and 251 remove file="" too for the same reason.
FrameXML.log is clear of any loading errors after that.
CMCCallaghan- Developer
- Posts : 25
Join date : 2014-02-18
Re: Detailed changes for version 1.024
Oh, I didn't know that. I will make the changes. Thank you again
Ellypse- Admin
- Posts : 215
Join date : 2013-09-26
Age : 32
Location : Paris, France
Similar topics
» Detailed changes for version 1.023
» Detailed changes for version 1.025
» Total RP 2 version 1.026
» Total RP 2 version 1.030 (for 6.0.2)
» Total RP 2 version 1.019.1
» Detailed changes for version 1.025
» Total RP 2 version 1.026
» Total RP 2 version 1.030 (for 6.0.2)
» Total RP 2 version 1.019.1
Total RP 2 :: Development :: Discussion
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|