|
You last visited: Today at 22:42
Advertisement
Card Effect on Mouseover
Discussion on Card Effect on Mouseover within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.
05/14/2020, 20:43
|
#1
|
elite*gold: 0
Join Date: Aug 2016
Posts: 308
Received Thanks: 372
|
Card Effect on Mouseover
Show card effect on mouseover
CWndManager :: MakeToolTipText
before switch (pItemProp->dwItemKind2)
add
Code:
switch (pItemProp->dwItemKind3)
{
case IK3_SOCKETCARD:
{
strEdit.AddString("\nArmor Piercing Card");
PPIERCINGAVAIL pPiercing = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemProp->dwID);
if (pPiercing)
{
for (int i = 0; i < pPiercing->nSize; i++)
{
char c = '+';
if (pPiercing->anDstParam[i] < 0)
c = '-';
CString strEffect;
if (IsDstRate(pPiercing->anDstParam[i]))
strEffect.Format("\nEffect: %s %c%d%%", FindDstString(pPiercing->anDstParam[i]), c, (pPiercing->anAdjParam[i] == DST_ATTACKSPEED ? (int)(pPiercing->anAdjParam[i] / 20) : pPiercing->anAdjParam[i]));
else
strEffect.Format("\nEffect: %s %c%d", FindDstString(pPiercing->anDstParam[i]), c, pPiercing->anAdjParam[i]);
strEdit.AddString(strEffect);
}
}
return;
}
case IK3_SOCKETCARD2:
{
strEdit.AddString("\nWeapon Piercing Card");
PPIERCINGAVAIL pPiercing = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemProp->dwID);
if (pPiercing)
{
for (int i = 0; i < pPiercing->nSize; i++)
{
char c = '+';
if (pPiercing->anDstParam[i] < 0)
c = '-';
CString strEffect;
if (IsDstRate(pPiercing->anDstParam[i]))
strEffect.Format("\nEffect: %s %c%d%%", FindDstString(pPiercing->anDstParam[i]), c, (pPiercing->anAdjParam[i] == DST_ATTACKSPEED ? (int)(pPiercing->anAdjParam[i] / 20) : pPiercing->anAdjParam[i]));
else
strEffect.Format("\nEffect: %s %c%d", FindDstString(pPiercing->anDstParam[i]), c, pPiercing->anAdjParam[i]);
strEdit.AddString(strEffect);
}
}
return;
}
}
As seen here:  (Before it was removed q.q)
Before I get any hate for releasing someone else's "system", this is outright a scam. Simple text modifications shouldnt be sold to anyone, it took me 5 minutes to do this.
|
|
|
05/14/2020, 22:13
|
#2
|
elite*gold: 0
Join Date: May 2018
Posts: 48
Received Thanks: 37
|
WndManager.cpp
In function CWndMgr::PutCommand
Replace:
Code:
strTemp.Format( prj.GetText( TID_ITEM_INFO ), pItemElem->GetProp()->szCommand );
To:
Code:
#ifdef __PIERCING_COMMAND
ItemProp* pProp = pItemElem->GetProp();
if(pProp->dwItemKind3 == IK3_SOCKETCARD || pProp->dwItemKind3 == IK3_SOCKETCARD2)
{
PPIERCINGAVAIL ptr = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemElem->m_dwItemId);
if(ptr)
{
CString str;
if(pProp->dwItemKind3 == IK3_SOCKETCARD)
str = "Armor Piercing Card.\n";
else
str = "Weapon Piercing Card.\n";
for(short i = 0; i < ptr->nSize; i++)
{
int nDst = ptr->anDstParam[i];
int nAdj = ptr->anAdjParam[i];
if(IsDst_Rate(nDst))
strTemp.Format("%s%+d%%", FindDstString(nDst), nDst == DST_ATTACKSPEED ? nAdj / 20 : nAdj);
else
strTemp.Format("%s%+d", FindDstString(nDst), nAdj);
//str += strTemp + "\n";
str += strTemp + ", ";
}
str = str.Left(str.GetLength() - 2);
strTemp = str;
}
}
else
#endif
strTemp.Format(prj.GetText(TID_ITEM_INFO), pItemElem->GetProp()->szCommand);
Add to Neuz/VersionCommon.h
Code:
#ifdef __PIERCING_COMMAND
|
|
|
05/14/2020, 22:29
|
#3
|
elite*gold: 0
Join Date: Aug 2016
Posts: 308
Received Thanks: 372
|
Quote:
Originally Posted by QuietSmoke
WndManager.cpp
In function CWndMgr::PutCommand
Replace:
Code:
else
{
strTemp.Format( prj.GetText( TID_ITEM_INFO ), pItemElem->GetProp()->szCommand );
}
To:
Code:
#ifdef __PIERCING_COMMAND
ItemProp* pProp = pItemElem->GetProp();
if(pProp->dwItemKind3 == IK3_SOCKETCARD || pProp->dwItemKind3 == IK3_SOCKETCARD2)
{
PPIERCINGAVAIL ptr = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemElem->m_dwItemId);
if(ptr)
{
CString str;
if(pProp->dwItemKind3 == IK3_SOCKETCARD)
str = "Armor Piercing Card.\n";
else
str = "Weapon Piercing Card.\n";
for(short i = 0; i < ptr->nSize; i++)
{
int nDst = ptr->anDstParam[i];
int nAdj = ptr->anAdjParam[i];
if(IsDst_Rate(nDst))
strTemp.Format("%s%c%+d%%", FindDstString(nDst), nDst == DST_ATTACKSPEED ? nAdj / 20 : nAdj);
else
strTemp.Format("%s%c%+d", FindDstString(nDst), nAdj);
//str += strTemp + "\n";
str += strTemp + ", ";
}
str = str.Left(str.GetLength() - 2);
strTemp = str;
}
}
else
#endif
strTemp.Format(prj.GetText(TID_ITEM_INFO), pItemElem->GetProp()->szCommand);
Add to Neuz/VersionCommon.h
Code:
#ifdef __PIERCING_COMMAND
|
Looks a bit nicer, thanks. Basically did this in 5 minutes so any upgrade appreciated. <3
|
|
|
05/14/2020, 22:31
|
#4
|
elite*gold: 0
Join Date: May 2018
Posts: 48
Received Thanks: 37
|
Quote:
Originally Posted by Naltalah
Looks a bit nicer, thanks. Basically did this in 5 minutes so any upgrade appreciated. <3
|
I also wrote this in 10-15 minutes
|
|
|
05/17/2020, 01:01
|
#5
|
elite*gold: 0
Join Date: Aug 2016
Posts: 20
Received Thanks: 3
|
Can I see a screenshot of what's this for? the sell post is edited today. Thank you.
|
|
|
05/17/2020, 03:48
|
#6
|
elite*gold: 0
Join Date: Feb 2020
Posts: 64
Received Thanks: 23
|
Quote:
Originally Posted by deleonrenz024
Can I see a screenshot of what's this for? the sell post is edited today. Thank you.
|
It shows the effect/s of Piercing cards.
|
|
|
05/17/2020, 11:49
|
#7
|
elite*gold: 0
Join Date: May 2011
Posts: 161
Received Thanks: 31
|
Quote:
Originally Posted by Hyellow
It shows the effect/s of Piercing cards.

