Register for your free account! | Forgot your password?

You last visited: Today at 03:28

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

Advertisement



[Release] Little fix ONEKILL

Discussion on [Release] Little fix ONEKILL within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
[Release] Little fix ONEKILL

Hello,

Here's a small fix for the Onekill mode.

Open ActionMoverMsg.cpp, look function :
Code:
int		CActionMover::ProcessActMsg1( CMover* pMover,  OBJMSG dwMsg, i
Search:
Code:
#ifdef __WORLDSERVER
			if( m_dwAtkFlags == 0 ) 
			{
				if( pMover->GetAttackResult( pHitObj, dwOption ) )
					m_dwAtkFlags = AF_GENERIC;
				else
					m_dwAtkFlags = AF_MISS;
			}
#else
			m_dwAtkFlags = AF_GENERIC;
#endif
Replace by:
Code:
#ifdef __WORLDSERVER
			if( m_dwAtkFlags == 0 ) 
			{
#ifdef __FIX_ONEKILL
				if( pMover->IsMode( ONEKILL_MODE ) && !pMover->IsAuthHigher( AUTH_GAMEMASTER ) )
				{
					m_dwAtkFlags = AF_MISS;
				}
				else
				{
#endif// __FIX_ONEKILL
					if( pMover->GetAttackResult( pHitObj, dwOption ) )
						m_dwAtkFlags = AF_GENERIC;
					else
						m_dwAtkFlags = AF_MISS;
#ifdef __FIX_ONEKILL
				}
#endif// __FIX_ONEKILL
			}
#else
			m_dwAtkFlags = AF_GENERIC;
#endif
And define in versioncommon:

Code:
#define __FIX_ONEKILL
Thanks you !
SourceShop is offline  
Thanks
5 Users
Old 02/07/2014, 18:49   #2
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
This probably bugs Red Meteonyker's onehit attack.
Mognakor is offline  
Old 02/07/2014, 18:55   #3
 
Chriѕ's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,084
Received Thanks: 504
Quote:
Originally Posted by Mognakor View Post
This probably bugs Red Meteonyker's onehit attack.
It doesn't. This is already a long time public. (GoH Source)
Chriѕ is offline  
Old 02/11/2014, 10:41   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
Quote:
Originally Posted by Mognakor View Post
This probably bugs Red Meteonyker's onehit attack.
I haven't test soory :s
SourceShop is offline  
Old 02/14/2014, 17:49   #5
 
Andrej-Delany's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 235
Received Thanks: 123
Quote:
Originally Posted by Mognakor View Post
This probably bugs Red Meteonyker's onehit attack.
If you aren´t sure about this do it like this:
Code:
if( pMover->IsPlayer() && pMover->IsMode( ONEKILL_MODE ) && !pMover->IsAuthHigher( AUTH_GENERAL ) )
then only Players are hit by this change.
(Change the Auth however you want.)
Andrej-Delany is offline  
Reply


Similar Threads Similar Threads
[Fix Release] Onekill / Unsichtbar / Summon / Teleport uvm. fixxen!!! HOT
07/12/2011 - Flyff PServer Guides & Releases - 24 Replies
Heyho Da es mir zwar nicht wirklich gut geht (bissl krank :() aber ich doch an die güte des Menschens glaube hier ein fixx für den "onekill/unsichtbar/summon/teleport" bug. 1. Ihr geht zuerst in die DPSrvr.cpp 2. Ihr sucht folgende Funktionen: CDPSrvr::OnModifyMode CDPSrvr::OnSummonPlayer CDPSrvr::OnTeleportPlayer
[Release] FlyFF Infiltration: Godmode, onekill and item creation
07/08/2011 - Flyff Hacks, Bots, Cheats, Exploits & Macros - 512 Replies
Content: 1. What is this? 2. Features 3. Download 4. How to 5. Credits 6. TL/DR



All times are GMT +2. The time now is 03:28.


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.