Jump to content
dragontechi

Level HD

Recommended Posts

Hello @dragontechi,

 

from client src:

	if ( _chGMLv )
	{
		if ( _chGMLv >= 21 && _chGMLv <= 30 )
		{
			_pNpcStateItem = _pScene->AddSceneItem ("hd.lgo");
		}
		else
		{
			_pNpcStateItem = _pScene->AddSceneItem ("gm.lgo");
		}
	}

 


Share this post


Link to post
Share on other sites
On 10/25/2022 at 3:40 PM, V3ct0r said:

Hello @dragontechi,

 

from client src:


	if ( _chGMLv )
	{
		if ( _chGMLv >= 21 && _chGMLv <= 30 )
		{
			_pNpcStateItem = _pScene->AddSceneItem ("hd.lgo");
		}
		else
		{
			_pNpcStateItem = _pScene->AddSceneItem ("gm.lgo");
		}
	}

 

where I can edit the code list assigned to the hd

 

Share this post


Link to post
Share on other sites
24 минуты назад, dragontechi сказал:

где я могу редактировать список кодов, назначенных hd

 

In your source code, for 2003 studio exactly the same.

 

image.png.8e57926fdeab903a6356509c758fbb67.pngI

Share this post


Link to post
Share on other sites
2 minutes ago, BXlevovich said:

In your source code, for 2003 studio exactly the same.

 

image.png.8e57926fdeab903a6356509c758fbb67.pngI

I am using it well and I want to edit the list of code that has access to hb

 

 

 

Share this post


Link to post
Share on other sites
On 10/30/2022 at 8:26 PM, dragontechi said:

I am using it well and I want to edit the list of code that has access to hb

Check the method BOOL CCharacter::DoGMCommand(const char *pszCmd, const char *pszParam) in the file CharacterSuperCmd.cpp from GameServer srcs.


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...