Register for your free account! | Forgot your password?

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

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

Advertisement



How to make the damage display like that?

Discussion on How to make the damage display like that? within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
How to make the damage display like that?

How i can make the damage display in that way?
This requires changes in the source or something with DmgEffect.dds?
LookAtTheFlower is offline  
Old 01/02/2019, 20:16   #2
 
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
Source changes and dds changes, Yes.
Just look at the Render function of Dealed-Damage.
Dr. Peacock is offline  
Old 01/02/2019, 21:27   #3
 
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
Quote:
Originally Posted by Dr. Peacock View Post
Source changes and dds changes, Yes.
Just look at the Render function of Dealed-Damage.
Dealed-Damage? where i can find this?
thanks.
LookAtTheFlower is offline  
Old 01/04/2019, 10:50   #4
 
elite*gold: 0
Join Date: Feb 2016
Posts: 26
Received Thanks: 9
_Common ^ ^
69BOLT69 is offline  
Old 01/04/2019, 17:13   #5
 
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
Quote:
Originally Posted by 69BOLT69 View Post
_Common ^ ^
Yeah but which file exactly? WndField.cpp?
LookAtTheFlower is offline  
Old 01/04/2019, 19:07   #6
 
Nιgнтмαяε's Avatar
 
elite*gold: 0
Join Date: Jul 2018
Posts: 434
Received Thanks: 310
2dRender.cpp
Nιgнтмαяε is offline  
Thanks
1 User
Old 01/08/2019, 04:28   #7
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Here's the example:

Code:
				if ( (nLength - (i + 1)) % 3 == 0 && nLength - (i + 1) != 0 )
					fX += 10;
That makes spaces into your damage instead of *dot* ( . ).
yazuka21 is offline  
Thanks
2 Users
Old 01/08/2019, 06:47   #8
 
kevinkraus's Avatar
 
elite*gold: 110
Join Date: Oct 2010
Posts: 306
Received Thanks: 58
Quote:
Originally Posted by yazuka21 View Post
Here's the example:

Code:
				if ( (nLength - (i + 1)) % 3 == 0 && nLength - (i + 1) != 0 )
					fX += 10;
That makes spaces into your damage instead of *dot* ( . ).
Code:
				if ((nLength - (i)) % 3 == 0 && nLength - (i + 1) != 0)
					fX += 10;
i think the i + 1 creates a bug :P

- Kevin
kevinkraus is offline  
Old 01/08/2019, 10:16   #9
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Quote:
Originally Posted by kevinkraus View Post
Code:
				if ((nLength - (i)) % 3 == 0 && nLength - (i + 1) != 0)
					fX += 10;
i think the i + 1 creates a bug :P

- Kevin
:P Fix Fix Fix
yazuka21 is offline  
Old 01/08/2019, 11:57   #10
 
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
Quote:
Originally Posted by yazuka21 View Post
Here's the example:

Code:
				if ( (nLength - (i + 1)) % 3 == 0 && nLength - (i + 1) != 0 )
					fX += 10;
That makes spaces into your damage instead of *dot* ( . ).
How to fix it?
Quote:
g:\V19 Test\Source\_Common\2DRender.cpp(537): error C2065: 'i' : undeclared identifier
g:\V19 Test\Source\_Common\2DRender.cpp(537): error C3861: 'i': identifier not found, even with argument-dependent lookup
g:\V19 Test\Source\_Common\2DRender.cpp(538): error C2065: 'fX' : undeclared identifier



LookAtTheFlower is offline  
Old 01/08/2019, 12:47   #11
 
netHoxInc's Avatar
 
elite*gold: 117
Join Date: Jan 2008
Posts: 790
Received Thanks: 992
Im not sure why you consider working on coding, if you dont know what the errors are telling you. This regards coding basics, I'd advice you to stop here, and start with Hello-World Scripts to understand what you're actually doing. Cuz you dont seem to know lol.

For the quesiton itself: i and fX must be declared, for example like int i = 0;
Since im not familar with the flyff source, it'll be declared either in the function where ur code is itself, or in th 2DRender.h (if existant). But the cpp file makes more sense to me.

Good luck.

Edit/Note: Im more familar to C# coding, but the explaination should fit c++ just fine too. Also dont get my first comment wrong tho, it's not ment bad. Knowing the Basics will help you further investigate problems on your own, even tho I personally dont mind if people seek for help. I do that once in a while too i guess. Who's not hu? p:
netHoxInc is offline  
Thanks
7 Users
Old 01/08/2019, 14:20   #12
 
elite*gold: 50
Join Date: Jun 2015
Posts: 100
Received Thanks: 210
Quote:
Originally Posted by LookAtTheFlower View Post
How to fix it?
In stdafx.cpp from your neuz add
Code:
int i = 0;
int fX = 0;
at the end of the file.

In stdafx.h add
Code:
extern int i;
extern int fX;
at the end of the file
ディオニュソス is offline  
Thanks
4 Users
Old 01/08/2019, 14:48   #13
 
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
Quote:
Originally Posted by netHoxInc View Post
Im not sure why you consider working on coding, if you dont know what the errors are telling you. This regards coding basics, I'd advice you to stop here, and start with Hello-World Scripts to understand what you're actually doing. Cuz you dont seem to know lol.

For the quesiton itself: i and fX must be declared, for example like int i = 0;
Since im not familar with the flyff source, it'll be declared either in the function where ur code is itself, or in th 2DRender.h (if existant). But the cpp file makes more sense to me.

Good luck.

Edit/Note: Im more familar to C# coding, but the explaination should fit c++ just fine too. Also dont get my first comment wrong tho, it's not ment bad. Knowing the Basics will help you further investigate problems on your own, even tho I personally dont mind if people seek for help. I do that once in a while too i guess. Who's not hu? p:
All good bro
You're not wrong, but if i won't try, how would i know?
Thanks everyone .
LookAtTheFlower is offline  
Old 01/08/2019, 16:43   #14
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
There's nothing to do with other source file, it is just 2drender.cpp you should look for proper place to put that code.
yazuka21 is offline  
Thanks
1 User
Old 01/10/2019, 10:35   #15
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by ディオニュソス View Post
In stdafx.cpp from your neuz add
Code:
int i = 0;
int fX = 0;
at the end of the file.

In stdafx.h add
Code:
extern int i;
extern int fX;
at the end of the file
Declare temporary incrementing variables inside stdafx (precompiled header for MFC applications)? Wtf.

Btw, fX is a FLOAT, not an int.
xTwiLightx is offline  
Reply


Similar Threads Similar Threads
Damage Damage Damage
02/28/2012 - Mabinogi Hacks, Bots, Cheats & Exploits - 3 Replies
Because of poor English grammar may be a bit strange May I ask what damage accumulated or MOD
how to display damage on VN server
08/21/2009 - 9Dragons - 0 Replies
hi ... I play on VN server and i just wana know if theres any way to set that damage displayed above Mobs in Numers like : 600 550 620 and soo on i hope u know that i mean cause my damage is displayed in some VN words or something and i realy wana see my damage HOPE some1 can help me TNX ^^



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


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.