1

Topic: [Help] Getting teeworlds server directory

Uhm, sorry to bother you once again, but I need some more help smile
Working on an open-source lvl mod with account system, and I need to get the servers folder in order to save the accounts there. Is there any method for that?
Thanks in advance,
Ikaron smile

2

Re: [Help] Getting teeworlds server directory

I would recommend use of some variable in variables.h (with "./" as default value). - If I start my servers I do so over some startup-script where I can specify the current workdir. So in my case it would be "./" - If I would start it with an absolute path it may differ. With a variable in variables.h everybody can specify the directory via config file himself.

Greetings,
Mo(2)

3

Re: [Help] Getting teeworlds server directory

Thanks for the ./ trick smile
I wont use variables.h, it takes too long for that small purpose smile