Remove Elemental System
#1

Does anyone have a clue how i can remove this Elemental System? i really wanna make my server a great EP1 Feeling so i wanna remove this or disable it which ever seems better to make gaming more oldschool and enjoyable since most of players hate this Elemental system...

A good friend of mine told me this Elemental System is like a cancer, since its all over the Source, is this true ?

2 

#2

Client side:

 

void CTargetInfoUI::UpdateAttrIcon()
{
ObjInfo* pInfo = ObjInfo::getSingleton();
bool bAdd = IsAddSubInfo(eSUB_INFO_ATTR);

int nAttr = 0, nAttrLv = 0;
if (m_pImgArr[eARRAY_ATTR_ATT] != NULL)
{
if (bAdd == true)
{
/*
_getAttr(eATTR_ATT, nAttr, nAttrLv);
m_pImgArr[eARRAY_ATTR_ATT]->SetRenderIdx(nAttr);
m_pImgArr[eARRAY_ATTR_ATT]->Hide(FALSE);
m_pImgArr[eARRAY_ATTR_ATT]->SetPosX(m_nWidth - DEF_ICON_GAP_ATTR);

CmdTargetInfoTooltip* pCmd = new CmdTargetInfoTooltip;
pCmd->setData(this, eTOOLTIP_ATTRATT);
m_pImgArr[eARRAY_ATTR_ATT]->SetCommandEnter(pCmd);

UpdateTooltip(eTOOLTIP_ATTRATT);*/

m_pImgArr[eARRAY_ATTR_ATT]->Hide(TRUE);

}
else
{
m_pImgArr[eARRAY_ATTR_ATT]->Hide(TRUE);
}
}

if (m_pImgArr[eARRAY_ATTR_DEF] != NULL)
{
if (bAdd == true)
{
/*
_getAttr(eATTR_DEF, nAttr, nAttrLv);
m_pImgArr[eARRAY_ATTR_DEF]->SetRenderIdx(nAttr);
m_pImgArr[eARRAY_ATTR_DEF]->Hide(FALSE);
m_pImgArr[eARRAY_ATTR_DEF]->SetPosX(m_nWidth);

CmdTargetInfoTooltip* pCmd = new CmdTargetInfoTooltip;
pCmd->setData(this, eTOOLTIP_ATTRDEF);
m_pImgArr[eARRAY_ATTR_DEF]->SetCommandEnter(pCmd);

UpdateTooltip(eTOOLTIP_ATTRDEF);
*/
m_pImgArr[eARRAY_ATTR_ATT]->Hide(TRUE);
}
else
{
m_pImgArr[eARRAY_ATTR_DEF]->Hide(TRUE);
}
}

}

This will disable the elemental icons on mobs

Database query:

update t_npc set a_attribute = 0;

This will remove the elemental stats of mobs server side

Then you still need to remove it from skills, I think you can easily look for the magic IDs and remove the respective ones from t_skillLevel

#3


2 hours ago, Desarija said:




Client side:

 




void CTargetInfoUI::UpdateAttrIcon()
{
ObjInfo* pInfo = ObjInfo::getSingleton();
bool bAdd = IsAddSubInfo(eSUB_INFO_ATTR);

int nAttr = 0, nAttrLv = 0;
if (m_pImgArr[eARRAY_ATTR_ATT] != NULL)
{
if (bAdd == true)
{
/*
_getAttr(eATTR_ATT, nAttr, nAttrLv);
m_pImgArr[eARRAY_ATTR_ATT]->SetRenderIdx(nAttr);
m_pImgArr[eARRAY_ATTR_ATT]->Hide(FALSE);
m_pImgArr[eARRAY_ATTR_ATT]->SetPosX(m_nWidth - DEF_ICON_GAP_ATTR);

CmdTargetInfoTooltip* pCmd = new CmdTargetInfoTooltip;
pCmd->setData(this, eTOOLTIP_ATTRATT);
m_pImgArr[eARRAY_ATTR_ATT]->SetCommandEnter(pCmd);

UpdateTooltip(eTOOLTIP_ATTRATT);*/

m_pImgArr[eARRAY_ATTR_ATT]->Hide(TRUE);

}
else
{
m_pImgArr[eARRAY_ATTR_ATT]->Hide(TRUE);
}
}

if (m_pImgArr[eARRAY_ATTR_DEF] != NULL)
{
if (bAdd == true)
{
/*
_getAttr(eATTR_DEF, nAttr, nAttrLv);
m_pImgArr[eARRAY_ATTR_DEF]->SetRenderIdx(nAttr);
m_pImgArr[eARRAY_ATTR_DEF]->Hide(FALSE);
m_pImgArr[eARRAY_ATTR_DEF]->SetPosX(m_nWidth);

CmdTargetInfoTooltip* pCmd = new CmdTargetInfoTooltip;
pCmd->setData(this, eTOOLTIP_ATTRDEF);
m_pImgArr[eARRAY_ATTR_DEF]->SetCommandEnter(pCmd);

UpdateTooltip(eTOOLTIP_ATTRDEF);
*/
m_pImgArr[eARRAY_ATTR_ATT]->Hide(TRUE);
}
else
{
m_pImgArr[eARRAY_ATTR_DEF]->Hide(TRUE);
}
}

}


