This is command line application writed in C for linux os. Can be use to get actual server status (online/offline) or create server status log (future). Application show almost all information about server, like server name, module name, players count etc. Moust current version (source) and demo web site with few php scripts: http://nsol.eu.org/~fallen/c.nwnserwinfo/
to
/* #include
#include
#include
#include */
#include "/usr/include/stdlib.h"
...
but i got tons of errors, like:
nwinfo.c:25: parse error before `*'
nwinfo.c:28: parse error before `*'
nwinfo.c:29: parse error before `*'
nwinfo.c:30: parse error before `*'
nwinfo.c: In function `main':
nwinfo.c:84: storage size of `caddr' isn't known
nwinfo.c:85: storage size of `saddr' isn't known
nwinfo.c:86: `FILE' undeclared (first use in this function)
nwinfo.c:86: (Each undeclared identifier is reported only once
nwinfo.c:86: for each function it appears in.)
...
...
i feel so newbie... ;)
Posted by fallen79 at 2004-08-06 05:47:00 Voted 10.00 on 10/05/04
GCC can't find .h files. Check where you have this files and correct head of source file (#include or #include "/usr/include/stdlib.h" and rest)
Greets
Posted by Anonymous ( 62.48.xxx.xxx ) at 2004-08-05 21:19:00
# gcc nwinfo.c -o nwinfo
nwinfo.c:6: `#include' expects "FILENAME" or
nwinfo.c:7: `#include' expects "FILENAME" or
nwinfo.c:8: `#include' expects "FILENAME" or
nwinfo.c:9: `#include' expects "FILENAME" or
nwinfo.c:10: `#include' expects "FILENAME" or
where a i wrong? (debian woody)
Posted by fallen79 at 2004-07-28 12:34:00 Voted 10.00 on 10/05/04
I have slow problems with UDP protocol - program was wait for packets when serwer was down.
In version 2.0 program will be able to create server status log (file named: MONTH-YEAR-IP.log)