Jezu Posted January 8, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Share Posted January 8, 2012 (edited) Is there anyone here have a script like this? I have a server which is running with 3rd class. How to do this thing? WOE Trans Only No Yggberry No MVP / Mini Cards Thanks in advance guys.. Edited January 8, 2012 by Jezu Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 01:10 PM Share Posted January 8, 2012 WOE Trans Only try this - script Sample -1,{ OnPCLoadMapEvent: if( Upper > 3 && getmapflag( strcharinfo(3),"mf_gvg_castle" ) ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; } end; } prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent For Disable Item... you can try this scripts.... Original Posts : Link Banned Items [ Version 1 ] Changelog : [ Version 1 ] - Disallow players to bring Certains Items into Certains Map. Scripts : View ♥ Download Well, i made this awhile ago...just dunno whether it is useful or not.... it is a "Double Edged" Script xD what i refer here was : Pros and Cons...... Pros.... The Pros is that you can disable alot items from certain maps. either you can limit how many they can bring overall of all items or disallow them from bring it into these maps...and this will apply to all maps you have listed inside the Map Lists Configuration there... Cons..... The Pros is that...i using a Timer Countdown...which keep checking these players who are inside that map....the Timer Countdown will keep apply the timer and check for those players until they are out from the maps...and i heard that applying massive timer script on to the server might slow down the server , so it is not suggested for those server with high popularity...... All the Items you listed inside the script ...appoximately 128 Items max.. will be assumed as Banned Items for those maps.. Once the players bring a certain limit of Banned Items into that maps...once the items amount has reach the limit...it will warp the players out from the maps. and...it count the Amount Overall...... Which mean, if i limit the Banned Items allowed here by 10 , so players cant bring more than 10 items total of the items listed inside the scripts. if i limit the Banned Items allowed here by 0 , so players wont be able to bring any items listed inside the scripts since you didnt allow them bring any... For Example : Item Limit : 10 Item Lists : Red Potion , Yellow Potion , Yggdrasilberry Map Lists : guild_vs1,prontera,payon When a players is warped into the Map Listed in script ( guild_vs1 / prontera ) , the script will immediately check for the items players have, if player's ( Red Potion + Yellow Potion + Yggdrasilberry ) Total Amount is more than Item Limit ( 10 here ) the players will be warped Out from the Maps. Quote Link to comment Share on other sites More sharing options...
nobukadnezar Posted January 8, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Share Posted January 8, 2012 prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent Is that mean only for that map 3rd class cannot enter? but i checked go to aldebaran castle and still forbid 3rd class. How to make restriction only apply for prontera guild? Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 01:10 PM Share Posted January 8, 2012 try this - script Sample -1,{ OnPCLoadMapEvent: if( Upper > 3 && compare( strcharinfo(3),"prtg_cas" ) ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; } end; } prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent Quote Link to comment Share on other sites More sharing options...
nobukadnezar Posted January 8, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Share Posted January 8, 2012 It work's. Many thanks. Quote Link to comment Share on other sites More sharing options...
Jezu Posted January 8, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted January 8, 2012 @Emistry Oh, thanks a lot.. imma try this now on my server... great script with restrictions for banned items such us cards, consumables, etc... Again, Thanks Mr. Emistry. Best regards Quote Link to comment Share on other sites More sharing options...
Jezu Posted January 15, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted January 15, 2012 (edited) try this - script Sample -1,{ OnPCLoadMapEvent: if( Upper > 3 && compare( strcharinfo(3),"prtg_cas" ) ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; } end; } prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent Just want to confirm if I want different maps like aldeg_cas, payg_cas or gefg_cas.. is this script of yours works with like this.. the line with if( Upper > 3 && compare( strcharinfo(3),"prtg_cas" ,"aldeg_cas","payg_cas") ){ - script Sample -1,{ OnPCLoadMapEvent: if( Upper > 3 && compare( strcharinfo(3),"prtg_cas" ,"aldeg_cas","payg_cas") ){ dispbottom "You are not Allow to Join Trans WOE."; close2; warp "SavePoint",0,0; } end; } //prontera prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent //aldebaran aldeg_cas01 mapflag loadevent aldeg_cas02 mapflag loadevent aldeg_cas03 mapflag loadevent aldeg_cas04 mapflag loadevent aldeg_cas05 mapflag loadevent //payon payg_cas01 mapflag loadevent payg_cas02 mapflag loadevent payg_cas03 mapflag loadevent payg_cas04 mapflag loadevent payg_cas05 mapflag loadevent EDIT2: Error on LINE 3. What is the error about? I receive error in line 3 with missing ')' Edited January 15, 2012 by Jezu Quote Link to comment Share on other sites More sharing options...
Jezu Posted January 15, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted January 15, 2012 (edited) @Bump Does anyone know how to do this?? Thank you! EDIT2: Ok done, I fix it by searching to other forums and solved it by myself XD! Here it is.. - script TransWoE -1,{ OnInit: set .maps$[0],"aldeg_cas01"; set .maps$[1],"payg_cas01"; set .maps$[2],"gefg_cas02"; end; OnPCLoadMapEVent: for(set .@,0; .@i < getarraysize(.maps$); set .@i,.@i+1) { if(strcharinfo(3) == .maps$[.@i]) { if(Class >= 4054 && Class <= 4085 || Class >= 4096 && Class <= 4108) { dispbottom "3rd Jobs are not allowed in this map only 1st 2nd & Transcendent Job is allowed to enter"; warp "SavePoint",0,0; end; } } } } //woe trans map MAPFLAGS aldeg_cas01 mapflag loadevent payg_cas01 mapflag loadevent gefg_cas02 mapflag loadevent aldeg_cas01 mapflag restricted 1 payg_cas01 mapflag restricted 1 gefg_cas02 mapflag restricted 1 This script will only allow transcendent jobs and kick all third class when using Emergency Call with third class on your guild. Add more maps? Then add on this line set .maps$[0],"aldeg_cas01"; set .maps$[1],"payg_cas01"; set .maps$[2],"gefg_cas02"; If I want to add aldeg_cas02 then... set .maps$[3],"aldeg_cas02"; Edited January 15, 2012 by Jezu Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted January 15, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: April 4 Share Posted January 15, 2012 Hi! Try this.. This is working fine for me.. - script EX -1,{ OnPCLoadMapEvent: if( Upper > 3 && compare( strcharinfo(3),"prtg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } else if( Upper > 3 && compare( strcharinfo(3),"aldeg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } else if( Upper > 3 && compare( strcharinfo(3),"payg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } } //prontera prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent //aldebaran aldeg_cas01 mapflag loadevent aldeg_cas02 mapflag loadevent aldeg_cas03 mapflag loadevent aldeg_cas04 mapflag loadevent aldeg_cas05 mapflag loadevent //payon payg_cas01 mapflag loadevent payg_cas02 mapflag loadevent payg_cas03 mapflag loadevent payg_cas04 mapflag loadevent payg_cas05 mapflag loadevent Quote Link to comment Share on other sites More sharing options...
Jezu Posted January 15, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted January 15, 2012 Hi! Try this.. This is working fine for me.. - script EX -1,{ OnPCLoadMapEvent: if( Upper > 3 && compare( strcharinfo(3),"prtg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } else if( Upper > 3 && compare( strcharinfo(3),"aldeg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } else if( Upper > 3 && compare( strcharinfo(3),"payg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } } //prontera prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent //aldebaran aldeg_cas01 mapflag loadevent aldeg_cas02 mapflag loadevent aldeg_cas03 mapflag loadevent aldeg_cas04 mapflag loadevent aldeg_cas05 mapflag loadevent //payon payg_cas01 mapflag loadevent payg_cas02 mapflag loadevent payg_cas03 mapflag loadevent payg_cas04 mapflag loadevent payg_cas05 mapflag loadevent Yeah, but I want different maps such as aldeg_cas01, gefg_cas04, payg_cas02 like that... anyway, I solved it now. Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 16, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 01:10 PM Share Posted January 16, 2012 i think this should be able to work.. - script EX -1,{ OnPCLoadMapEvent: if( Upper > 3 ){ if( compare( strcharinfo(3),"prtg_cas") || compare( strcharinfo(3),"gefg_cas") || compare( strcharinfo(3),"payg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } } end; } anyway...if you are going to use this on all WOE Map...then you can use a simple method.... compare( strcharinfo(3),"g_cas") because all guild castle map name also consist of g_cas words within the name.... Quote Link to comment Share on other sites More sharing options...
Jezu Posted January 16, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted January 16, 2012 i think this should be able to work.. - script EX -1,{ OnPCLoadMapEvent: if( Upper > 3 ){ if( compare( strcharinfo(3),"prtg_cas") || compare( strcharinfo(3),"gefg_cas") || compare( strcharinfo(3),"payg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } } end; } anyway...if you are going to use this on all WOE Map...then you can use a simple method.... compare( strcharinfo(3),"g_cas") because all guild castle map name also consist of g_cas words within the name.... ok sure.. i will try this now.. anyway, maybe I should change the warp to prontera to SavePoint so third class will be warp to their respective savepoint. warp "SavePoint",0,0; Quote Link to comment Share on other sites More sharing options...
NeoGenesis Posted March 5, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 120 Reputation: 0 Joined: 01/03/12 Last Seen: August 26, 2017 Share Posted March 5, 2012 for baby woe have ? Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 6, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 01:10 PM Share Posted March 6, 2012 for baby woe have ? change if( Upper > 3 ){ to if( Upper != 2 && Upper != 6 ){ or you can try this.. Class Restriction Quote Link to comment Share on other sites More sharing options...
Question
Jezu
Is there anyone here have a script like this? I have a server which is running with 3rd class. How to do this thing?
WOE Trans Only
No Yggberry
No MVP / Mini Cards
Thanks in advance guys..
Edited by JezuLink to comment
Share on other sites
13 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.