Register for your free account! | Forgot your password?

You last visited: Today at 00:37

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



hero skill

Discussion on hero skill within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
pppp10's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 78
Received Thanks: 2
hero skill

character level 130+ can't quest hero skill.

where how to edit npc quest hero?
pppp10 is offline  
Old 04/28/2014, 10:32   #2



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
Worlddialog.dll
Sedrika is offline  
Old 04/28/2014, 11:15   #3
 
pppp10's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 78
Received Thanks: 2
Quote:
Originally Posted by Sedrika View Post
Worlddialog.dll
้how to program edit?
pppp10 is offline  
Old 04/28/2014, 13:54   #4



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
Use the source.
Sedrika is offline  
Old 04/28/2014, 15:06   #5
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 0
The Black Market: 517/0/0
Join Date: Jan 2012
Posts: 16,498
Received Thanks: 3,525
Quote:
Originally Posted by pppp10 View Post
้how to program edit?
Use visual studio.
Lumi is offline  
Old 04/28/2014, 16:03   #6
 
pppp10's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 78
Received Thanks: 2
Quote:
Originally Posted by ​Lumi View Post
Use visual studio.
I not understand.how to edit WorldDialog.dll.

help me please.
pppp10 is offline  
Old 04/28/2014, 16:29   #7



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
You have to use visual studio to edit the source code of the dialog file...
Sedrika is offline  
Old 04/29/2014, 03:36   #8
 
pppp10's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 78
Received Thanks: 2
Quote:
Originally Posted by Sedrika View Post
You have to use visual studio to edit the source code of the dialog file...
I want hero skill but character level 130+ not quest.can't click ok.
Attached Images
File Type: jpg Untitled.jpg (251.5 KB, 32 views)
pppp10 is offline  
Old 04/29/2014, 05:10   #9
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
CDPSvr::OnLegendSkillStart

dpsrvr.cpp
Avalion is offline  
Thanks
1 User
Old 04/29/2014, 08:14   #10
 
pppp10's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 78
Received Thanks: 2
Quote:
Originally Posted by Avalion View Post
CDPSvr::OnLegendSkillStart

dpsrvr.cpp
void CDPSrvr::OnLegendSkillStart( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );

if( IsValidObj( pUser ) == FALSE )
return;

OBJID objItemId[5];

for( int i=0; i<5; ++i )
ar >> objItemId[i];

if(pUser->IsHero() == FALSE)
return;

for( i = 0; i < MAX_SKILL_JOB; i++ )
{
LPSKILL lpSkill = &(pUser->m_aJobSkill[i]);
if( lpSkill && lpSkill->dwSkill != NULL_ID )
{
ItemProp* pSkillProp = prj.GetSkillProp( lpSkill->dwSkill );
if( pSkillProp == NULL )
continue;
if( pSkillProp->dwItemKind1 != JTYPE_HERO)
continue;
if( lpSkill->dwLevel > 4 )
{
pUser->AddLegendSkillResult(-1);
return;
}
}
}

CItemElem* pItemElem[5];
// ภฯฤกวฯดยม๖ ฐหป็ (ภฮบฅลไธฎฟกผญ ฐหป็)
for( i=0; i<5; i++ )
{
pItemElem[i] = (CItemElem*)pUser->m_Inventory.GetAtId( objItemId[i] );
if( IsUsableItem( pItemElem[i] ) == FALSE )
return ;
}

if( pItemElem[0]->m_dwItemId != II_GEN_MAT_DIAMOND ||
pItemElem[1]->m_dwItemId != II_GEN_MAT_EMERALD ||
pItemElem[2]->m_dwItemId != II_GEN_MAT_SAPPHIRE ||
pItemElem[3]->m_dwItemId != II_GEN_MAT_RUBY ||
pItemElem[4]->m_dwItemId != II_GEN_MAT_TOPAZ )
return;

// ธ๐ตฮ ภฯฤกวฯธ้ บธผฎ พฦภฬล ป่มฆ
for( i=0; i<5 ; i++ )
{
LogItemInfo aLogItem;
aLogItem.Action = "+";
aLogItem.SendName = pUser->GetName();
aLogItem.RecvName = "LEGENDSKILL_USE";
aLogItem.WorldId = pUser->GetWorld()->GetID();
OnLogItem( aLogItem, pItemElem[i], 1 );
pUser->RemoveItem( (BYTE)( objItemId[i] ), (short)1 );
}


