Jump to content
  • 0

Just when you log-in


Question

Posted

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?

7 answers to this question

Recommended Posts

  • 3
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 3
  • Love 3
  • 0
Posted
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 2

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...