• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Remove pop-up window (Awakening Removal)

Newbie Spellweaver
Joined
Feb 23, 2011
Messages
40
Reaction score
17
I read this before somewhere, when i wanted to add it to the source I couldn't find post again. I also saw some people asking for it.


Search for this code in DPSrvr.cpp (WorldServer)


Code:
#endif	//__PROTECT_AWAKE
//	mulcom	END100405	°¢¼º º¸È£ÀÇ µÎ·ç¸¶¸®

pUser->UpdateItemEx( (BYTE)( pTarget->m_dwObjId ), UI_RANDOMOPTITEMID, pTarget->GetRandomOptItemId() );
pUser->AddDiagText( prj.GetText( nOk ) );

Now you can simply comment the last line,

Code:
#endif	//__PROTECT_AWAKE
//	mulcom	END100405	°¢¼º º¸È£ÀÇ µÎ·ç¸¶¸®

pUser->UpdateItemEx( (BYTE)( pTarget->m_dwObjId ), UI_RANDOMOPTITEMID, pTarget->GetRandomOptItemId() );
//pUser->AddDiagText( prj.GetText( nOk ) );

Or you can display a text message:

Code:
#endif	//__PROTECT_AWAKE
//	mulcom	END100405	°¢¼º º¸È£ÀÇ µÎ·ç¸¶¸®

pUser->UpdateItemEx( (BYTE)( pTarget->m_dwObjId ), UI_RANDOMOPTITEMID, pTarget->GetRandomOptItemId() );
pUser->AddText("Awakening removed");

Hope it helps
 
Newbie Spellweaver
Joined
Sep 6, 2011
Messages
57
Reaction score
0
Hey, is it possible to do this using resource files? from repack
 
Flyff Developer
Loyal Member
Joined
Apr 6, 2009
Messages
1,873
Reaction score
384
Am I the only one who noticed the necro post...?
this thread, although useful, is 4 months old x.x
 
Junior Spellweaver
Joined
Aug 8, 2011
Messages
156
Reaction score
8
Nice release, hopefully other servers start using it. That popup is so annoying. q.q





Yeah, even me annoyed that awakening pop-up, and it will really awesome/better if that pop-up will removed. xD
 
MC Web Designs
Joined
Oct 28, 2010
Messages
888
Reaction score
111
Hey, is it possible to do this using resource files? from repack

Pretty sure its not possible because its C++ this, also source not resource files.

@OnTopic - Awsome man, really helps alot, gonna use it now ;) :thumbup:
 
Back
Top