manabeast Posted December 31, 2011 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Share Posted December 31, 2011 @chris creation@ http://rathena.org/b...-v10-1219-2011/ 1.anyone know how to disable party on Deathmatch PvP? mean player if party cannot go in there if go in will warp out if have party. 2.how to disable chat in pvp area? just can chat in party/guild? Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted December 31, 2011 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 December 31, 2011 1. You can just use this mapflag. It'll render parties useless in the map. mapnamehere mapflag pvp_noparty 2. Don't think that's possible via scripting. Maybe a source edit. 1 Quote Link to comment Share on other sites More sharing options...
manabeast Posted December 31, 2011 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted December 31, 2011 1. thx ^^ waiting server setting finish try it. 2.if disable chat include party/guild chat in the selector map? cannot too? Quote Link to comment Share on other sites More sharing options...
Sneaky Posted December 31, 2011 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 Share Posted December 31, 2011 1. thx ^^ waiting server setting finish try it. 2.if disable chat include party/guild chat in the selector map? cannot too? As Arcenciel said: 1. MapName%TAB%mapflag%TAB%pvp_noparty 2. Can only be done by a custom source edit. You may request it here. 1 Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 1, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 1, 2012 (edited) 1.thx about the pvp_noparty if i want put two difference must do separately? pvp_noparty & nochat? MapName%TAB%mapflag%TAB%pvp_noparty MapName%TAB%mapflag%TAB%nochat 2.ok thx Edited January 1, 2012 by manabeast Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 1, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 1, 2012 MapName mapflag nochat this only disable the ChatRoom creation in the particular maps... it doenst block members within a party/guild to chatting..... Anyway..i found a solution for you to disable Chat within Players... try this scripts... - script Sample -1,{ OnPCLoadMapEvent: if( strcharinfo(3) == "mapname" && Manner >= 0 ){ sc_start SC_NOCHAT,-1,0; dispbottom "Chatting is Disabled within PVP Maps."; }else if( strcharinfo(3) != "mapname" && Manner >= 0 ){ sc_end SC_NOCHAT; set Manner 0; } end; } mapname mapflag loadevent Change the MapName to your PVP Map 1 Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 1, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 1, 2012 ok, there are many map this one just for one? i got little error here - script BlockKeeper -1,{ OnPCLoadMapEvent: if( strcharinfo(3) == "mapname" && Manner >= 0 ){ sc_start SC_NOCHAT,-1,0; dispbottom "Chatting is Disabled within PVP Maps."; }else if( strcharinfo(3) != "mapname" && Manner >= 0 ){ sc_end SC_NOCHAT; set Manner 0; } end; } pvp_y_1-1 mapflag loadevent pvp_y_1-4 mapflag loadevent pvp_y_1-2 mapflag loadevent pvp_y_1-3 mapflag loadevent pvp_y_1-5 mapflag loadevent pvp_y_2-1 mapflag loadevent pvp_y_2-4 mapflag loadevent pvp_y_2-2 mapflag loadevent pvp_y_2-3 mapflag loadevent pvp_y_2-5 mapflag loadevent pvp_y_3-1 mapflag loadevent pvp_y_3-4 mapflag loadevent pvp_y_3-2 mapflag loadevent pvp_y_3-3 mapflag loadevent pvp_y_3-5 mapflag loadevent pvp_y_4-1 mapflag loadevent pvp_y_4-4 mapflag loadevent pvp_y_4-2 mapflag loadevent pvp_y_4-3 mapflag loadevent pvp_y_4-5 mapflag loadevent pvp_y_5-1 mapflag loadevent pvp_y_5-4 mapflag loadevent pvp_y_5-2 mapflag loadevent pvp_y_5-3 mapflag loadevent pvp_y_5-5 mapflag loadevent pvp_y_6-1 mapflag loadevent pvp_y_6-4 mapflag loadevent pvp_y_6-2 mapflag loadevent pvp_y_6-3 mapflag loadevent pvp_y_6-5 mapflag loadevent pvp_y_7-1 mapflag loadevent pvp_y_7-4 mapflag loadevent pvp_y_7-2 mapflag loadevent pvp_y_7-3 mapflag loadevent pvp_y_7-5 mapflag loadevent someone post another one too @@" http://rathena.org/b...r-chris-pvpgvg/ upload image Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 1, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 1, 2012 Ops... should be this set Manner,0; for multi map...erm..you can try this - script Sample -1,{ OnPCLoadMapEvent: for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){ if( strcharinfo(3) == .Map$[.@i] && Manner >= 0 ){ sc_start SC_NOCHAT,-1,0; dispbottom "Chatting is Disabled within PVP Maps."; end; } } if( Manner >= 0 ){ sc_end SC_NOCHAT; set Manner,0; } end; OnInit: setarray .Map$[0],"prontera","payon","alberta","aldebaran"; for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ) setmapflag .Map$[.@i],mf_loadevent; end; } Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 1, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 1, 2012 here, there error. Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 1, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 1, 2012 ..just wondering....you dont even know how to solve a simple typo error ??? change setarray .Map$]0],"prontera","payon","alberta","aldebaran"; into this setarray .Map$[0],"prontera","payon","alberta","aldebaran"; 1 Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 1, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 1, 2012 3% on scripting - -" i dunno script or script anything..... i doing server alot thing do myself. -.-" i just can request help. in my reality dun have scriptor friend. i been spending too long for server. think>plan>pay script>learn some simple thing>move npc>test script>add custom item>add custom mob>request help like that. can say most of the time work until AM very late. now starting feel wan give up. but will move til the end zz. too many thing want do myself. my head almost blow up. if can i wan reduce some burden try to avoid some part >.<" now have two method on disable chat - -" which one i should use? script or source? Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 1, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 1, 2012 That doesnt even need any scripting skills.....just find the typo...beside the typo has been "shown" in the map server using quotation marks..... now have two method on disable chat - -" which one i should use? script or source? it is depend on you.... Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 1, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 1, 2012 zzzzz i try not working. i think i use the source one. Quote Link to comment Share on other sites More sharing options...
llchrisll Posted January 4, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted January 4, 2012 (edited) @chris creation@ http://rathena.org/b...-v10-1219-2011/ 1.anyone know how to disable party on Deathmatch PvP? mean player if party cannot go in there if go in will warp out if have party. Hmm you didn't asked for that in my topic, but I added the Mapflag for that already. By default the scripts doesn't read that mapflag: // Use this if you disallows parties // for ( set .@mf,0; .@mf < getarraysize($@pvp_mf); set .@mf,.@mf + 1 ) { // Use this if you allow parties for ( set .@mf,0; .@mf < (getarraysize($@pvp_mf) - 1); set .@mf,.@mf + 1 ) { Unncomment the first "for..." and comment the second "for..." So like this // Use this if you disallows parties for ( set .@mf,0; .@mf < getarraysize($@pvp_mf); set .@mf,.@mf + 1 ) { // Use this if you allow parties // for ( set .@mf,0; .@mf < (getarraysize($@pvp_mf) - 1); set .@mf,.@mf + 1 ) { This is used for every PvP Type, just search the one you want so in this case it starts at line 768. - script Sample -1,{ OnPCLoadMapEvent: for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){ if( strcharinfo(3) == .Map$[.@i] && Manner >= 0 ){ sc_start SC_NOCHAT,-1,0; dispbottom "Chatting is Disabled within PVP Maps."; end; } } if( Manner >= 0 ){ sc_end SC_NOCHAT; set Manner,0; } end; OnInit: setarray .Map$[0],"prontera","payon","alberta","aldebaran"; for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ) setmapflag .Map$[.@i],mf_loadevent; end; } For this you can use the array of my maps, no need to create a another array, they are server temporar variables btw. Just exchange the name with mine ^^. Another case would be if only want specified maps, then you'll have to use Emistry's script. Another option would be that I add it to my script, if Emistry allows it ^^. Regards, Chris Edited January 4, 2012 by llchrisll 1 Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 4, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 4, 2012 (edited) @chris thx. no wonder can't . that one is for disable party --", i thought disable nochat inside pvp. ok, i try make a party go in. the party name gone in my name. but when i open alt+H i can still view party in my list @@" i try type /leave and /organize partyname. the party is recreate Edited January 4, 2012 by manabeast Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 5, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 5, 2012 add the party lock mapflag try this mapname mapflag partylock this will prevent them from modifying any things related with Party... Another option would be that I add it to my script, if Emistry allows it ^^. well..if the script work just fine...i am okay with it...... 1 Quote Link to comment Share on other sites More sharing options...
Question
manabeast
@chris creation@
http://rathena.org/b...-v10-1219-2011/
1.anyone know how to disable party on Deathmatch PvP? mean player if party cannot go in there if go in will warp out if have party.
2.how to disable chat in pvp area? just can chat in party/guild?
Link to comment
Share on other sites
15 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.