Ok I managed to convert linux line endings to windows (I found out 2 ways: EOL operations in Notepad++ and the
--binary command line in patch.exe (I used --binary before but I didn't put the patch.exe and mmod.patch inside the source folder))
And I patched the source...but with errors:
C:\mmod\tw>patch.exe -p0 --binary < mmod.patch
patching file src//engine/server/server.cpp
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 1285 (offset 62 lines).
Hunk #3 succeeded at 1700 (offset 145 lines).
1 out of 3 hunks FAILED -- saving rejects to file src//engine/server/server.cpp.
rej
patching file src//engine/shared/config_variables.h
Hunk #2 succeeded at 107 (offset 13 lines).
patching file src//game/server/entities/area.cpp
patching file src//game/server/entities/area.h
patching file src//game/server/entities/character.cpp
Hunk #5 succeeded at 271 (offset -4 lines).
Hunk #6 succeeded at 378 (offset -4 lines).
Hunk #7 succeeded at 393 (offset -4 lines).
Hunk #8 succeeded at 452 (offset -4 lines).
Hunk #9 succeeded at 705 (offset 7 lines).
Hunk #10 succeeded at 718 (offset 7 lines).
Hunk #11 succeeded at 742 (offset 7 lines).
Hunk #12 succeeded at 783 (offset 7 lines).
Hunk #13 succeeded at 824 (offset 15 lines).
Hunk #14 succeeded at 909 (offset 16 lines).
patching file src//game/server/entities/character.h
Hunk #2 succeeded at 52 with fuzz 1 (offset 1 line).
Hunk #3 succeeded at 70 (offset 1 line).
patching file src//game/server/entities/head.cpp
patching file src//game/server/entities/head.h
patching file src//game/server/entities/pickup.cpp
patching file src//game/server/entities/pickup.h
patching file src//game/server/entities/projectile.cpp
patching file src//game/server/entities/projectile.h
patching file src//game/server/gamecontext.cpp
Hunk #3 succeeded at 125 with fuzz 1.
Hunk #5 succeeded at 813 (offset 12 lines).
Hunk #6 succeeded at 1379 (offset 20 lines).
patching file src//game/server/gamecontext.h
patching file src//game/server/gamecontroller.cpp
Hunk #2 succeeded at 139 (offset -48 lines).
Hunk #3 succeeded at 189 (offset -48 lines).
Hunk #4 succeeded at 365 (offset -47 lines).
Hunk #5 succeeded at 434 (offset -47 lines).
patching file src//game/server/gamemodes/ctf.cpp
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 13 (offset 3 lines).
Hunk #3 succeeded at 175 (offset 28 lines).
Hunk #4 succeeded at 212 (offset 28 lines).
1 out of 4 hunks FAILED -- saving rejects to file src//game/server/gamemodes/ctf
.cpp.rej
patching file src//game/server/gamemodes/dm.cpp
patching file src//game/server/gamemodes/hh.cpp
patching file src//game/server/gamemodes/hh.h
patching file src//game/server/gamemodes/la.cpp
patching file src//game/server/gamemodes/la.h
patching file src//game/server/gamemodes/rta.cpp
patching file src//game/server/gamemodes/rta.h
patching file src//game/server/gamemodes/tdm.cpp
patching file src//game/server/gamemodes/thh.cpp
patching file src//game/server/gamemodes/thh.h
patching file src//game/server/gamemodes/tla.cpp
patching file src//game/server/gamemodes/tla.h
patching file src//game/server/gamemodes/trta.cpp
patching file src//game/server/gamemodes/trta.h
patching file src//game/server/player.cpp
Hunk #2 succeeded at 232 (offset 19 lines).
Hunk #3 succeeded at 244 (offset 19 lines).
patching file src//game/server/player.h
C:\mmod\tw>
And when I tried to compile I got errors:
/EHsc
[ 77/161] #1 c++ src/game/server/entities/projectile.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
[ 78/161] #1 c++ src/game/server/entity.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
[ 79/161] #1 c++ src/game/server/eventhandler.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
[ 80/161] #1 c++ src/game/server/gamecontext.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamecontext.cpp(816) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamecontext.cpp(816) : error C2146: syntax error : missing ')' b
efore identifier 'or'
src/game/server/gamecontext.cpp(816) : error C2059: syntax error : ')'
src/game/server/gamecontext.cpp(816) : error C2059: syntax error : ')'
src/game/server/gamecontext.cpp(817) : error C2143: syntax error : missing ';' b
efore '{'
src/game/server/gamecontext.cpp(816) : error C3861: 'and': identifier not found
src/game/server/gamecontext.cpp(821) : error C2181: illegal else without matchin
g if
bam: 'objs/game/server/gamecontext.obj' error 2
[ 81/161] #1 c++ src/game/server/gamecontroller.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ')
' before identifier 'and'
src/game/server/gamecontroller.cpp(438) : error C2065: 'and' : undeclared identi
fier
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ';
' before identifier 'str_comp'
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ';
' before identifier 'and'
src/game/server/gamecontroller.cpp(438) : warning C4552: '!=' : operator has no
effect; expected operator with side-effect
src/game/server/gamecontroller.cpp(438) : error C2065: 'and' : undeclared identi
fier
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ';
' before identifier 'str_comp'
src/game/server/gamecontroller.cpp(438) : error C2059: syntax error : ')'
src/game/server/gamecontroller.cpp(439) : error C2143: syntax error : missing ';
' before '{'
src/game/server/gamecontroller.cpp(439) : warning C4552: '!=' : operator has no
effect; expected operator with side-effect
src/game/server/gamecontroller.cpp(454) : error C2146: syntax error : missing ')
' before identifier 'or'
src/game/server/gamecontroller.cpp(455) : error C2059: syntax error : ')'
src/game/server/gamecontroller.cpp(478) : error C2146: syntax error : missing ')
' before identifier 'and'
src/game/server/gamecontroller.cpp(478) : error C2065: 'and' : undeclared identi
fier
src/game/server/gamecontroller.cpp(478) : error C2146: syntax error : missing ';
' before identifier 'g_Config'
src/game/server/gamecontroller.cpp(478) : error C2059: syntax error : ')'
src/game/server/gamecontroller.cpp(479) : error C2143: syntax error : missing ';
' before '{'
src/game/server/gamecontroller.cpp(487) : error C2181: illegal else without matc
hing if
bam: 'objs/game/server/gamecontroller.obj' error 2
[ 82/161] #1 c++ src/game/server/gamemodes/ctf.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
[ 83/161] #1 c++ src/game/server/gamemodes/dm.cpp
[ 84/161] #1 c++ src/game/server/gamemodes/hh.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/hh.cpp(92) : error C3861: 'DoPlayerScoreWincheck': ide
ntifier not found
bam: 'objs/game/server/gamemodes/hh.obj' error 2
[ 85/161] #1 c++ src/game/server/gamemodes/la.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/la.cpp(23) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(23) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(23) : error C2143: syntax error : missing ';' b
efore '!'
src/game/server/gamemodes/la.cpp(23) : error C2146: syntax error : missing ';' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(23) : warning C4552: '!' : operator has no effe
ct; expected operator with side-effect
src/game/server/gamemodes/la.cpp(23) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(23) : error C2146: syntax error : missing ';' b
efore identifier 'm_Warmup'
src/game/server/gamemodes/la.cpp(23) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(24) : error C2143: syntax error : missing ';' b
efore '{'
src/game/server/gamemodes/la.cpp(24) : warning C4552: '<' : operator has no effe
ct; expected operator with side-effect
src/game/server/gamemodes/la.cpp(34) : error C2146: syntax error : missing ')' b
efore identifier 'or'
src/game/server/gamemodes/la.cpp(34) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(34) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(34) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(34) : error C3861: 'or': identifier not found
src/game/server/gamemodes/la.cpp(37) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(37) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(37) : error C2146: syntax error : missing ';' b
efore identifier 'm_Warmup'
src/game/server/gamemodes/la.cpp(37) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(38) : error C2143: syntax error : missing ';' b
efore 'return'
src/game/server/gamemodes/la.cpp(38) : warning C4552: '<' : operator has no effe
ct; expected operator with side-effect
src/game/server/gamemodes/la.cpp(65) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(65) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(65) : error C2146: syntax error : missing ';' b
efore identifier 'All'
src/game/server/gamemodes/la.cpp(65) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(66) : error C2143: syntax error : missing ';' b
efore '{'
src/game/server/gamemodes/la.cpp(66) : warning C4552: '>' : operator has no effe
ct; expected operator with side-effect
bam: 'objs/game/server/gamemodes/la.obj' error 2
[ 86/161] #1 c++ src/game/server/gamemodes/mod.cpp
[ 87/161] #1 c++ src/game/server/gamemodes/rta.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/rta.cpp(52) : error C3861: 'DoPlayerScoreWincheck': id
entifier not found
bam: 'objs/game/server/gamemodes/rta.obj' error 2
[ 88/161] #1 c++ src/game/server/gamemodes/tdm.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
[ 89/161] #1 c++ src/game/server/gamemodes/thh.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/thh.cpp(115) : error C3861: 'DoTeamScoreWincheck': ide
ntifier not found
bam: 'objs/game/server/gamemodes/thh.obj' error 2
[ 90/161] #1 c++ src/game/server/gamemodes/tla.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/tla.cpp(24) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(24) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(24) : error C2143: syntax error : missing ';'
before '!'
src/game/server/gamemodes/tla.cpp(24) : error C2146: syntax error : missing ';'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(24) : warning C4552: '!' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(24) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(24) : error C2146: syntax error : missing ';'
before identifier 'm_Warmup'
src/game/server/gamemodes/tla.cpp(24) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(25) : error C2143: syntax error : missing ';'
before '{'
src/game/server/gamemodes/tla.cpp(25) : warning C4552: '<' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(35) : error C2146: syntax error : missing ')'
before identifier 'or'
src/game/server/gamemodes/tla.cpp(35) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(35) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(35) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(35) : error C3861: 'or': identifier not found
src/game/server/gamemodes/tla.cpp(38) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(38) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(38) : error C2146: syntax error : missing ';'
before identifier 'm_Warmup'
src/game/server/gamemodes/tla.cpp(38) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(39) : error C2143: syntax error : missing ';'
before 'return'
src/game/server/gamemodes/tla.cpp(39) : warning C4552: '<' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(46) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(46) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(46) : error C2146: syntax error : missing ';'
before identifier 'm_Warmup'
src/game/server/gamemodes/tla.cpp(46) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(47) : error C2143: syntax error : missing ';'
before 'return'
src/game/server/gamemodes/tla.cpp(47) : warning C4552: '<' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(76) : error C2146: syntax error : missing ')'
before identifier 'or'
src/game/server/gamemodes/tla.cpp(76) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(77) : error C2143: syntax error : missing ';'
before '{'
bam: 'objs/game/server/gamemodes/tla.obj' error 2
[ 91/161] #1 c++ src/game/server/gamemodes/trta.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/trta.cpp(90) : error C3861: 'DoTeamScoreWincheck': ide
ntifier not found
bam: 'objs/game/server/gamemodes/trta.obj' error 2
[ 92/161] #1 c++ src/game/server/gameworld.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
[ 93/161] #1 c++ src/game/server/player.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
[ 94/161] #1 server_content_source > src/game/generated/server_data.cpp
[ 95/161] #1 c++ src/game/generated/server_data.cpp
[ 96/161] #1 rc other/icons/teeworlds_srv_cl.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
[ 97/161] #1 client_content_header > src/game/generated/client_data.h
[ 98/161] #1 c++ src/game/client/animstate.cpp
[ 99/161] #1 c++ src/game/client/components/binds.cpp
[100/161] #1 c++ src/game/client/components/broadcast.cpp
[101/161] #1 c++ src/game/client/components/camera.cpp
[102/161] #1 c++ src/game/client/components/chat.cpp
[103/161] #1 c++ src/game/client/components/console.cpp
[104/161] #1 c++ src/game/client/components/controls.cpp
[105/161] #1 c++ src/game/client/components/countryflags.cpp
[106/161] #1 c++ src/game/client/components/damageind.cpp
[107/161] #1 c++ src/game/client/components/debughud.cpp
[108/161] #1 c++ src/game/client/components/effects.cpp
[109/161] #1 c++ src/game/client/components/emoticon.cpp
[110/161] #1 c++ src/game/client/components/flow.cpp
[111/161] #1 c++ src/game/client/components/hud.cpp
[112/161] #1 c++ src/game/client/components/items.cpp
[113/161] #1 c++ src/game/client/components/killmessages.cpp
[114/161] #1 c++ src/game/client/components/mapimages.cpp
[115/161] #1 c++ src/game/client/components/maplayers.cpp
[116/161] #1 c++ src/game/client/components/menus.cpp
[117/161] #1 c++ src/game/client/components/menus_browser.cpp
[118/161] #1 c++ src/game/client/components/menus_demo.cpp
[119/161] #1 c++ src/game/client/components/menus_ingame.cpp
[120/161] #1 c++ src/game/client/components/menus_settings.cpp
[121/161] #1 c++ src/game/client/components/motd.cpp
[122/161] #1 c++ src/game/client/components/nameplates.cpp
[123/161] #1 c++ src/game/client/components/particles.cpp
[124/161] #1 c++ src/game/client/components/players.cpp
[125/161] #1 c++ src/game/client/components/scoreboard.cpp
[126/161] #1 c++ src/game/client/components/skins.cpp
[127/161] #1 c++ src/game/client/components/sounds.cpp
[128/161] #1 c++ src/game/client/components/spectator.cpp
[129/161] #1 c++ src/game/client/components/voting.cpp
[130/161] #1 c++ src/game/client/gameclient.cpp
[131/161] #1 c++ src/game/client/lineinput.cpp
[132/161] #1 c++ src/game/client/render.cpp
[133/161] #1 c++ src/game/client/render_map.cpp
[134/161] #1 c++ src/game/client/ui.cpp
[135/161] #1 client_content_source > src/game/generated/client_data.cpp
[136/161] #1 c++ src/game/generated/client_data.cpp
[137/161] #1 c++ src/engine/client/client.cpp
[138/161] #1 c++ src/engine/client/friends.cpp
[139/161] #1 c++ src/engine/client/graphics.cpp
[140/161] #1 c++ src/engine/client/input.cpp
[141/161] #1 c++ src/engine/client/serverbrowser.cpp
[142/161] #1 c++ src/engine/client/sound.cpp
[143/161] #1 c++ src/engine/client/text.cpp
[144/161] #1 c++ src/game/editor/auto_map.cpp
[145/161] #1 c++ src/game/editor/editor.cpp
[146/161] #1 c++ src/game/editor/io.cpp
[147/161] #1 c++ src/game/editor/layer_game.cpp
[148/161] #1 c++ src/game/editor/layer_quads.cpp
[149/161] #1 c++ src/game/editor/layer_tiles.cpp
[150/161] #1 c++ src/game/editor/popups.cpp
[151/161] #1 c src/engine/external/wavpack/bits.c
[152/161] #1 c src/engine/external/wavpack/float.c
[153/161] #1 c src/engine/external/wavpack/metadata.c
[154/161] #1 c src/engine/external/wavpack/unpack.c
[155/161] #1 c src/engine/external/wavpack/words.c
[156/161] #1 c src/engine/external/wavpack/wputils.c
[157/161] #1 rc other/icons/teeworlds_cl.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
[158/161] #1 link teeworlds.exe
[159/161] #1 copy other\freetype\lib\freetype.dll -> freetype.dll
[160/161] #1 copy other\sdl\vc2005libs\SDL.dll -> SDL.dll
bam: error: a build step failed
C:\mmod\tw>
As you see the client was compiled without errors but teeworlds_srv wasn't compiled.
I tried to compile again those uncompiled files so I can see more errors (command prompt doesn't remember all of the code -_0)
So here is the broader list from the teeworlds_srv files:
ng if
src/game/server/entities/area.cpp(94) : error C2146: syntax error : missing ')'
before identifier 'or'
src/game/server/entities/area.cpp(94) : error C2065: 'or' : undeclared identifie
r
src/game/server/entities/area.cpp(94) : error C2146: syntax error : missing ';'
before identifier 'Angle'
src/game/server/entities/area.cpp(94) : error C2059: syntax error : ')'
src/game/server/entities/area.cpp(94) : error C2146: syntax error : missing ';'
before identifier 'Index'
src/game/server/entities/area.cpp(94) : warning C4552: '<=' : operator has no ef
fect; expected operator with side-effect
src/game/server/entities/area.cpp(95) : error C2181: illegal else without matchi
ng if
src/game/server/entities/area.cpp(95) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/entities/area.cpp(95) : error C2065: 'and' : undeclared identifi
er
src/game/server/entities/area.cpp(95) : error C2146: syntax error : missing ';'
before identifier 'Angle'
src/game/server/entities/area.cpp(95) : error C2059: syntax error : ')'
src/game/server/entities/area.cpp(95) : error C2146: syntax error : missing ';'
before identifier 'Index'
src/game/server/entities/area.cpp(95) : warning C4552: '<=' : operator has no ef
fect; expected operator with side-effect
src/game/server/entities/area.cpp(96) : error C2181: illegal else without matchi
ng if
src/game/server/entities/area.cpp(96) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/entities/area.cpp(96) : error C2065: 'and' : undeclared identifi
er
src/game/server/entities/area.cpp(96) : error C2146: syntax error : missing ';'
before identifier 'Angle'
src/game/server/entities/area.cpp(96) : error C2059: syntax error : ')'
src/game/server/entities/area.cpp(96) : error C2146: syntax error : missing ';'
before identifier 'Index'
src/game/server/entities/area.cpp(96) : warning C4552: '<=' : operator has no ef
fect; expected operator with side-effect
src/game/server/entities/area.cpp(97) : error C2181: illegal else without matchi
ng if
src/game/server/entities/area.cpp(97) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/entities/area.cpp(97) : error C2065: 'and' : undeclared identifi
er
src/game/server/entities/area.cpp(97) : error C2146: syntax error : missing ';'
before identifier 'Angle'
src/game/server/entities/area.cpp(97) : error C2059: syntax error : ')'
src/game/server/entities/area.cpp(97) : error C2146: syntax error : missing ';'
before identifier 'Index'
src/game/server/entities/area.cpp(97) : warning C4552: '<=' : operator has no ef
fect; expected operator with side-effect
src/game/server/entities/area.cpp(118) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/entities/area.cpp(118) : error C2065: 'and' : undeclared identif
ier
src/game/server/entities/area.cpp(118) : error C2146: syntax error : missing ';'
before identifier 'myGameServer'
src/game/server/entities/area.cpp(118) : error C2059: syntax error : ')'
src/game/server/entities/area.cpp(119) : error C2143: syntax error : missing ';'
before '{'
src/game/server/entities/area.cpp(125) : error C2146: syntax error : missing ';'
before identifier 'and'
src/game/server/entities/area.cpp(125) : error C2065: 'and' : undeclared identif
ier
src/game/server/entities/area.cpp(125) : error C2146: syntax error : missing ';'
before identifier 'Pos'
src/game/server/entities/area.cpp(126) : error C2146: syntax error : missing ';'
before identifier 'and'
src/game/server/entities/area.cpp(126) : warning C4552: '<' : operator has no ef
fect; expected operator with side-effect
src/game/server/entities/area.cpp(126) : error C2065: 'and' : undeclared identif
ier
src/game/server/entities/area.cpp(126) : error C2146: syntax error : missing ';'
before identifier 'Pos'
src/game/server/entities/area.cpp(126) : warning C4553: '==' : operator has no e
ffect; did you intend '='?
bam: 'objs/game/server/entities/area.obj' error 2
[ 3/12] #1 c++ src/game/server/entities/character.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/entities/character.cpp(275) : error C2146: syntax error : missin
g ')' before identifier 'or'
src/game/server/entities/character.cpp(275) : error C2065: 'or' : undeclared ide
ntifier
src/game/server/entities/character.cpp(275) : error C2143: syntax error : missin
g ';' before '!'
src/game/server/entities/character.cpp(275) : error C2059: syntax error : ')'
src/game/server/entities/character.cpp(276) : error C2143: syntax error : missin
g ';' before 'return'
src/game/server/entities/character.cpp(276) : warning C4552: '!' : operator has
no effect; expected operator with side-effect
src/game/server/entities/character.cpp(787) : error C2146: syntax error : missin
g ')' before identifier 'and'
src/game/server/entities/character.cpp(787) : error C2065: 'and' : undeclared id
entifier
src/game/server/entities/character.cpp(787) : error C2146: syntax error : missin
g ';' before identifier 'str_comp'
src/game/server/entities/character.cpp(787) : error C2059: syntax error : ')'
src/game/server/entities/character.cpp(788) : error C2143: syntax error : missin
g ';' before '{'
src/game/server/entities/character.cpp(788) : warning C4552: '!=' : operator has
no effect; expected operator with side-effect
bam: 'objs/game/server/entities/character.obj' error 2
[ 4/12] #1 c++ src/game/server/gamecontext.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamecontext.cpp(816) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamecontext.cpp(816) : error C2146: syntax error : missing ')' b
efore identifier 'or'
src/game/server/gamecontext.cpp(816) : error C2059: syntax error : ')'
src/game/server/gamecontext.cpp(816) : error C2059: syntax error : ')'
src/game/server/gamecontext.cpp(817) : error C2143: syntax error : missing ';' b
efore '{'
src/game/server/gamecontext.cpp(816) : error C3861: 'and': identifier not found
src/game/server/gamecontext.cpp(821) : error C2181: illegal else without matchin
g if
bam: 'objs/game/server/gamecontext.obj' error 2
[ 5/12] #1 c++ src/game/server/gamecontroller.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ')
' before identifier 'and'
src/game/server/gamecontroller.cpp(438) : error C2065: 'and' : undeclared identi
fier
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ';
' before identifier 'str_comp'
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ';
' before identifier 'and'
src/game/server/gamecontroller.cpp(438) : warning C4552: '!=' : operator has no
effect; expected operator with side-effect
src/game/server/gamecontroller.cpp(438) : error C2065: 'and' : undeclared identi
fier
src/game/server/gamecontroller.cpp(438) : error C2146: syntax error : missing ';
' before identifier 'str_comp'
src/game/server/gamecontroller.cpp(438) : error C2059: syntax error : ')'
src/game/server/gamecontroller.cpp(439) : error C2143: syntax error : missing ';
' before '{'
src/game/server/gamecontroller.cpp(439) : warning C4552: '!=' : operator has no
effect; expected operator with side-effect
src/game/server/gamecontroller.cpp(454) : error C2146: syntax error : missing ')
' before identifier 'or'
src/game/server/gamecontroller.cpp(455) : error C2059: syntax error : ')'
src/game/server/gamecontroller.cpp(478) : error C2146: syntax error : missing ')
' before identifier 'and'
src/game/server/gamecontroller.cpp(478) : error C2065: 'and' : undeclared identi
fier
src/game/server/gamecontroller.cpp(478) : error C2146: syntax error : missing ';
' before identifier 'g_Config'
src/game/server/gamecontroller.cpp(478) : error C2059: syntax error : ')'
src/game/server/gamecontroller.cpp(479) : error C2143: syntax error : missing ';
' before '{'
src/game/server/gamecontroller.cpp(487) : error C2181: illegal else without matc
hing if
bam: 'objs/game/server/gamecontroller.obj' error 2
[ 6/12] #1 c++ src/game/server/gamemodes/hh.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/hh.cpp(92) : error C3861: 'DoPlayerScoreWincheck': ide
ntifier not found
bam: 'objs/game/server/gamemodes/hh.obj' error 2
[ 7/12] #1 c++ src/game/server/gamemodes/la.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/la.cpp(23) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(23) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(23) : error C2143: syntax error : missing ';' b
efore '!'
src/game/server/gamemodes/la.cpp(23) : error C2146: syntax error : missing ';' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(23) : warning C4552: '!' : operator has no effe
ct; expected operator with side-effect
src/game/server/gamemodes/la.cpp(23) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(23) : error C2146: syntax error : missing ';' b
efore identifier 'm_Warmup'
src/game/server/gamemodes/la.cpp(23) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(24) : error C2143: syntax error : missing ';' b
efore '{'
src/game/server/gamemodes/la.cpp(24) : warning C4552: '<' : operator has no effe
ct; expected operator with side-effect
src/game/server/gamemodes/la.cpp(34) : error C2146: syntax error : missing ')' b
efore identifier 'or'
src/game/server/gamemodes/la.cpp(34) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(34) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(34) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(34) : error C3861: 'or': identifier not found
src/game/server/gamemodes/la.cpp(37) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(37) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(37) : error C2146: syntax error : missing ';' b
efore identifier 'm_Warmup'
src/game/server/gamemodes/la.cpp(37) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(38) : error C2143: syntax error : missing ';' b
efore 'return'
src/game/server/gamemodes/la.cpp(38) : warning C4552: '<' : operator has no effe
ct; expected operator with side-effect
src/game/server/gamemodes/la.cpp(65) : error C2146: syntax error : missing ')' b
efore identifier 'and'
src/game/server/gamemodes/la.cpp(65) : error C2065: 'and' : undeclared identifie
r
src/game/server/gamemodes/la.cpp(65) : error C2146: syntax error : missing ';' b
efore identifier 'All'
src/game/server/gamemodes/la.cpp(65) : error C2059: syntax error : ')'
src/game/server/gamemodes/la.cpp(66) : error C2143: syntax error : missing ';' b
efore '{'
src/game/server/gamemodes/la.cpp(66) : warning C4552: '>' : operator has no effe
ct; expected operator with side-effect
bam: 'objs/game/server/gamemodes/la.obj' error 2
[ 8/12] #1 c++ src/game/server/gamemodes/rta.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/rta.cpp(52) : error C3861: 'DoPlayerScoreWincheck': id
entifier not found
bam: 'objs/game/server/gamemodes/rta.obj' error 2
[ 9/12] #1 c++ src/game/server/gamemodes/thh.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/thh.cpp(115) : error C3861: 'DoTeamScoreWincheck': ide
ntifier not found
bam: 'objs/game/server/gamemodes/thh.obj' error 2
[10/12] #1 c++ src/game/server/gamemodes/tla.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/tla.cpp(24) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(24) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(24) : error C2143: syntax error : missing ';'
before '!'
src/game/server/gamemodes/tla.cpp(24) : error C2146: syntax error : missing ';'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(24) : warning C4552: '!' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(24) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(24) : error C2146: syntax error : missing ';'
before identifier 'm_Warmup'
src/game/server/gamemodes/tla.cpp(24) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(25) : error C2143: syntax error : missing ';'
before '{'
src/game/server/gamemodes/tla.cpp(25) : warning C4552: '<' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(35) : error C2146: syntax error : missing ')'
before identifier 'or'
src/game/server/gamemodes/tla.cpp(35) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(35) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(35) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(35) : error C3861: 'or': identifier not found
src/game/server/gamemodes/tla.cpp(38) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(38) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(38) : error C2146: syntax error : missing ';'
before identifier 'm_Warmup'
src/game/server/gamemodes/tla.cpp(38) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(39) : error C2143: syntax error : missing ';'
before 'return'
src/game/server/gamemodes/tla.cpp(39) : warning C4552: '<' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(46) : error C2146: syntax error : missing ')'
before identifier 'and'
src/game/server/gamemodes/tla.cpp(46) : error C2065: 'and' : undeclared identifi
er
src/game/server/gamemodes/tla.cpp(46) : error C2146: syntax error : missing ';'
before identifier 'm_Warmup'
src/game/server/gamemodes/tla.cpp(46) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(47) : error C2143: syntax error : missing ';'
before 'return'
src/game/server/gamemodes/tla.cpp(47) : warning C4552: '<' : operator has no eff
ect; expected operator with side-effect
src/game/server/gamemodes/tla.cpp(76) : error C2146: syntax error : missing ')'
before identifier 'or'
src/game/server/gamemodes/tla.cpp(76) : error C2059: syntax error : ')'
src/game/server/gamemodes/tla.cpp(77) : error C2143: syntax error : missing ';'
before '{'
bam: 'objs/game/server/gamemodes/tla.obj' error 2
[11/12] #1 c++ src/game/server/gamemodes/trta.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
src/game/server/gamemodes/trta.cpp(90) : error C3861: 'DoTeamScoreWincheck': ide
ntifier not found
bam: 'objs/game/server/gamemodes/trta.obj' error 2
bam: error: a build step failed
C:\mmod\tw>
So anyone have a solution or did chlablak do a bad job?
Once in a century...