Register for your free account! | Forgot your password?

You last visited: Today at 19:16

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

Advertisement



[Release] Small fixes

Discussion on [Release] Small fixes within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
[Release] Small fixes

Some people use these bugs on several servers and here's a fix for it:




DPSrvr.cpp
CDPSrvr::OnFashionCombine
under
Code:
for (int i = 0; i < 8; i++)
{
	ar >> dwItem;
	pItemElem[i] = pUser->m_Inventory.GetAtId(dwItem);
	if (!IsUsableItem(pItemElem[i]))
		return;
}
Code:
BOOL bHack = FALSE;
if (pItemElem[0]->GetProp()->dwItemKind3 != IK3_HAT || pItemElem[1]->GetProp()->dwItemKind3 != IK3_HAT)
	bHack = TRUE;
if (pItemElem[2]->GetProp()->dwItemKind3 != IK3_CLOTH || pItemElem[3]->GetProp()->dwItemKind3 != IK3_CLOTH)
	bHack = TRUE;
if (pItemElem[4]->GetProp()->dwItemKind3 != IK3_GLOVE || pItemElem[5]->GetProp()->dwItemKind3 != IK3_GLOVE)
	bHack = TRUE;
if (pItemElem[6]->GetProp()->dwItemKind3 != IK3_SHOES || pItemElem[7]->GetProp()->dwItemKind3 != IK3_SHOES)
	bHack = TRUE;

if (bHack)
{
	Error("[CDPSrvr::OnFashionCombine] %s tried to change IK3", pUser->GetName());
	if (pUser->GetWorld())
		g_dpDBClient.SavePlayer(pUser, pUser->GetWorld()->GetID(), pUser->GetPos(), pUser->GetLayer());
	QueryDestroyPlayer(pUser->m_Snapshot.dpidCache, pUser->m_Snapshot.dpidUser, pUser->m_dwSerial, pUser->m_idPlayer);
	return;
}
MoverActEvent.cpp
CMover::OnMagicSkill

under
Code:
if( pSkillProp->dwID == SI_KNT_HERO_DRAWING ){
Code:
if (!pFocusObj->GetWorld() || !GetWorld())
	return FALSE;
if(pFocusObj->GetWorld()->GetID() != GetWorld()->GetID())
	return FALSE;
Nortix is offline  
Thanks
13 Users
Old 10/21/2015, 18:04   #2
 
elite*gold: 0
Join Date: Apr 2013
Posts: 511
Received Thanks: 431
Mhm...

Quote:
BOOL bHack = FALSE;
if (pItemElem[0]->GetProp()->dwItemKind3 != IK3_HAT || pItemElem[1]->GetProp()->dwItemKind3 != IK3_HAT)
bHack = TRUE;
if (pItemElem[2]->GetProp()->dwItemKind3 != IK3_CLOTH || pItemElem[3]->GetProp()->dwItemKind3 != IK3_CLOTH)
bHack = TRUE;
if (pItemElem[4]->GetProp()->dwItemKind3 != IK3_GLOVE || pItemElem[5]->GetProp()->dwItemKind3 != IK3_GLOVE)
bHack = TRUE;
if (pItemElem[6]->GetProp()->dwItemKind3 != IK3_SHOES || pItemElem[7]->GetProp()->dwItemKind3 != IK3_SHOES)
bHack = TRUE;

if (bHack)
{
Error("[CDPSrvr::OnFashionCombine] %s tried to change IK3", pUser->GetName());
if (pUser->GetWorld())
g_dpDBClient.SavePlayer(pUser, pUser->GetWorld()->GetID(), pUser->GetPos(), pUser->GetLayer());
QueryDestroyPlayer(pUser->m_Snapshot.dpidCache, pUser->m_Snapshot.dpidUser, pUser->m_dwSerial, pUser->m_idPlayer);
}
So bHack = true = Function still go. You maybe forgot the return after "QueryDestroy..." dude. (New Bug Created!!)
Wanetrain is offline  
Thanks
5 Users
Old 10/21/2015, 18:19   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
Oh right, rewrote it for the release and forgot the return. Thanks for reminding!
Nortix is offline  
Old 10/27/2015, 19:57   #4
 
elite*gold: 0
Join Date: Oct 2015
Posts: 15
Received Thanks: 10
Hi

Quote:
Originally Posted by Avalion View Post


Code:
How do you mean it so how i can put it in the source? i dont understand what do you mean. pls help :x
Nightwalker. is offline  
Old 10/28/2015, 03:24   #5
 
elite*gold: 0
Join Date: Oct 2015
Posts: 15
Received Thanks: 10
Yea i was stupid i got it now. sry
Nightwalker. is offline  
Old 12/08/2015, 01:10   #6
 
elite*gold: 0
Join Date: Jul 2015
Posts: 181
Received Thanks: 199
Code:
if( pSkillProp->dwID == SI_KNT_HERO_DRAWING ){
to

Code:
if( pSkillProp->dwID == SI_KNT_HERO_DRAWING || pSkillProp->dwID == SI_LOD_SUP_PULLING ){
for 3rd jobs, seeing no one fixes that skill either lol...
KetchupSamurai is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Release] RoC Fixes
12/12/2012 - Flyff PServer Guides & Releases - 54 Replies
Baruna Tooltip (Logo Description) WndManager.cpp After if( pItemProp->IsUltimate() ) g_toolTip.SetUltimateToolTip(pItemBase);Add if( pItemProp->IsBaruna() ) g_toolTip.SetBarunaToolTip(pItemBase);
[Small-Release] Mob regen helper (small)
06/15/2012 - Metin2 PServer Guides & Strategies - 8 Replies
Huhu, ich fülle gerade einige maps mit Monster voll und da der Map Pointer da nichts funktioniert von Musicinstrutor.. Hab ich eben schnell ne Funktion geschrieben. function mob_add_temp_regendata() -- local filename = 'wuste' local mob_vnums = number(2340,2346) -- local rr = number(1,2)
UPDATED DEALER-CC Small Bug fixes and NEW BYPASS
07/21/2010 - WarRock Hacks, Bots, Cheats & Exploits - 9 Replies
Yes we did it! New Bypass systeme and some small bug fixes! We also got a little suprise! The hack comes with a installer (dll,BRAND NEW INJECTOR for up to 10 games!!, and new bypass systeme!!) DL here http://uploaded.to/file/h7al7b VT here Virustotal. MD5: 28a1b7f6a5065919051d04c0a09df1b0 Trojan-Downloader.Win32.Pher!IK Trojan-Downloader.Win32.Pher"]http://www.viru stotal.com/it/analisis/3a324a68e235cf7d5d4535c6d0e cd0de87b804ad3fe9e1a12b15f2ca95b38fca-1278506576]V irustotal. MD5:...



All times are GMT +2. The time now is 19:16.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.