if( xRandom(1000) > 766 )
{
for( i = 0; i < MAX_SKILL_JOB; i++ )
{
LPSKILL lpSkill = &(pUser->m_aJobSkill[i]);
if( lpSkill && lpSkill->dwSkill != NULL_ID )
{
ItemProp* pSkillProp = prj.GetSkillProp( lpSkill->dwSkill );
if( pSkillProp == NULL )
continue;
if( pSkillProp->dwItemKind1 != JTYPE_HERO)
continue;
lpSkill->dwLevel++;

g_dpDBClient.SendLogSkillPoint( LOG_SKILLPOINT_USE, 1, (CMover*)pUser, &(pUser->m_aJobSkill[i]) );
}
}
g_UserMng.AddCreateSfxObj((CMover *)pUser, XI_SYS_EXCHAN01, pUser->GetPos().x, pUser->GetPos().y, pUser->GetPos().z);
pUser->AddDoUseSkillPoint( &(pUser->m_aJobSkill[0]), pUser->m_nSkillPoint );
#ifdef __S_NEW_SKILL_2
g_dpDBClient.SaveSkill( pUser );
#endif // __S_NEW_SKILL_2
pUser->AddLegendSkillResult(TRUE);
}
else
{
pUser->AddLegendSkillResult(FALSE);
}
}
#endif //__LEGEND // 9ย๗ ภฝยฝรฝบล Neuz, World, Trans

where edit?
pppp10 is offline  
Old 04/29/2014, 08:52   #11
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
if(pUser->IsHero() == FALSE)
return;

either to

if(pUser->IsHero() == FALSE || pUser->IsLegend()) //or IsLegendHero() not sure how the exact name is

or check if the legendlevel is greater than or equal to 'Hero'
return;
Mognakor is offline  
Old 04/29/2014, 08:57   #12



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
Er will die Quest Zeit ändern und ihr sagt ihm was falsches, Ouch...
Sedrika is offline  
Old 04/29/2014, 10:10   #13
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
Quote:
Originally Posted by Sedrika View Post
Er will die Quest Zeit ändern und ihr sagt ihm was falsches, Ouch...
Quote:
Originally Posted by pppp10 View Post
I want hero skill but character level 130+ not quest.can't click ok.

Hört sich für mich stark danach an dass er als Legend keinen Hero Skill mehr skillen kann. Besonders wenn man den Screenshot bedenkt und den Codeausschnitt.
Mognakor is offline  
Old 04/29/2014, 11:21   #14
 
pppp10's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 78
Received Thanks: 2
Quote:
Originally Posted by Mognakor View Post
if(pUser->IsHero() == FALSE)
return;

either to

if(pUser->IsHero() == FALSE || pUser->IsLegend()) //or IsLegendHero() not sure how the exact name is

or check if the legendlevel is greater than or equal to 'Hero'
return;
eror.how to fix.
Attached Images
File Type: jpg Untitled.jpg (287.9 KB, 21 views)
pppp10 is offline  
Old 04/29/2014, 11:35   #15
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
Quote:
Originally Posted by pppp10 View Post
eror.how to fix.
...

Do you even try to think yourself?
Since my code had i minor mistake in it try this one


Code:
if( (pUser->IsHero() || pUser->IsLegend()) == FALSE)
Unless you are unable to do anything except copy/paste, hinting you the function or lines should have been enough.
Mognakor is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
WTS DB Skill Hero III + Server Files + Client
01/02/2016 - Trading - 4 Replies
WTS : ROHAN SERVER FILE + HERO 3 + DB FULL +ANTICHEAT +IM +ITEM SCANER (Anti Dupe) +ITEM CHECKER (Anti Ilegal) +SERVER PROTECTOR Only : $1500 PM OR ME
[NEED]Rohan Server Files with 115 Hero Skill
04/04/2015 - Rohan - 16 Replies
Good day guys, I want ask something anyone selling Rohan Server Files with 115 Hero Skill?? I will make pirvate server rohan with 115 Hero Skill Someone sell it please PM me RitoYuki please check My PM Including: Item Mall Website Donation Page
Rohan Hero Skill Singapore 24/7 Online
07/06/2013 - Rohan - 0 Replies
Web : Rohanplus Server Host : Singapore (with anti Ddos Attack) Server Status : Online EXP Rate : 60x Crone Rate : 50x (drop Pouch Crone 100K) Drop Rate Item : 70x Forging Rate : 65% Refine Rate : 65% ------------------------------------------------- ---------- Register : Rohan à¶×è͹ ROHAN PLUS Hero Level 110 Monster 105 ÊÁºÙóìÃдѺ Inter
RM und Knight Hero Skill
04/01/2011 - Flyff Private Server - 0 Replies
Also, ich wollte den RM und Knight hero skill ändern, statt der Teleport funktion einen Selbstbuff drausmachen. Die Teleport funktoinen sind ja in der Source gesetzt, hab bereits danach gesucht aber wenn ich die jeweiligen funktionen auskommentiere Bekomm ich nur Errors. Weiß jemand einen anderen weg, vll sogar einen leichten die verdammte Teleport funktion auszubauen? Mfg.



All times are GMT +1. The time now is 00:39.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.