26

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Skorpion wrote:

hey chlablak, can you do a linux binary?

I'm not a moderator our something like that but I have to inform you that is topic is older... and dead... u shouden't make  your post because users who press in "New Menseges" bottum gon a stay here... And thats losing time. Next time use the Private mensage option. Tnks

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

27 (edited by DARK HUNTER 2011-10-04 14:23:42)

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Hmmm.. When I try to patch the source:

C:\multi mod>patch.exe -p0 < mmod.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rupN src_original//engine/server/server.cpp src//engine/server/server.cpp

|--- src_original//engine/server/server.cpp     2011-04-26 04:10:38.871299006 +0
200
|+++ src//engine/server/server.cpp      2011-05-05 18:59:26.042863001 +0200
--------------------------
File to patch:

EDIT:// How great -_-

C:\multi mod>patch.exe -p0 < mmod.patch
patching file tw/src/engine/server/server.cpp
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\multi mod>
Once in a century...

28

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

you could try with patch -p1 or so

29

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Same thing:

C:\multi mod>patch.exe -p1 < mmod.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rupN src_original//engine/server/server.cpp src//engine/server/server.cpp

|--- src_original//engine/server/server.cpp     2011-04-26 04:10:38.871299006 +0
200
|+++ src//engine/server/server.cpp      2011-05-05 18:59:26.042863001 +0200
--------------------------
File to patch:
Once in a century...

30

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Perhaps you used the wrong -p or --strip option?
try with p0 or p2, p3, ...

31 (edited by DARK HUNTER 2011-10-05 16:49:01)

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

With p0;p1;p2 and p3 it's the same thing.
With p4 and p5 it's:

C:\multi mod>patch.exe -p4 < mmod.patch
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rupN src_original//engine/server/server.cpp src//engine/server/server.cpp

|--- src_original//engine/server/server.cpp     2011-04-26 04:10:38.871299006 +0
200
|+++ src//engine/server/server.cpp      2011-05-05 18:59:26.042863001 +0200
--------------------------
File to patch:

I think that the patch itself has some mistakes...

Once in a century...

32

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Then do it by hand xD

33

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Open the patch in Notepad++ and convert the line endings from Unix to Windows.

34

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

BoToX wrote:

Then do it by hand xD

That's the reason why people invented patch files tongue

KillaBilla wrote:

Open the patch in Notepad++ and convert the line endings from Unix to Windows.

I will try that.

Once in a century...

35

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Hmmm... IDK how to do it. :S
I tried with the "-a" and "--binary" command lines but nothing works.

Can someone help?

Once in a century...

36

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

is the file still being hosted? I want to download it

-SALAD

37

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

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...

38

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

This sounds so awesome, anyone have the lastest version for Windows.

39 (edited by chlablak 2012-01-06 13:44:19)

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

@SALAD: No my server is down for the moment and I can't say when it will be up
@DARK HUNTER: My source got no problem wink the errors come from the compiler that seems not support 'or', 'and' instead of '||' and '&&', try this wink

For other the mod is not abandonned but I have other things to do before work again on the 0.4.0, wait & see smile

0.4.0 done
- need kick reason
- need laser bounce
- ninja mod
- each player gets stats of his previous game

0.4.0 to do
- laser jump
- stop'n'go
- fu*#/&g vip password
- maybe teleport
- maybe "1 BULLET MOD" -> http://www.teeworlds.com/forum/viewtopi … 335#p93335

Chlab'lak - Tees Lover <3 | Peace Man !
Gormee.Co-L - Find us at gormee.xooit.com

40 (edited by üpel 2012-03-11 14:34:37)

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

new link fore linux 64 pls

41

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Usually when people dont want other people to modify their creation they release the binaries but not the source.

You did the opposite. So you want others to modify your work and make it hard for others who cant compile to play the mod???

Once in a century...

42

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

ok but give me the new link please

43

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

Website www.chlablak.com down so i cant download...
Could anyone update the link or post a binary for Linux?

44

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

hey guys
i will use the mod but the linux link is down
and the windows link make an error.
the website is down...so pleas reip

gearts

45 (edited by chlablak 2012-04-06 15:13:21)

Re: [MOD] Multi-Mod 0.3.3 (For 0.6.0)

I said I will release binaries at the good moment, but I have lot of work, so I upload the patch (0.3.3) and the linux binary (0.4.0 alpha wink !) on a "randomly-choose" upload website for the moment, look at the begin of the topic

Chlab'lak - Tees Lover <3 | Peace Man !
Gormee.Co-L - Find us at gormee.xooit.com