onecent Posted January 14, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 01/07/12 Last Seen: March 11, 2012 Share Posted January 14, 2012 I was informed that the mail system is being used to duplicate items in my server... just want to know how can i turn off mail system Quote Link to comment Share on other sites More sharing options...
Akbare Posted January 14, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Share Posted January 14, 2012 disable npc : scripts_athena.conf //npc: npc/other/mail.txt disable command to player atcommand_athena.conf mail: 100,100 Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted January 15, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted January 15, 2012 ^^ That's not enough. People can still access the mail via the Friend Window. I remember having troubles with this before. If I remember correctly 1. Disable all mail box npc. 2. Disable auction since it uses the mail system 3. Comment out the packet used for the mail system. Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 16, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted January 16, 2012 i guess you need to edit the source so that it can be turn off completely....or maybe client side like arcencial said.. because...i remember that..they can send item / mesage by turn on the Mail Box at the Friend List there..... try this way... /src/map/mail.c find this 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; } and...replace to this ( trying to make only GM Level below 100 cant use it ) 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 || pc_isGM(sd) < 100 ){ clif_displaymessage(fd, "Mail System is Disabled."); return 0; } clif_Mail_window(sd->fd, 0); return 1; } not sure will this prevent users from open mail through other way or not.... Quote Link to comment Share on other sites More sharing options...
Yasunari Ishibashi Posted January 30, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 157 Reputation: 2 Joined: 01/06/12 Last Seen: August 25, 2014 Share Posted January 30, 2012 what if that in non-disabled only send goods only? but to send a messege still can, please help thanks. Quote Link to comment Share on other sites More sharing options...
Yasunari Ishibashi Posted March 3, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 157 Reputation: 2 Joined: 01/06/12 Last Seen: August 25, 2014 Share Posted March 3, 2012 i guess you need to edit the source so that it can be turn off completely....or maybe client side like arcencial said.. because...i remember that..they can send item / mesage by turn on the Mail Box at the Friend List there..... try this way... /src/map/mail.c find this 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; } and...replace to this ( trying to make only GM Level below 100 cant use it ) 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 || pc_isGM(sd) < 100 ){ clif_displaymessage(fd, "Mail System is Disabled."); return 0; } clif_Mail_window(sd->fd, 0); return 1; } not sure will this prevent users from open mail through other way or not.... I've tried but there was an error, is there a solution? Quote Link to comment Share on other sites More sharing options...
ngek202 Posted March 3, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted March 3, 2012 thought mail was fixed? Quote Link to comment Share on other sites More sharing options...
ngek202 Posted April 6, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted April 6, 2012 (edited) i guess you need to edit the source so that it can be turn off completely....or maybe client side like arcencial said.. because...i remember that..they can send item / mesage by turn on the Mail Box at the Friend List there..... try this way... /src/map/mail.c find this 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; } and...replace to this ( trying to make only GM Level below 100 cant use it ) 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 || pc_isGM(sd) < 100 ){ clif_displaymessage(fd, "Mail System is Disabled."); return 0; } clif_Mail_window(sd->fd, 0); return 1; } not sure will this prevent users from open mail through other way or not.... having a problem with mail too it seem they can duplicate items thru mail. tried it but i'm having an error srcmapmail.c(153): error C2065: 'fd' : undeclared identifier Edited April 6, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
Lilith Posted April 6, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 407 Reputation: 159 Joined: 11/18/11 Last Seen: November 15, 2014 Share Posted April 6, 2012 clif_displaymessage(sd->fd, "Mail System is Disabled."); Quote Link to comment Share on other sites More sharing options...
ngek202 Posted April 6, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted April 6, 2012 @Lilith thanks no more errors. Hmm seems not working I can still open Write Mail thru Friend List (ALT+H) Hope there's a way to disable Attachments adding Item or Zeny on the Mail. so you can still send Message. Quote Link to comment Share on other sites More sharing options...
Question
onecent
I was informed that the mail system is being used to duplicate items in my server... just want to know how can i turn off mail system
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.