Page 1 of 1

Wizmode: Load from dump

PostPosted: Friday, 31st January 2014, 09:16
by Tedronai
Sometimes I want to run a quick fsim simulation and wizmode offers a command to load a character from a dump file (command &#). This would be quite useful for this purpose. However it recreates my character from the dump only partially (in the best case) or not at all.

Are there some hidden tricks in using this command or does it just not work properly?

Re: Wizmode: Load from dump

PostPosted: Friday, 31st January 2014, 12:21
by galehar
Yeah, it only loads stats and skills. It could be improved, but it requires text parsing which can be painful to write. Especially items. Other stuff (species, background, spells) could be added relatively easily. But that wouldn't help at all for the main application which is fsim. Only inventory loading would, but as I said, parsing item name doesn't sound fun.

Re: Wizmode: Load from dump

PostPosted: Friday, 31st January 2014, 12:42
by Tedronai
galehar wrote:Yeah, it only loads stats and skills. It could be improved, but it requires text parsing which can be painful to write. Especially items. Other stuff (species, background, spells) could be added relatively easily. But that wouldn't help at all for the main application which is fsim. Only inventory loading would, but as I said, parsing item name doesn't sound fun.

Which source files are relevant regarding this functionality? Maybe I'll give it a try, I kind of want this feature (at least for weapons).

Re: Wizmode: Load from dump

PostPosted: Friday, 31st January 2014, 13:37
by galehar
wiz-you.cc

Re: Wizmode: Load from dump

PostPosted: Friday, 31st January 2014, 13:38
by Tedronai
galehar wrote:wiz-you.cc

Thanks! Perhaps I'll cook something up over the course of the next few weeks :)