Legend Posted February 15, 2023 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
0 Chaos92 Posted February 15, 2023 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
0 Tokei Posted February 15, 2023 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
0 Legend Posted February 15, 2023 Author 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
0 hendra814 Posted February 27, 2023 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
0 Zeref-X Posted February 27, 2023 Posted February 27, 2023 @Shakto has this mods. try this https://ronovelty.com/product/mvp-spawn-server-restart/ Quote
Question
Legend
Hi guys ! can anyone help me ? I would like to use the command @reloadscript not reload on monsters and Mvps.
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.