Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to add some extra function on Source Code (Newbie Coder)

Status
Not open for further replies.
Experienced Elementalist
Joined
Jun 15, 2006
Messages
201
Reaction score
100
Editing MOB/NPC name colour

RanClientLib > G-Logic > Client > ClientCrow > GLCrowRenList.cpp

Code:
void CROWREN::SETTYPEFLAG ( GLCharacter *pMYCHAR, GLCrowClient *pCROW )
{
	EMCROW emCROW = pCROW->GETCROW();
	
	if ( emCROW == CROW_NPC )	m_dwCOLOR = NS_UITEXTCOLOR::ORANGE; [COLOR="Red"]<--- NPC name color[/COLOR]
	else
	{
		WORD wMY_LEVEL = pMYCHAR->GETLEVEL();
		WORD wMOB_LEVEL = pCROW->m_pCrowData->m_wLevel;
		float fEXP_RATE = GLCONST_CHAR::GETEXP_RATE ( wMY_LEVEL, wMOB_LEVEL );

		if ( fEXP_RATE==0 )		m_dwCOLOR = CROWCOLOR::MOB_COLOR_GRAY; [COLOR="red"]<--- MOB name color[/COLOR]
	else					m_dwCOLOR = CROWCOLOR::MOB_COLOR_RED;[COLOR="red"]<--- MOB name color[/COLOR]
	}

	// Note : À̸§Ç¥½Ã ³ôÀÌÁ¶Àý
	m_vPOS = pCROW->GetPosBodyHeight();
}

Declare new color here before adding new color to above code
U can always use UITextControl.h color list


RanClientLib > G-Logic > Client > ClientCrow > GLCrowRenList.h

Code:
namespace CROWCOLOR
{
	const DWORD MOB_COLOR_GRAY	= D3DCOLOR_ARGB(255,184,184,184);
	const DWORD MOB_COLOR_GREEN	= D3DCOLOR_ARGB(210,39,207,102);
	const DWORD MOB_COLOR_RED	= D3DCOLOR_ARGB(255,255,0,0);
};
 
Wazup fucckerrsss
Joined
Jan 14, 2008
Messages
473
Reaction score
91
@dmc
yeah i dont know how to use it that's why i share it so that someone can help and the same time i also helped others i just hope someone post guide here on how to put it in source.
You almost update all the date modified of the file. we cannot see 1 by 1 :(
 
Experienced Elementalist
Joined
Jun 15, 2006
Messages
201
Reaction score
100
@dmc0105

can u share Qbox images when you loote a boxs?

Im not developing that at the moment...

Its not a must have feature for me...

Priority goes for other projects... Sry...

Really hoping someone would share the packet hack fix(or at least guide me where to edit n i'll do the rest myself)
-----------------------------------------------------------------
Editing Private Market Sell Price MAX = 4.2B

RanClientUILib > Interface > PrivateMarketSellWindow.cpp

Code:
CUIEditBoxMan* pEditBoxMan = new CUIEditBoxMan;
		pEditBoxMan->CreateSub ( this, "PRIVATE_MARKET_SELL_WINDOW_EDITMAN" );
		pEditBoxMan->CreateEditBox ( PRIVATE_MARKET_SELL_WINDOW_MONEY_EDIT, "PRIVATE_MARKET_SELL_WINDOW_MONEY_EDIT", 
									"PRIVATE_MARKET_SELL_WINDOW_CARRAT", TRUE, UINT_MAX, pFont, [COLOR="red"]9[/COLOR] );[COLOR="Red"]<--- EDIT 9 to 10[/COLOR]
		pEditBoxMan->CreateEditBox ( PRIVATE_MARKET_SELL_WINDOW_ITEMCOUNT_EDIT, "PRIVATE_MARKET_SELL_WINDOW_ITEMCOUNT_EDIT", 
									"PRIVATE_MARKET_SELL_WINDOW_CARRAT", TRUE, UINT_MAX, pFont, 6 );
 
Last edited:
Joined
Jun 10, 2011
Messages
82
Reaction score
102
This is not really for beginner...

Even if u just take and paste it inside ur source,there is still too many files need to be edited on ur client side...

No harm trying though...

For those who want to play with text color u can check out RanClientUILib > Interface > UITextControl.h

Agree, focus on the basics first. Start from small things until you familiarize yourself with the source code.
 
Joined
Jun 10, 2011
Messages
82
Reaction score
102
here is i think ran new interface and bar cp just check this and post how it work i dont how to use it someone just give this....sory for bad english



i hope we share all what we know like adding new class, max hp and damage so that we will not depend on other people serverfiles.go go go ran section!!! :thumbup:

Looking from the code, It seems that it doesn't have the new ran interface as you posted in your SS.
 
Junior Spellweaver
Joined
Feb 8, 2012
Messages
103
Reaction score
7
@SoulWeaver do you have fix Qbox images when you loote a box i had already figure that features but still no luck still bug.
 
Joined
Mar 12, 2011
Messages
962
Reaction score
589
Update First post..
wow..good job all..some game function code in here..even some interface code in here..

dont stop here..keep move on guys..

Edit :

Im not developing that at the moment...

Its not a must have feature for me...

Priority goes for other projects... Sry...

Really hoping someone would share the packet hack fix(or at least guide me where to edit n i'll do the rest myself)
-----------------------------------------------------------------
Editing Private Market Sell Price MAX = 4.2B

RanClientUILib > Interface > PrivateMarketSellWindow.cpp

you can check it on netclientLib project (i guess, cos i'm still explore it too)..
 
Last edited:
Newbie Spellweaver
Joined
Oct 8, 2011
Messages
37
Reaction score
10
here is i think ran new interface and bar cp just check this and post how it work i dont how to use it someone just give this....sory for bad english



i hope we share all what we know like adding new class, max hp and damage so that we will not depend on other people serverfiles.go go go ran section!!! :thumbup:

:scared::scared::scared: oh no!!!

no cp and bullet me =,=

open GLItemDef.h search text "Sceon" =,= :grr::grr:
 
Status
Not open for further replies.
Back
Top