Jump to content

Milchdealer

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Milchdealer

  1. Doing some tests and might write up a plugin. Names are not yet parsed into the memory DB, as far as I can see struct quest_db { int id; unsigned int time; int objectives_count; struct quest_objective *objectives; int dropitem_count; struct quest_dropitem *dropitem; //char name[NAME_LENGTH];}; As such I'm not sure you can read them and maybe that's better, as we don't actually need them server side and they would take up lots of space:
  2. So I've been seeing many "// FIXME hardcoded name" as I've been delving around the code (especially since the conf system wasn't around last time I was here). Is there any idea how this could be done? I've been thinking with a conf file itself, that would then need to be hardcoded but all the files it refers to could just come and go as the user pleases. I scrapped out some suggestion, but when I started playing around with it in the code something felt odd about it. Another thing that I couldn't settle on was when to actually load those settings, partly because the interfaces haven't been around last time I was here and partly because conf.c, where I planned it, is loaded quite early and things like RENEWAL are not defined there, yet. I attached my tentative databases.conf file and am open for many suggestions, if the devs also feel this should be addressed. databases.txt
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.