• 0
Sign in to follow this  
Radian

Just when you log-in

Question

message that show's when you teleport or change maps in game.

Allow all party invitation
Equipment information not open to public

How can I make this one just show up on login?

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 2
Posted (edited)
On 4/29/2016 at 8:43 PM, Radian said:

message that show's when you teleport or change maps in game.

Allow all party invitation
Equipment information not open to public

How can I make this one just show up on login?

Open ../src/map/clif.cpp and in the function clif_parse_LoadEndAck remove:

#if PACKETVER >= 20070918
		clif_partyinvitationstate(sd);
		clif_equipcheckbox(sd);
#endif
#if PACKETVER >= 20141008
		if( battle_config.pet_autofeed_always ){
			// Always send ON or OFF
			if( sd->pd && battle_config.feature_pet_autofeed ){
				clif_configuration( sd, CONFIG_PET_AUTOFEED, sd->pd->pet.autofeed );
			}else{
				clif_configuration( sd, CONFIG_PET_AUTOFEED, false );
			}
		}else{
			// Only send when enabled
			if( sd->pd && battle_config.feature_pet_autofeed && sd->pd->pet.autofeed ){
				clif_configuration( sd, CONFIG_PET_AUTOFEED, true );
			}
		}
#endif
#if PACKETVER >= 20170920
		if( battle_config.homunculus_autofeed_always ){
			// Always send ON or OFF
			if( sd->hd && battle_config.feature_homunculus_autofeed ){
				clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, sd->hd->homunculus.autofeed );
			}else{
				clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, false );
			}
		}else{
			// Only send when enabled
			if( sd->hd && battle_config.feature_homunculus_autofeed && sd->hd->homunculus.autofeed ){
				clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, true );
			}
		}
#endif

In the function clif_parse_LoadEndAck after:

		// Notify everyone that this char logged in [Skotlex].
		map_foreachpc(clif_friendslist_toggle_sub, sd->status.account_id, sd->status.char_id, 1);

add:

#if PACKETVER >= 20070918
		clif_partyinvitationstate(sd);
		clif_equipcheckbox(sd);
#endif
#if PACKETVER >= 20141008
		if( battle_config.pet_autofeed_always ){
			// Always send ON or OFF
			if( sd->pd && battle_config.feature_pet_autofeed ){
				clif_configuration( sd, CONFIG_PET_AUTOFEED, sd->pd->pet.autofeed );
			}else{
				clif_configuration( sd, CONFIG_PET_AUTOFEED, false );
			}
		}else{
			// Only send when enabled
			if( sd->pd && battle_config.feature_pet_autofeed && sd->pd->pet.autofeed ){
				clif_configuration( sd, CONFIG_PET_AUTOFEED, true );
			}
		}
#endif
#if PACKETVER >= 20170920
		if( battle_config.homunculus_autofeed_always ){
			// Always send ON or OFF
			if( sd->hd && battle_config.feature_homunculus_autofeed ){
				clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, sd->hd->homunculus.autofeed );
			}else{
				clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, false );
			}
		}else{
			// Only send when enabled
			if( sd->hd && battle_config.feature_homunculus_autofeed && sd->hd->homunculus.autofeed ){
				clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, true );
			}
		}
#endif

 

Edited by Functor
  • Upvote 1
  • Love 2

Share this post


Link to post
Share on other sites
  • 0

I have the same problem, you managed to solve it mr. @Radian?

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, Mael said:

I have the same problem, you managed to solve it mr. @Radian?

No. I almost forgot about this issue.

Share this post


Link to post
Share on other sites
  • 0

@Functor And for...

Automatic feeding if OFF

Homunculus automatic feeding is OFF

 

Share this post


Link to post
Share on other sites
  • 0

@Mael I updated my previous message.

  • Love 1

Share this post


Link to post
Share on other sites
  • 0

I managed to figure out how to do it, thanks! 😍 @Functor

Share this post


Link to post
Share on other sites
  • 0
26 minutes ago, Mael said:

@Functor And for...

Automatic feeding if OFF

Homunculus automatic feeding is OFF

 

same thing as functor said move

#if PACKETVER >= 20141008
		if( battle_config.pet_autofeed_always ){
  			// Always send ON or OFF
  			.....

and

#if PACKETVER >= 20170920
		if( battle_config.homunculus_autofeed_always ){
			// Always send ON or OFF
			.....

to `after`

		// Notify everyone that this char logged in [Skotlex].
		map_foreachpc(clif_friendslist_toggle_sub, sd->status.account_id, sd->status.char_id, 1);

 

  • Upvote 1

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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
Sign in to follow this