chromus28 Posted August 20, 2013 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Share Posted August 20, 2013 guys sorry noob question only.. how to disable cards on woe? please anyonge give a full guide or steps on how to disable cards on woe? sorry i found the answer >.< Quote Link to comment Share on other sites More sharing options...
uDe Posted August 20, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted August 20, 2013 Use item_noequip.txt. Find it inside your db/pre-re or db/re // The equipment/items/cards restriction file // here you define which items may not be used at PvP / GvG // format: <item id>,<mode> // mode // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - restricted in zone 1 // 64 - restricted in zone 2 // 128 - restricted in zone 3 // 256 - restricted in zone 4 // 512 - restricted in zone 5 // 1024 - restricted in zone 6 // 2048 - restricted in zone 7 //Examples: //1201,1 you can't use KNIFE(ID 1201) on normal maps //608,4 you can't use Yggdrasil Seed(ID 608) on both GvG and WoE Castles //4174,6 Forbid Deviling Card in every PVP or GVG map, and during woes. //501,32 you can't use Red Potion on map marked as 'restricted zone 1' //502,64 you can't use Orange Potion on map marked as 'restricted zone 2' //503,128 you can't use Yellow Potion on map marked as 'restricted zone 3' // you can even mix modes //519,322 (256+64+2) you can't use Milk on PVP, and maps marked as 'restricted zone 2' and 'restricted zone 4' Quote Link to comment Share on other sites More sharing options...
chromus28 Posted August 21, 2013 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Author Share Posted August 21, 2013 Use item_noequip.txt. Find it inside your db/pre-re or db/re // The equipment/items/cards restriction file // here you define which items may not be used at PvP / GvG // format: <item id>,<mode> // mode // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - restricted in zone 1 // 64 - restricted in zone 2 // 128 - restricted in zone 3 // 256 - restricted in zone 4 // 512 - restricted in zone 5 // 1024 - restricted in zone 6 // 2048 - restricted in zone 7 //Examples: //1201,1 you can't use KNIFE(ID 1201) on normal maps //608,4 you can't use Yggdrasil Seed(ID 608) on both GvG and WoE Castles //4174,6 Forbid Deviling Card in every PVP or GVG map, and during woes. //501,32 you can't use Red Potion on map marked as 'restricted zone 1' //502,64 you can't use Orange Potion on map marked as 'restricted zone 2' //503,128 you can't use Yellow Potion on map marked as 'restricted zone 3' // you can even mix modes //519,322 (256+64+2) you can't use Milk on PVP, and maps marked as 'restricted zone 2' and 'restricted zone 4' what if i want only in a certain map? Quote Link to comment Share on other sites More sharing options...
uDe Posted August 22, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted August 22, 2013 - script 1CastleDisable -1,{ OnPCLoadMapEvent: getmapxy(.@map$,.@mapx,.@mapy,0); if(.@map$ == "prtg_cas01"){ for(set .@i,0; .@i < getarraysize(.itemcheck); set .@i, .@i + 1){ if(countitem(.itemcheck[.@i])){ dispbottom "You cannot have any "+getitemname(.itemcheck[.@i])+" in your possession on this map."; warp "prontera",200,180; end; } } } end; OnInit: setarray .itemcheck[0],2383; end; } prtg_cas01 mapflag loadevent This one is for not allowing players bring specific item to a map. Maybe other members can help restrict cards also. Quote Link to comment Share on other sites More sharing options...
chromus28 Posted August 30, 2013 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Author Share Posted August 30, 2013 - script 1CastleDisable -1,{ OnPCLoadMapEvent: getmapxy(.@map$,.@mapx,.@mapy,0); if(.@map$ == "prtg_cas01"){ for(set .@i,0; .@i < getarraysize(.itemcheck); set .@i, .@i + 1){ if(countitem(.itemcheck[.@i])){ dispbottom "You cannot have any "+getitemname(.itemcheck[.@i])+" in your possession on this map."; warp "prontera",200,180; end; } } } end; OnInit: setarray .itemcheck[0],2383; end; } prtg_cas01 mapflag loadevent This one is for not allowing players bring specific item to a map. Maybe other members can help restrict cards also. So how about many maps? it should be like this. - script 1CastleDisable -1,{ OnPCLoadMapEvent: getmapxy(.@map$,.@mapx,.@mapy,0); if(.@map$ == "prtg_cas01","prtg_cas02","prtg_cas02"){ for(set .@i,0; .@i < getarraysize(.itemcheck); set .@i, .@i + 1){ if(countitem(.itemcheck[.@i])){ dispbottom "You cannot have any "+getitemname(.itemcheck[.@i])+" in your possession on this map."; warp "prontera",200,180; end; } } } end; OnInit: setarray .itemcheck[0],2383,4174,4047; end; } prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent like this? ahh dont mind the "prtg_cas02","prtg_cas02" xD got wrong type Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 30, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 04:49 PM Share Posted August 30, 2013 you can try do it like this http://upaste.me/r/1b2143 Quote Link to comment Share on other sites More sharing options...
Erba Posted February 1, 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 February 1, 2014 - script Sample -1,{ OnInit: setarray .map$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; set .map_size,getarraysize( .map$ ); for( .@i = 0; .@i < .map_size; .@i++ ) setmapflag .map$[.@i],mf_loadevent; end; OnPCLoadMapEvent: .@map$ = strcharinfo(3); for( .@i = 0; .@i < .map_size; .@i++ ) if( .@map$ == .map$[.@i] ){ getinventorylist; if( getarraysize( @inventorylist_card1 ) || getarraysize( @inventorylist_card2 ) || getarraysize( @inventorylist_card3 ) || getarraysize( @inventorylist_card4 ) ){ mes "Make sure you didnt bring any Item that have Card Compounded or Signed with Name."; close2; warp "prontera",155,181; } break; } end; } how to make this script disable specific equips and cards on a specific map every saturday at 7pm to 8pm only? can i just put OnSat1900: ? Quote Link to comment Share on other sites More sharing options...
Erba Posted February 5, 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 February 5, 2014 bump? Quote Link to comment Share on other sites More sharing options...
Missingno Posted February 5, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 135 Reputation: 41 Joined: 02/05/14 Last Seen: December 23, 2022 Share Posted February 5, 2014 - script Sample -1,{ OnInit: setarray .map$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; set .map_size,getarraysize( .map$ ); for( .@i = 0; .@i < .map_size; .@i++ ) setmapflag .map$[.@i],mf_loadevent; end; OnPCLoadMapEvent: .@map$ = strcharinfo(3); for( .@i = 0; .@i < .map_size; .@i++ ) if( .@map$ == .map$[.@i] ){ getinventorylist; if( getarraysize( @inventorylist_card1 ) || getarraysize( @inventorylist_card2 ) || getarraysize( @inventorylist_card3 ) || getarraysize( @inventorylist_card4 ) ){ mes "Make sure you didnt bring any Item that have Card Compounded or Signed with Name."; close2; warp "prontera",155,181; } break; } end; } how to make this script disable specific equips and cards on a specific map every saturday at 7pm to 8pm only? can i just put OnSat1900: ? Add this under the OnPCLoadMapEvent label to determine whether or not it's Saturday: if (gettime(4) == 6) { end; } 1 Quote Link to comment Share on other sites More sharing options...
Erba Posted February 6, 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 February 6, 2014 - script Sample -1,{ OnInit: setarray .map$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; set .map_size,getarraysize( .map$ ); for( .@i = 0; .@i < .map_size; .@i++ ) setmapflag .map$[.@i],mf_loadevent; end; OnPCLoadMapEvent: .@map$ = strcharinfo(3); for( .@i = 0; .@i < .map_size; .@i++ ) if( .@map$ == .map$[.@i] ){ getinventorylist; if( getarraysize( @inventorylist_card1 ) || getarraysize( @inventorylist_card2 ) || getarraysize( @inventorylist_card3 ) || getarraysize( @inventorylist_card4 ) ){ mes "Make sure you didnt bring any Item that have Card Compounded or Signed with Name."; close2; warp "prontera",155,181; } break; } end; } how to make this script disable specific equips and cards on a specific map every saturday at 7pm to 8pm only? can i just put OnSat1900: ? Add this under the OnPCLoadMapEvent label to determine whether or not it's Saturday: if (gettime(4) == 6) { end; } how about making it works to block all specified item not just the cards? Quote Link to comment Share on other sites More sharing options...
Missingno Posted February 6, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 135 Reputation: 41 Joined: 02/05/14 Last Seen: December 23, 2022 Share Posted February 6, 2014 how about making it works to block all specified item not just the cards? Inject a blacklist to check for items. setarray .@blacklist[0], 1201, 1202, 1203, 607; for (.@i = 0; .@i < getarraysize(.@blacklist); .@i++) { if (countitem(.@blacklist[.@i])) { message strcharinfo(0), getitemname(.@blacklist[.@i]) +" is restricted from this map."; warp "SavePoint", 0, 0; end; } } 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 Hello i want to disable only specific card how can i do that. help me please Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted July 26, 2014 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Share Posted July 26, 2014 how to load this? using @reloaditemdb or @reloadscript? thank you. Quote Link to comment Share on other sites More sharing options...
Question
chromus28
guys sorry noob question only.. how to disable cards on woe? please anyonge give a full guide or steps on how to disable cards on woe?
sorry i found the answer >.<
Link to comment
Share on other sites
12 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.