Talk:Scripts:ReadingClanmembers
I have tried this script add-on but the Python log shows that it can not find the members.cfg file. I have placed the members.cfg file in the same folder as the tk_punish script. Where exactly should it be placed in order for the script to find it?
I haven't tried it, but just from looking at the script I would say the file needs to be in the root Battlefield 2
directory--that's the "cwd
" directory for all BF2 Python code. If you want it somewhere else you'll need to change the filename in the "open
" statement; for example, if you want to put it in the same directory as tk_punish.py
, you'll need to change the line in the script with the open
statement to read
f=open('admin/standard_admin/members.cfg','r')
--Woody 10:41, 26 Jul 2005 (MDT)
Thanks - putting the members.cfg file in the root directory seems to have worked.