Register for your free account! | Forgot your password?


You last visited: Today at 21:20

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

Advertisement



[TuT] ResdataV15 to V16

Discussion on [TuT] ResdataV15 to V16 within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2014
Posts: 11
Received Thanks: 19
Post [TuT] ResdataV15 to V16

Tut Resdata.inc V15 Change to Resdata.inc V16

ResManager.cpp
Search : BOOL CResManager::Load( LPCTSTR lpszName )
under : pWndApplet->strTexture = scanner.token;
add :
Code:
#if __VER >= 16
		scanner.GetToken();
#endif // __VER >= 16
under : pWndCtrl->m_bTabStop = scanner.GetNumber();
add :
Code:
#if __VER >= 16
			pWndCtrl->m_nRed = scanner.GetNumber();
			pWndCtrl->m_nGreen = scanner.GetNumber();
			pWndCtrl->m_nBlue = scanner.GetNumber();
#endif // __VER >= 16
ResManager.h
in typedef struct tagWndCtrl
under : BOOL m_bGroup;
add:
Code:
#if __VER >= 16
	int m_nRed;
	int m_nGreen;
	int m_nBlue;
#endif // __VER >= 16
in : typedef struct tagWndApplet
under : CString strTexture;
add:
Code:
#if __VER >= 16
	CString strTextureIcon;
#endif // __VER >= 16
WndControl.cpp
Search : BOOL CWndStatic::Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWndBase* pParentWnd, UINT nID )
change :
Code:
#if __VER >= 16
BOOL CWndStatic::Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWndBase* pParentWnd, UINT nID, int nRed, int nGreen, int nBlue )
#else // __VER >= 16
BOOL CWndStatic::Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWndBase* pParentWnd, UINT nID )	
#endif // __VER >= 16
and
under : m_strTexture = "";//WndEditTile200.tga";
add:
Code:
#if __VER >= 16
		m_dwColor = D3DCOLOR_ARGB( 255, nRed, nGreen, nBlue );
#else // __VER >= 16
		m_dwColor = 0xff000000;
#endif // __VER >= 16
WndControl.h
Search : class CWndStatic : public CWndBase
change : BOOL Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWndBase* pParentWnd, UINT nID );
to :
Code:
#if __VER >= 16
	BOOL Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWndBase* pParentWnd, UINT nID, int nRed = 255, int nGreen = 255, int nBlue = 255 );
#else // __VER >= 16
	BOOL Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWndBase* pParentWnd, UINT nID );
#endif // __VER >= 16
WndNeuz.cpp
Search : CWndBase* CWndNeuz::CreateControl( HWND hWnd, LPWNDCTRL lpWndCtrl )
in case WTYPE_STATIC:
change : ((CWndStatic*)pWndBase)->Create( lpWndCtrl->strTitle, dwWndStyle | WBS_CAPTION, lpWndCtrl->rect, this, lpWndCtrl->dwWndId );
to :
Code:
#if __VER >= 16
		((CWndStatic*)pWndBase)->Create( lpWndCtrl->strTitle, dwWndStyle | WBS_CAPTION, lpWndCtrl->rect, this, lpWndCtrl->dwWndId, lpWndCtrl->m_nRed, lpWndCtrl->m_nGreen, lpWndCtrl->m_nBlue );
#endif // __VER >= 16
resdata.inc V16


Hopefully useful

Thank You.
Series01 is offline  
Thanks
5 Users
Old 11/11/2019, 12:14   #2
 
