Quote: |
i was able to bypass the strcasestr by copying the entire function over |
Cheese wrote: |
simple question:
how do i add my settings to the ?quickfix list? |
Cheese wrote: |
how does cfghelp work? |
Cheese wrote: |
how does it find the values? |
Cheese wrote: |
does it read the /* comments */? |
Cheese wrote: |
why do you reference the handle pointer? |
Quote: |
why do you reference the handle pointer? |
Quote: |
I don't know what you mean by handle |
Quote: |
only downside to this is the final server guy (you) has to pick what they want and manually add them into the final core |
Hakaku wrote: |
If ASSS is truly designed to be modular, then forcing someone to recompile the entire core for every such addition is unacceptable. |
Arnk Kilo Dylie wrote: |
[..]
Furthermore, this is perfectly acceptable. |
Arnk Kilo Dylie wrote: |
Dead wrong. You only have to rerun extract-cfg-docs.py and rebuild cfghelp--one module. It just so happens the fastest way to do that is to run make. Furthermore, this is perfectly acceptable--I don't see how dynamic cfghelp would be any real help at all. The names of your settings do not change even weekly. If you have new settings that you absolutely want to see in ?quickfix (you're a weirdo for using this), then they can go in at the exact same time as everything else.
It seems to me some people have chosen some poor platforms and/or IDEs and/or combinations for asss in this thread and are now placing blame on Brain for their problems using something that isn't supported. (This I have surmised from the implication that rebuilding the core is not simple/fast/easy, no build/ folder, etc.) Not to mention the mind-boggling resistance to installing python... |
Cheese wrote: |
Having to recompile to add something new or every time you add a new module is unacceptable. |
Quote: |
Don't throw out messed up comments like implying you have to rebuild the entire core for one module, that was just silly and pretty frustrating to read. |
Cheese wrote: |
why is this considered better than copying the .set file over from the module folder you just downloaded into your /set directory, then typing ?quickfix :S |
Cheese wrote: |
but what are you going to do when they give you a closed source module? :\ |
Code: Show/Hide akd@decastar-2:~/code/zone-hzasss/src> rm ../build/cfghelp.* && make python ../scripts/extract-cfg-docs.py -c ../build/cfghelp.inc */*.c */*.py core/clientset.def gcc -std=gnu99 -pipe -I. -Iinclude -I../build -Iakd -Ihockey -Ihz -Imisc -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o ../build/cfghelp.o core/cfghelp.c . . |
Code: Show/Hide cfg_mods = cfghelp $(call tobuild, cfghelp.inc): $(builddir) $(SCRIPTS)/extract-cfg-docs.py $(PYTHON) $(SCRIPTS)/extract-cfg-docs.py -c $@ */*.c */*.py core/clientset.def $(eval $(call dl_template,cfg)) |
Dr Brain wrote: |
[..]
Replacing an automatic system with a manual one is never a good idea. Period. |
Dr Brain wrote: |
I'm sorry, the rest of us have to compile our modules as part of making them. I'm not sure how you're doing it, exactly. |
Quote: |
this was more difficult than it should have been, because both billing:groupid and billing:scoreid are both 0 by default for some reason, which causes the 'invalid login attempt' in subbill. |
Cheese wrote: |
something i would like more than anything is a win32 binary with full symbols
or at least just the functions PS: i cant build anything |
Code: Show/Hide debug := yes opt := no prof := no link_db_statically := no symlink_bins := yes have_bdb := yes have_mysql := yes have_python := yes ASSSHOME = .. BINDIR = $(ASSSHOME)/bin BUILDDIR = $(ASSSHOME)/build SCRIPTS = $(ASSSHOME)/scripts PYMOD_HEADERS = $(wildcard */*.h) INSTALL := install LN := ln PYTHON := python REALPATH := readlink -f DB_HOME = /usr DB_INC = $(DB_HOME)/include DB_LIB = $(DB_HOME)/lib DB_CFLAGS = -I$(DB_INC) ifneq ($(link_db_statically),yes) DB_LDFLAGS = -L$(DB_LIB) -Wl,-rpath,$(DB_LIB) -ldb-4 else DB_LDFLAGS = $(DB_LIB)/libdb.a endif MYSQL_HOME = /usr MYSQL_INC = /usr/include/mysql MYSQL_LIB = /usr/lib/mysql MYSQL_CFLAGS = -I$(MYSQL_INC) MYSQL_LDFLAGS = -L$(MYSQL_LIB) -Wl,-rpath,$(MYSQL_LIB) -lmysqlclient_r PYTHON_HOME = /usr PYTHON_VERSION = 2.6 PYTHON_INC = $(PYTHON_HOME)/include/python$(PYTHON_VERSION) PYTHON_LIB = $(PYTHON_HOME)/lib/python$(PYTHON_VERSION) PYTHON_CFLAGS = -I$(PYTHON_INC) PYTHON_LDFLAGS = -L$(PYTHON_LIB)/config -lpython$(PYTHON_VERSION) $(UTIL_LIB) -lm |