Legend Posted February 15, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 04/04/17 Last Seen: August 31, 2023 Share Posted February 15, 2023 Hi guys ! can anyone help me ? I would like to use the command @reloadscript not reload on monsters and Mvps. Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted February 15, 2023 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 5 hours ago Share Posted February 15, 2023 10 minutes ago, Legend said: Hi guys ! can anyone help me ? I would like to use the command @reloadscript not reload on monsters and Mvps. have u tried @reloadmobdb ? Quote Link to comment Share on other sites More sharing options...
0 Tokei Posted February 15, 2023 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 721 Joined: 11/12/12 Last Seen: Friday at 10:37 PM Share Posted February 15, 2023 (edited) 12 minutes ago, Legend said: Hi guys ! can anyone help me ? I would like to use the command @reloadscript not reload on monsters and Mvps. That's problematic because the mobs are loaded from script files. If you reload a script without removing the mobs prior, you'll end up with twice as many mobs on the map (and it will keep increasing if you reload the file again). Also, you might want to get away from using @reloadscript as a whole. That command is only really useful to reload mobs... Instead, I'd recommend looking into "@reloadnpcfile npc/custom/test.txt". It will unload and reload only a specific file without having to reload your whole server scripts. It's much faster and efficient. Edited February 15, 2023 by Tokei Quote Link to comment Share on other sites More sharing options...
0 Legend Posted February 15, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 04/04/17 Last Seen: August 31, 2023 Author Share Posted February 15, 2023 On 2/16/2023 at 3:26 AM, Tokei said: That's problematic because the mobs are loaded from script files. If you reload a script without removing the mobs prior, you'll end up with twice as many mobs on the map (and it will keep increasing if you reload the file again). Also, you might want to get away from using @reloadscript as a whole. That command is only really useful to reload mobs... Instead, I'd recommend looking into "@reloadnpcfile npc/custom/test.txt". It will unload and reload only a specific file without having to reload your whole server scripts. It's much faster and efficient. I already had this function on another server, but Do not remember how I changed.. When reloading did not affect the mobs folder, the only way to reload in the mobs was if it restarted the server, other than that , the mobs continued following their automatic respaw On 2/16/2023 at 3:25 AM, Chaos92 said: have u tried @reloadmobdb ? I do not want to reload in the mob folder, I want to reload on all npcs except in the mob someone help me please Quote Link to comment Share on other sites More sharing options...
0 Zeref-X Posted February 27, 2023 Group: Members Topic Count: 5 Topics Per Day: 0.01 Content Count: 25 Reputation: 17 Joined: 11/08/22 Last Seen: Thursday at 12:12 PM Share Posted February 27, 2023 This is SRC modification. Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted February 27, 2023 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 13 hours ago Share Posted February 27, 2023 (edited) Are you want reload custom script, if yes try this script Spoiler //===== rAthena/Hercules Script ======================================= //= Single NPC reloader //===== By: ================================================== //= luizragna //===== Current Version: ===================================== //= 1.0 //===== Description: ========================================= //= Use @r <npc_name> //= To reload a single npc //= Sample-1: //= to reload npc/custom/jobmaster.txt //= use @r jobmaster //= Sample-2: //= to reload npc/custom/events/poring_race.txt //= use @r events/poring_race //===== Additional Comments: ================================= //= 1.0 First release. //============================================================ - script Reloader#OP FAKE_NPC,{ OnInit: bindatcmd "r",strnpcinfo(3)+"::OnAtcommandReload",99; end; OnAtcommandReload: if (.@atcmd_parameters$[0] == "") { message(strcharinfo(PC_NAME), "Por favor, digite o nome do NPC!"); end; } atcommand "@unloadnpcfile npc/custom/"+.@atcmd_parameters$[0]+".txt"; sleep2 100; atcommand "@loadnpc npc/custom/"+.@atcmd_parameters$[0]+".txt"; } Edited February 27, 2023 by hendra814 Quote Link to comment Share on other sites More sharing options...
0 Zeref-X Posted February 27, 2023 Group: Members Topic Count: 5 Topics Per Day: 0.01 Content Count: 25 Reputation: 17 Joined: 11/08/22 Last Seen: Thursday at 12:12 PM Share Posted February 27, 2023 @Shakto has this mods. try this https://ronovelty.com/product/mvp-spawn-server-restart/ Quote Link to comment Share on other sites More sharing options...
Question
Legend
Hi guys ! can anyone help me ? I would like to use the command @reloadscript not reload on monsters and Mvps.
Link to comment
Share on other sites
6 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.