Pneuma Posted March 20, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 846 Reputation: 138 Joined: 02/26/14 Last Seen: March 7, 2018 Share Posted March 20, 2012 1st: How do I make it so an NPC is activated every other day and activated 3 times for each day its activated? 2nd: How do I make it so all buffs are taken off on a map?(Player is warped to the map and debuffed) 3rd: How do I make it so no matter what a players stats or cards are, they can still be effected to status effects on a map caused by a script? Please and thank you :3 If you would like to know exactly what I need this all for, its for my fishing script~ Quote Link to comment Share on other sites More sharing options...
ngek202 Posted March 20, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted March 20, 2012 (edited) 2nd. OnPCLoadMapEvent: getmapxy(.@map$, .@x, .@y, 0); if (.@map$ = "map") {} sc_end SC_ALL; end; Edited March 20, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
Nameless2you Posted March 20, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 351 Reputation: 52 Joined: 11/15/11 Last Seen: June 15, 2015 Share Posted March 20, 2012 Don't use sc_end sc_all that also removes overweight and other status effect.. Quote Link to comment Share on other sites More sharing options...
ngek202 Posted March 20, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted March 20, 2012 (edited) removes overweight really but how come mine is not, Overweight Status still stays. Edited March 20, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 23 hours ago Share Posted March 20, 2012 1st: OnClock0000: OnClock0300: OnClock0600: etc.... 2nd: yes..it is true that sc_end all are not suggested...it might removed your jailed status, cash food status , mute status, etc... use a loop to loop through every buff and check if it is a jail / mute /cash food status ...if yes the skip those status..while remove the rest... 3rd: list all the card that can prevent the status change in the db/item_noequip.txt then all this card will be unable to use in the map after the mapflag is applied. Quote Link to comment Share on other sites More sharing options...
Pneuma Posted March 20, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 846 Reputation: 138 Joined: 02/26/14 Last Seen: March 7, 2018 Author Share Posted March 20, 2012 Thanks emistry but..How do I make it 1st every other day? I want it to be like... Monday, Wednesday, Friday are the only days the event is activated Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 23 hours ago Share Posted March 20, 2012 Thanks emistry but..How do I make it 1st every other day? I want it to be like... Monday, Wednesday, Friday are the only days the event is activated there is alot way to do so.... here is 1 of the way. On<weekday><hou<minute>: This will execute when the server clock hits the specified date or time. Hours and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31. Remember the zero. beside..you can also use this way..check for what day it is then only check for time to run event.. Quote Link to comment Share on other sites More sharing options...
Pneuma Posted March 20, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 846 Reputation: 138 Joined: 02/26/14 Last Seen: March 7, 2018 Author Share Posted March 20, 2012 So...I would make it OnMon so and so forth? Please give me an example of how to start Monday, at midnight Quote Link to comment Share on other sites More sharing options...
Question
Pneuma
1st: How do I make it so an NPC is activated every other day and activated 3 times for each day its activated?
2nd: How do I make it so all buffs are taken off on a map?(Player is warped to the map and debuffed)
3rd: How do I make it so no matter what a players stats or cards are, they can still be effected to status effects on a map caused by a script?
Please and thank you :3 If you would like to know exactly what I need this all for, its for my fishing script~
Link to comment
Share on other sites
7 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.