Jump to content
  • 0

Just when you log-in


Radian

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 3

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  832
  • Reputation:   317
  • Joined:  02/11/19
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

4 hours ago, Mael said:

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

No. I almost forgot about this issue.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  832
  • Reputation:   317
  • Joined:  02/11/19
  • Last Seen:  

@Functor And for...

Automatic feeding if OFF

Homunculus automatic feeding is OFF

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

@Mael I updated my previous message.

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  832
  • Reputation:   317
  • Joined:  02/11/19
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   7
  • Joined:  06/06/19
  • Last Seen:  

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
Link to comment
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.

×
×
  • Create New...