|
Bei mir klappt das soweit. Nur ist die Farbe schwarz. Und nicht so Orange wie bei dir 
Sicherlich nur irgend einen Farbcode ändern?
|
|
|
05/17/2020, 12:12
|
#8
|
elite*gold: 0
Join Date: May 2018
Posts: 48
Received Thanks: 37
|
Quote:
Originally Posted by 'ScotchShine
Bei mir klappt das soweit. Nur ist die Farbe schwarz. Und nicht so Orange wie bei dir 
Sicherlich nur irgend einen Farbcode ändern? 
|
Add below:
To:
Code:
strTemp.Format(prj.GetText(TID_ITEM_INFO), pItemElem->GetProp()->szCommand);
pEdit->AddString(strTemp, D3DCOLOR_ARGB(255, 255, 180, 61));
return;
|
|
|
05/17/2020, 12:38
|
#9
|
elite*gold: 0
Join Date: May 2011
Posts: 161
Received Thanks: 31
|
Quote:
Originally Posted by QuietSmoke
Add below:
To:
Code:
strTemp.Format(prj.GetText(TID_ITEM_INFO), pItemElem->GetProp()->szCommand);
pEdit->AddString(strTemp, D3DCOLOR_ARGB(255, 255, 180, 61));
return;
|
SO?
Quote:
#ifdef __PIERCING_COMMAND
ItemProp* pProp = pItemElem->GetProp();
if(pProp->dwItemKind3 == IK3_SOCKETCARD || pProp->dwItemKind3 == IK3_SOCKETCARD2)
{
PPIERCINGAVAIL ptr = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemElem->m_dwItemId);
if(ptr)
{
CString str;
if(pProp->dwItemKind3 == IK3_SOCKETCARD)
str = "Armor Piercing Card.\n";
else
str = "Weapon Piercing Card.\n";
for(short i = 0; i < ptr->nSize; i++)
{
int nDst = ptr->anDstParam[i];
int nAdj = ptr->anAdjParam[i];
if(IsDst_Rate(nDst))
strTemp.Format("%s%c%+d%%", FindDstString(nDst), nDst == DST_ATTACKSPEED ? nAdj / 20 : nAdj);
else
strTemp.Format("%s%c%+d", FindDstString(nDst), nAdj);
//str += strTemp + "\n";
str += strTemp + ", ";
}
str = str.Left(str.GetLength() - 2);
strTemp = str;
}
}
else
#endif
strTemp.Format(prj.GetText(TID_ITEM_INFO), pItemElem->GetProp()->szCommand);
pEdit->AddString(strTemp, D3DCOLOR_ARGB(255, 255, 180, 61));
return;
|
|
|
|
05/17/2020, 12:40
|
#10
|
elite*gold: 0
Join Date: May 2018
Posts: 48
Received Thanks: 37
|
Quote:
Originally Posted by 'ScotchShine
SO?
|
Code:
#ifdef __PIERCING_COMMAND
ItemProp* pProp = pItemElem->GetProp();
if(pProp->dwItemKind3 == IK3_SOCKETCARD || pProp->dwItemKind3 == IK3_SOCKETCARD2)
{
PPIERCINGAVAIL ptr = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemElem->m_dwItemId);
if(ptr)
{
CString str;
if(pProp->dwItemKind3 == IK3_SOCKETCARD)
str = "Armor Piercing Card.\n";
else
str = "Weapon Piercing Card.\n";
for(short i = 0; i < ptr->nSize; i++)
{
int nDst = ptr->anDstParam[i];
int nAdj = ptr->anAdjParam[i];
if(IsDst_Rate(nDst))
strTemp.Format("%s%c%+d%%", FindDstString(nDst), nDst == DST_ATTACKSPEED ? nAdj / 20 : nAdj);
else
strTemp.Format("%s%c%+d", FindDstString(nDst), nAdj);
//str += strTemp + "\n";
str += strTemp + ", ";
}
str = str.Left(str.GetLength() - 2);
strTemp = str;
}
strTemp.Format(prj.GetText(TID_ITEM_INFO), pItemElem->GetProp()->szCommand);
pEdit->AddString(strTemp, D3DCOLOR_ARGB(255, 255, 180, 61));
return;
}
else
#endif
|
|
|
05/17/2020, 12:46
|
#11
|
elite*gold: 0
Join Date: May 2011
Posts: 161
Received Thanks: 31
|
Quote:
Originally Posted by QuietSmoke
Code:
#ifdef __PIERCING_COMMAND
ItemProp* pProp = pItemElem->GetProp();
if(pProp->dwItemKind3 == IK3_SOCKETCARD || pProp->dwItemKind3 == IK3_SOCKETCARD2)
{
PPIERCINGAVAIL ptr = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemElem->m_dwItemId);
if(ptr)
{
CString str;
if(pProp->dwItemKind3 == IK3_SOCKETCARD)
str = "Armor Piercing Card.\n";
else
str = "Weapon Piercing Card.\n";
for(short i = 0; i < ptr->nSize; i++)
{
int nDst = ptr->anDstParam[i];
int nAdj = ptr->anAdjParam[i];
if(IsDst_Rate(nDst))
strTemp.Format("%s%c%+d%%", FindDstString(nDst), nDst == DST_ATTACKSPEED ? nAdj / 20 : nAdj);
else
strTemp.Format("%s%c%+d", FindDstString(nDst), nAdj);
//str += strTemp + "\n";
str += strTemp + ", ";
}
str = str.Left(str.GetLength() - 2);
strTemp = str;
}
strTemp.Format(prj.GetText(TID_ITEM_INFO), pItemElem->GetProp()->szCommand);
pEdit->AddString(strTemp, D3DCOLOR_ARGB(255, 255, 180, 61));
return;
}
else
#endif
|
Thank You !!
|
|
|
 |
