Samuel 83 Posted June 23, 2013 Is there a way to reload this config file? Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted June 23, 2013 maybe you can try @reloadatcommand Quote Share this post Link to post Share on other sites
0 Guest Axiom Posted June 23, 2013 @reloadatcommand works, yes. I actually wasn't aware of the command for a while myself. So far what I haven't verified are whether or not group restriction configs like no trade/mail/party apply when you use the command. Can anyone follow up on that? Quote Share this post Link to post Share on other sites
0 Mystery 594 Posted June 23, 2013 Is there a way to reload this config file? You can always check with the source: atcommand /*==========================================* @reloadatcommand - reloads conf/atcommand.conf conf/groups.conf*------------------------------------------*/void atcommand_doload();ACMD(reloadatcommand) { config_t run_test; if (conf_read_file(&run_test, "conf/groups.conf")) { clif->message(fd, msg_txt(1036)); // Error reading groups.conf, reload failed. return false; } config_destroy(&run_test); if (conf_read_file(&run_test, iMap->ATCOMMAND_CONF_FILENAME)) { clif->message(fd, msg_txt(1037)); // Error reading atcommand.conf, reload failed. return false; } config_destroy(&run_test); atcommand_doload(); pc_groups_reload(); clif->message(fd, msg_txt(254)); return true;} Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted June 23, 2013 thanks! forgot about that command xD Quote Share this post Link to post Share on other sites
Is there a way to reload this config file?
Share this post
Link to post
Share on other sites