xxx69 Posted May 1, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 12/01/13 Last Seen: June 14, 2020 Share Posted May 1, 2014 I found some scripts that disables mvp cards but only when they are not compounded in an item, im looking for a script that will prevent player to bring a mvp or mini boss card in a certain woe map like prtg_cas01, prtg_cas02 but not all woe maps. Hope someone can help me... Thank you very much! More power Rathena! Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 1, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 36 minutes ago Share Posted May 1, 2014 try http://upaste.me/r/07d344 Quote Link to comment Share on other sites More sharing options...
xxx69 Posted May 1, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 12/01/13 Last Seen: June 14, 2020 Author Share Posted May 1, 2014 try http://upaste.me/r/07d344 it is not working Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 1, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 36 minutes ago Share Posted May 1, 2014 prtg_cas01 mapflag loadevent add for all maps that you need updated try http://upaste.me/r/07d344 Quote Link to comment Share on other sites More sharing options...
xxx69 Posted May 1, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 12/01/13 Last Seen: June 14, 2020 Author Share Posted May 1, 2014 prtg_cas01 mapflag loadevent add for all maps that you need updated try http://upaste.me/r/07d344 do i need to reload the server? will loadnpc works? coz i tried loadnpc and nothing happens. Quote Link to comment Share on other sites More sharing options...
xxx69 Posted May 6, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 12/01/13 Last Seen: June 14, 2020 Author Share Posted May 6, 2014 Up! Quote Link to comment Share on other sites More sharing options...
Capuche Posted May 8, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted May 8, 2014 an if miss a bracket if( compare( .map_list$,"|"+strcharinfo(3)+"|" ) ) Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted May 9, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share Posted May 9, 2014 Hello, is there a limit on the item list? when i put around 100 items to restrict, it flooded the console with [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! Thanks! Looks like it's limited Quote Link to comment Share on other sites More sharing options...
Capuche Posted May 9, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted May 9, 2014 Post the script Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted May 9, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share Posted May 9, 2014 (edited) Heres it is Sir, -<tab>script<tab>test<tab>-1,{ OnInit: // map list setarray .map$, "prtg_cas01", "prtg_cas02", "prtg_cas03", "prtg_cas04"; // item list setarray .item,20171,20172,20173,20174,20175,20176,20261,20262,20263,20264,20107,20104,20220,20223,20215,20168,20169,20170,20265,20266,20203,20204,20205,20206,20214,20226,20216,20229,20236,20359,20380,20057,20056,20124,20179,20180,20181,20182,20977,20978,20979,20980; .map_size = getarraysize( .map$ ); .item_size = getarraysize( .item ); .map_list$ = "|"; for( .@i = 0; .@i < .item_size; .@i++ ){ setmapflag .map$[.@i],mf_loadevent; .map_list$ = .map_list$ + .map$[.@i] + "|"; } end; OnPCLoadMapEvent: if( compare( .map_list$,"|"+strcharinfo(3)+"|") ) while( .@i < .item_size ){ if( countitem( .item[.@i] ) ){ mes "You cant bring "+getitemname( .item[.@i] ); close2; warp "SavePoint",0,0; end; } .@i++; } end; } Edited May 9, 2014 by Fresh prince Quote Link to comment Share on other sites More sharing options...
Capuche Posted May 9, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted May 9, 2014 replace for( .@i = 0; .@i < .item_size; .@i++ ){ by for( .@i = 0; .@i < .map_size; .@i++ ){ 1 Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted May 10, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share Posted May 10, 2014 Thanks Sir! Quote Link to comment Share on other sites More sharing options...
Erba Posted May 31, 2014 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Share Posted May 31, 2014 does this script also restrict equipment items? and does it have a number limitation of items to be restricted? Quote Link to comment Share on other sites More sharing options...
Eros Posted June 23, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted June 23, 2014 Look at the script carefuly it will answer your question sir Erba. Quote Link to comment Share on other sites More sharing options...
Erba Posted June 23, 2014 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Share Posted June 23, 2014 Look at the script carefuly it will answer your question sir Erba. does it have a limitations in items that can be disabled? Quote Link to comment Share on other sites More sharing options...
Capuche Posted June 23, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted June 23, 2014 only 128 items can be restricted in this script, defined by the max array size Quote Link to comment Share on other sites More sharing options...
Eros Posted June 27, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted June 27, 2014 Elo ma'am/sirs sad to say the script has a bug i'm disabling ghostring card in my WoE Map but then someone can still wear ghostring they compound it on a armor that is allow during that woe and the script can't detect when the player compound the card in it how can i fix this one ? Quote Link to comment Share on other sites More sharing options...
Question
xxx69
I found some scripts that disables mvp cards but only when they are not compounded in an item, im looking for a script that will prevent player to bring a mvp or mini boss card in a certain woe map like prtg_cas01, prtg_cas02 but not all woe maps.
Hope someone can help me...
Thank you very much!
More power Rathena!
Link to comment
Share on other sites
16 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.