Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server > Flyff PServer Guides & Releases
You last visited: Today at 12:57

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

Advertisement



[Release] Fix Crash Server (Guild Bank & Bank)

Discussion on [Release] Fix Crash Server (Guild Bank & Bank) within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1

 
elite*gold: 28
Join Date: Feb 2010
Posts: 463
Received Thanks: 277
[Release] Fix Crash Server (Guild Bank & Bank)

Too lazy to explain the "exploit".

CDPSrvr::OnPutItemBank

After
Code:
CItemElem* pItemElem = pUser->m_Inventory.GetAtId( nId );
Include
Code:
if( !pItemElem )
				return;
CDPSrvr::OnPutItemGuildBank

After
Code:
CItemElem* pItemElem = pUser->m_Inventory.GetAtId( nId );
Include

Code:
		if( !pItemElem )
			return;
ItemProp* pProp	= pItemElem->GetProp();
		if( !pProp )
			return
		if( nId < 1 || nId > pUser->m_Inventory.GetMax() )
			return;
ZeroTwo02 is offline  
Old 05/13/2016, 16:11   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
Quote:
Originally Posted by naruto66620 View Post
CDPSrvr::OnPutItemBank

After
Code:
CItemElem* pItemElem = pUser->m_Inventory.GetAtId( nId );
Include
Code:
if( !pItemElem )
				return;
Unnecessary



Quote:
Originally Posted by naruto66620 View Post
CDPSrvr::OnPutItemGuildBank

After
Code:
CItemElem* pItemElem = pUser->m_Inventory.GetAtId( nId );
Include

Code:
		if( !pItemElem )
			return;
ItemProp* pProp	= pItemElem->GetProp();
		if( !pProp )
			return
		if( nId < 1 || nId > pUser->m_Inventory.GetMax() )
			return;
First part same as before.
Second part I don't understand why calling GetProp() there. If pItemElem is not null, when using as ItemProp class shouldn't return null. And you missed a semicolon.
alfredico is offline  
Thanks
6 Users
Reply


Similar Threads Similar Threads
[Crash Gold Dupe] Guild Bank
02/11/2008 - WoW Exploits, Hacks, Tools & Macros - 5 Replies
With the servers lagging badly recently (EU servers anyways), we were a few guild mates cleaning up our banks since it was impossible to pvp / pve correctly due to the lag. So after transferring some items we had in our personal banks to the guild bank (pots, food, enchanting mats, etc...), I asked them to put in some gold for the tanks' repair bills. About 10s after two of my guildmates put some gold in the guild bank, the server apparently crashed. When we relogged after they...



All times are GMT +2. The time now is 12:57.


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.