diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-09-02 22:07:07 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-09-02 22:07:07 +0000 |
| commit | 7c4d8699b2e9ba64f98bd2a0290080726fa8ccfe (patch) | |
| tree | bdb43761035b14a4ad1dd2d86c7e12a89963a0a0 /src/base/proto.c | |
| parent | f8204ae7059f1b49c01c72e1bc9647f366cb34b9 (diff) | |
- areny su ulozene v *.zip archivoch
( totalne rozmrdany zdrojovy kod -- zajtra to dokoncim )
git-svn-id: http://opensvn.csie.org/tuxanci_ng@263 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/proto.c')
| -rw-r--r-- | src/base/proto.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/base/proto.c b/src/base/proto.c index ca10743..9c9163e 100644 --- a/src/base/proto.c +++ b/src/base/proto.c @@ -228,7 +228,8 @@ void proto_send_status_server(int type, client_t *client) clients = getCurrentArena()->spaceTux->listIndex->count; maxclients = getServerMaxClients(); uptime = (unsigned int)getUpdateServer(); - arena = getArenaNetName( getChoiceArenaId() ); + //arena = getArenaNetName( getChoiceArenaId() ); + //TODO snprintf(msg, STR_PROTO_SIZE, "name: %s\n" @@ -346,10 +347,12 @@ void proto_send_init_server(int type, client_t *client, client_t *client2) #endif check_id = getNewIDcount(0); - +/* snprintf(msg, STR_PROTO_SIZE, "init %d %d %d %d %s %d\n", client2->tux->id, client2->tux->x, client2->tux->y, count, getArenaNetName( getChoiceArenaId() ), check_id); +*/ + //TODO //proto_send(type, client, msg); protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id); @@ -385,7 +388,8 @@ void proto_recv_init_client(char *msg) return; } - setWorldArena( getArenaIdFormNetName(arena_name) ); + //setWorldArena( getArenaIdFormNetName(arena_name) ); + //TODO arena = getCurrentArena(); arena->max_countRound = n; |