Register for your free account! | Forgot your password?

You last visited: Today at 05:23

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

Advertisement



Dupe

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2019
Posts: 81
Received Thanks: 7
Dupe

Any dupe fixer for guildware house procedure release here please?
IFlyffMc is offline  
Old 02/14/2020, 15:54   #2
 
elite*gold: 90
Join Date: Dec 2019
Posts: 299
Received Thanks: 202
Code:
void CDPCacheSrvr::OnGuildPenya( CAr & ar, DPID dpidCache, DPID dpidUser, u_long uBufSize )
{
	u_long _uidPlayer, _uGuildId;
	DWORD dwType, dwPenya;

	ar >> _uidPlayer >> _uGuildId;
	ar >> dwType >> dwPenya;

	CMclAutoLock	Lock( g_PlayerMng.m_AddRemoveLock );
	CMclAutoLock	Lock2( g_GuildMng.m_AddRemoveLock );	

	CPlayer* pPlayer = g_PlayerMng.GetPlayerBySerial( dpidUser );	
	if( pPlayer == NULL )
		return;

	CGuild* pGuild = g_GuildMng.GetGuild( pPlayer->m_idGuild );
	if( pGuild && pGuild->IsMaster( pPlayer->uKey ) )
	{
		if( dwType >= MAX_GM_LEVEL && dwPenya < 1000000 )
		{
			pGuild->m_adwPenya[dwType] = dwPenya;
			g_dpCoreSrvr.SendGuildPenya( pPlayer->m_idGuild, dwType, dwPenya );
			
			// GUILD DB AUTHORITY UPDATE
			g_dpDatabaseClient.SendGuildPenya( pPlayer->m_idGuild, pGuild->m_adwPenya );
		}
		else
		{
			SendGuildError( pPlayer, 2 );
		}
	}
}
Send:
dwType = 6
dwPenya = 21855

This would write "pGuild->m_adwPenya[6] = 21855;". As you can see in CGuild class, m_adwPenya has just 5 DWORDs, using 6 overflows it and overwrites m_dwLogo with 21855.

Now you just need to create a Guild Cloak for 10k penya.
"itemElem.m_dwItemId = II_ARM_S_CLO_CLO_SYSCLOAK01 + (pGuild->m_dwLogo - 1);"

As you can see they decrease m_dwLogo by 1 and add 4602 (itemid - 4601)
jooodzszsz is offline  
Thanks
6 Users
Old 02/21/2020, 23:47   #3
 
cookie69's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 688
Quote:
Originally Posted by IFlyffMc View Post
Any dupe fixer for guildware house procedure release here please?
In addition to check the arrays limits, you can also use the compiler's checks in Visual Studio that work in general.
Make sure you don't choose the default value for "Basic Runtime checks" and also make sure you enable the security checks

cookie69 is offline  
Thanks
2 Users
Old 02/26/2020, 17:48   #4
 
elite*gold: 0
Join Date: Apr 2019
Posts: 81
Received Thanks: 7
Quote:
Originally Posted by jooodzszsz View Post
Code:
void CDPCacheSrvr::OnGuildPenya( CAr & ar, DPID dpidCache, DPID dpidUser, u_long uBufSize )
{
	u_long _uidPlayer, _uGuildId;
	DWORD dwType, dwPenya;

	ar >> _uidPlayer >> _uGuildId;
	ar >> dwType >> dwPenya;

	CMclAutoLock	Lock( g_PlayerMng.m_AddRemoveLock );
	CMclAutoLock	Lock2( g_GuildMng.m_AddRemoveLock );	

	CPlayer* pPlayer = g_PlayerMng.GetPlayerBySerial( dpidUser );	
	if( pPlayer == NULL )
		return;

	CGuild* pGuild = g_GuildMng.GetGuild( pPlayer->m_idGuild );
	if( pGuild && pGuild->IsMaster( pPlayer->uKey ) )
	{
		if( dwType >= MAX_GM_LEVEL && dwPenya < 1000000 )
		{
			pGuild->m_adwPenya[dwType] = dwPenya;
			g_dpCoreSrvr.SendGuildPenya( pPlayer->m_idGuild, dwType, dwPenya );
			
			// GUILD DB AUTHORITY UPDATE
			g_dpDatabaseClient.SendGuildPenya( pPlayer->m_idGuild, pGuild->m_adwPenya );
		}
		else
		{
			SendGuildError( pPlayer, 2 );
		}
	}
}
Send:
dwType = 6
dwPenya = 21855

This would write "pGuild->m_adwPenya[6] = 21855;". As you can see in CGuild class, m_adwPenya has just 5 DWORDs, using 6 overflows it and overwrites m_dwLogo with 21855.

Now you just need to create a Guild Cloak for 10k penya.
"itemElem.m_dwItemId = II_ARM_S_CLO_CLO_SYSCLOAK01 + (pGuild->m_dwLogo - 1);"

As you can see they decrease m_dwLogo by 1 and add 4602 (itemid - 4601)
Quote:
Originally Posted by cookie69 View Post
In addition to check the arrays limits, you can also use the compiler's checks in Visual Studio that work in general.
Make sure you don't choose the default value for "Basic Runtime checks" and also make sure you enable the security checks



Thank you guys! Godbless you both!
IFlyffMc is offline  
Reply


Similar Threads Similar Threads
s>dupe dupe dupe
02/15/2023 - RFO Hacks, Bots, Cheats, Exploits & Guides - 10 Replies
S>dupe at any server batangas area or meet up PM offer rf philippines only (havent tried on any rf) pm na ^_^
DUPE DUPE DUPE...
07/10/2010 - General Gaming Discussion - 1 Replies
LUNA ONLINE PH. DUPE??? wanna know about more?? PM.. Ym -> heraldho2 MANDALUYONG ONLY... PC 2 PC TUtORIAL..= NO SUCH THING AS FREE..
dupe dupe dupe
11/01/2009 - Dekaron - 1 Replies
lkjkljk
REAL DUPE? wow-dupe.com
05/31/2006 - World of Warcraft - 4 Replies
Anyone got this and or tried it? http://www.wow-dupe.com Of course im willing to pay for it if someone can confirm it actually works and isnt some BS deleting character stuff involving GM's or other insane method. text2schild.php?smilienummer=1&text=LET ME KNOW' border='0' alt='LET ME KNOW' />



All times are GMT +1. The time now is 05:24.


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.