Jump to content
  • 0
LearningRO

How to disable Feature RODEX FULLY!

Question

4 answers to this question

Recommended Posts

  • 0
If you want to go deeper than hiding the function of rodex, a way to force the error when sending message ...
I'll leave in code, an example restriction for maps .. but you can change it according to mapflags or as you wish.

 

Quote

Index: src/map/mail.c
===================================================================

 enum mail_attach_result mail_setitem(struct map_session_data *sd, short idx, uint32 amount) {
+
+    if(map[sd->bl.m].flag.nowarpto || map[sd->bl.m].flag.nowarp)
+        return MAIL_ATTACH_ERROR;
+
     if( pc_istrading(sd) )
         return MAIL_ATTACH_ERROR;

 

Link to comment
Share on other sites

  • 0
On 11/19/2019 at 7:43 PM, GOODBY dev LOOLP said:
If you want to go deeper than hiding the function of rodex, a way to force the error when sending message ...
I'll leave in code, an example restriction for maps .. but you can change it according to mapflags or as you wish.

 

 

this is specified on a certain mapflag right? how about permanently on all maps?

 

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.