Jump to content
  • 0
AngelaKiss

mailbox not working

Question

hello my npc mailbox in towns in not working im usingi 20120410 someone knows how to fix this please it doesnt open the mail just take my money

Edited by AngelaKiss
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

src/map/mail.c

int mail_openmail(struct map_session_data *sd)
{
	nullpo_ret(sd);

	if( sd->state.storage_flag || sd->state.vending || sd->state.buyingstore || sd->state.trading || sd->npc_id || sd->npc_shopid )
		return 0;

	clif_Mail_window(sd->fd, 0);

	return 1;
}

to

int mail_openmail(struct map_session_data *sd)
{
	nullpo_ret(sd);

	if( sd->state.storage_flag || sd->state.vending || sd->state.buyingstore || sd->state.trading )
		return 0;

	clif_Mail_window(sd->fd, 0);

	return 1;
}

Link to comment
Share on other sites

  • 0

hello my npc mailbox in towns in not working im usingi 20120410 someone knows how to fix this please it doesnt open the mail just take my money

try what Promise's answer. btw, what version are you using?

Link to comment
Share on other sites

  • 0

 

hello my npc mailbox in towns in not working im usingi 20120410 someone knows how to fix this please it doesnt open the mail just take my money

try what Promise's answer. btw, what version are you using?

 

Im using lastest version

Link to comment
Share on other sites

  • 0

 

src/map/mail.c

int mail_openmail(struct map_session_data *sd)
{
	nullpo_ret(sd);

	if( sd->state.storage_flag || sd->state.vending || sd->state.buyingstore || sd->state.trading || sd->npc_id || sd->npc_shopid )
		return 0;

	clif_Mail_window(sd->fd, 0);

	return 1;
}

to

int mail_openmail(struct map_session_data *sd)
{
	nullpo_ret(sd);

	if( sd->state.storage_flag || sd->state.vending || sd->state.buyingstore || sd->state.trading )
		return 0;

	clif_Mail_window(sd->fd, 0);

	return 1;
}

 

it was already like this

 

Btw did you add the "Enable Mail Box for All LangTypes"(If you're using NEMO) in your clients diff?

 

nemo dont allow me to do it, it says the pattern is not found 

Link to comment
Share on other sites

  • 0

Try to use an old NEMO or report it https://github.com/MStr3am/NEMO/issues. If its not enable the mail box will not open becuase kRO already removed the mail func and replaced with RODEX

Link to comment
Share on other sites

  • 0

Try to use an old NEMO or report it https://github.com/MStr3am/NEMO/issues. If its not enable the mail box will not open becuase kRO already removed the mail func and replaced with RODEX

 

You know when RODEX will be released in rAthena?

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.