Similar Threads
|
[HTML] Mouseover hilfe
05/09/2012 - General Coding - 3 Replies
Heey
wir arbeiten in der Schule mit HTML/PHP/CSS. Hab da ein Problem mit der Mouseover funktion.
Wenn ich nur einen Button drinne hab funktionert es aber wenn ein zweiter draunter ist gehts aber die Bilder wechseln sich nicht mehr.
<a href="x.php"
onMouseOver="document.Bild.src='startseite_in .png';"
onMouseOut="document.Bild.src='startseite_out .png';">
<img src="startseite_out.png" name="Bild" alt="startseite" border=0>
|
[Tutorial] Eigene Mouseover-Schilder erstellen
12/27/2010 - WoW Private Server - 3 Replies
Hallo Leute,
jeder kennt sie, doch viele frage sich, wie genau man's macht. Diese kleinen schönen Schilder, die einen bestimmten Text anzeigen, wenn man mit der Maus drüber fährt und die dazu, noch evtl. eine Quest starten.
Deshalb habe ich dieses Tutorial geschrieben, damit's bald auch wirklich jeder kann.
Dann kann's ja losgehen.
Als erstes geht ihr wieder mit navicat oder einem anderen MySQL-Programm in eure Datenbank. Dort öffnet ihr dann die Tabelle gameobject_names.
|
[Tutorial]HowTo: MouseOver Effekt via CSS
07/16/2009 - Coding Tutorials - 1 Replies
Ok Leute wieder mal ein TUT von mir. Diesmal geht es darum wie ihr einen simplen MouseOver Effekt mit CSS erstellen könnt. Dazu braucht man eigentlich auch kaum Vorkenntnisse, wie man jedoch CSS benutzt wäre vorteilhaft.
Diese Methode eignet sich vorallem um schnell mal paar Links schöner zu gestalten, jedoch eignet sich Javascript für solche Sachen mehr und ist vorallem vorzuziehen wenn es um komplizierte Menüführung usw geht.
Ok aber dann wollen wir doch gleich mal loslegen.
Also starten...
|
Mouseover-Frage
05/22/2009 - Technical Support - 0 Replies
Hey,
ich arbeite grad aus Langeweile an 'ner Page und hänge gerade.
Und zwar möchte ich ein Teilbereich eines Bildes mit einem Mouseovereffekt & Link versehen, nur weiß ich nicht wie ich das mit dem Mouseovereffekt bei einem Teilbereich eines Bildes hinbekommen soll.
Ich bin dankbar für jede Hilfe ;-)
|
All times are GMT +1. The time now is 22:47.
|
|