|
You last visited: Today at 20:17
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.
01/02/2019, 16:04
|
#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?
|
|
|
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.
|
|
|
01/02/2019, 21:27
|
#3
|
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
|
Quote:
Originally Posted by Dr. Peacock
Source changes and dds changes, Yes.
Just look at the Render function of Dealed-Damage.
|
Dealed-Damage? where i can find this? 
thanks.
|
|
|
01/04/2019, 10:50
|
#4
|
elite*gold: 0
Join Date: Feb 2016
Posts: 26
Received Thanks: 9
|
_Common ^ ^
|
|
|
01/04/2019, 17:13
|
#5
|
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
|
Quote:
Originally Posted by 69BOLT69
_Common ^ ^
|
Yeah but which file exactly? WndField.cpp?
|
|
|
01/04/2019, 19:07
|
#6
|
elite*gold: 0
Join Date: Jul 2018
Posts: 434
Received Thanks: 310
|
2dRender.cpp
|
|
|
01/08/2019, 04:28
|
#7
|
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* ( . ).
|
|
|
01/08/2019, 06:47
|
#8
|
elite*gold: 110
Join Date: Oct 2010
Posts: 306
Received Thanks: 58
|
Quote:
Originally Posted by yazuka21
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
|
|
|
01/08/2019, 10:16
|
#9
|
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
|
Quote:
Originally Posted by kevinkraus
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
|
|
|
01/08/2019, 11:57
|
#10
|
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
|
Quote:
Originally Posted by yazuka21
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
|
|
|
|
01/08/2019, 12:47
|
#11
|
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:
|
|
|
01/08/2019, 14:20
|
#12
|
elite*gold: 50
Join Date: Jun 2015
Posts: 100
Received Thanks: 210
|
Quote:
Originally Posted by LookAtTheFlower
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
|
|
|
01/08/2019, 14:48
|
#13
|
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
|
Quote:
Originally Posted by netHoxInc
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  .
|
|
|
01/08/2019, 16:43
|
#14
|
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.
|
|
|
01/10/2019, 10:35
|
#15
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
|
Quote:
Originally Posted by ディオニュソス
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.
|
|
|
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.
|
|