elite*gold: 0
Join Date: Oct 2019
Posts: 22
Received Thanks: 1
Reupload resdata.inc v16 please
Miracle` is offline  
Old 11/15/2019, 05:05   #3
 
elite*gold: 0
Join Date: Nov 2012
Posts: 79
Received Thanks: 30
This is not the best way for this.



Ai ai.......
ademir321 is offline  
Old 11/15/2019, 18:06   #4
 
elite*gold: 0
Join Date: Jan 2014
Posts: 11
Received Thanks: 19
Quote:
Originally Posted by ademir321 View Post
This is not the best way for this.



Ai ai.......

It is better to dye without data.

You should take the time to do useful things.

You are like a fool
Series01 is offline  
Old 11/15/2019, 18:15   #5
 
elite*gold: 0
Join Date: Nov 2012
Posts: 79
Received Thanks: 30
Quote:
Originally Posted by Series01 View Post
It is better to dye without data.

You should take the time to do useful things.

You are like a fool
Too bad you used mine as a base from Adeilson Source.


//edit

9 years ago this is posted in the first source of adeilson, which in this case is my brother .. I who developed

//edit 2

besides being incomplete code, possibly copy and paste:


Defined without use in any of the functions.

Part of who __V17_NEW_ADV_BUTTON I developed, used in
Code:
void CAdvMgr::AddAdvButton( DWORD dwid )
Another mistake these colors also use in many other controls, not just static.

Just edited the function and think you "know how to program".

PLEASE AT LEAST GIVE THE CREDITS.

//Sorry for my bad english.
ademir321 is offline  
Old 11/17/2019, 03:35   #6
 
elite*gold: 0
Join Date: Jan 2014
Posts: 11
Received Thanks: 19
Talking

Quote:
Originally Posted by ademir321 View Post
Too bad you used mine as a base from Adeilson Source.


//edit

9 years ago this is posted in the first source of adeilson, which in this case is my brother .. I who developed

//edit 2

besides being incomplete code, possibly copy and paste:


Defined without use in any of the functions.

Part of who __V17_NEW_ADV_BUTTON I developed, used in
Code:
void CAdvMgr::AddAdvButton( DWORD dwid )
Another mistake these colors also use in many other controls, not just static.

Just edited the function and think you "know how to program".

PLEASE AT LEAST GIVE THE CREDITS.

//Sorry for my bad english.
Adeilson Source

It's a bad thing. I see it as rubbish.
Series01 is offline  
Old 11/17/2019, 15:06   #7
 
elite*gold: 0
Join Date: Nov 2012
Posts: 79
Received Thanks: 30
Quote:
Originally Posted by Series01 View Post
Adeilson Source

It's a bad thing. I see it as rubbish.
it's rubbish that you and hundreds more used as a base or took something from it
ademir321 is offline  
Reply

Tags
resdatav15 to v16


Similar Threads Similar Threads
DivineFly [200x100x1000 Rates][v16 Jobs][v16 features][v17Ready][Custome Edits]
07/09/2011 - Flyff PServer Advertising - 97 Replies
Hallo Comunity, heute werde ich euch einen Privat Server der besonderen Art vorstellen. Der Server enthält viele kleine besondere Features, aber natürlich auch Große dazu kommen wir jedoch aber erst Später. Der aufbau dieser Vorstellung ist etwas ausergewöhnlich jedoch denke ich das es mal was neues ist. Ich werde alles in Boxxen und Spoiler schreiben, damit ihr es einfacher habt und entspannter Lesen könnt. Wie wir auf den Namen 'DivineFly' kahmen. Meine früheren Projekte waren eher...
[Verkaufe] V16 Skilltree (ohne v16 jobs) HookSystem , PvPSystem[Source]
04/07/2011 - Flyff Private Server - 7 Replies
CLOSE PLS , da ich ja angeblich leeche.
V16 Skilltree+ V16 Jobs[Probleme]
03/30/2011 - Flyff Private Server - 4 Replies
Ich war dabei v16 Jobs + v16 Skilltree in den Source zu proggen , jedoch ergaben sich da paar Probleme. ( Skilltree) Dort werden die verschlossen Jobs nicht richtig angezeigt , z.B Assist als 1 und Vagrant als 2. Bei den Jobs hab ich das Problem dass die Skills nicht richtig funktionieren. Resourcen etc ist jeder Teil definiert. Compile Error gabs keine. __VER 16 in jeder VersionCommon.h noch definiert.
hat wer v16 Itemlist, v16 Monterlist?
10/28/2010 - Flyff Private Server - 2 Replies
Ich wollte fragen ob jemand villeicht v16 Itemlist/Monsterlist hat..... Bitte helft mir.......



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


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