#!/bin/csh
set binpath = /home/damien/FFTacticsMUD/bin
set port = 1987
cd $binpath
if ( -e shutdown.txt ) rm -f shutdown.txt
while(1)
set index = 1000
while(1)
set logfile = ../log/$index.log
if( ! -e $logfile ) break
@ index++
end
./FFTacticsMUD_exe $port >&! $logfile
if ( -e shutdown.txt ) then
rm -f shutdown.txt
exit 0
endif
sleep 5
end
admin.cpp:426: error: 'file' was not declared in this scope
admin.cpp:427: warning: deprecated conversion from string constant to 'char*'
admin.cpp:428: error: 'ostrstream' was not declared in this scope
admin.cpp:428: error: expected `;' before 'ost'
admin.cpp:429: error: 'ost' was not declared in this scope
admin.cpp:429: error: 'ends' was not declared in this scope
admin.cpp:436: error: 'class CH' has no member named 'name'
admin.cpp:440: error: invalid conversion from 'const char*' to 'int'
admin.cpp:440: error: initializing argument 1 of 'bool DESC::write(int)'
admin.cpp:445: error: 'file' was not declared in this scope
admin.cpp:445: error: 'class CH' has no member named 'name'
admin.cpp:445: error: 'class DESC' has no member named 'host'
admin.cpp:445: error: 'endl' was not declared in this scope
admin.cpp:450: error: 'file' was not declared in this scope
admin.cpp:450: error: 'endl' was not declared in this scope
admin.cpp:453: error: 'ostrstream' was not declared in this scope
admin.cpp:453: error: expected `;' before 'ost_port'
admin.cpp:454: error: 'ost_port' was not declared in this scope
admin.cpp:454: error: 'ends' was not declared in this scope
admin.cpp:455: error: 'ost_control' was not declared in this scope
admin.cpp:458: warning: deprecated conversion from string constant to 'char*'
admin.cpp: In function 'void copyover_recover()':
admin.cpp:463: error: 'string' was not declared in this scope
admin.cpp:463: error: expected `;' before 'name'
admin.cpp:465: error: invalid conversion from 'const char*' to 'int'
admin.cpp:465: error: initializing argument 1 of 'void log_string(int)'
admin.cpp:466: error: 'ifstream' was not declared in this scope
admin.cpp:466: error: expected `;' before 'file'
admin.cpp:468: error: 'file' was not declared in this scope
admin.cpp:470: error: invalid conversion from 'const char*' to 'int'
admin.cpp:470: error: initializing argument 1 of 'void log_string(int)'
admin.cpp:471: error: 'exit' was not declared in this scope
admin.cpp:475: error: 'file' was not declared in this scope
admin.cpp:475: error: 'name' was not declared in this scope
admin.cpp:475: error: 'host' was not declared in this scope
admin.cpp:480: error: invalid conversion from 'const char*' to 'int'
admin.cpp:480: error: initializing argument 2 of 'bool write_to_desc(short int , int)'
admin.cpp:487: error: 'class DESC' has no member named 'host'
admin.cpp:491: error: invalid conversion from 'const char*' to 'int'
admin.cpp:491: error: initializing argument 1 of 'bool DESC::write(int)'
admin.cpp:495: error: invalid conversion from 'const char*' to 'int'
admin.cpp:495: error: initializing argument 1 of 'bool DESC::write(int)'
admin.cpp:496: warning: deprecated conversion from string constant to 'char*'
admin.cpp:501: error: 'class CH' has no member named 'socket'
admin.cpp:502: error: 'class CH' has no member named 'login'
admin.cpp:502: error: 'str_time' was not declared in this scope
admin.cpp:507: error: 'file' was not declared in this scope
admin.cpp:508: error: invalid conversion from 'const char*' to 'int'
admin.cpp:508: error: initializing argument 1 of 'void log_string(int)'
admin.cpp: At global scope:
admin.cpp:512: error: 'string' has not been declared
admin.cpp:512: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_finger(CH*, int)':
admin.cpp:512: error: default argument given for parameter 2 of 'void do_finger( CH*, int)'
commands.h:82: error: after previous specification in 'void do_finger(CH*, int)'
admin.cpp: In function 'void do_finger(CH*, int)':
admin.cpp:516: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:517: warning: deprecated conversion from string constant to 'char*'
admin.cpp:526: error: 'ostrstream' was not declared in this scope
admin.cpp:526: error: expected `;' before 'ost'
admin.cpp:527: error: 'ost' was not declared in this scope
admin.cpp:527: error: 'ends' was not declared in this scope
admin.cpp:538: error: invalid operands of types 'const char*' and 'const char [1 4]' to binary 'operator+'
admin.cpp: At global scope:
admin.cpp:545: error: 'string' has not been declared
admin.cpp:545: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_tell(CH*, int)':
admin.cpp:545: error: default argument given for parameter 2 of 'void do_tell(CH *, int)'
commands.h:39: error: after previous specification in 'void do_tell(CH*, int)'
admin.cpp: In function 'void do_tell(CH*, int)':
admin.cpp:546: error: 'string' was not declared in this scope
admin.cpp:546: error: expected `;' before 'arg'
admin.cpp:549: error: 'arg' was not declared in this scope
admin.cpp:549: error: 'split' was not declared in this scope
admin.cpp:551: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:552: warning: deprecated conversion from string constant to 'char*'
admin.cpp:561: error: 'class CH' has no member named 'name'
admin.cpp:562: error: 'class CH' has no member named 'name'
admin.cpp: At global scope:
admin.cpp:566: error: 'string' has not been declared
admin.cpp:566: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_delplayers(CH*, int)':
admin.cpp:566: error: default argument given for parameter 2 of 'void do_delplay ers(CH*, int)'
commands.h:98: error: after previous specification in 'void do_delplayers(CH*, i nt)'
admin.cpp: In function 'void do_delplayers(CH*, int)':
admin.cpp:570: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:571: warning: deprecated conversion from string constant to 'char*'
admin.cpp:580: error: 'ostrstream' was not declared in this scope
admin.cpp:580: error: expected `;' before 'ost'
admin.cpp:581: error: 'ost' was not declared in this scope
admin.cpp:581: error: 'ends' was not declared in this scope
admin.cpp:585: error: 'ios' has not been declared
admin.cpp:590: error: 'ios' has not been declared
admin.cpp: At global scope:
admin.cpp:597: error: expected ',' or '…' before 'query'
admin.cpp:597: error: ISO C++ forbids declaration of 'string' with no type
admin.cpp: In function 'void mysql(CH*, int)':
admin.cpp:598: error: 'query' was not declared in this scope
admin.cpp:609: error: 'ostrstream' was not declared in this scope
admin.cpp:609: error: expected `;' before 'ost'
admin.cpp:610: error: 'ost' was not declared in this scope
admin.cpp:610: error: 'query' was not declared in this scope
admin.cpp:610: error: 'ends' was not declared in this scope
admin.cpp: At global scope:
admin.cpp:616: error: 'string' has not been declared
admin.cpp:616: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_mysql(CH*, int)':
admin.cpp:616: error: default argument given for parameter 2 of 'void do_mysql(C H*, int)'
commands.h:80: error: after previous specification in 'void do_mysql(CH*, int)'
admin.cpp: In function 'void do_mysql(CH*, int)':
admin.cpp:617: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:618: warning: deprecated conversion from string constant to 'char*'
admin.cpp: At global scope:
admin.cpp:626: error: 'string' has not been declared
admin.cpp:626: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_beep(CH*, int)':
admin.cpp:626: error: default argument given for parameter 2 of 'void do_beep(CH *, int)'
commands.h:27: error: after previous specification in 'void do_beep(CH*, int)'
admin.cpp: In function 'void do_beep(CH*, int)':
admin.cpp:630: error: invalid operands of types 'const char*' and 'const char [1 4]' to binary 'operator+'
admin.cpp:634: error: 'class CH' has no member named 'name'
admin.cpp:635: error: 'class CH' has no member named 'name'
admin.cpp: At global scope:
admin.cpp:639: error: 'string' has not been declared
admin.cpp:639: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_chlist(CH*, int)':
admin.cpp:642: warning: deprecated conversion from string constant to 'char*'
admin.cpp:645: error: 'class CH' has no member named 'name'
admin.cpp: At global scope:
admin.cpp:650: error: 'string' has not been declared
admin.cpp:650: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_createobj(CH*, int)':
admin.cpp:650: error: default argument given for parameter 2 of 'void do_createo bj(CH*, int)'
commands.h:71: error: after previous specification in 'void do_createobj(CH*, in t)'
admin.cpp: In function 'void do_createobj(CH*, int)':
admin.cpp:653: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:654: warning: deprecated conversion from string constant to 'char*'
admin.cpp:659: error: 'class OBJ' has no member named 'name'
admin.cpp: At global scope:
admin.cpp:663: error: 'string' has not been declared
admin.cpp:663: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_destroy(CH*, int)':
admin.cpp:663: error: default argument given for parameter 2 of 'void do_destroy (CH*, int)'
commands.h:73: error: after previous specification in 'void do_destroy(CH*, int) '
admin.cpp: In function 'void do_destroy(CH*, int)':
admin.cpp:666: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:667: warning: deprecated conversion from string constant to 'char*'
admin.cpp:672: error: 'class OBJ' has no member named 'name'
admin.cpp: At global scope:
admin.cpp:677: error: 'string' has not been declared
admin.cpp:677: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_disable(CH*, int)':
admin.cpp:677: error: default argument given for parameter 2 of 'void do_disable (CH*, int)'
commands.h:78: error: after previous specification in 'void do_disable(CH*, int) '
admin.cpp: In function 'void do_disable(CH*, int)':
admin.cpp:681: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:682: warning: deprecated conversion from string constant to 'char*'
admin.cpp:691: error: 'ostrstream' was not declared in this scope
admin.cpp:691: error: expected `;' before 'ost'
admin.cpp:692: error: 'ost' was not declared in this scope
admin.cpp:692: error: 'ends' was not declared in this scope
admin.cpp:700: error: 'ios' has not been declared
admin.cpp:703: error: invalid operands of types 'const char*' and 'const char [2 3]' to binary 'operator+'
admin.cpp:707: warning: deprecated conversion from string constant to 'char*'
admin.cpp: At global scope:
admin.cpp:714: error: 'string' has not been declared
admin.cpp:714: error: default argument for 'int argument' has type 'const char [ 1]'
admin.cpp: In function 'void do_enable(CH*, int)':
admin.cpp:714: error: default argument given for parameter 2 of 'void do_enable( CH*, int)'
commands.h:79: error: after previous specification in 'void do_enable(CH*, int)'
admin.cpp: In function 'void do_enable(CH*, int)':
admin.cpp:718: error: request for member 'empty' in 'argument', which is of non- class type 'int'
admin.cpp:719: warning: deprecated conversion from string constant to 'char*'
admin.cpp:728: error: 'ostrstream' was not declared in this scope
admin.cpp:728: error: expected `;' before 'ost'
admin.cpp:729: error: 'ost' was not declared in this scope
admin.cpp:729: error: 'ends' was not declared in this scope
admin.cpp:737: error: 'ios' has not been declared
admin.cpp:740: error: invalid operands of types 'const char*' and 'const char [2 2]' to binary 'operator+'
admin.cpp:744: warning: deprecated conversion from string constant to 'char*'
main.h: In function 'void zap(T&) [with T = CH*]':
admin.cpp:446: instantiated from here
main.h:88: error: 'assert' was not declared in this scope
main.h: In function 'void zap(T&) [with T = OBJ*]':
admin.cpp:673: instantiated from here
main.h:88: error: 'assert' was not declared in this scope
make: *** [admin.o] Error 1
It's a trap.