1 (edited by scosu 2008-09-19 07:45:40)

Topic: [MOD] Modpack

Here is the old racemod server extended with many features. With this MOD you can play racemod, ninjamod, instagib, vanilla, improved_physics. Of course you have very very much other options.

And a new gametype named K.O. mode. In this mode there is a row of 1on1 games until all players played at least one time. After every round, the winner stays in the game and the looser becomes spectator. Then the next player from the waiting queue joines the game.

DOWNLOAD

2

Re: [MOD] Modpack

Nice idea with the K.O. mode, like it smile

"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." - Terry Pratchett -

3

Re: [MOD] Modpack

dbg_msg("Rajh","%s sest teleporter sur : %s",server_clientname(client_id),server_clientname(cplayer->client_id));}

lol you let my debug message but don't even name me and other mod creator xD

4

Re: [MOD] Modpack

I think he posted the thread quickly, as far as I know him he will give credits.

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

5

Re: [MOD] Modpack

Rajh wrote:

dbg_msg("Rajh","%s sest teleporter sur : %s",server_clientname(client_id),server_clientname(cplayer->client_id));}

lol you let my debug message but don't even name me and other mod creator xD

Of course I named you on my homepage, directly above the Downloads "Thanks to Rajh for his racemod". Yes, i didn't have a look at the teleport code. no one wanted to change something there wink.

6 (edited by vvk 2009-04-08 11:59:00)

Re: [MOD] Modpack

Thanks for mod! I have one suggestion for K.O. gametype.

The problem: when round is ended, server show message "bla-bla is the best player on this server" and winner join spectrators. This is very annoying, winner must continue playing.

Proposed patch:

diff --git a/teeworlds/src/game/server/gamemodes/ko.cpp b/teeworlds/src/game/server/gamemodes/ko.cpp
index 7582b31..b5fc53e 100644
--- a/teeworlds/src/game/server/gamemodes/ko.cpp
+++ b/teeworlds/src/game/server/gamemodes/ko.cpp
@@ -69,14 +69,19 @@ void GAMECONTROLLER_KO::tick()
                        {
                                char buf[512];
                                if((teamscore[0] > teamscore[1] && player[0] != -1) || (player[0] != -1 && playe
+                               {
                                        strcpy(buf, server_clientname(player[0]));
+                                       if(player[1] != -1)
+                                               game.players[player[1]]->set_team(-1);
+                               }
                                else if(player[1] != -1)
+                               {
                                        strcpy(buf, server_clientname(player[1]));
+                                       if(player[0] != -1)
+                                               game.players[player[0]]->set_team(-1);
+                               }
                                strcat(buf, " is the best player on this server.");
-                               if(player[0] != -1)
-                                       game.players[player[0]]->set_team(-1);
-                               if(player[1] != -1)
-                                       game.players[player[1]]->set_team(-1);
+
                                for(int i = 0; i < MAX_CLIENTS; i++)
                                {
                                        if(game.players[i])