Sallycantdance Posted March 11 Group: Members Topic Count: 225 Topics Per Day: 0.14 Content Count: 798 Reputation: 12 Joined: 12/04/20 Last Seen: 5 hours ago Share Posted March 11 hello while searching i seen this mapflag nobank and norodex but after i try it putting it in the mapflag raw.githubusercontent.com/rathena/rathena/refs/heads/master/doc/mapflags.txt sec_pri mapflag nobank sec_pri mapflag norodex i got this error [Error]: npc_parse_mapflag: unrecognized mapflag 'norodex' [Error]: npc_parse_mapflag: unrecognized mapflag 'nobank' Quote Link to comment Share on other sites More sharing options...
0 Scanty Posted March 17 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 93 Reputation: 33 Joined: 11/08/15 Last Seen: 20 minutes ago Share Posted March 17 (edited) I try and it works. prontera mapflag norodex script_constants.hpp export_constant(MF_NOCASHSHOP); +export_constant(MF_NORODEX); atcommand.cpp: if (map_getmapflag(m_id, MF_NOCASHSHOP)) strcat(atcmd_output, " NoCashShop |"); +if (map_getmapflag(m_id, MF_NORODEX)) + strcat(atcmd_output, " NoRODex |"); mail.cpp if( !map_getmapflag(sd->bl.m, MF_TOWN) && !pc_can_use_command(sd, "mail", COMMAND_ATCOMMAND) ) { ShowWarning("clif_parse_Mail: char '%s' trying to do invalid mail operations.\n", sd->status.name); return true; } #else +if( map_getmapflag( sd->bl.m, MF_NORODEX ) ){ + clif_displaymessage( sd->fd, msg_txt( sd, 796 ) ); // You cannot use RODEX on this map. + return true; +} map.hpp: MF_NOCASHSHOP, // 70 +MF_NORODEX, Edited March 17 by Scanty Add more info. Quote Link to comment Share on other sites More sharing options...
0 Sallycantdance Posted March 17 Group: Members Topic Count: 225 Topics Per Day: 0.14 Content Count: 798 Reputation: 12 Joined: 12/04/20 Last Seen: 5 hours ago Author Share Posted March 17 i think i got my error in mail.ccp heres yours Quote if( !map_getmapflag(sd->bl.m, MF_TOWN) && !pc_can_use_command(sd, "mail", COMMAND_ATCOMMAND) ) { ShowWarning("clif_parse_Mail: char '%s' trying to do invalid mail operations.\n", sd->status.name); return true; } #else if( map_getmapflag( sd->bl.m, MF_NORODEX ) ){ clif_displaymessage( sd->fd, msg_txt( sd, 796 ) ); // You cannot use RODEX on this map. return true; } and here is mine maybe the reason is my server side is not updated, thats my always problem in putting some diff files in my server cause i dont know how to update it anyways thank you very much sir for your effort and help i really appreciate it Godbless you! Quote #if PACKETVER < 20150513 if( !map_getmapflag(sd->bl.m, MF_TOWN) && !pc_can_use_command(sd, "mail", COMMAND_ATCOMMAND) ) { ShowWarning("clif_parse_Mail: char '%s' trying to do invalid mail operations.\n", sd->status.name); return true; } #endif Quote Link to comment Share on other sites More sharing options...
0 Scanty Posted March 17 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 93 Reputation: 33 Joined: 11/08/15 Last Seen: 20 minutes ago Share Posted March 17 Sometime just happen, but you can add it by your own, for example i give you the code for norodex, just add all stuff and try Quote Link to comment Share on other sites More sharing options...
Question
Sallycantdance
hello while searching i seen this mapflag nobank and norodex but after i try it putting it in the mapflag
raw.githubusercontent.com/rathena/rathena/refs/heads/master/doc/mapflags.txt
sec_pri mapflag nobank
sec_pri mapflag norodex
i got this error
[Error]: npc_parse_mapflag: unrecognized mapflag 'norodex'
[Error]: npc_parse_mapflag: unrecognized mapflag 'nobank'
Link to comment
Share on other sites
3 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.