Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 04:09

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

Advertisement



[Request] Show Location beside FPS and Ping

Discussion on [Request] Show Location beside FPS and Ping within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 272
Received Thanks: 16
[Request] Show Location beside FPS and Ping

i currently looking for this code . Thanks in advance

matonskie23 is offline  
Old 01/18/2020, 11:35   #2

 
elite*gold: 28
Join Date: Feb 2010
Posts: 463
Received Thanks: 277
Search in source "FPS", oh... WndWorld ? that sound right... let's see !

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 ) );				
	}
Amazing, that the code i was looking for !
So let's now add the position... How can i do hummmm...
OH ! I got a idea, we can use the /position !

Search "TextCmd_Position" because we know it's a command
Yikes, i found a result on functextcmd, so hard !

Code:
BOOL TextCmd_Position( CScanner& scanner )          
{ 
#ifdef __CLIENT
	CString string;
	D3DXVECTOR3 vPos = g_pPlayer->GetPos();
	string.Format( prj.GetText(TID_GAME_NOWPOSITION), vPos.x, vPos.y, vPos.z );
	g_WndMng.PutString( string, NULL, prj.GetTextColor( TID_GAME_NOWPOSITION ) );
#endif // __CLIENT
	return TRUE;
}
And now i just need to merge on the WndWorld !

Code:
	if( g_pPlayer && m_bRenderFPS )
	{
		//Fps
		TCHAR strFPS[32];
		_stprintf( strFPS, "%.02f FPS", g_Neuz.m_fFPS );
		p2DRender->TextOut( 5,  105 , strFPS, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );

		//Position
		D3DXVECTOR3 vPos = g_pPlayer->GetPos();
		TCHAR strPOSI[64];
		_stprintf( strPOSI, "Position : x = %f, y = %f, z = %f", vPos.x, vPos.y, vPos.z );
		p2DRender->TextOut( 5,  115 , strPOSI, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );				
	}
ZeroTwo02 is offline  
Old 01/18/2020, 21:45   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 272
Received Thanks: 16
Quote:
Originally Posted by ZeroTwo02 View Post
Search in source "FPS", oh... WndWorld ? that sound right... let's see !

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 ) );				
	}
Amazing, that the code i was looking for !
So let's now add the position... How can i do hummmm...
OH ! I got a idea, we can use the /position !

Search "TextCmd_Position" because we know it's a command
Yikes, i found a result on functextcmd, so hard !

Code:
BOOL TextCmd_Position( CScanner& scanner )          
{ 
#ifdef __CLIENT
	CString string;
	D3DXVECTOR3 vPos = g_pPlayer->GetPos();
	string.Format( prj.GetText(TID_GAME_NOWPOSITION), vPos.x, vPos.y, vPos.z );
	g_WndMng.PutString( string, NULL, prj.GetTextColor( TID_GAME_NOWPOSITION ) );
#endif // __CLIENT
	return TRUE;
}
And now i just need to merge on the WndWorld !

Code:
	if( g_pPlayer && m_bRenderFPS )
	{
		//Fps
		TCHAR strFPS[32];
		_stprintf( strFPS, "%.02f FPS", g_Neuz.m_fFPS );
		p2DRender->TextOut( 5,  105 , strFPS, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );

		//Position
		D3DXVECTOR3 vPos = g_pPlayer->GetPos();
		TCHAR strPOSI[64];
		_stprintf( strPOSI, "Position : x = %f, y = %f, z = %f", vPos.x, vPos.y, vPos.z );
		p2DRender->TextOut( 5,  115 , strPOSI, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );				
	}
i forgot the image that showing what i need.
matonskie23 is offline  
Old 01/18/2020, 21:54   #4

 
elite*gold: 28
Join Date: Feb 2010
Posts: 463
Received Thanks: 277
Code:
	if( g_pPlayer && m_bRenderFPS )
	{
		//Fps
		TCHAR strFPS[32];
		_stprintf( strFPS, "%.02f FPS", g_Neuz.m_fFPS );
		p2DRender->TextOut( 5,  105 , strFPS, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );

		//Position
		CWorld* pWorld = g_WorldMng.GetWorldStruct(g_pPlayer->GetWorld()->GetID());
		TCHAR strPOSI[64];
		_stprintf( strPOSI, You're at: %s", g_pPlayer->GetWorld()->m_szWorldName );
		p2DRender->TextOut( 5,  115 , strPOSI, D3DCOLOR_ARGB( 255, 0, 255, 255 ) );				
	}
ZeroTwo02 is offline  
Thanks
1 User
Old 01/18/2020, 22:16   #5
 
elite*gold: 0
Join Date: Mar 2013
Posts: 227
Received Thanks: 99
Unbelievable! It's like your navigation in RL telling you
"You are here: Earth" - How cool is that?!
I'd open threads for that any time.
.S0ulSeller is offline  
Closed Thread


Similar Threads Similar Threads
[iOS HACK] Pokemon GO v1.7.1 - Fake location, Joystick, Show the nearby Pokemon and M
12/31/2016 - Pokemon Hacks, Bots, Cheats & Exploits - 12 Replies
This hack is pretty easy to do. All you need is: -Cydia Impactor -Pokemon GO .ipa file -Follow the tutorial Cydia Impactor: Cydia Impactor Pokemon GO .ipa file: https://we.tl/h5B8eGZYLg Tutorial: https://youtu.be/ievy31lw2bg I am not the creator of this! All the thanks goes to:
[Selling] Dragonite Nest Location [Auto-Buy] + Free Dratini Hotspot Location for Candyfarming
08/07/2016 - Pokemon Trading - 0 Replies
AutoBuy: https://sellfy.com/p/AuNn/ http://i.imgur.com/QmNYGb1.jpg
Anyone Has A Working Bot Beside BJX?
09/03/2005 - Conquer Online 2 - 10 Replies
Well just asking if anyone here has a working bot be it a pixel bot or something can you post your source code of the bot here? erm it doesn't matter what game... i just want to take a look at the coding so as to see if i can modify the coding abit to make it workable for conquer... best is a pixel bot.. coz currently trying make 1 =P anyway besides this.... is there anyone out there trying to rip out the functions of the BJX bot and recompile it back with a better AI? if so can please...



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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.