Issue Information
-
#005886
-
2 - Fair
-
Confirmed
Issue Confirmations
-
Yes (1)No (0)
Originally posted by saithis
In npc.c the instances get now destroyed after @reloadscript, and a line after that it tries to reinitialize them:
Also some scripts supported reinitialization after @reloadscript, this scripts are now broken.
For example my ET script just restarted the last stage they were on.
So wouldn't it be better to rewrite the instance scripts to support reinitialization instead of removing this feature for all scripts?
In npc.c the instances get now destroyed after @reloadscript, and a line after that it tries to reinitialize them:
do_final_instance(); for( i = 0; i < ARRAYLENGTH(instance); ++i ) instance_init(instance[i].instance_id);
Also some scripts supported reinitialization after @reloadscript, this scripts are now broken.
For example my ET script just restarted the last stage they were on.
So wouldn't it be better to rewrite the instance scripts to support reinitialization instead of removing this feature for all scripts?
Originally posted by Ind
thank you for the suggestion -- the bug tracker isn't for suggestions though. but i wrote a topic for you here :3 http://rathena.org/b...o-reloadscript/ (i believe this doesn't count as a bug report because the official instance scripts rathena provides all break in reloadscript)
thank you for the suggestion -- the bug tracker isn't for suggestions though. but i wrote a topic for you here :3 http://rathena.org/b...o-reloadscript/ (i believe this doesn't count as a bug report because the official instance scripts rathena provides all break in reloadscript)
Originally posted by saithis
i tought is is a bug, because the new code tries to reinitialize the instance, after destroying it
maybe it doesn't break the code(didn't test what happens there), but it's definitelly not the right thing^^
But thanks for making the suggestion topic
i tought is is a bug, because the new code tries to reinitialize the instance, after destroying it
maybe it doesn't break the code(didn't test what happens there), but it's definitelly not the right thing^^
But thanks for making the suggestion topic
Originally posted by Ind
whops sorry you're right.
whops sorry you're right.