|
You last visited: Today at 05:20
Advertisement
Need Help :)
Discussion on Need Help :) within the Flyff Private Server forum part of the Flyff category.
01/31/2017, 08:48
|
#1
|
elite*gold: 0
Join Date: Nov 2015
Posts: 124
Received Thanks: 130
|
Need Help :)
Hi there.. i just want to ask if someone knows/have these system ..
and if you have can you share it? XD
|
|
|
01/31/2017, 10:50
|
#2
|
elite*gold: 0
Join Date: Mar 2013
Posts: 204
Received Thanks: 38
|
why dont you try it for yourself? if someone have this system im sure they dont give/share it to you for free.
|
|
|
01/31/2017, 18:07
|
#3
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
How?
If you can share this it would be awesome. Thanks
|
|
|
01/31/2017, 19:27
|
#4
|
elite*gold: 353
Join Date: Jan 2013
Posts: 924
Received Thanks: 617
|
Ping:
under :
Code:
if( g_pPlayer && m_bRenderFPS )
{
TCHAR strFPS[32];
_stprintf( strFPS, "%.02f FPS", g_Neuz.m_fFPS );
p2DRender->TextOut( 5, 105 , strFPS, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );
}
this:
Code:
if( g_pPlayer )
{
TCHAR strPing[32];
_stprintf( strPing, "Ping: %d ms", g_Neuz.m_dwPingTime );
p2DRender->TextOut( 225, 25 , strPing, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );
}
Have Fun ^^
|
|
|
02/01/2017, 03:03
|
#5
|
elite*gold: 0
Join Date: Nov 2015
Posts: 124
Received Thanks: 130
|
Quote:
Originally Posted by Kiseku
Ping:
under :
Code:
if( g_pPlayer && m_bRenderFPS )
{
TCHAR strFPS[32];
_stprintf( strFPS, "%.02f FPS", g_Neuz.m_fFPS );
p2DRender->TextOut( 5, 105 , strFPS, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );
}
this:
Code:
if( g_pPlayer )
{
TCHAR strPing[32];
_stprintf( strPing, "Ping: %d ms", g_Neuz.m_dwPingTime );
p2DRender->TextOut( 225, 25 , strPing, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );
}
Have Fun ^^
|
it worked sir but it's on top of the screen, how can i move it to the left side?
|
|
|
02/01/2017, 04:37
|
#6
|
elite*gold: 0
Join Date: Dec 2013
Posts: 80
Received Thanks: 4
|
your 5 is your x-axis and 105 is y-axis,you can modified it to reposition that ping textoutput
Code:
if( g_pPlayer )
{
TCHAR strPing[32];
_stprintf( strPing, "Ping: %d ms", g_Neuz.m_dwPingTime );
p2DRender->TextOut( 5, 105, strPing, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );
}
|
|
|
02/01/2017, 07:34
|
#7
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Hallo Thanks kiseku do you also have the code for this?
|
|
|
02/09/2017, 17:05
|
#8
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by Avalion
Load a file, store strings, send strings to client through user.cpp upon logging in, display strings over rect that is being drawn in with a color with an alpha value, and probably in CWndWorld::OnDraw. Then add a function in Functextcmd to reload the file and resend the strings, or add a string, or clear the string list. I'd rather you try yourself a bit. Ill list some helpful things.
Storing / reading
Code:
std::string or CString
std::vector
CProject
Ifstream or CScanner
Render
Code:
p2DRender->RenderFillRect
p2DRender->TextOut
p2DRender->m_pFont->GetTextExtent
CWndWorld::OnDraw
Sending / recieve
Code:
CUser
CUserMng (for multiple players at once)
DpClient (neuz)
Follow those simple steps and then:
It's magic
|
How ? what files in source to put that code
|
|
|
02/09/2017, 22:49
|
#9
|
elite*gold: 0
Join Date: Mar 2013
Posts: 204
Received Thanks: 38
|
Quote:
Originally Posted by Ecrypter
How ?�� what files in source to put that code
|
Those are Clues/Hints only, you must need to code it
|
|
|
02/10/2017, 11:23
|
#10
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Anyone?
Thanks a lot in advance.
|
|
|
02/11/2017, 02:05
|
#11
|
elite*gold: 0
Join Date: Aug 2005
Posts: 231
Received Thanks: 67
|
like this? wndworld, dpclient, threadmng, dpcoreclient etc
|
|
|
02/11/2017, 17:31
|
#12
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by trashee09
like this? wndworld, dpclient, threadmng, dpcoreclient etc
|
Code pls 😁
|
|
|
02/11/2017, 19:00
|
#13
|
elite*gold: 353
Join Date: Jan 2013
Posts: 924
Received Thanks: 617
|
Quote:
Originally Posted by Ecrypter
Code pls 😁
|
Use your Brain.
|
|
|
All times are GMT +1. The time now is 05:20.
|
|