Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 17:51

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

Advertisement



[QUESTION] ONLINE BUFF BONUS STATS

Discussion on [QUESTION] ONLINE BUFF BONUS STATS within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2018
Posts: 71
Received Thanks: 5
[QUESTION] ONLINE BUFF BONUS STATS

Hi Epvpers there is a release on online buff bonus stats here?
or any source release here have that features.

thanks
Rhea03 is offline  
Old 04/26/2018, 06:13   #2
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
No, but you can handle applying buffs to every user online when a user logs on and the quota is met. Then remove the buff on every user if a user logs out?
Avalion is offline  
Thanks
1 User
Old 04/26/2018, 14:08   #3
 
elite*gold: 0
Join Date: Mar 2018
Posts: 34
Received Thanks: 3
Here is a tip

Code:
	int nCount = g_UserMng.GetCount();
	if (dwTick > m_dwTickBuffServer)
	{
		if (nCount >= 100)
		{
			DoBuff
		}
	}
Barameu is offline  
Old 04/26/2018, 16:59   #4
 
elite*gold: 0
Join Date: Mar 2018
Posts: 71
Received Thanks: 5
Quote:
Originally Posted by Avalion View Post
No, but you can handle applying buffs to every user online when a user logs on and the quota is met. Then remove the buff on every user if a user logs out?
yes something like that, look like roika classic
Rhea03 is offline  
Old 04/26/2018, 17:38   #5
 
elite*gold: 0
Join Date: Mar 2018
Posts: 34
Received Thanks: 3
lol i give you some tip already how to do it.
Barameu is offline  
Old 04/26/2018, 18:07   #6
 
elite*gold: 0
Join Date: Mar 2018
Posts: 71
Received Thanks: 5
Quote:
Originally Posted by Barameu View Post
lol i give you some tip already how to do it.
private me a full sir thanks
Rhea03 is offline  
Old 04/26/2018, 18:09   #7
 
elite*gold: 0
Join Date: Mar 2018
Posts: 77
Received Thanks: 57
Quote:
Originally Posted by Rhea03 View Post
private me a full sir thanks
Or learn to code it yourself instead of begging others?
Mushpoie is offline  
Old 04/26/2018, 18:26   #8
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
Quote:
Originally Posted by Barameu View Post
Here is a tip

Code:
	int nCount = g_UserMng.GetCount();
	if (dwTick > m_dwTickBuffServer)
	{
		if (nCount >= 100)
		{
			DoBuff
		}
	}
First of all, that is silly.

I personally would find it to be much better to apply the buff when a user logs on to the server rather than having it a "tick". Then the buff should last unsigned long max size for the timer.

This way, you would remove the buff when the requirements are not met when the user logs on or a user on the server logs off. This way, you're not doing DoBuff() for all users multiple times in the lifetime of the user like some of the systems out there.

You can just do it when the online count changes and requirements are or are not met. When the requirements are not met, you can iterate over the user map and remove the buff and vice versa.
Avalion is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Stats help --------------> stats calculator!
02/02/2008 - Kal Online - 3 Replies
Hi. Can anyone post here any site or program for calculating the stats so if u put points u see how much hp otp and all u have and where u can put what kind stuff u wear. THX
stats generator or stats calculator
08/12/2006 - Conquer Online 2 - 7 Replies
For reborn classes is there calculator or stat generator, which will show what effect would happen if u put #s of attrubites in str,hp,mana, dex. Thx for help



All times are GMT +1. The time now is 17:51.


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.