ViewtifulNinja Posted July 20, 2018 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 35 Reputation: 1 Joined: 06/30/17 Last Seen: November 21, 2024 Share Posted July 20, 2018 How do I put in a NPC script a command that calls the mob_count_rate configuration of the conf\battle\monster.conf file? I want in a given game event, the mob_count_rate setting to increase from 100 to 150. Quote Link to comment Share on other sites More sharing options...
0 Psy Ops Posted November 17, 2018 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 70 Reputation: 0 Joined: 06/19/18 Last Seen: January 24, 2023 Share Posted November 17, 2018 you will need to add a setbattleflag for it then just need to trigger the command @reloadscript or @reloadbattleconf. Not sure what would be best to use there since i am fairly new Quote Link to comment Share on other sites More sharing options...
0 n0tttt Posted November 18, 2018 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 303 Reputation: 118 Joined: 12/10/16 Last Seen: Saturday at 05:58 AM Share Posted November 18, 2018 Yes, as Psy said you have to do this: setbattleflag "mob_count_rate",150; But this topic is kinda old so he probably already got the answer. 1 Quote Link to comment Share on other sites More sharing options...
0 DragonHero Posted May 29, 2019 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 12/17/12 Last Seen: June 17, 2019 Share Posted May 29, 2019 Dont forget conf/battle/monster.conf if you simply want mobs 10x in all maps do mob_count_rate: 1000 instead of mob_count_rate: 100 Quote Link to comment Share on other sites More sharing options...
0 ViewtifulNinja Posted October 2, 2021 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 35 Reputation: 1 Joined: 06/30/17 Last Seen: November 21, 2024 Author Share Posted October 2, 2021 (edited) On 11/18/2018 at 5:34 PM, n0tttt said: Yes, as Psy said you have to do this: setbattleflag "mob_count_rate",150; But this topic is kinda old so he probably already got the answer. So I didn't get what I wanted, even though the years had gone by. I went back to working on my server, and I did it as follows: - script DaynNight -1,{ OnInit: if(gettime(3) >= 18 || gettime(3) < 6){night;} else {day;} end; OnClock0600: day; setbattleflag "mob_count_rate",100; end; OnClock1800: night; setbattleflag "mob_count_rate",150; end; } But it doesn't work, whichever way I put it. I've tried it in different ways. If possible and they can help me... Edited October 2, 2021 by ViewtifulNinja Quote Link to comment Share on other sites More sharing options...
0 Skorm Posted October 4, 2021 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: 2 hours ago Share Posted October 4, 2021 @ViewtifulNinja Good to see you're back at it have you tried like reloading mobs after setting the value just to see if there is a change? Quote Link to comment Share on other sites More sharing options...
0 ViewtifulNinja Posted October 4, 2021 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 35 Reputation: 1 Joined: 06/30/17 Last Seen: November 21, 2024 Author Share Posted October 4, 2021 (edited) Thank you, @Skorm. How do I do this reloading? What would the command be? Edited October 4, 2021 by ViewtifulNinja Quote Link to comment Share on other sites More sharing options...
0 Skorm Posted October 8, 2021 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: 2 hours ago Share Posted October 8, 2021 @reloadmobdb something like that I can't exactly remember if that refreshes the mobs on a map though. 1 Quote Link to comment Share on other sites More sharing options...
Question
ViewtifulNinja
How do I put in a NPC script a command that calls the mob_count_rate configuration of the conf\battle\monster.conf file?
I want in a given game event, the mob_count_rate setting to increase from 100 to 150.
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.