This will disable the elemental icons on mobs



Database query:



update t_npc set a_attribute = 0;



This will remove the elemental stats of mobs server side



Then you still need to remove it from skills, I think you can easily look for the magic IDs and remove the respective ones from t_skillLevel




I will look into this and try it, where exactly is this in client? . Will this also delete the elemental from each Character when pressing T? 

#4


8 hours ago, BayBay said:




I will look into this and try it, where exactly is this in client? . Will this also delete the elemental from each Character when pressing T? 




no, you have to manually edit the skills. Take a look in the t_magic index should be linked on there! 

#5


1 hour ago, Scura said:




no, you have to manually edit the skills. Take a look in the t_magic index should be linked on there! 




thanks! I will do so

#6


4 hours ago, Scura said:




no, you have to manually edit the skills. Take a look in the t_magic index should be linked on there! 




Ok Scura im a bit lost, Exactly what Magic ID's must i delete in t_skillLevel, how do i know which ones?

#7


3 hours ago, BayBay said:




Ok Scura im a bit lost, Exactly what Magic ID's must i delete in t_skillLevel, how do i know which ones?




Open t_magic and search for all magics with a_type = -1. Then you open t_skillLevel and search for these magic IDs in a_magicIndex1-3 and set them to -1 instead


16 hours ago, BayBay said:




I will look into this and try it, where exactly is this in client? . Will this also delete the elemental from each Character when pressing T? 




Engine/Contents/function/TargetInfoNewUI.cpp

To remove it from the character info menu, you need to edit CharecterInfoNew.xml in your client folder (sub1_page2 I believe)

#8


7 hours ago, Desarija said:




Open t_magic and search for all magics with a_type = -1. Then you open t_skillLevel and search for these magic IDs in a_magicIndex1-3 and set them to -1 instead



Engine/Contents/function/TargetInfoNewUI.cpp



To remove it from the character info menu, you need to edit CharecterInfoNew.xml in your client folder (sub1_page2 I believe)




Thanks!! I will do all of this ill let you know if it worked

#9


18 hours ago, Desarija said:




Open t_magic and search for all magics with a_type = -1. Then you open t_skillLevel and search for these magic IDs in a_magicIndex1-3 and set them to -1 instead



Engine/Contents/function/TargetInfoNewUI.cpp



To remove it from the character info menu, you need to edit CharecterInfoNew.xml in your client folder (sub1_page2 I believe)




I did the Database query you mentioned  : update t_npc set a_attribute = 0;

But when i looked inside DB in t_magic all i found was this: 

There are no a_type: -1s here so how do i know which ones i need to disable in t_skillLevel?

2

 

About the CharecterInfoNew.xml i found this  sub1_page2:

I tried comenting it out or deleting part of it but if i do it client dosent load.....

2

 

#10


5 hours ago, BayBay said:




I did the Database query you mentioned  : update t_npc set a_attribute = 0;



But when i looked inside DB in t_magic all i found was this: 



There are no a_type: -1s here so how do i know which ones i need to disable in t_skillLevel?



2



 



About the CharecterInfoNew.xml i found this  sub1_page2:



I tried comenting it out or deleting part of it but if i do it client dosent load.....



2



 




For disable the graphic part of the "element system" you have to change the "Engine/Contents/function/TargetInfoNewUI.cpp" as Desa said. About the skill, you have to check skill by skill and check in which t_magic is linked. When you found a magic index linked at elemental system just remove it



Forum Jump:


Users browsing this thread: 1 Guest(s)