Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: assaultcube

assaultcube (1.2.0.2+dfsg1-0ubuntu4) bionic; urgency=medium * No-change rebuild against libcurl4 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 28 Feb 2018 06:44:31 +0000 assaultcube (1.2.0.2+dfsg1-0ubuntu3) zesty; urgency=medium * d/p/0010-fix-some-errors-and-warnings-for-GCC6.patch: Cherry picked. - "Fix some errors and warnings for GCC 6" (LP: #1661449) -- Unit 193 <unit193@ubuntu.com> Thu, 02 Feb 2017 19:18:52 -0500 assaultcube (1.2.0.2+dfsg1-0ubuntu2) wily; urgency=medium * d/p/0003-Clean-Enet-in-AC-clean-target.patch: - Don't run configure before distclean. (LP: #1465236) -- Unit 193 <unit193@ubuntu.com> Mon, 15 Jun 2015 19:44:57 -0400 assaultcube (1.2.0.2+dfsg1-0ubuntu1) wily; urgency=medium [ Unit 193 ] * Pull from Debian unreleased VCS. * d/control: - Build-dep on libcurl4-openssl-dev. - Use canonical Vcs-* URLs. * d/watch: Correct to find current releases. [ Šarūnas Snapkauskas ] * Store v1.2 user data in a separate folder in ~/.assaultcube * Cherry picked stability patches from upstream. -- Unit 193 <unit193@ubuntu.com> Fri, 13 Feb 2015 03:13:24 -0500

Modifications :
  1. Download patch source/src/bot/ac_bot.h

    --- 1.1.0.4+dfsg2-1.2/source/src/bot/ac_bot.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/bot/ac_bot.h 2013-10-09 08:27:31.000000000 +0000 @@ -37,7 +37,18 @@ public: }; inline void AddScreenText(const char *t, ...) {} // UNDONE -inline void AddDebugText(const char *t, ...) {} // UNDONE +inline void AddDebugText(const char *t, ...) +{ +#ifdef _DEBUG + va_list v; + va_start(v, t); + conoutf(t,v); + va_end(v); +#endif +} + + + #endif
  2. Download patch source/package_assaultcube.sh
  3. Download patch debian/assaultcube.install

    --- 1.1.0.4+dfsg2-1.2/debian/assaultcube.install 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/assaultcube.install 2014-11-02 04:33:41.000000000 +0000 @@ -1,6 +1,5 @@ -source/src/ac_client /usr/lib/games/assaultcube -source/src/ac_server /usr/lib/games/assaultcube +debian/assaultcube.desktop /usr/share/applications debian/scripts/assaultcube /usr/games debian/scripts/assaultcube-server /usr/games -debian/assaultcube.xpm /usr/share/pixmaps -debian/assaultcube.desktop /usr/share/applications +usr/lib/games/assaultcube/assaultcube +usr/lib/games/assaultcube/assaultcube-server
  4. Download patch source/enet/configure.ac

    --- 1.1.0.4+dfsg2-1.2/source/enet/configure.ac 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/configure.ac 2013-10-22 18:57:22.000000000 +0000 @@ -1,4 +1,4 @@ -AC_INIT([libenet], [1.3.0]) +AC_INIT([libenet], [1.3.6]) AC_CONFIG_SRCDIR([include/enet/enet.h]) AM_INIT_AUTOMAKE([foreign]) AM_MAINTAINER_MODE([enable])
  5. Download patch source/src/i18n.h

    --- 1.1.0.4+dfsg2-1.2/source/src/i18n.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/i18n.h 2013-10-22 18:57:19.000000000 +0000 @@ -3,15 +3,17 @@ // localization manager struct i18nmanager { - const char *domain; + const char *domain; const char *basepath; - char *locale; + char *locale; - i18nmanager(const char *domain, const char *basepath); // initialize locale system - + i18nmanager(const char *domain, const char *basepath); // initialize locale system + }; +extern char *lang; + enum { CF_NONE = 0, CF_OK, CF_FAIL, CF_SIZE }; -#define FONTSTART 33 -#define FONTCHARS 94 +#define FONTSTART 33 +#define FONTCHARS 94
  6. Download patch source/enet/Makefile.am

    --- 1.1.0.4+dfsg2-1.2/source/enet/Makefile.am 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/Makefile.am 2013-10-22 18:57:22.000000000 +0000 @@ -16,7 +16,7 @@ enetinclude_HEADERS = \ lib_LTLIBRARIES = libenet.la libenet_la_SOURCES = callbacks.c compress.c host.c list.c packet.c peer.c protocol.c unix.c win32.c # see info '(libtool) Updating version info' before making a release -libenet_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -INCLUDES = -Iinclude +libenet_la_LDFLAGS = $(AM_LDFLAGS) -version-info 3:0:1 +INCLUDES = -I$(top_srcdir)/include ACLOCAL_AMFLAGS = -Im4
  7. Download patch source/enet/host.c

    --- 1.1.0.4+dfsg2-1.2/source/enet/host.c 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/host.c 2013-10-22 18:57:22.000000000 +0000 @@ -38,6 +38,7 @@ enet_host_create (const ENetAddress * ad host = (ENetHost *) enet_malloc (sizeof (ENetHost)); if (host == NULL) return NULL; + memset (host, 0, sizeof (ENetHost)); host -> peers = (ENetPeer *) enet_malloc (peerCount * sizeof (ENetPeer)); if (host -> peers == NULL) @@ -74,7 +75,12 @@ enet_host_create (const ENetAddress * ad if (channelLimit < ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT) channelLimit = ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT; - host -> randomSeed = (enet_uint32) time(NULL) + (enet_uint32) (size_t) host; + host -> randomSeed = (enet_uint32) (size_t) host; +#ifdef WIN32 + host -> randomSeed += (enet_uint32) timeGetTime(); +#else + host -> randomSeed += (enet_uint32) time(NULL); +#endif host -> randomSeed = (host -> randomSeed << 16) | (host -> randomSeed >> 16); host -> channelLimit = channelLimit; host -> incomingBandwidth = incomingBandwidth; @@ -101,6 +107,8 @@ enet_host_create (const ENetAddress * ad host -> compressor.decompress = NULL; host -> compressor.destroy = NULL; + host -> intercept = NULL; + enet_list_clear (& host -> dispatchQueue); for (currentPeer = host -> peers; @@ -133,6 +141,9 @@ enet_host_destroy (ENetHost * host) { ENetPeer * currentPeer; + if (host == NULL) + return; + enet_socket_destroy (host -> socket); for (currentPeer = host -> peers; @@ -210,6 +221,7 @@ enet_host_connect (ENetHost * host, cons channel -> outgoingReliableSequenceNumber = 0; channel -> outgoingUnreliableSequenceNumber = 0; channel -> incomingReliableSequenceNumber = 0; + channel -> incomingUnreliableSequenceNumber = 0; enet_list_clear (& channel -> incomingReliableCommands); enet_list_clear (& channel -> incomingUnreliableCommands);
  8. Download patch debian/patches/40-build-with-lX11.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/40-build-with-lX11.patch 2011-10-29 23:18:02.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/40-build-with-lX11.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -Description: Link to lX11 - Linking against X11 fixes a build failure: - /usr/bin/ld: console.o: undefined reference to symbol 'XFree' -Author: Gonéri Le Bouder <goneri@rulezlan.org> -Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3430223&group_id=123597&atid=697091 -Last-Update: 2011-10-28 - ---- a/source/src/Makefile -+++ b/source/src/Makefile -@@ -26,7 +26,7 @@ - override CXXFLAGS+= -rdynamic - CLIENT_INCLUDES= $(INCLUDES) -I/usr/include `sdl-config --cflags` -idirafter ../include - # -lSDL_ttf --CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -+CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -lX11 - endif - - CLIENT_OBJS= \
  9. Download patch source/enet/unix.c

    --- 1.1.0.4+dfsg2-1.2/source/enet/unix.c 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/unix.c 2013-10-22 18:57:22.000000000 +0000 @@ -18,13 +18,30 @@ #define ENET_BUILDING_LIB 1 #include "enet/enet.h" -#ifdef HAS_FCNTL -#include <fcntl.h> -#endif - #ifdef __APPLE__ +#ifdef HAS_POLL #undef HAS_POLL #endif +#ifndef HAS_FCNTL +#define HAS_FCNTL 1 +#endif +#ifndef HAS_INET_PTON +#define HAS_INET_PTON 1 +#endif +#ifndef HAS_INET_NTOP +#define HAS_INET_NTOP 1 +#endif +#ifndef HAS_MSGHDR_FLAGS +#define HAS_MSGHDR_FLAGS 1 +#endif +#ifndef HAS_SOCKLEN_T +#define HAS_SOCKLEN_T 1 +#endif +#endif + +#ifdef HAS_FCNTL +#include <fcntl.h> +#endif #ifdef HAS_POLL #include <sys/poll.h> @@ -219,6 +236,14 @@ enet_socket_set_option (ENetSocket socke result = setsockopt (socket, SOL_SOCKET, SO_SNDBUF, (char *) & value, sizeof (int)); break; + case ENET_SOCKOPT_RCVTIMEO: + result = setsockopt (socket, SOL_SOCKET, SO_RCVTIMEO, (char *) & value, sizeof (int)); + break; + + case ENET_SOCKOPT_SNDTIMEO: + result = setsockopt (socket, SOL_SOCKET, SO_SNDTIMEO, (char *) & value, sizeof (int)); + break; + default: break; } @@ -229,6 +254,7 @@ int enet_socket_connect (ENetSocket socket, const ENetAddress * address) { struct sockaddr_in sin; + int result; memset (& sin, 0, sizeof (struct sockaddr_in)); @@ -236,7 +262,11 @@ enet_socket_connect (ENetSocket socket, sin.sin_port = ENET_HOST_TO_NET_16 (address -> port); sin.sin_addr.s_addr = address -> host; - return connect (socket, (struct sockaddr *) & sin, sizeof (struct sockaddr_in)); + result = connect (socket, (struct sockaddr *) & sin, sizeof (struct sockaddr_in)); + if (result == -1 && errno == EINPROGRESS) + return 0; + + return result; } ENetSocket @@ -262,10 +292,17 @@ enet_socket_accept (ENetSocket socket, E return result; } +int +enet_socket_shutdown (ENetSocket socket, ENetSocketShutdown how) +{ + return shutdown (socket, (int) how); +} + void enet_socket_destroy (ENetSocket socket) { - close (socket); + if (socket != -1) + close (socket); } int
  10. Download patch debian/assaultcube.desktop

    --- 1.1.0.4+dfsg2-1.2/debian/assaultcube.desktop 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/assaultcube.desktop 2014-11-02 04:32:20.000000000 +0000 @@ -1,9 +1,8 @@ [Desktop Entry] Type=Application -Version=1.1 +Version=1.0 Name=AssaultCube -Comment=Realistic first-person-shooter +Comment=Realistic first-person shooter Icon=assaultcube -TryExec=assaultcube Exec=assaultcube Categories=Game;ActionGame;
  11. Download patch source/enet/m4/ltversion.m4

    --- 1.1.0.4+dfsg2-1.2/source/enet/m4/ltversion.m4 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/m4/ltversion.m4 2013-10-22 18:57:21.000000000 +0000 @@ -7,17 +7,17 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# Generated from ltversion.in. +# @configure_input@ -# serial 3017 ltversion.m4 +# serial 3337 ltversion.m4 # This file is part of GNU Libtool -m4_define([LT_PACKAGE_VERSION], [2.2.6b]) -m4_define([LT_PACKAGE_REVISION], [1.3017]) +m4_define([LT_PACKAGE_VERSION], [2.4.2]) +m4_define([LT_PACKAGE_REVISION], [1.3337]) AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6b' -macro_revision='1.3017' +[macro_version='2.4.2' +macro_revision='1.3337' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ])
  12. Download patch source/enet/packet.c

    --- 1.1.0.4+dfsg2-1.2/source/enet/packet.c 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/packet.c 2013-10-22 18:57:21.000000000 +0000 @@ -26,6 +26,9 @@ enet_packet_create (const void * data, s if (flags & ENET_PACKET_FLAG_NO_ALLOCATE) packet -> data = (enet_uint8 *) data; else + if (dataLength <= 0) + packet -> data = NULL; + else { packet -> data = (enet_uint8 *) enet_malloc (dataLength); if (packet -> data == NULL) @@ -52,9 +55,13 @@ enet_packet_create (const void * data, s void enet_packet_destroy (ENetPacket * packet) { + if (packet == NULL) + return; + if (packet -> freeCallback != NULL) (* packet -> freeCallback) (packet); - if (! (packet -> flags & ENET_PACKET_FLAG_NO_ALLOCATE)) + if (! (packet -> flags & ENET_PACKET_FLAG_NO_ALLOCATE) && + packet -> data != NULL) enet_free (packet -> data); enet_free (packet); }
  13. Download patch source/enet/ChangeLog

    --- 1.1.0.4+dfsg2-1.2/source/enet/ChangeLog 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/ChangeLog 2013-10-22 18:57:21.000000000 +0000 @@ -1,3 +1,37 @@ +ENet 1.3.6 (December 11, 2012): + +* added support for intercept callback in ENetHost that can be used to process raw packets before ENet +* added enet_socket_shutdown() for issuing shutdown on a socket +* fixed enet_socket_connect() to not error on non-blocking connects +* fixed bug in MTU negotiation during connections + +ENet 1.3.5 (July 31, 2012): + +* fixed bug in unreliable packet fragment queuing + +ENet 1.3.4 (May 29, 2012): + +* added enet_peer_ping_interval() for configuring per-peer ping intervals +* added enet_peer_timeout() for configuring per-peer timeouts +* added protocol packet size limits + +ENet 1.3.3 (June 28, 2011): + +* fixed bug with simultaneous disconnects not dispatching events + +ENet 1.3.2 (May 31, 2011): + +* added support for unreliable packet fragmenting via the packet flag +ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT +* fixed regression in unreliable packet queuing +* added check against received port to limit some forms of IP-spoofing + +ENet 1.3.1 (February 10, 2011): + +* fixed bug in tracking of reliable data in transit +* reliable data window size now scales with the throttle +* fixed bug in fragment length calculation when checksums are used + ENet 1.3.0 (June 5, 2010): * enet_host_create() now requires the channel limit to be specified as @@ -15,6 +49,19 @@ Caveats: This version is not protocol co earlier. The enet_host_connect and enet_host_create API functions require supplying additional parameters. +ENet 1.2.5 (June 28, 2011): + +* fixed bug with simultaneous disconnects not dispatching events + +ENet 1.2.4 (May 31, 2011): + +* fixed regression in unreliable packet queuing +* added check against received port to limit some forms of IP-spoofing + +ENet 1.2.3 (February 10, 2011): + +* fixed bug in tracking reliable data in transit + ENet 1.2.2 (June 5, 2010): * checksum functionality is now enabled by setting a checksum callback
  14. Download patch debian/patches/0007-fix-gcc-crashing-the-client.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0007-fix-gcc-crashing-the-client.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0007-fix-gcc-crashing-the-client.patch 2014-11-02 04:53:47.000000000 +0000 @@ -0,0 +1,52 @@ +From: ac-stef <ac_stef@users.sf.net> +Date: Thu, 17 Apr 2014 01:09:36 +0200 +Subject: fix: gcc crashing the client + +This workaround lowers the optimisation level for those parts of the code, +that gcc 4.7 (and probably other versions) would compile to a binary that +crashes after a while. The previous solution for this so-called "linux bug" +was to use clang instead of gcc. + +Thx, Jpablon, for doing all the work on this. + +-- + +Origin: upstream, https://github.com/assaultcube/AC/commit/de5deae8e34f8b3ddf3c9020c4de959f98fb8b1c +--- + source/src/vertmodel.h | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/source/src/vertmodel.h b/source/src/vertmodel.h +index f29bb3c..a3bd8b0 100644 +--- a/source/src/vertmodel.h ++++ b/source/src/vertmodel.h +@@ -179,6 +179,9 @@ struct vertmodel : model + numdyndraws = draws.length(); + } + ++#if defined(__GNUC__) && defined(__OPTIMIZE__) ++__attribute__((optimize(2))) ++#endif + dyncacheentry *gendynverts(animstate &as, anpos &cur, anpos *prev, float ai_t) + { + dyncacheentry *d = dyncache.start(); +@@ -290,6 +293,9 @@ struct vertmodel : model + } + } + ++#if defined(__GNUC__) && defined(__OPTIMIZE__) ++__attribute__((optimize(2))) ++#endif + shadowcacheentry *genshadowvolume(animstate &as, anpos &cur, anpos *prev, float ai_t, vec *buf) + { + if(!shareverts) return NULL; +@@ -350,6 +356,9 @@ struct vertmodel : model + return d; + } + ++#if defined(__GNUC__) && defined(__OPTIMIZE__) ++__attribute__((optimize(2))) ++#endif + lightcacheentry *lightvertexes(animstate &as, anpos &cur, anpos *prev, float ai_t, vec *buf) + { + if(dbgvlight) return NULL;
  15. Download patch debian/README.source

    --- 1.1.0.4+dfsg2-1.2/debian/README.source 2011-10-28 12:48:06.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/README.source 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -assaultcube ----------- - -The original AssaultCube source is set up for in-place compiling and installing, -hence "make install" only copies new binaries within the source directory - -This package uses quilt to manage all modifications to the upstream -source. Changes are stored in the source package as diffs in -debian/patches and applied during the build. - -On Debian systems with quilt installed, further documentation is available in -`/usr/share/doc/quilt/README.source'
  16. Download patch debian/patches/0001-Use-LDFLAGS-for-hardening-policy.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0001-Use-LDFLAGS-for-hardening-policy.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0001-Use-LDFLAGS-for-hardening-policy.patch 2014-11-02 04:53:47.000000000 +0000 @@ -0,0 +1,28 @@ +From: Jordan Metzmeier <jmetzmeier01@gmail.com> +Date: Thu, 7 Jun 2012 16:24:15 +0000 +Subject: Use LDFLAGS for hardening policy + +--- + source/src/Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/source/src/Makefile b/source/src/Makefile +index 07de5c2..0d1f2d3 100644 +--- a/source/src/Makefile ++++ b/source/src/Makefile +@@ -156,12 +156,12 @@ server_install: server + + else + client: libenet $(CLIENT_OBJS) +- $(CXX) $(CXXFLAGS) -o ac_client $(CLIENT_OBJS) $(CLIENT_LIBS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_client $(CLIENT_OBJS) $(CLIENT_LIBS) + + server: libenet $(SERVER_OBJS) +- $(CXX) $(CXXFLAGS) -o ac_server $(SERVER_OBJS) $(SERVER_LIBS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_server $(SERVER_OBJS) $(SERVER_LIBS) + master: libenet $(MASTER_OBJS) +- $(CXX) $(CXXFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) + + client_install: client + install -d ../../bin_unix/
  17. Download patch debian/autoreconf

    --- 1.1.0.4+dfsg2-1.2/debian/autoreconf 2014-10-29 12:03:10.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/autoreconf 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -source/enet \ No newline at end of file
  18. Download patch source/ChangeLog.txt

    --- 1.1.0.4+dfsg2-1.2/source/ChangeLog.txt 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/ChangeLog.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,114 +0,0 @@ -Add things that have changed ON THE SVN TRUNK since 1.0 in here, so that when release time comes around, -it is much easier to record what has changed since it's already recorded here. - -Things not to add: Bugs made during SVN development that were fixed (Since these bugs were not a problem - in the last release). - - Documentation changes --> Releases are expected to always have new documentation. -______________________________________________________________________________________________________________ - - -CLIENT SIDE: -============ - - Map added: ac_aqueous - - Map added: ac_gothic - - Map added: ac_douze - - Map added: ac_depot_classic - - Small layout change in ac_desert2 - - Model for the insta-rifle created (see: packages/models/weapons/insta ) - - Enhanced server-browser sorting. - - Upgraded the HUD/font digits, for easier reading. - - Updated MS Windows SDL libraries to SDL 1.2.13 - - "fovcompat" command to assist users converting to the new version of AssaultCube. - - Label screenshots/demos with the date/time. - - Screenshots are taken in .jpg format instead of .bmp - - "autoscreenshot" command allows AssaultCube automatically take a screenshot of the scoreboard at the end of - each match. - - Option to hide votes. - - Filter map names in serverbrowser. - - Variable menu item command (for scripting). - - Search for player names via the serverbrowser. - - Official maps now reside in packages/maps/official - - More detailed information in the serverbrowser. - - Ask to download different map versions from server. - - A reminder of your picked vote is now echo'd to you. - - Option to enable custom player skins in non-team modes only. - - Map messages now show in the loading screen. - - "menuselectionbgcolor" allows you to change the background of your menus. - - Server browser now shows modded servers (those with 'negative' protocols) as mods. - - "menuinitselection" added for scripters. - - "scopesensscale" slider added. - - Added Map-pack integration. - - - - -MAP EDITING: -============ - - "editmapmsg" command allows easy editing of the map message. - - A menu to test skymaps. - - "entstats" will print entity statistics to the console. - - "showmodelclipping" shows the full clipping of all models in the map. - - Command "nextclosestent" for selecting the other entity, if some entities overlaps each other - - Command "closestenttype" allows you to select only a particular type of entity. - - "nextplayerstart" cycles your HUD through each of the "playerstart" entities. Useful for showing you the direction spawns face, or where they are. - - Using 1, 2, 3 or 4 when in editmode, while scrolling, allows you to edit the first, second, third or fourth value in the nearest entity. - - Holding "M" and scrolling moves an entity. - - - - -SERVER SIDE: -============ - - Configurable voting permissions. - - Option to allow demos to be written to file (on the server). - - Advise if needed configuration files are missing. - - Configurable restrictions to only allow server-provided maps. - - Extended scoreboard logging. - - Extended traffic logging. - - Option to allow only matching mode/map combinations for non-admins. - - Option to change the identity of logs output. - - Skip maprot entry if map is not found on server. - - Write the client AC version to the sever log. - - Nickname blacklist (or whitelist). - - Print server and protocol version at startup. - - New make option for "server_install" with reduced dependencies. - - An option has been added to specify a file to read the command line arguments from. - - A new parameter had been added to choose the syslog facility. - - "skiplines" function added to the maprotation. See the server docs for details. - - - - -BUG FIXES: -========== - - Fixes on a few pickup sounds. - - Work-around for a bug in S3 graphics cards. - - Fixed character-limit issue in custom-connect menu. - - Scoreboard crash-fix. - - Fixed kick, ban & forceteam votes. - - Scoreboard logging fixed. - - Protocol "disconnect" bug fixed. - - Port is displayed in connect message. - - "curserver" omits DNS query by default, to speed up curserver command. - - SMG recoil adjusted. - - Allow admin to re-vote if they had voted before taking admin. - - Fixed 'spawn with nades' exploit. - - New players connect to the smaller/weaker team. - - Scoreboard is forced to be enabled during intermission. - - Skip maprot entry if map is not found. - - Serverbrowser tracks selected server. - - Blacklist fixed. - - Updated extinfo protocol version to 104 for CSL (Cube Server Lister). - - Allow changing team when dead (but not spectating). - - Defuse triggerhappy alias context cleanup. - - Block connecting to full, passworded servers. - - Tabs are now allowed in the maprot/serverpwd config files. - - Ponies mode fixed. - - Text input field improvements/fixes. - - Spawns in ac_shine fixed. - - "editent" command fixed. - - Fixed crouching on very thin clip entities. - - GFX quality slider is now independent of the MINLOD variable. - - OMGponies! mode is now independent of blood variable. - - Sound quality slider is now independent of maxsoundsatonce variable. - - - -
  19. Download patch source/adding-maps.txt

    --- 1.1.0.4+dfsg2-1.2/source/adding-maps.txt 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/adding-maps.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -This is here as a reminder for myself (RandumKiwi) of everything that must be -done in a map when making it official, as I will often overlook one of them. - - -Some things to remember to do when adding maps to the official maps: -==================================================================== - -1) Fix-up mistakes in the map. -2) Remove all un-needed comments/spaces/breaks from cfg files. -3) Ensure mapmsg only contains "Map name by Map author" with no colourings. -4) Add to the map menu, and the CTF map menu if applicable. -5) Add to "securemaps.cfg". -6) Add authors (plus texture/skymap/model/etc authors) to the readme. - Remember to do this in the menus.cfg "credits" too. -7) Add new textures/models/skymaps/etc to default_map_settings.cfg as comments. - If you added a skymap, add it to the "test skymaps" menu also. -8) Add new mapmodels to the editing menu. -9) Update the maprot. -10) Create bot waypoints. -
  20. Download patch debian/rules

    --- 1.1.0.4+dfsg2-1.2/debian/rules 2014-10-29 11:55:38.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/rules 2015-01-08 22:47:27.000000000 +0000 @@ -1,12 +1,28 @@ #!/usr/bin/make -f -# -*- makefile -*- + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ --with autotools-dev --sourcedirectory=source/src override_dh_auto_clean: rm -rf bin_unix/ dh_auto_clean + cd source/enet + rm -rf .deps Makefile config.* *.pc libtool -%: - dh $@ --with autoreconf --sourcedirectory=source/src +override_dh_auto_build: + dh_auto_build -- \ + CPPFLAGS="$(CPPFLAGS)" \ + CFLAGS="$(CFLAGS)" \ + CXXFLAGS="$(CXXFLAGS)" \ + LDFLAGS="$(LDFLAGS)" + +override_dh_auto_install: + install -D source/src/ac_client \ + debian/tmp/usr/lib/games/assaultcube/assaultcube + install -D source/src/ac_server \ + debian/tmp/usr/lib/games/assaultcube/assaultcube-server VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+]+).*,\1,p') DEB_VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') @@ -16,7 +32,7 @@ get-orig-source: uscan --noconf --force-download --download-current-version --destdir=. rm -rf $(VER) $(DIR) tar -xjf assaultcube_$(VER).orig.tar.bz2 - mv $(VER) $(DIR) + mv AssaultCube_v$(VER).source $(DIR) cd $(DIR)/source/include/ && find . \! -path "*utf8*" -delete rm -rf $(DIR)/source/vcpp/ rm -rf $(DIR)/source/xcode/
  21. Download patch source/src/bot/ac_bot_ai.cpp
  22. Download patch debian/patches/0003-Clean-Enet-in-AC-clean-target.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0003-Clean-Enet-in-AC-clean-target.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0003-Clean-Enet-in-AC-clean-target.patch 2015-06-16 06:06:51.000000000 +0000 @@ -0,0 +1,35 @@ +From: Martin Erik Werner <martinerikwerner@gmail.com> +Date: Tue, 24 Jan 2012 15:32:37 +0000 +Subject: Clean Enet in AC clean target + +On Debian we recompile the Enet submodule as well, hence we need to clean it +properly. + +This may also be useful when recompiling oneself. + +-- + +Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3430222&group_id=123597&atid=697091 +Last-Update: 2011-10-28 +--- + source/src/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: assaultcube-1.2.0.2/source/src/Makefile +=================================================================== +--- assaultcube-1.2.0.2.orig/source/src/Makefile ++++ assaultcube-1.2.0.2/source/src/Makefile +@@ -121,10 +121,10 @@ all: client server + libenet: ../enet/Makefile + -$(MAKE) -C ../enet all + +-clean-enet: ../enet/Makefile +- $(MAKE) -C ../enet/ clean ++clean-enet: ++ $(MAKE) -C ../enet/ distclean || true + +-clean: ++clean: clean-enet + -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) ac_client ac_server ac_master + # -$(MAKE) -C ../enet/ clean +
  23. Download patch debian/patches/0010-fix-some-errors-and-warnings-for-GCC6.patch
  24. Download patch debian/patches/0002-Start-in-windowed-mode-by-default.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0002-Start-in-windowed-mode-by-default.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0002-Start-in-windowed-mode-by-default.patch 2014-11-02 04:53:47.000000000 +0000 @@ -0,0 +1,27 @@ +From: Martin Erik Werner <martinerikwerner@gmail.com> +Date: Wed, 20 Nov 2013 22:21:20 -0600 +Subject: Start in windowed mode by default + +Policy of Debian Games Team is to start in windowed mode wherever possible. + +-- + +Forwarded: no +Last-Update: 2012-02-27 +--- + source/src/main.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/source/src/main.cpp b/source/src/main.cpp +index 6989359..cad995c 100644 +--- a/source/src/main.cpp ++++ b/source/src/main.cpp +@@ -113,7 +113,7 @@ void setfullscreen(bool enable) + #ifdef _DEBUG + VARF(fullscreen, 0, 0, 1, setfullscreen(fullscreen!=0)); + #else +-VARF(fullscreen, 0, 1, 1, setfullscreen(fullscreen!=0)); ++VARF(fullscreen, 0, 0, 1, setfullscreen(fullscreen!=0)); + #endif + + void writeinitcfg()
  25. Download patch source/src/bot/bot_ai.cpp
  26. Download patch source/enet/Makefile.in
  27. Download patch debian/compat

    --- 1.1.0.4+dfsg2-1.2/debian/compat 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/compat 2014-02-04 03:49:20.000000000 +0000 @@ -1 +1 @@ -7 +9
  28. Download patch source/src/entity.h
  29. Download patch source/src/command.h

    --- 1.1.0.4+dfsg2-1.2/source/src/command.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/command.h 2013-10-22 18:57:19.000000000 +0000 @@ -11,6 +11,7 @@ struct ident { int type; // one of ID_* above const char *name; + bool isconst; union { int minval; // ID_VAR @@ -32,7 +33,7 @@ struct ident void (*fun)(); // ID_VAR, ID_COMMAND identstack *stack; // ID_ALIAS }; - int narg; // ID_VAR, ID_COMMAND + const char *sig; // command signature char *action, *executing; // ID_ALIAS bool persist; @@ -43,56 +44,41 @@ struct ident // ID_VAR ident(int type, const char *name, int minval, int maxval, int *i, void (*fun)(), bool persist, int context) - : type(type), name(name), minval(minval), maxval(maxval), fun(fun), - narg(0), action(NULL), executing(NULL), persist(persist), context(context) + : type(type), name(name), isconst(false), minval(minval), maxval(maxval), fun(fun), + sig(NULL), action(NULL), executing(NULL), persist(persist), context(context) { storage.i = i; } // ID_FVAR ident(int type, const char *name, float minval, float maxval, float *f, void (*fun)(), bool persist, int context) - : type(type), name(name), minvalf(minval), maxvalf(maxval), fun(fun), - narg(0), action(NULL), executing(NULL), persist(persist), context(context) + : type(type), name(name), isconst(false), minvalf(minval), maxvalf(maxval), fun(fun), + sig(NULL), action(NULL), executing(NULL), persist(persist), context(context) { storage.f = f; } // ID_SVAR ident(int type, const char *name, char **s, void (*fun)(), bool persist, int context) - : type(type), name(name), minval(0), maxval(0), fun(fun), - narg(0), action(NULL), executing(NULL), persist(persist), context(context) + : type(type), name(name), isconst(false), minval(0), maxval(0), fun(fun), + sig(NULL), action(NULL), executing(NULL), persist(persist), context(context) { storage.s = s; } // ID_ALIAS ident(int type, const char *name, char *action, bool persist, int context) - : type(type), name(name), minval(0), maxval(0), stack(0), - narg(0), action(action), executing(NULL), persist(persist), context(context) + : type(type), name(name), isconst(false), minval(0), maxval(0), stack(0), + sig(NULL), action(action), executing(NULL), persist(persist), context(context) { storage.i = NULL; } // ID_COMMAND - ident(int type, const char *name, void (*fun)(), int narg, int context) - : type(type), name(name), minval(0), maxval(0), fun(fun), - narg(narg), action(NULL), executing(NULL), persist(false), context(context) + ident(int type, const char *name, void (*fun)(), const char *sig, int context) + : type(type), name(name), isconst(false), minval(0), maxval(0), fun(fun), + sig(sig), action(NULL), executing(NULL), persist(false), context(context) { storage.i = NULL; } }; -enum // function signatures for script functions, see command.cpp -{ - ARG_1INT, ARG_2INT, ARG_3INT, ARG_4INT, - ARG_NONE, - ARG_1STR, ARG_2STR, ARG_3STR, ARG_4STR, ARG_5STR, ARG_6STR, ARG_7STR, ARG_8STR, - ARG_DOWN, - ARG_1EXP, ARG_2EXP, - ARG_1EXPF, ARG_2EXPF, - ARG_1EST, ARG_2EST, - ARG_IVAL, ARG_FVAL, ARG_SVAL, - ARG_CONC, ARG_CONCW, - ARG_VARI -}; - -enum { IEXC_CORE = 0, IEXC_CFG, IEXC_PROMPT, IEXC_MAPCFG, IEXC_NUM }; // script execution context +enum { IEXC_CORE = 0, IEXC_CFG, IEXC_PROMPT, IEXC_MAPCFG, IEXC_MDLCFG, IEXC_NUM }; // script execution context // nasty macros for registering script functions, abuses globals to avoid excessive infrastructure -#define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) -#define COMMAND(name, nargs) COMMANDN(name, name, nargs) -#define COMMANDF(name, nargs, inlinefunc) static void __dummy_##name inlinefunc ; COMMANDN(name, __dummy_##name, nargs) -#define ICOMMANDF(name, nargs, inlinefunc) static int __dummy_##name inlinefunc ; COMMANDN(name, __dummy_##name, nargs) +#define COMMANDN(name, fun, sig) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, sig) +#define COMMAND(name, sig) COMMANDN(name, name, sig) +#define COMMANDF(name, sig, inlinefunc) static void __dummy_##name inlinefunc ; COMMANDN(name, __dummy_##name, sig) #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false)
  30. Download patch debian/patches/0004-switch-back-to-g.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0004-switch-back-to-g.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0004-switch-back-to-g.patch 2015-01-08 07:02:01.000000000 +0000 @@ -0,0 +1,30 @@ +From: =?utf-8?q?=C5=A0ar=C5=ABnas_Snapkauskas?= + <s.snapkauskas+debian@gmail.com> +Date: Mon, 20 Oct 2014 20:13:44 +0300 +Subject: switch back to g++ + +--- + source/src/Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/source/src/Makefile b/source/src/Makefile +index 43431c2..4e5d40c 100644 +--- a/source/src/Makefile ++++ b/source/src/Makefile +@@ -1,5 +1,5 @@ +-CXXFLAGS= -O3 -fomit-frame-pointer +-CXX=clang++ # Use clang++, as g++ optimizations cause crashes... ++CXXFLAGS= -O2 -fomit-frame-pointer ++CXX=g++ + override CXXFLAGS+= -Wall -fsigned-char + + PLATFORM= $(shell uname -s) +@@ -21,7 +21,7 @@ CLIENT_INCLUDES= $(INCLUDES) -I../include + CLIENT_LIBS= -mwindows -L../lib -lSDL -lSDL_image -lzdll -lopengl32 -lenet -lOpenAL32 -llibvorbisfile -llibintl -lws2_32 -lwinmm -lcurl + else + USRLIB=$(shell if [ -e /usr/lib64 ]; then echo "/usr/lib64"; else echo "/usr/lib"; fi) +-# override CXXFLAGS+= -rdynamic # clang++ doesn't use this... ++override CXXFLAGS+= -rdynamic + CLIENT_INCLUDES= $(INCLUDES) -I/usr/include `sdl-config --cflags` -idirafter ../include + CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) -lX11 `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -lcurl + endif
  31. Download patch source/src/bot/botmanager.cpp
  32. Download patch debian/control

    --- 1.1.0.4+dfsg2-1.2/debian/control 2014-10-29 11:54:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/control 2015-02-13 08:14:33.000000000 +0000 @@ -1,21 +1,26 @@ Source: assaultcube Section: contrib/games Priority: optional -Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> -Uploaders: Martin Erik Werner <martinerikwerner@gmail.com> -Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf, libsdl-image1.2-dev, - libsdl1.2-dev, libgl1-mesa-dev, zlib1g-dev, libopenal-dev, libvorbis-dev -Standards-Version: 3.9.2 -Vcs-Svn: svn://svn.debian.org/svn/pkg-games/non-free/packages/trunk/assaultcube/ -Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/non-free/packages/trunk/assaultcube/?view=log +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> +Build-Depends: autotools-dev, + debhelper (>= 9), + libcurl4-openssl-dev, + libgl1-mesa-dev | libgl-dev, + libopenal-dev, + libsdl-image1.2-dev, + libsdl1.2-dev | libsdl-dev, + libvorbis-dev, + zlib1g-dev | libz-dev +Standards-Version: 3.9.6 +Vcs-Git: git://anonscm.debian.org/pkg-games/assaultcube.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/assaultcube.git Homepage: http://assault.cubers.net/ Package: assaultcube Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, assaultcube-data (>= 1.1.0.4+repack1) -Description: realistic first-person-shooter - AssaultCube, formerly ActionCube, is a first-person-shooter based on the - game Cube. Set in a realistic looking environment, as far as that's - possible with this engine, while gameplay stays fast and arcade. This - game is all about team oriented multiplayer fun. - +Depends: ${shlibs:Depends}, ${misc:Depends}, assaultcube-data (>> 1.2.0.2+repack~) +Description: realistic first-person shooter + AssaultCube is a first-person shooter set in a realistic-looking environment. + The arcade-style gameplay is fast-pased and favours team oriented, multiplayer + fun.
  33. Download patch source/enet/win32.c

    --- 1.1.0.4+dfsg2-1.2/source/enet/win32.c 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/win32.c 2013-10-22 18:57:21.000000000 +0000 @@ -166,6 +166,14 @@ enet_socket_set_option (ENetSocket socke result = setsockopt (socket, SOL_SOCKET, SO_SNDBUF, (char *) & value, sizeof (int)); break; + case ENET_SOCKOPT_RCVTIMEO: + result = setsockopt (socket, SOL_SOCKET, SO_RCVTIMEO, (char *) & value, sizeof (int)); + break; + + case ENET_SOCKOPT_SNDTIMEO: + result = setsockopt (socket, SOL_SOCKET, SO_SNDTIMEO, (char *) & value, sizeof (int)); + break; + default: break; } @@ -176,6 +184,7 @@ int enet_socket_connect (ENetSocket socket, const ENetAddress * address) { struct sockaddr_in sin; + int result; memset (& sin, 0, sizeof (struct sockaddr_in)); @@ -183,7 +192,11 @@ enet_socket_connect (ENetSocket socket, sin.sin_port = ENET_HOST_TO_NET_16 (address -> port); sin.sin_addr.s_addr = address -> host; - return connect (socket, (struct sockaddr *) & sin, sizeof (struct sockaddr_in)) == SOCKET_ERROR ? -1 : 0; + result = connect (socket, (struct sockaddr *) & sin, sizeof (struct sockaddr_in)); + if (result == SOCKET_ERROR && WSAGetLastError () != WSAEWOULDBLOCK) + return -1; + + return 0; } ENetSocket @@ -209,10 +222,17 @@ enet_socket_accept (ENetSocket socket, E return result; } +int +enet_socket_shutdown (ENetSocket socket, ENetSocketShutdown how) +{ + return shutdown (socket, (int) how) == SOCKET_ERROR ? -1 : 0; +} + void enet_socket_destroy (ENetSocket socket) { - closesocket (socket); + if (socket != INVALID_SOCKET) + closesocket (socket); } int @@ -238,7 +258,7 @@ enet_socket_send (ENetSocket socket, (DWORD) bufferCount, & sentLength, 0, - address != NULL ? (struct sockaddr *) & sin : 0, + address != NULL ? (struct sockaddr *) & sin : NULL, address != NULL ? sizeof (struct sockaddr_in) : 0, NULL, NULL) == SOCKET_ERROR)
  34. Download patch source/codeblocks/AssaultCube.cbp
  35. Download patch debian/assaultcube.lintian-overrides

    --- 1.1.0.4+dfsg2-1.2/debian/assaultcube.lintian-overrides 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/assaultcube.lintian-overrides 2014-11-02 04:34:29.000000000 +0000 @@ -1,4 +1,6 @@ -# The content of the manpages are CC-BY-NC-SA, and hence provided by +# The content of the manpages are CC-BY-NC-SA-3.0, and hence provided by # assaultcube-data instead, which is non-free. assaultcube: binary-without-manpage usr/games/assaultcube assaultcube: binary-without-manpage usr/games/assaultcube-server +# Likewise for icons +assaultcube: menu-icon-missing usr/share/pixmaps/assaultcube.xpm
  36. Download patch source/src/docs.cpp

    --- 1.1.0.4+dfsg2-1.2/source/src/docs.cpp 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/docs.cpp 2013-10-22 18:57:19.000000000 +0000 @@ -157,15 +157,13 @@ void adddockey(char *alias, char *name, k.desc = desc && strlen(desc) ? newstring(desc) : NULL; } -COMMANDN(docsection, adddocsection, ARG_1STR); -COMMANDN(docident, adddocident, ARG_2STR); -COMMANDN(docargument, adddocargument, ARG_4STR); -COMMANDN(docremark, adddocremark, ARG_1STR); -COMMANDN(docref, adddocref, ARG_4STR); -COMMANDN(docexample, adddocexample, ARG_2STR); -COMMANDN(dockey, adddockey, ARG_3STR); - -int stringsort(const char **a, const char **b) { return strcmp(*a, *b); } +COMMANDN(docsection, adddocsection, "s"); +COMMANDN(docident, adddocident, "ss"); +COMMANDN(docargument, adddocargument, "ssss"); +COMMANDN(docremark, adddocremark, "s"); +COMMANDN(docref, adddocref, "ssss"); +COMMANDN(docexample, adddocexample, "ss"); +COMMANDN(dockey, adddockey, "sss"); char *cvecstr(vector<char *> &cvec, const char *substr, int *rline = NULL) { @@ -211,10 +209,10 @@ void listundoneidents(vector<const char inames.sort(stringsort); } -void docundone(int allidents) +void docundone(int *allidents) { vector<const char *> inames; - listundoneidents(inames, allidents); + listundoneidents(inames, *allidents); inames.sort(stringsort); loopv(inames) conoutf("%s", inames[i]); } @@ -304,7 +302,6 @@ void docwriteref(int allidents, const ch f->printf("\t\t\t<identifiers>\n"); } - static const int bases[] = { ARG_1INT, ARG_1STR, ARG_1EXP, ARG_1EXPF, ARG_1EST }; string name; loopv(inames) { @@ -312,18 +309,12 @@ void docwriteref(int allidents, const ch if(!id || id->type != ID_COMMAND) continue; f->printf("\t\t\t\t<command name=\"%s\">\n", xmlstringenc(name, id->name, MAXSTRLEN)); f->printf("\t\t\t\t\t%s\n", desc); - if(id->narg != ARG_NONE && id->narg != ARG_DOWN && id->narg != ARG_IVAL && id->narg != ARG_FVAL && id->narg != ARG_SVAL) + if(id->sig && id->sig[0]) { f->printf("\t\t\t\t\t<arguments>\n"); - if(id->narg == ARG_CONC || id->narg == ARG_CONCW || id->narg == ARG_VARI) f->printf("\t\t\t\t\t\t<variableArgument token=\"...\" description=\"TODO\"/>\n"); - else + loopi(strlen(id->sig)) { - int base = -1; - loopj(sizeof(bases)/sizeof(bases[0])) - { - if(id->narg < bases[j]) { if(j) base = bases[j-1]; break; } - } - if(base >= 0) loopj(id->narg-base+1) f->printf("\t\t\t\t\t\t<argument token=\"%c\" description=\"TODO\"/>\n", (char)(*"A")+j); + f->printf("\t\t\t\t\t\t<argument token=\"%c\" description=\"TODO\"/>\n", id->sig[i]); } f->printf("\t\t\t\t\t</arguments>\n"); } @@ -366,16 +357,16 @@ void docwritebaseref(char *ref, char *sc docwriteref(-1, ref, schemalocation, transformation); } -void docwritetodoref(int allidents) +void docwritetodoref(int *allidents) { - docwriteref(allidents ? 1 : 0, "", "", ""); + docwriteref(*allidents ? 1 : 0, "", "", ""); } -COMMAND(docundone, ARG_1INT); -COMMAND(docinvalid, ARG_NONE); -COMMAND(docfind, ARG_1STR); -COMMAND(docwritebaseref, ARG_3STR); -COMMAND(docwritetodoref, ARG_1INT); +COMMAND(docundone, "i"); +COMMAND(docinvalid, ""); +COMMAND(docfind, "s"); +COMMAND(docwritebaseref, "sss"); +COMMAND(docwritetodoref, "i"); VAR(docvisible, 0, 1, 1); VAR(docskip, 0, 0, 1000); @@ -397,6 +388,7 @@ int numargs(char *args) switch(*argstart) { case '[': if(*(t-1) != ']') continue; break; + case '(': if(*(t-1) != ')') continue; break; case '"': if(*(t-1) != '"') continue; break; default: break; } @@ -411,18 +403,73 @@ void renderdoc(int x, int y, int doch) if(!docvisible) return; char *exp = getcurcommand(); - if(!exp || *exp != '/' || strlen(exp) < 2) return; - char *c = exp+1; + int o = 0; //offset + int f = 0; //last found + + while (*exp) + {exp++; o++; if (*exp == ';' || (*exp == ' ' && f == o-1)) f = o;} exp--; + + if (f > 0) + { + for (int i = o - f - 1; i > 0; i--) exp--; + if (o > f + 1) exp++; + } + + else {for (int i = o; i > 1; i--) exp--;} + + char *openblock = strrchr(exp+1, '('); //find last open parenthesis + char *closeblock = strrchr(exp+1, ')'); //find last closed parenthesis + char *temp = NULL; + + if (openblock) + { + if (!closeblock || closeblock < openblock) //open block + temp = openblock + 1; + } + + if(!exp || (*exp != '/' && f == 0) || strlen(exp) < 2) return; + + char *c = exp+1; if (f > 0) c = exp; + char *d = NULL; if (temp) d = temp; + size_t clen = strlen(c); + size_t dlen = 0; if (d) dlen = strlen(d); + + bool nc = false; //tests if text after open parenthesis is not a command + + docident *ident = NULL; + for(size_t i = 0; i < clen; i++) // search first matching cmd doc by stripping arguments of exp from right to left { char *end = c+clen-i; if(!*end || *end == ' ') { string cmd; + string dmd; + copystring(cmd, c, clen-i+1); - docident *ident = docidents.access(cmd); + + if (d && !nc && dlen > 1) + { + for(size_t j = 0; j < dlen; j++) //test text after parenthesis + { + char *dnd = d+dlen-j; + if(!*dnd || *dnd == ' ') + { + copystring(dmd, d, dlen-j+1); + ident = docidents.access(dmd); + } + if (j == dlen-1 && !ident) + nc = true; + } + } + else + { + nc = true; + ident = docidents.access(cmd); + } + if(ident) { vector<const char *> doclines; @@ -443,7 +490,10 @@ void renderdoc(int x, int y, int doch) if(ident->arguments.length() > 0) // args { extern textinputbuffer cmdline; + + if (d && dlen > 1) c = d; char *args = strchr(c, ' '); + int arg = -1; if(args) @@ -464,6 +514,7 @@ void renderdoc(int x, int y, int doch) if(arg >= 0) // multipart idents need a fixed argument offset { char *c = cmd; + if (!nc) c = dmd; while((c = strchr(c, ' ')) && c++) arg--; }
  37. Download patch source/src/CUBE_TODO.txt

    --- 1.1.0.4+dfsg2-1.2/source/src/CUBE_TODO.txt 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/CUBE_TODO.txt 2013-10-09 08:27:37.000000000 +0000 @@ -183,7 +183,7 @@ multiplayer: - vote: either explain it or make it easier.. generally make a multiplayer connect walkthru - rethink map get? make it even easier??? - locking of in-progress games -- when switching to map that player doesnt have... something better should happen than keep him in old map with floating players +- when switching to map that player doesnt have... something better should happen than keep them in old map with floating players - capture the chicken mode? other different DM modes? domination? holy wars? - teamplay scores don't record frags of disconnected players - teamplay binds
  38. Download patch source/enet/include/enet/protocol.h

    --- 1.1.0.4+dfsg2-1.2/source/enet/include/enet/protocol.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/include/enet/protocol.h 2013-10-22 18:57:21.000000000 +0000 @@ -16,7 +16,9 @@ enum ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE = 32768, ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT = 1, ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT = 255, - ENET_PROTOCOL_MAXIMUM_PEER_ID = 0xFFF + ENET_PROTOCOL_MAXIMUM_PEER_ID = 0xFFF, + ENET_PROTOCOL_MAXIMUM_PACKET_SIZE = 1024 * 1024 * 1024, + ENET_PROTOCOL_MAXIMUM_FRAGMENT_COUNT = 1024 * 1024 }; typedef enum _ENetProtocolCommand @@ -33,7 +35,8 @@ typedef enum _ENetProtocolCommand ENET_PROTOCOL_COMMAND_SEND_UNSEQUENCED = 9, ENET_PROTOCOL_COMMAND_BANDWIDTH_LIMIT = 10, ENET_PROTOCOL_COMMAND_THROTTLE_CONFIGURE = 11, - ENET_PROTOCOL_COMMAND_COUNT = 12, + ENET_PROTOCOL_COMMAND_SEND_UNRELIABLE_FRAGMENT = 12, + ENET_PROTOCOL_COMMAND_COUNT = 13, ENET_PROTOCOL_COMMAND_MASK = 0x0F } ENetProtocolCommand;
  39. Download patch source/enet/docs/mainpage.dox

    --- 1.1.0.4+dfsg2-1.2/source/enet/docs/mainpage.dox 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/docs/mainpage.dox 2013-10-22 18:57:21.000000000 +0000 @@ -34,28 +34,12 @@ portable, and easily embeddable. @page SourceDistro Source Distribution You can retrieve the source to ENet by downloading it in either .tar.gz form -or accessing the cvs distribution directly. +or accessing the github distribution directly. -The most recent stable release (1.3.0) can be downloaded <a href="http://enet.bespin.org/download/enet-1.3.0.tar.gz">here</a>. -The last release that is protocol compatible with the 1.2 series or earlier (1.2.2) can be downloaded <a href="http://enet.bespin.org/download/enet-1.2.2.tar.gz">here</a> +The most recent stable release (1.3.6) can be downloaded <a href="http://enet.bespin.org/download/enet-1.3.6.tar.gz">here</a>. +The last release that is protocol compatible with the 1.2 series or earlier (1.2.5) can be downloaded <a href="http://enet.bespin.org/download/enet-1.2.5.tar.gz">here</a> -To access ENet via anonymous CVS, you must use the CVSROOT -:pserver:anonymous\@bespin.org:/var/lib/cvs/enet with an empty -password. - -@code - $ cvs -z3 -d :pserver:anonymous@bespin.org:/var/lib/cvs/enet login -@endcode - Hit the return key when prompted for a password. -@code - $ cvs -z3 -d :pserver:anonymous@bespin.org:/var/lib/cvs/enet co -l . - $ cvs -z3 co enet -@endcode - -This will create a CVS directory in the current directory, and with -the second command will proceed to check the enet module out of CVS. -Any problems with CVS access or request for write access should be -sent via email to @ref MailingList. +You can find the most recent ENet source at <a href="https://github.com/lsalzman/enet">the github repository</a>. */
  40. Download patch source/doxygen/run_doygen.bat

    --- 1.1.0.4+dfsg2-1.2/source/doxygen/run_doygen.bat 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/doxygen/run_doygen.bat 2013-10-09 08:27:47.000000000 +0000 @@ -0,0 +1 @@ +"%programfiles%\doxygen\bin\doxygen.exe" Doxyfile \ No newline at end of file
  41. Download patch source/src/jpegenc.h
  42. Download patch debian/patches/gcc6.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/gcc6.patch 2016-09-24 17:40:05.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/gcc6.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -Description: Fix building with GCC 6. -Author: Johannes Brandstätter <jbrandst@2ds.eu> -Bug-Debian: https://bugs.debian.org/836927 -Last-Update: <2016-09-24> - ---- assaultcube-1.1.0.4+dfsg2.orig/source/src/rendertext.cpp -+++ assaultcube-1.1.0.4+dfsg2/source/src/rendertext.cpp -@@ -319,7 +319,7 @@ static void text_color(char c, char *sta - if(c=='r') c = stack[(sp > 0) ? --sp : sp]; // restore color - else if(c == 'b') stack[sp] *= -1; - else stack[sp] = c; -- switch(abs(stack[sp])) -+ switch(static_cast<int>(abs(stack[sp]))) - { - case '0': color = bvec( 2, 255, 128 ); break; // green: player talk - case '1': color = bvec( 96, 160, 255 ); break; // blue: team chat ---- assaultcube-1.1.0.4+dfsg2.orig/source/src/tools.h -+++ assaultcube-1.1.0.4+dfsg2/source/src/tools.h -@@ -55,8 +55,6 @@ static inline T min(T a, T b) - return a < b ? a : b; - } - --static inline float round(float x) { return floor(x + 0.5f); } -- - #define clamp(a,b,c) (max(b, min(a, c))) - #define rnd(max) (rand()%(max)) - #define rnd_2x(max) (rand()%(max)+rand()%(max))
  43. Download patch source/src/geom.h

    --- 1.1.0.4+dfsg2-1.2/source/src/geom.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/geom.h 2013-10-22 18:57:19.000000000 +0000 @@ -26,10 +26,7 @@ inline float fACos( float x ) } #undef UFINVSQRT -inline float pow2(float x) -{ - return x*x; -} +template <typename T> inline T pow2(T x) { return x*x; } // Fast Cosine // inspired after http://www.devmaster.net/forums/showthread.php?t=5784 @@ -89,8 +86,11 @@ struct vec float magnitude() const { return sqrtf(squaredlen()); } vec &normalize() { div(magnitude()); return *this; } + // should NOT be used float fmag() const { return fSqrt(squaredlen()); } float ufmag() const { return ufSqrt(squaredlen()); } + float fmagxy() const { return fSqrt(x*x + y*y); } + float ufmagxy() const { return ufSqrt(x*x + y*y); } float dist(const vec &e) const { vec t; return dist(e, t); } float dist(const vec &e, vec &t) const { t = *this; t.sub(e); return t.magnitude(); } @@ -98,9 +98,6 @@ struct vec float distxy(const vec &e) const { float dx = e.x - x, dy = e.y - y; return sqrtf(dx*dx + dy*dy); } float magnitudexy() const { return sqrtf(x*x + y*y); } - float fmagxy() const { return fSqrt(x*x + y*y); } - float ufmagxy() const { return ufSqrt(x*x + y*y); } - bool reject(const vec &o, float max) const { return x>o.x+max || x<o.x-max || y>o.y+max || y<o.y-max; } vec &cross(const vec &a, const vec &b) { x = a.y*b.z-a.z*b.y; y = a.z*b.x-a.x*b.z; z = a.x*b.y-a.y*b.x; return *this; }
  44. Download patch source/src/crypto_tools.cpp

    --- 1.1.0.4+dfsg2-1.2/source/src/crypto_tools.cpp 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/crypto_tools.cpp 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ -#include <time.h> -#include "crypto_tools.h" -#include "cube.h" - -////////////////////////// crypto rand //////////////////////////////////////// - -#define N (624) -#define M (397) -#define K (0x9908B0DFU) -#define hiBit(u) ((u) & 0x80000000U) -#define loBit(u) ((u) & 0x00000001U) -#define loBits(u) ((u) & 0x7FFFFFFFU) -#define mixBits(u, v) (hiBit(u)|loBits(v)) - -static uint state[N+1]; -static uint *next; -static int left = -1; - -void seedMT(uint seed) -{ - register uint x = (seed | 1U) & 0xFFFFFFFFU, *s = state; - register int j; - for(left=0, *s++=x, j=N; --j; *s++ = (x*=69069U) & 0xFFFFFFFFU); -} - -uint reloadMT(void) -{ - register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; - register int j; - if(left < -1) seedMT(time(NULL)); - left=N-1, next=state+1; - for(s0=state[0], s1=state[1], j=N-M+1; --j; s0=s1, s1=*p2++) *p0++ = *pM++ ^ (mixBits(s0, s1) >> 1) ^ (loBit(s1) ? K : 0U); - for(pM=state, j=M; --j; s0=s1, s1=*p2++) *p0++ = *pM++ ^ (mixBits(s0, s1) >> 1) ^ (loBit(s1) ? K : 0U); - s1=state[0], *p0 = *pM ^ (mixBits(s0, s1) >> 1) ^ (loBit(s1) ? K : 0U); - s1 ^= (s1 >> 11); - s1 ^= (s1 << 7) & 0x9D2C5680U; - s1 ^= (s1 << 15) & 0xEFC60000U; - return(s1 ^ (s1 >> 18)); -} - -uint randomMT(void) -{ - uint y; - if(--left < 0) return(reloadMT()); - y = *next++; - y ^= (y >> 11); - y ^= (y << 7) & 0x9D2C5680U; - y ^= (y << 15) & 0xEFC60000U; - return(y ^ (y >> 18)); -} -
  45. Download patch source/src/cube.h

    --- 1.1.0.4+dfsg2-1.2/source/src/cube.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/cube.h 2013-11-09 22:56:31.000000000 +0000 @@ -17,8 +17,17 @@ #include "command.h" #ifndef STANDALONE + #include "varray.h" #include "vote.h" #include "console.h" + enum + { + SDL_AC_BUTTON_WHEELDOWN = -5, + SDL_AC_BUTTON_WHEELUP = -4, + SDL_AC_BUTTON_RIGHT = -3, + SDL_AC_BUTTON_MIDDLE = -2, + SDL_AC_BUTTON_LEFT = -1 + }; #endif extern sqr *world, *wmip[]; // map data, the mips are sequential 2D arrays in memory @@ -33,7 +42,7 @@ extern bool editmode; extern vector<entity> ents; // map entities extern vector<int> eh_ents; // edithide entities extern vec worldpos, camup, camright, camdir; // current target of the crosshair in the world -extern int lastmillis, totalmillis; // last time +extern int lastmillis, totalmillis, nextmillis; // last time extern int curtime; // current frame time extern int interm; extern int gamemode, nextmode; @@ -46,16 +55,18 @@ extern int stenciling, stencilshadow; extern bool intermission; extern int arenaintermission; extern hashtable<char *, enet_uint32> mapinfo; -extern int hwtexsize; +extern int hwtexsize, hwmaxaniso; extern int numspawn[3], maploaded, numflagspawn[2]; extern int verbose; -#include "protos.h" // external function decls - -#define AC_VERSION 1104 -#define AC_MASTER_URI "assault.cubers.net" +#define AC_VERSION 1202 +#define AC_MASTER_URI "ms.cubers.net" #define AC_MASTER_PORT 28760 -#define MAXCL 20 +#define AC_MASTER_HTTP 1 // default +#define AC_MASTER_RAW 0 +#define MAXCL 16 + +#include "protos.h" // external function decls #endif
  46. Download patch debian/patches/30-build-with-debug-symbols.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/30-build-with-debug-symbols.patch 2011-10-30 13:50:41.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/30-build-with-debug-symbols.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -Description: Build with debug symbols - On Debian we compile with debug symbols for debug packages, and strip for the - normal packages, hence we need build with debugging symbols. -Author: Martin Erik Werner <martinerikwerner@gmail.com> -Forwarded: not-needed -Last-Update: 2011-10-28 - ---- a/source/src/Makefile -+++ b/source/src/Makefile -@@ -1,5 +1,5 @@ - //CXX=g++-gcc-4.2.3 --CXXFLAGS= -O3 -fomit-frame-pointer -+CXXFLAGS= -O3 -fomit-frame-pointer -g - override CXXFLAGS+= -Wall -fsigned-char - - PLATFORM= $(shell uname -s)
  47. Download patch source/enet/peer.c
  48. Download patch source/src/console.cpp
  49. Download patch source/src/entities.cpp
  50. Download patch source/src/audiomanager.cpp
  51. Download patch source/src/crypto.cpp

    --- 1.1.0.4+dfsg2-1.2/source/src/crypto.cpp 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/crypto.cpp 2013-10-09 08:27:37.000000000 +0000 @@ -828,3 +828,37 @@ bool checkchallenge(const char *answerst return answer == *(gfint *)correct; } +////////////////////////// crypto rand //////////////////////////////////////// + +#define N (624) +#define M (397) +#define K (0x9908B0DFU) + +static uint state[N]; +static int next = N; + +void seedMT(uint seed) +{ + state[0] = seed; + for(uint i = 1; i < N; i++) + state[i] = seed = 1812433253U * (seed ^ (seed >> 30)) + i; + next = 0; +} + +uint randomMT() +{ + int cur = next; + if(++next >= N) + { + if(next > N) { seedMT(5489U + time(NULL)); cur = next++; } + else next = 0; + } + uint y = (state[cur] & 0x80000000U) | (state[next] & 0x7FFFFFFFU); + state[cur] = y = state[cur < N-M ? cur + M : cur + M-N] ^ (y >> 1) ^ (-(y & 1U) & K); + y ^= (y >> 11); + y ^= (y << 7) & 0x9D2C5680U; + y ^= (y << 15) & 0xEFC60000U; + y ^= (y >> 18); + return y; +} +
  52. Download patch debian/patches/0008-fix-buffer-overflow-for-unknown-mode-numbers.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0008-fix-buffer-overflow-for-unknown-mode-numbers.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0008-fix-buffer-overflow-for-unknown-mode-numbers.patch 2014-11-02 04:53:47.000000000 +0000 @@ -0,0 +1,29 @@ +From: ac-stef <ac_stef@users.sf.net> +Date: Sat, 24 May 2014 11:42:00 +0200 +Subject: fix buffer overflow for unknown mode numbers + +to test, try /mode 1337 ; map ac_desert + +-- + +Origin: upstream, https://github.com/assaultcube/AC/commit/e313a99beb06307288f94f44b9cc465b000b1b1a +--- + source/src/clientgame.cpp | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp +index 952904f..854f9ca 100644 +--- a/source/src/clientgame.cpp ++++ b/source/src/clientgame.cpp +@@ -1435,9 +1435,8 @@ void scallvote(int *type, const char *arg1, const char *arg2) + { + //FIXME: this stupid conversion of ints to strings and back should + // really be replaced with a saner method +- char m[4]; +- sprintf(&m[0], "%d", nextmode); +- callvote(t, arg1, &m[0], arg2); ++ defformatstring(m)("%d", nextmode); ++ callvote(t, arg1, m, arg2); + break; + } + case SA_KICK:
  53. Download patch source/src/main.cpp
  54. Download patch source/enet/depcomp
  55. Download patch source/src/clients2c.cpp
  56. Download patch source/enet/m4/lt~obsolete.m4

    --- 1.1.0.4+dfsg2-1.2/source/enet/m4/lt~obsolete.m4 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/m4/lt~obsolete.m4 2013-10-22 18:57:21.000000000 +0000 @@ -1,13 +1,13 @@ # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 4 lt~obsolete.m4 +# serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # @@ -77,7 +77,6 @@ m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) @@ -90,3 +89,10 @@ m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [ m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
  57. Download patch source/locale/de/LC_MESSAGES/AC.po

    --- 1.1.0.4+dfsg2-1.2/source/locale/de/LC_MESSAGES/AC.po 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/locale/de/LC_MESSAGES/AC.po 2013-10-22 18:56:57.000000000 +0000 @@ -76,7 +76,7 @@ msgstr "%c3Ungueltiges CTF-Flaggen Objek #: clientgame.cpp:1198 #, c-format msgid "%c3invalid reason" -msgstr "%c3Ungueltige Abstimmung" +msgstr "%c3Ungueltige Begruendung" #: clientgame.cpp:1176 #, c-format
  58. Download patch source/src/clientgame.cpp
  59. Download patch debian/watch

    --- 1.1.0.4+dfsg2-1.2/debian/watch 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/watch 2014-06-27 05:13:53.000000000 +0000 @@ -1,3 +1,3 @@ version=3 opts=dversionmangle=s/\+dfsg\d*$//g \ - http://sf.net/actiongame/AssaultCube_v([\.0-9]+)_source\.tar\.bz2 +http://sf.net/actiongame/AssaultCube_v([\.0-9]+)[\._]source\.tar\.bz2
  60. Download patch source/enet/configure
  61. Download patch source/enet/config.sub
  62. Download patch debian/patches/series

    --- 1.1.0.4+dfsg2-1.2/debian/patches/series 2016-09-24 17:39:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/series 2017-02-03 09:56:13.000000000 +0000 @@ -1,5 +1,10 @@ -10-fix-install-target.patch -20-fix-clean-target.patch -30-build-with-debug-symbols.patch -40-build-with-lX11.patch -gcc6.patch +0001-Use-LDFLAGS-for-hardening-policy.patch +0002-Start-in-windowed-mode-by-default.patch +0003-Clean-Enet-in-AC-clean-target.patch +0004-switch-back-to-g.patch +0005-rewind-command-crash-fix.patch +0006-reverting-integer-overflow-which-floods-the-log-ever.patch +0007-fix-gcc-crashing-the-client.patch +0008-fix-buffer-overflow-for-unknown-mode-numbers.patch +0009-fix-string-lengths-for-server-kill-messages.patch +0010-fix-some-errors-and-warnings-for-GCC6.patch
  63. Download patch debian/patches/0009-fix-string-lengths-for-server-kill-messages.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0009-fix-string-lengths-for-server-kill-messages.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0009-fix-string-lengths-for-server-kill-messages.patch 2014-11-02 04:53:47.000000000 +0000 @@ -0,0 +1,33 @@ +From: ac-stef <ac_stef@users.sf.net> +Date: Fri, 29 Aug 2014 19:12:04 +0200 +Subject: fix string lengths for server kill messages + +this fixes several problems with some global variables, since they no +longer get overwritten by null bytes from this oh so important function... + +-- + +Origin: upstream, https://github.com/assaultcube/AC/commit/16bf7c01cf39d47d46310fde9803014ab542815e +--- + source/src/serverfiles.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/source/src/serverfiles.h b/source/src/serverfiles.h +index 756760a..c40f528 100644 +--- a/source/src/serverfiles.h ++++ b/source/src/serverfiles.h +@@ -946,12 +946,12 @@ struct killmessagesfile : serverconfigfile + { + if(fragmsg) + { +- copystring(killmessages[0][gun], message); ++ copystring(killmessages[0][gun], message, MAXKILLMSGLEN); + logline(ACLOG_VERBOSE, " added msg '%s' for frags with weapon %i ", message, gun); + } + else + { +- copystring(killmessages[1][gun], message); ++ copystring(killmessages[1][gun], message, MAXKILLMSGLEN); + logline(ACLOG_VERBOSE, " added msg '%s' for gibs with weapon %i ", message, gun); + } + }
  64. Download patch source/src/i18n.cpp

    --- 1.1.0.4+dfsg2-1.2/source/src/i18n.cpp 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/i18n.cpp 2013-10-22 18:57:19.000000000 +0000 @@ -3,22 +3,24 @@ #include "cube.h" #include <locale.h> +SVARFP(lang, "en", filterlang(lang, lang)); + i18nmanager::i18nmanager(const char *domain, const char *basepath) : domain(domain), basepath(basepath) { - locale = setlocale(LC_ALL, ""); // use current default locale - bindtextdomain(domain, basepath); // set base path - textdomain(domain); - bind_textdomain_codeset(domain, "UTF-8"); // we use the utf-8 charset only + locale = setlocale(LC_ALL, ""); // use current default locale + bindtextdomain(domain, basepath); // set base path + textdomain(domain); + bind_textdomain_codeset(domain, "UTF-8"); // we use the utf-8 charset only - printf("current locale: %s\n", locale); + setlocale(LC_NUMERIC, "C"); // make sure numeric is consistent (very important for float usage in scripts) } // export gettext to cubescript // this way we can provide localization of strings within cubescript void script_gettext(char *msgid) { - const char *translated = _gettext(msgid); - result(translated); + const char *translated = _gettext(msgid); + result(translated); } -COMMANDN(gettext, script_gettext, ARG_1STR); +COMMANDN(gettext, script_gettext, "s");
  65. Download patch source/src/hudgun.h

    --- 1.1.0.4+dfsg2-1.2/source/src/hudgun.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/hudgun.h 2013-10-22 18:57:16.000000000 +0000 @@ -13,19 +13,19 @@ struct weaponmove vec pos; int anim, basetime; - weaponmove() : k_rot(0), kick(0), anim(0), basetime(0) { pos.x = pos.y = pos.z = 0.0f; } + weaponmove() : k_rot(0), kick(0), anim(0), basetime(0) { pos.x = pos.y = pos.z = 0.0f; } - void calcmove(vec aimdir, int lastaction) + void calcmove(vec aimdir, int lastaction, playerent *p) { kick = k_rot = 0.0f; - pos = player1->o; + pos = p->o; if(!nosway) { float k = pow(0.7f, (lastmillis-lastsway)/10.0f); swaydir.mul(k); - vec dv(player1->vel); - dv.mul((1-k)/max(player1->vel.magnitude(), player1->maxspeed)); + vec dv(p->vel); + dv.mul((1-k)/max(p->vel.magnitude(), p->maxspeed)); dv.x *= 1.5f; dv.y *= 1.5f; dv.z *= 0.4f; @@ -33,22 +33,22 @@ struct weaponmove pos.add(swaydir); } - if(player1->onfloor || player1->onladder || player1->inwater) swaymillis += lastmillis-lastsway; + if(p->onfloor || p->onladder || p->inwater) swaymillis += lastmillis-lastsway; lastsway = lastmillis; - if(player1->weaponchanging) + if(p->weaponchanging) { anim = ANIM_GUN_RELOAD; - basetime = player1->weaponchanging; - float progress = clamp((lastmillis - player1->weaponchanging)/(float)weapon::weaponchangetime, 0.0f, 1.0f); + basetime = p->weaponchanging; + float progress = clamp((lastmillis - p->weaponchanging)/(float)weapon::weaponchangetime, 0.0f, 1.0f); k_rot = -90*sinf(progress*M_PI); } - else if(player1->weaponsel->reloading) + else if(p->weaponsel->reloading) { anim = ANIM_GUN_RELOAD; - basetime = player1->weaponsel->reloading; - float reloadtime = (float)player1->weaponsel->info.reloadtime, - progress = clamp((lastmillis - player1->weaponsel->reloading)/reloadtime, 0.0f, clamp(1.0f - (player1->lastaction + player1->weaponsel->gunwait - lastmillis)/reloadtime, 0.5f, 1.0f)); + basetime = p->weaponsel->reloading; + float reloadtime = (float)p->weaponsel->info.reloadtime, + progress = clamp((lastmillis - p->weaponsel->reloading)/reloadtime, 0.0f, clamp(1.0f - (p->lastaction + p->weaponsel->gunwait - lastmillis)/reloadtime, 0.5f, 1.0f)); k_rot = -90*sinf(progress*M_PI); } else @@ -57,24 +57,24 @@ struct weaponmove basetime = lastaction; int timediff = lastmillis-lastaction, - animtime = min(player1->weaponsel->gunwait, (int)player1->weaponsel->info.attackdelay); + animtime = min(p->weaponsel->gunwait, (int)p->weaponsel->info.attackdelay); vec sway = aimdir; float progress = 0.0f; float k_back = 0.0f; - if(player1->weaponsel==player1->lastattackweapon) + if(p->weaponsel==p->lastattackweapon) { progress = max(0.0f, min(1.0f, timediff/(float)animtime)); // f(x) = -sin(x-1.5)^3 kick = -sinf(pow((1.5f*progress)-1.5f,3)); - if(player1->crouching) kick *= 0.75f; - if(player1->lastaction) anim = player1->weaponsel->modelanim(); + if(p->crouching) kick *= 0.75f; + if(p->lastaction) anim = p->weaponsel->modelanim(); } - if(player1->weaponsel->info.mdl_kick_rot || player1->weaponsel->info.mdl_kick_back) + if(p->weaponsel->info.mdl_kick_rot || p->weaponsel->info.mdl_kick_back) { - k_rot = player1->weaponsel->info.mdl_kick_rot*kick; - k_back = player1->weaponsel->info.mdl_kick_back*kick/10; + k_rot = p->weaponsel->info.mdl_kick_rot*kick; + k_back = p->weaponsel->info.mdl_kick_back*kick/10; } if(nosway) sway.x = sway.y = sway.z = 0; @@ -83,7 +83,7 @@ struct weaponmove float swayspeed = sinf((float)swaymillis/swayspeeddiv)/(swaymovediv/10.0f); float swayupspeed = cosf((float)swaymillis/swayupspeeddiv)/(swayupmovediv/10.0f); - float plspeed = min(1.0f, sqrtf(player1->vel.x*player1->vel.x + player1->vel.y*player1->vel.y)); + float plspeed = min(1.0f, sqrtf(p->vel.x*p->vel.x + p->vel.y*p->vel.y)); swayspeed *= plspeed/2; swayupspeed *= plspeed/2; @@ -98,7 +98,7 @@ struct weaponmove sway.y *= swayspeed; sway.z *= swayupspeed; - if(player1->crouching) sway.mul(0.75f); + if(p->crouching) sway.mul(0.75f); } pos.x -= aimdir.x*k_back+sway.x; @@ -115,7 +115,9 @@ void preload_hudguns() { loopi(NUMGUNS) { - defformatstring(path)("weapons/%s", guns[i].modelname); + if (i==GUN_CPISTOL) continue; //RR 18/12/12 - Remove when cpistol is added. + defformatstring(widn)("modmdlweap%d", i); + defformatstring(path)("weapons/%s", identexists(widn)?getalias(widn):guns[i].modelname); loadmodel(path); } }
  66. Download patch source/dev_tools/configfolder_script.sh

    --- 1.1.0.4+dfsg2-1.2/source/dev_tools/configfolder_script.sh 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/dev_tools/configfolder_script.sh 2013-10-22 18:57:22.000000000 +0000 @@ -0,0 +1,119 @@ +#!/bin/bash +# A simple tool-script to change things in the ./config folder with ease. + +# Run "sh configfolder_script.sh --all" to auto-accept "yes" as the answer to +# all questions in this script. + +# This is the main AssaultCube folder: +PATHTOACDIR=~/AssaultCube/SVN_Trunk + +# This is the docs folder (which holds reference.xml): +ABSOLUTEPATHTODOCS=~/AssaultCube/SVN_Website/htdocs/docs + +# Path to "official" folder: +MAPSPATH="$PATHTOACDIR/packages/maps/official" + + +echo "Generate an updated ./config/securemaps.cfg (Y/N)?" +if [ "$1" != "--all" ]; then + read ANSR +fi +if [ "$ANSR" = "y" ] || [ "$ANSR" = "Y" ] || [ "$ANSR" = "yes" ] || [ "$ANSR" = "YES" ] || [ "$1" = "--all" ]; then + cd $PATHTOACDIR + echo "resetsecuremaps" > ./config/securemaps.cfg + find ./packages/maps/official/*.cgz | \ + xargs -i basename {} .cgz | \ + xargs -i echo "securemap" {} | \ + sort -u >> ./config/securemaps.cfg + echo -e "DONE.\n" +else + echo -e "\a\E[1mNOTE:\E[0m ./config/securemaps.cfg hasn't been updated.\n" +fi + +echo "Generate an updated ./config/docs.cfg (Y/N)?" +if [ "$1" != "--all" ]; then + read ANSR +fi +if [ "$ANSR" = "y" ] || [ "$ANSR" = "Y" ] || [ "$ANSR" = "yes" ] || [ "$ANSR" = "YES" ] || [ "$1" = "--all" ]; then + cd $ABSOLUTEPATHTODOCS + xsltproc -o $PATHTOACDIR/config/docs.cfg ./xml/cuberef2cubescript.xslt ./reference.xml + echo -e "DONE.\n" +else + echo -e "\a\E[1mNOTE:\E[0m ./config/docs.cfg hasn't been updated.\n" +fi + +echo "Strip all \"official\" maps configs of cruft, leaving top-of-file comments alone (Y/N)?" +if [ "$1" != "--all" ]; then + read ANSR +fi +if [ "$ANSR" = "y" ] || [ "$ANSR" = "Y" ] || [ "$ANSR" = "yes" ] || [ "$ANSR" = "YES" ] || [ "$1" = "--all" ]; then + cd $PATHTOACDIR + sh config/convert_mapconfig.sh -osp ./packages/maps/official/*.cfg + echo -e "DONE.\n" +else + echo -e "\a\E[1mNOTE:\E[0m Map config files have been left alone.\n" +fi + +echo "Strip all config files of trailing spaces/tabs (Y/N)?" +if [ "$1" != "--all" ]; then + read ANSR +fi +if [ "$ANSR" = "y" ] || [ "$ANSR" = "Y" ] || [ "$ANSR" = "yes" ] || [ "$ANSR" = "YES" ] || [ "$1" = "--all" ]; then + cd $PATHTOACDIR/config + sed -i 's/^M$//' * + sed -i 's/[ \t]*$//' * + echo -e "DONE.\n" +else + echo -e "\a\E[1mNOTE:\E[0m Config files haven't had leading whitespace stripped.\n" +fi + + +# Auto-generates a list of maps: +MAPSLIST=`cd "$MAPSPATH" && find ./*.cgz | xargs -i basename {} .cgz | sort -u | sed 's/\n/ /g'` + +# Currently listed CTF maps: +CURCTFMAPS="$(cd $PATHTOACDIR/config && sed -n 's/const ctfmaps \[//p' menus.cfg | sed 's/\]//g')" + +# List of non-CTF maps: +NONCTFLIST=`echo " " "$CURCTFMAPS" " " "$MAPSLIST" " " | sed "s/ /\n/g" | sed '/^$/d' | sort | uniq -u` + + +read +echo "Update all menus with current \"official\" maps (Y/N)?" +if [ "$1" != "--all" ]; then + read ANSR +fi +if [ "$ANSR" = "y" ] || [ "$ANSR" = "Y" ] || [ "$ANSR" = "yes" ] || [ "$ANSR" = "YES" ] || [ "$1" = "--all" ]; then + cd $PATHTOACDIR/config + + # Replacement text for "const defaultmaps": + DEFLTMAPS=`echo "const defaultmaps [" $MAPSLIST "]"` + + # Replacement text for the bot silders: + BOTSLIDER=`echo 'menuitemslider (_ [Map: ]) 0 (- (listlen $defaultmaps) 1) "$survMap" 1 [' $MAPSLIST '] [ survMap = $arg1 ]'` + + sed -i 's/const defaultmaps..*/'"$DEFLTMAPS"'/g' menus.cfg + sed -i 's/menuitemslider \[Map: \] 0..*/'"$BOTSLIDER"'/g' menus_bot.cfg + echo "The following official maps are NOT listed for CTF mode currently:" + echo $NONCTFLIST + echo "Add a map to this list (Y/N)?" + read ANSR + if [ "$ANSR" = "y" ] || [ "$ANSR" = "Y" ] || [ "$ANSR" = "yes" ] || [ "$ANSR" = "YES" ]; then + echo "Please type the names of maps to add to the CTF menu, seperated by spaces." + read NEWCTFMAPS + + # List of CTF maps, with new additions: + CTFLIST="$(echo " " "$CURCTFMAPS" " " "$NEWCTFMAPS" " " | sed "s/ /\n/g" | sed '/^$/d' | sort -u | sed "s/\n/ /g")" + # Replacement text for "const ctfmaps": + CTFMAPS="$(echo "const ctfmaps [" $CTFLIST "]")" + + sed -i 's/const ctfmaps..*/'"$CTFMAPS"'/g' menus.cfg + echo -e "DONE.\n" + else + echo -e "\a\E[1mNOTE:\E[0m DONE... no changes were made to the CTF maps list." + fi +else + echo -e "\a\E[1mNOTE:\E[0m No map menus have been updated." +fi + +
  67. Download patch debian/scripts/assaultcube

    --- 1.1.0.4+dfsg2-1.2/debian/scripts/assaultcube 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/scripts/assaultcube 2015-02-13 08:08:11.000000000 +0000 @@ -7,7 +7,6 @@ do fi done -AC_OPTIONS="--home=${HOME}/.assaultcube_v1.104 --init" +AC_OPTIONS="--home=${HOME}/.assaultcube/v1.2 --init" cd /usr/lib/games/assaultcube -exec ./ac_client ${AC_OPTIONS} ${1+"$@"} -# ${1+"$@"} is a portability hack, keyword "wrapper script" +exec ./assaultcube ${AC_OPTIONS} ${1+"$@"}
  68. Download patch source/src/editing.cpp
  69. Download patch source/enet/include/enet/enet.h

    --- 1.1.0.4+dfsg2-1.2/source/enet/include/enet/enet.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/include/enet/enet.h 2013-10-22 18:57:21.000000000 +0000 @@ -25,12 +25,16 @@ extern "C" #define ENET_VERSION_MAJOR 1 #define ENET_VERSION_MINOR 3 -#define ENET_VERSION_PATCH 0 +#define ENET_VERSION_PATCH 6 #define ENET_VERSION_CREATE(major, minor, patch) (((major)<<16) | ((minor)<<8) | (patch)) #define ENET_VERSION ENET_VERSION_CREATE(ENET_VERSION_MAJOR, ENET_VERSION_MINOR, ENET_VERSION_PATCH) typedef enet_uint32 ENetVersion; +struct _ENetHost; +struct _ENetEvent; +struct _ENetPacket; + typedef enum _ENetSocketType { ENET_SOCKET_TYPE_STREAM = 1, @@ -50,9 +54,18 @@ typedef enum _ENetSocketOption ENET_SOCKOPT_BROADCAST = 2, ENET_SOCKOPT_RCVBUF = 3, ENET_SOCKOPT_SNDBUF = 4, - ENET_SOCKOPT_REUSEADDR = 5 + ENET_SOCKOPT_REUSEADDR = 5, + ENET_SOCKOPT_RCVTIMEO = 6, + ENET_SOCKOPT_SNDTIMEO = 7 } ENetSocketOption; +typedef enum _ENetSocketShutdown +{ + ENET_SOCKET_SHUTDOWN_READ = 0, + ENET_SOCKET_SHUTDOWN_WRITE = 1, + ENET_SOCKET_SHUTDOWN_READ_WRITE = 2 +} ENetSocketShutdown; + enum { ENET_HOST_ANY = 0, /**< specifies the default server host */ @@ -96,10 +109,12 @@ typedef enum _ENetPacketFlag */ ENET_PACKET_FLAG_UNSEQUENCED = (1 << 1), /** packet will not allocate data, and user must supply it instead */ - ENET_PACKET_FLAG_NO_ALLOCATE = (1 << 2) + ENET_PACKET_FLAG_NO_ALLOCATE = (1 << 2), + /** packet will be fragmented using unreliable (instead of reliable) sends + * if it exceeds the MTU */ + ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT = (1 << 3) } ENetPacketFlag; -struct _ENetPacket; typedef void (ENET_CALLBACK * ENetPacketFreeCallback) (struct _ENetPacket *); /** @@ -218,6 +233,7 @@ typedef struct _ENetChannel enet_uint16 usedReliableWindows; enet_uint16 reliableWindows [ENET_PEER_RELIABLE_WINDOWS]; enet_uint16 incomingReliableSequenceNumber; + enet_uint16 incomingUnreliableSequenceNumber; ENetList incomingReliableCommands; ENetList incomingUnreliableCommands; } ENetChannel; @@ -263,6 +279,10 @@ typedef struct _ENetPeer enet_uint32 packetThrottleAcceleration; enet_uint32 packetThrottleDeceleration; enet_uint32 packetThrottleInterval; + enet_uint32 pingInterval; + enet_uint32 timeoutLimit; + enet_uint32 timeoutMinimum; + enet_uint32 timeoutMaximum; enet_uint32 lastRoundTripTime; enet_uint32 lowestRoundTripTime; enet_uint32 lastRoundTripTimeVariance; @@ -302,6 +322,9 @@ typedef struct _ENetCompressor /** Callback that computes the checksum of the data held in buffers[0:bufferCount-1] */ typedef enet_uint32 (ENET_CALLBACK * ENetChecksumCallback) (const ENetBuffer * buffers, size_t bufferCount); + +/** Callback for intercepting received raw UDP packets. Should return 1 to intercept, 0 to ignore, or -1 to propagate an error. */ +typedef int (ENET_CALLBACK * ENetInterceptCallback) (struct _ENetHost * host, struct _ENetEvent * event); /** An ENet host for communicating with peers. * @@ -351,6 +374,7 @@ typedef struct _ENetHost enet_uint32 totalSentPackets; /**< total UDP packets sent, user should reset to 0 as needed to prevent overflow */ enet_uint32 totalReceivedData; /**< total data received, user should reset to 0 as needed to prevent overflow */ enet_uint32 totalReceivedPackets; /**< total UDP packets received, user should reset to 0 as needed to prevent overflow */ + ENetInterceptCallback intercept; /**< callback the user can set to intercept received raw UDP packets */ } ENetHost; /** @@ -450,6 +474,7 @@ ENET_API int enet_socket_send (EN ENET_API int enet_socket_receive (ENetSocket, ENetAddress *, ENetBuffer *, size_t); ENET_API int enet_socket_wait (ENetSocket, enet_uint32 *, enet_uint32); ENET_API int enet_socket_set_option (ENetSocket, ENetSocketOption, int); +ENET_API int enet_socket_shutdown (ENetSocket, ENetSocketShutdown); ENET_API void enet_socket_destroy (ENetSocket); ENET_API int enet_socketset_select (ENetSocket, ENetSocketSet *, ENetSocketSet *, enet_uint32); @@ -493,7 +518,7 @@ ENET_API int enet_address_get_host (cons ENET_API ENetPacket * enet_packet_create (const void *, size_t, enet_uint32); ENET_API void enet_packet_destroy (ENetPacket *); ENET_API int enet_packet_resize (ENetPacket *, size_t); -extern enet_uint32 enet_crc32 (const ENetBuffer *, size_t); +ENET_API enet_uint32 enet_crc32 (const ENetBuffer *, size_t); ENET_API ENetHost * enet_host_create (const ENetAddress *, size_t, size_t, enet_uint32, enet_uint32); ENET_API void enet_host_destroy (ENetHost *); @@ -511,6 +536,8 @@ extern void enet_host_bandwidth_ ENET_API int enet_peer_send (ENetPeer *, enet_uint8, ENetPacket *); ENET_API ENetPacket * enet_peer_receive (ENetPeer *, enet_uint8 * channelID); ENET_API void enet_peer_ping (ENetPeer *); +ENET_API void enet_peer_ping_interval (ENetPeer *, enet_uint32); +ENET_API void enet_peer_timeout (ENetPeer *, enet_uint32, enet_uint32, enet_uint32); ENET_API void enet_peer_reset (ENetPeer *); ENET_API void enet_peer_disconnect (ENetPeer *, enet_uint32); ENET_API void enet_peer_disconnect_now (ENetPeer *, enet_uint32);
  70. Download patch source/enet/LICENSE

    --- 1.1.0.4+dfsg2-1.2/source/enet/LICENSE 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/LICENSE 2013-10-22 18:57:21.000000000 +0000 @@ -1,4 +1,4 @@ -Copyright (c) 2002-2010 Lee Salzman +Copyright (c) 2002-2012 Lee Salzman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  71. Download patch debian/assaultcube.dirs

    --- 1.1.0.4+dfsg2-1.2/debian/assaultcube.dirs 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/assaultcube.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -/usr/lib/games/assaultcube -/usr/games -/usr/share/pixmaps
  72. Download patch source/enet/install-sh

    --- 1.1.0.4+dfsg2-1.2/source/enet/install-sh 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/install-sh 2013-10-22 18:57:22.000000000 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2009-04-28.21; # UTC +scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -156,6 +156,10 @@ while test $# -ne 0; do -s) stripcmd=$stripprog;; -t) dst_arg=$2 + # Protect names problematic for `test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac shift;; -T) no_target_directory=true;; @@ -186,6 +190,10 @@ if test $# -ne 0 && test -z "$dir_arg$ds fi shift # arg dst_arg=$arg + # Protect names problematic for `test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac done fi @@ -200,7 +208,11 @@ if test $# -eq 0; then fi if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. @@ -228,9 +240,9 @@ fi for src do - # Protect names starting with `-'. + # Protect names problematic for `test' and other utilities. case $src in - -*) src=./$src;; + -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then @@ -252,12 +264,7 @@ do echo "$0: no destination specified." >&2 exit 1 fi - dst=$dst_arg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst;; - esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. @@ -385,7 +392,7 @@ do case $dstdir in /*) prefix='/';; - -*) prefix='./';; + [-=\(\)!]*) prefix='./';; *) prefix='';; esac @@ -403,7 +410,7 @@ do for d do - test -z "$d" && continue + test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then
  73. Download patch debian/patches/0006-reverting-integer-overflow-which-floods-the-log-ever.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0006-reverting-integer-overflow-which-floods-the-log-ever.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0006-reverting-integer-overflow-which-floods-the-log-ever.patch 2014-11-02 04:53:47.000000000 +0000 @@ -0,0 +1,49 @@ +From: ac-stef <ac_stef@users.sf.net> +Date: Sat, 8 Mar 2014 20:08:03 +0100 +Subject: reverting integer overflow which floods the log every 50 days + +-- + +Origin: upstream, https://github.com/assaultcube/AC/commit/13c432229b0f046e14c0f2c419b678f94b6442cf +--- + source/src/server.cpp | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/source/src/server.cpp b/source/src/server.cpp +index c4072d0..d45f183 100644 +--- a/source/src/server.cpp ++++ b/source/src/server.cpp +@@ -25,7 +25,7 @@ killmessagesfile killmsgs; + bool isdedicated = false; + ENetHost *serverhost = NULL; + +-int nextstatus = 0, servmillis = 0, lastfillup = 0; ++int laststatus = 0, servmillis = 0, lastfillup = 0; + + vector<client *> clients; + vector<worldstate *> worldstates; +@@ -492,10 +492,10 @@ const char *getDemoFilename(int gmode, int mplay, int mdrop, int tstamp, char *s + // %w : timestamp "when" + static string dmofn; + copystring(dmofn, ""); +- ++ + int cc = 0; + int mc = strlen(DEMOFORMAT); +- ++ + while(cc<mc) + { + switch(DEMOFORMAT[cc]) +@@ -3897,9 +3897,9 @@ void serverslice(uint timeout) // main server update, called from cube main lo + lastThrottleEpoch = serverhost->bandwidthThrottleEpoch; + } + +- if(servmillis>nextstatus) // display bandwidth stats, useful for server ops ++ if(servmillis - laststatus > 60 * 1000) // display bandwidth stats, useful for server ops + { +- nextstatus = servmillis + 60 * 1000; ++ laststatus = servmillis; + rereadcfgs(); + if(nonlocalclients || serverhost->totalSentData || serverhost->totalReceivedData) + {
  74. Download patch source/src/command.cpp
  75. Download patch source/enet/docs/install.dox

    --- 1.1.0.4+dfsg2-1.2/source/enet/docs/install.dox 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/docs/install.dox 2013-10-22 18:57:21.000000000 +0000 @@ -12,7 +12,7 @@ by doing the following: ./configure && make && make install -If you obtained the package from CVS, you must have automake and autoconf +If you obtained the package from github, you must have automake and autoconf available to generate the build system first by doing the following command before using the above mentioned build procedure: @@ -27,6 +27,10 @@ is linked in. @section Windows Microsoft Windows +You may simply use the included "enet.lib" or "enet64.lib" static libraries. +However, if you wish to build the library yourself, then the following +instructions apply: + There is an included MSVC 6 project (enet.dsp) which you may use to build a suitable library file. Alternatively, you may simply drag all the ENet source files into your main project.
  76. Download patch debian/assaultcube.menu

    --- 1.1.0.4+dfsg2-1.2/debian/assaultcube.menu 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/assaultcube.menu 2014-11-02 04:35:08.000000000 +0000 @@ -0,0 +1,6 @@ +?package(assaultcube):needs="X11" \ + section="Games/Action" \ + icon="/usr/share/pixmaps/assaultcube.xpm" \ + title="AssaultCube" \ + longtitle="Realistic first-person-shooter" \ + command="/usr/games/assaultcube"
  77. Download patch source/doxygen/Doxyfile
  78. Download patch source/enet/m4/ltoptions.m4

    --- 1.1.0.4+dfsg2-1.2/source/enet/m4/ltoptions.m4 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/m4/ltoptions.m4 2013-10-22 18:57:21.000000000 +0000 @@ -1,13 +1,14 @@ # Helper functions for option handling. -*- Autoconf -*- # -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 6 ltoptions.m4 +# serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) @@ -125,7 +126,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) @@ -133,13 +134,13 @@ case $host in esac test -z "$AS" && AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl +_LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], @@ -325,9 +326,24 @@ dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic], + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  79. Download patch source/src/client.cpp
  80. Download patch source/enet/ltmain.sh
  81. Download patch source/enet/config.guess
  82. Download patch debian/patches/10-fix-install-target.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/10-fix-install-target.patch 2011-10-30 13:49:32.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/10-fix-install-target.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +0,0 @@ -Description: Force creating install target - Since the flder bin/ is removed from the orig tarball for Debian (since we - recompile anyways), we need to use install instead of cp in order to recreate - the bin/ directory. - . - This is also kind of useful when recompiling oneself. -Author: Martin Erik Werner <martinerikwerner@gmail.com> -Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3430221&group_id=123597&atid=697091 -Last-Update: 2011-10-28 - ---- a/source/src/Makefile -+++ b/source/src/Makefile -@@ -174,13 +174,13 @@ - $(CXX) $(CXXFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) - - client_install: client -- cp ac_client ../../bin_unix/$(PLATFORM_PREFIX)_client -+ install -D ac_client ../../bin_unix/$(PLATFORM_PREFIX)_client - #ifneq (,$(STRIP)) - # $(STRIP) ../../bin_unix/$(PLATFORM_PREFIX)_client - #endif - - server_install: server -- cp ac_server ../../bin_unix/$(PLATFORM_PREFIX)_server -+ install -D ac_server ../../bin_unix/$(PLATFORM_PREFIX)_server - #ifneq (,$(STRIP)) - # $(STRIP) ../../bin_unix/$(PLATFORM_PREFIX)_server - #endif
  83. Download patch debian/assaultcube.xpm
  84. Download patch source/src/bot/bot.cpp
  85. Download patch source/packaging_guide.txt

    --- 1.1.0.4+dfsg2-1.2/source/packaging_guide.txt 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/packaging_guide.txt 2013-10-09 08:26:43.000000000 +0000 @@ -1,14 +1,14 @@ Packaging AssaultCube: -1. fresh cvs checkout (Don't start AC afterwards to avoid any changes) +1. fresh svn checkout (Don't start AC afterwards to avoid any changes) 2. delete config/saved.cfg if existent 3. make sure config/servers.cfg is empty 4. delete contents of folder screenshots/ 5. delete contents of folder demos/ -6. delete the whole source/ folder (Does not apply to Linux, as the Linux packages comes with full source) +6. delete the whole source/ folder 7. delete the whole docs/autogen/ folder -8. Copy shadow files (.dat) from another working AC installation (CVS) into the freshly exported directory +8. Copy shadow files (.dat) from another working AC installation (SVN) into the freshly exported directory 9. Delete the bin_*/ folders that are not needed by your platform -10.Package AC (.exe/.tgz/etc) and name it like AssaultCube_vMAJOR.MINOR.FORMAT on Windows this could be AssaultCube_v1.0.exe +10.Package AC (.exe/.tgz/etc) and name it like AssaultCube_vMAJOR.MINOR.BUILD.REVISION.FORMAT on Windows this could be AssaultCube_v1.0.0.0.exe This steps can be automatized, see source\vcpp\buildEnv\*.bat for examples. \ No newline at end of file
  86. Download patch source/enet/protocol.c
  87. Download patch debian/patches/0005-rewind-command-crash-fix.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/0005-rewind-command-crash-fix.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/0005-rewind-command-crash-fix.patch 2014-11-02 04:53:47.000000000 +0000 @@ -0,0 +1,24 @@ +From: Lucas GAUTHERON <lucas.gautheron@gmail.com> +Date: Sat, 18 Jan 2014 22:47:29 +0100 +Subject: rewind command crash fix + +-- + +Origin: upstream, https://github.com/assaultcube/AC/commit/5feb0daae59579b59c986a06c433e77313d82fdb +--- + source/src/client.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/source/src/client.cpp b/source/src/client.cpp +index 33e532e..d3a8279 100644 +--- a/source/src/client.cpp ++++ b/source/src/client.cpp +@@ -846,7 +846,7 @@ void shiftgametime(int newmillis) + // if rewinding + if(!curdemofile || !curdemofile[0]) return; + watchingdemo = false; +- callvote(SA_MAP, curdemofile, "-1"); ++ callvote(SA_MAP, curdemofile, "-1", "0"); + nextmillis = newmillis; + } + else
  88. Download patch source/src/bot/ac_bot.cpp

    --- 1.1.0.4+dfsg2-1.2/source/src/bot/ac_bot.cpp 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/bot/ac_bot.cpp 2013-10-09 08:27:31.000000000 +0000 @@ -1,7 +1,7 @@ // // C++ Implementation: bot // -// Description: Main bot code for Action Cube +// Description: Main bot code for AssaultCube // // Main bot file // @@ -23,14 +23,14 @@ extern void spawnstate(playerent *d); void CACBot::Spawn() { - // Init all bot variabeles - m_pMyEnt->nextprimary = 2 + rnd(4); - m_pMyEnt->targetyaw = m_pMyEnt->targetpitch = 0.0f; - m_pMyEnt->pBot = this; - - spawnplayer(m_pMyEnt); - - m_eCurrentBotState = STATE_NORMAL; + // Init all bot variabeles + m_pMyEnt->nextprimary = 2 + rnd(5); // 2011jan18:ft: 2 == GUN_CARBINE, GUN_SHOTGUN, GUN_SUBGUN, GUN_SNIPER, GUN_ASSAULT - if CPISTOL is activated this needs a FIXME to rnd(6) + m_pMyEnt->targetyaw = m_pMyEnt->targetpitch = 0.0f; + m_pMyEnt->pBot = this; + + spawnplayer(m_pMyEnt); + + m_eCurrentBotState = STATE_NORMAL; m_iShootDelay = m_iChangeWeaponDelay = 0; m_iCheckEnvDelay = 0; m_vPrevOrigin = g_vecZero; @@ -39,7 +39,7 @@ void CACBot::Spawn() m_iStuckTime = 0; m_iStrafeTime = m_iStrafeCheckDelay = 0; m_iMoveDir = DIR_NONE; - + m_pPrevEnemy = NULL; m_iCombatNavTime = 0; m_iSPMoveTime = 0; @@ -52,27 +52,27 @@ void CACBot::Spawn() m_pHuntTarget = NULL; m_fPrevHuntDist = 0.0f; m_iHuntLastTurnLessTime = m_iHuntPlayerUpdateTime = m_iHuntPauseTime = 0; - + m_iLastJumpPad = 0; m_pTargetEnt = NULL; m_iCheckTeleporterDelay = m_iCheckJumppadsDelay = 0; m_iCheckEntsDelay = 0; m_iCheckTriggersDelay = 0; m_iLookForWaypointTime = 0; - + m_iAimDelay = 0; m_fYawToTurn = m_fPitchToTurn = 0.0f; - + m_vGoal = m_vWaterGoal = g_vecZero; - + ResetWaypointVars(); } void CACBot::CheckItemPickup() { - checkitems(m_pMyEnt); + checkitems(m_pMyEnt); } - + // AC Bot class end #endif
  89. Download patch source/enet/aclocal.m4
  90. Download patch source/src/bot/bot_waypoint.cpp
  91. Download patch source/src/bot/bot_util.h

    --- 1.1.0.4+dfsg2-1.2/source/src/bot/bot_util.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/bot/bot_util.h 2013-10-22 18:57:16.000000000 +0000 @@ -1,13 +1,6 @@ #ifndef BOT_UTIL_H #define BOT_UTIL_H -// Structure for storing traceresults -struct traceresult_s -{ - vec end; - bool collided; -}; - long RandomLong(long from, long to); float RandomFloat(float from, float to); void lsrand(unsigned long initial_seed); @@ -15,8 +8,7 @@ void lsrand(unsigned long initial_seed); void AnglesToVectors(vec angles, vec &forward, vec &right, vec &up); float WrapXAngle(float angle); float WrapYZAngle(float angle); -void TraceLine(vec from, vec to, dynent *pTracer, bool CheckPlayers, traceresult_s *tr, - bool SkipTags=false); + float GetDistance(vec v1, vec v2); float Get2DDistance(vec v1, vec v2); bool IsVisible(vec v1, vec v2, dynent *tracer = NULL, bool SkipTags=false); @@ -255,8 +247,8 @@ public: } node_s *GetFirst(void) { - return pNodeList; - }; + return pNodeList; + }; node_s *GetLast(void) { return pLastNode; }; void EditEntry(C OrigEntry, C NewVal) @@ -289,7 +281,7 @@ public: DeleteAllNodes(); }; - //fixmebot +//fixmebot //private: node_s *pNodeList; node_s *pLastNode;
  92. Download patch source/enet/m4/libtool.m4
  93. Download patch source/locale/compile_mo.sh

    --- 1.1.0.4+dfsg2-1.2/source/locale/compile_mo.sh 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/locale/compile_mo.sh 2013-10-22 18:56:57.000000000 +0000 @@ -0,0 +1,11 @@ +#!/bin/bash +if [ $# -eq 1 ]; then + LC=$1 + # "assume" LC is valid .. maybe someone "bored" wants to write some checks, but hey, this isn't a user-interface :-P + msgfmt -c -v -o $LC/LC_MESSAGES/AC.mo $LC/LC_MESSAGES/AC.po + cp -f $LC/LC_MESSAGES/AC.mo ../../packages/locale/$LC/LC_MESSAGES/AC.mo +else + echo "pass me a language-code (LC) to compile for (de, it, ...)" + #echo "you should have prepared ../../packages/locale/__LC__/LC_MESSAGES - where __LC__ is your language code!" +fi + Binary files 1.1.0.4+dfsg2-1.2/source/locale/de/LC_MESSAGES/AC.mo and 1.2.0.2+dfsg1-0ubuntu4/source/locale/de/LC_MESSAGES/AC.mo differ
  94. Download patch debian/scripts/assaultcube-server

    --- 1.1.0.4+dfsg2-1.2/debian/scripts/assaultcube-server 2011-10-28 12:45:04.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/scripts/assaultcube-server 2014-11-02 05:05:20.000000000 +0000 @@ -9,5 +9,4 @@ done AC_OPTIONS="" cd /usr/lib/games/assaultcube -exec ./ac_server ${AC_OPTIONS} ${1+"$@"} -# ${1+"$@"} is a portability hack, keyword "wrapper script" +exec ./assaultcube-server ${AC_OPTIONS} ${1+"$@"}
  95. Download patch debian/copyright
  96. Download patch debian/patches/use_system_ene.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/use_system_ene.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/use_system_ene.patch 2015-01-08 07:01:28.000000000 +0000 @@ -0,0 +1,50 @@ +--- a/source/src/Makefile ++++ b/source/src/Makefile +@@ -1,11 +1,11 @@ + CXXFLAGS= -O3 -fomit-frame-pointer +-CXX=clang++ # Use clang++, as g++ optimizations cause crashes... ++CXX=g++ # Use clang++, as g++ optimizations cause crashes... + override CXXFLAGS+= -Wall -fsigned-char + + PLATFORM= $(shell uname -s) + PLATFORM_PREFIX=native + +-INCLUDES= -I. -Ibot -I../enet/include ++INCLUDES= -I. -Ibot -I/usr/include/enet + + STRIP= + ifeq (,$(findstring -g,$(CXXFLAGS))) +@@ -23,7 +23,7 @@ + USRLIB=$(shell if [ -e /usr/lib64 ]; then echo "/usr/lib64"; else echo "/usr/lib"; fi) + # override CXXFLAGS+= -rdynamic # clang++ doesn't use this... + CLIENT_INCLUDES= $(INCLUDES) -I/usr/include `sdl-config --cflags` -idirafter ../include +-CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) -lX11 `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -lcurl ++CLIENT_LIBS= -L/usr/include/enet -lenet -L$(USRLIB) -lX11 `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -lcurl + endif + + CLIENT_OBJS= \ +@@ -88,7 +88,7 @@ + SERVER_LIBS= -L../lib -lzdll -lenet -llibintl -lws2_32 -lwinmm + else + SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) +-SERVER_LIBS= -L../enet/.libs -lenet -lz ++SERVER_LIBS= -L/usr/include/enet -lenet -lz + endif + + SERVER_OBJS= \ +@@ -155,12 +155,12 @@ + server_install: server + + else +-client: libenet $(CLIENT_OBJS) ++client: $(CLIENT_OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_client $(CLIENT_OBJS) $(CLIENT_LIBS) + +-server: libenet $(SERVER_OBJS) ++server: $(SERVER_OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_server $(SERVER_OBJS) $(SERVER_LIBS) +-master: libenet $(MASTER_OBJS) ++master: $(MASTER_OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) + + client_install: client
  97. Download patch debian/patches/20-fix-clean-target.patch

    --- 1.1.0.4+dfsg2-1.2/debian/patches/20-fix-clean-target.patch 2014-10-29 11:36:49.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/debian/patches/20-fix-clean-target.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,36 +0,0 @@ -Description: Clean Enet in AC clean target - On Debian we recompile the Enet submodule as well, hence we need to clean it - properly. - . - This may also be useful when recompiling oneself. -Author: Martin Erik Werner <martinerikwerner@gmail.com> -Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3430222&group_id=123597&atid=697091 -Last-Update: 2011-10-28 - -Index: assaultcube-1.1.0.4+dfsg2/source/src/Makefile -=================================================================== ---- assaultcube-1.1.0.4+dfsg2.orig/source/src/Makefile 2014-10-29 05:01:42.000000000 +0000 -+++ assaultcube-1.1.0.4+dfsg2/source/src/Makefile 2014-10-29 11:36:30.115453061 +0000 -@@ -127,10 +127,10 @@ - libenet: ../enet/Makefile - -$(MAKE) -C ../enet all - --clean-enet: ../enet/Makefile -- $(MAKE) -C ../enet/ clean -+clean-enet: -+ -$(MAKE) -C ../enet/ distclean - --clean: -+clean: clean-enet - -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) ac_client ac_server ac_master - # -$(MAKE) -C ../enet/ clean - -@@ -172,7 +172,7 @@ - - master: libenet $(MASTER_OBJS) - $(CXX) $(CXXFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) -- -+ - client_install: client - install -D ac_client ../../bin_unix/$(PLATFORM_PREFIX)_client - #ifneq (,$(STRIP))
  98. Download patch source/src/bot/bot.h

    --- 1.1.0.4+dfsg2-1.2/source/src/bot/bot.h 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/src/bot/bot.h 2013-10-22 18:57:16.000000000 +0000 @@ -106,9 +106,11 @@ struct bot_skill_s // enemy again float flMaxEnemySearchDelay; // Maximal delay for when a bot can search for an // enemy again + float flAlwaysDetectDistance; short sShootAtFeetWithRLPercent; // Percent that a bot shoot with a rocket // launcher at the enemy feet. int iMaxHearVolume; // Max volume that bot can hear + int iFov; // bots field of view bool bCanPredict; // Can this bot predict his enemy position? bool bCircleStrafe; // Can this bot circle strafe? bool bCanSearchItemsInCombat; @@ -240,8 +242,12 @@ public: void ResetCurrentTask(); // AI Functions + bool BotsAgainstHumans(); + bool DetectEnemy(playerent *p); bool FindEnemy(void); - void CheckReload(void); + void CheckReload(void); + void CheckWeaponSwitch(void); // 2011jan17:ft: fix non-shooting bots + void CheckScope(void); void ShootEnemy(void); bool CheckHunt(void); bool HuntEnemy(void); @@ -249,6 +255,7 @@ public: void MainAI(void); bool CheckStuck(void); bool CheckJump(void); + bool CheckCrouch(void); bool CheckStrafe(void); void CheckFOV(void); bool IsVisible(const vec &o, bool CheckPlayers = false) { return ::IsVisible(m_pMyEnt->o, o,
  99. Download patch source/enet/missing

    --- 1.1.0.4+dfsg2-1.2/source/enet/missing 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/missing 2013-10-22 18:57:22.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2009-04-28.21; # UTC +scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, -# 2008, 2009 Free Software Foundation, Inc. +# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify @@ -84,7 +84,6 @@ Supported PROGRAM values: help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and @@ -122,15 +121,6 @@ case $1 in # Not GNU programs, they don't have --version. ;; - tar*) - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - exit 1 - fi - ;; - *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. @@ -226,7 +216,7 @@ WARNING: \`$1' $msg. You should only ne \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then - eval LASTARG="\${$#}" + eval LASTARG=\${$#} case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` @@ -256,7 +246,7 @@ WARNING: \`$1' is $msg. You should only \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then - eval LASTARG="\${$#}" + eval LASTARG=\${$#} case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` @@ -318,41 +308,6 @@ WARNING: \`$1' is $msg. You should only touch $file ;; - tar*) - shift - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case $firstarg in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case $firstarg in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg.
  100. Download patch source/enet/docs/license.dox

    --- 1.1.0.4+dfsg2-1.2/source/enet/docs/license.dox 2011-05-07 00:53:19.000000000 +0000 +++ 1.2.0.2+dfsg1-0ubuntu4/source/enet/docs/license.dox 2013-10-22 18:57:21.000000000 +0000 @@ -1,7 +1,7 @@ /** @page License License -Copyright (c) 2002-2010 Lee Salzman +Copyright (c) 2002-2012 Lee Salzman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
  101. ...

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: assaultcube-data

assaultcube-data (1.2.0.2+repack1-0ubuntu1) wily; urgency=medium * Pull from Debian unreleased VCS. * New upstream release. * d/control: - Build-depend on imagemagick - Add breaks/replaces on assaultcube (<< 1.1.0.4+dfsg2-1) * d/rules: - Update the icon conversion to the already provided icon. - Update get-orig-source to download the current version. -- Unit 193 <unit193@ubuntu.com> Fri, 13 Feb 2015 03:04:14 -0500

Modifications :
  1. Download patch docs/mods.html

    --- 1.1.0.4+repack1-2.1/docs/mods.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/mods.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,60 +1,114 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Custom mods</title> - <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> - <link rel="shortcut icon" href="pics/favicon.ico"/> - <link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> - <div id="main"> - <div id="logo"> - <img src="pics/head.gif" alt="AssaultCube logo"/> - </div> - <div id="title"> - <h1>AssaultCube: Custom mods</h1> - </div> - <div id="content"> - <h1>Custom mods</h1> - <p> - AssaultCube allows 3rd party developers to extend the game by using the existing AssaultCube - engine/data for their own modifications (so long as you keep within the license agreements for the particular media - which you are modifying), without the need to overwrite existing data (i.e. content replacement). - Another advantage is that it allows you to add mods cleanly without placing the files inside the - main AssaultCube directory. - </p> - <p> - When AssaultCube loads files for the game, it looks into several directories to find the file to load. - This list of directories can be extended using the <a href="commandline.html#mods">--mod argument</a>, - which lets you add custom directories. - Using this feature, it is possible to supply a mod directory that contains customized data (textures, etc), - so once AssaultCube loads data, it loads it from that mod directory instead of the main directory. - </p> - <h3>Example:</h3> - <p> - Assume you want to create a mod that provides a customized hud-gun, you would create a mod directory: - </p> - <ol> - <li> - Create a <i>"mod"</i> directory: <b>AssaultCube\mods\MyMod1\</b> - <br clear="none" />...where AssaultCube is your main directory (%programfiles%\AssaultCube_v1.0). - </li> - <li> - Inside your mod directory, add your customized hudgun: <b>AssaultCube\mods\MyMod1\packages\models\hudguns\assaultrifle.md3</b> - </li> - <li> - Now to make AssaultCube aware of this mod you'll need to start AssaultCube with the argument <b>--mod=mods\MyMod1 </b> - <br clear="none" />...now every time AssaultCube wants to load packages\models\hudguns\assaultrifle.md3 - it will look in your mod directory first, therefore loading your custom version instead of the original version. - </li> - </ol> - <p> - To start AssaultCube with the mod argument, you will most likely need to modify the AssaultCube launcher. - See <a href="commandline.html#launcher">command line</a> on how to do this... - </p> - </div> - <div id="footer"> - Rabid Viper Productions - </div> - </div> -</body> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Custom mods</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> + </div> + <h2>Custom mods</h2> + <p> + AssaultCube allows <span class="titletext" title="Anybody that releases changed files for AssaultCube">3rd + party developers</span> to "MOD" the game by using the existing + AssaultCube engine/data for their own modifications, so long as they don't break any of the + <a href="license.html">license agreements</a> for the particular media they're modifying. + </p> + <p> + However, many don't realise that you can release your MOD without needing to overwrite existing + data (a.k.a: content replacement). The advantage of this is that it allows you to add MODS cleanly + without placing the files inside the main AssaultCube directory. This means, that if you don't + want to play AssaultCube using the MOD, or want to play AssaultCube using a different MOD, you + can without having to install several copies of AssaultCube. + </p> + <p> + How to set up a MOD in this way is quite easy. How it works, is when AssaultCube loads files for + the game, it looks into several directories to find the files needed to load the game. + This list of directories can be simply extended, by using the <a href="commandline.html#--mod">--mod argument</a> + which lets you add a custom directory to recursively load additional files from. + </p> + <p> + While using the <a href="commandline.html#--mod">--mod argument</a>, when AssaultCube looks for + any resources it will load all its normal files first, then it will check your MOD folders for + additional files and if any of the filepaths in that folder match files that need to be loaded, + AssaultCube will then load these MOD files, instead of the original files. + </p> + <p> + IMPORTANT: Please ensure that if your users are using a "<a href="commandline.html#client--home">--home</a>" + directory, that they extract the mod into that directory (rather than the main AssaultCube directory), or + else it won't work. + </p> + <p> + Please note: AssaultCube's <a href="license.html">main license</a> forbids redistributing a + MOD with ALL of AssaultCube's original files, as AssaultCube's files use a variety of different + licenses. If you want to modify and/or redistribute anything from AssaultCube, you MUST + check each redistributed file's license allows you to do this in the way you are redistributing + it. This is the main reason that the <a href="commandline.html#--mod">--mod argument</a> exists + to begin with. + </p> + <h4>Example:</h4> + <p> + Assume you want to create a mod that provides a customized HUD-gun; here's how you would create a mod directory: + </p> + <ol> + <li> + Create a "MOD" directory in the AssaultCube folder: <span class="code">./mods/MyMod1/</span> + </li> + <li> + Inside the MOD directory, place your customized HUD-gun files, using a folder scheme that + matches how it would normally be placed within AssaultCube's packaging: + <span class="code">./mods/MyMod1/packages/models/hudguns/assaultrifle.md3</span> + </li> + <li> + Now to make AssaultCube aware of this mod you'll need to start AssaultCube with the argument + <span class="code">--mod="mods/MyMod1"</code>. + </li> + </ol> + <p> + To start AssaultCube with the mod argument all the time, you can create your own AssaultCube launcher + (this option is not available on Apple Mac OS X). + Simply copy/paste the existing assaultcube.sh (Linux) or assaultcube.bat (Windows) file + with a new filename. Then edit it with a notepad application. + </p> + <p> + For Windows users, add your new <b>--mod</b> command line option to the end of the file.<br> + For Linux users, add your new <b>--mod</b> command line option into the <b>CUBE_OPTIONS</b> + line. + </p> + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> + </div> + </body> </html>
  2. Download patch docs/mapediting5.html

    --- 1.1.0.4+repack1-2.1/docs/mapediting5.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/mapediting5.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,21 +1,62 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Map editing: Config files</title> -<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> -<link rel="shortcut icon" href="pics/favicon.ico"/> -<link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> -<div id="main"> -<div id="logo"> -<img src="pics/head.gif" alt="AssaultCube logo"/> -</div> -<div id="title"> -<h1> - AssaultCube: Map editing: Config files</h1> -</div> -<div id="content"> -<h1>Map editing: Config files</h1> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Map editing - Config files</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docswarn"> + <b style="color : #750000;">NOTE:</b> This page of the documentation has been quickly converted from + <a href="http://actiongame.svn.sourceforge.net/viewvc/actiongame/tags/v01_10_04/docs/README.html?revision=5882">AssaultCubes old + README</a> and has not yet been checked properly for mistakes/weird stylying/invalid markup/inconsistancies/etc. + We're on it though, check back soon! + </div> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> + </div> + <h2>Map editing - Config files</h2> + + <!-- Remember to remove docwarning when fixed up! --> + + + + + + + + + + + + + + + + + <p> When you first start a map, be sure to use the <b>/newmap</b> command, rather than editing an existing map. @@ -164,7 +205,7 @@ </p> <h2 id="skymap">Custom skymaps</h2> <p> - All skymaps should be placed in their own individual folder inside + All skymaps should be placed in their own individual folder (based on the author) inside <a href="../packages/textures/skymaps/" shape="rect">packages/textures/skymaps/</a>. <br clear="none"/> Six pieces make up a skymap and should be named as below (replace "foobar" with the name of the skymap): </p> @@ -261,10 +302,26 @@ "foobar" with the name of the image. You will need to have commented-out or deleted the pre-existing "loadnotexture" command. </p> -</div> -<div id="footer"> - Rabid Viper Productions - </div> -</div> -</body> + + + + + + + + + + + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> + </div> + </body> </html>
  3. Download patch debian/copyright-orig
  4. Download patch docs/knownissues.html

    --- 1.1.0.4+repack1-2.1/docs/knownissues.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/knownissues.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,55 +1,65 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Known Issues</title> -<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> -<link rel="shortcut icon" href="pics/favicon.ico"/> -<link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> -<div id="main"> -<div id="logo"> -<img src="pics/head.gif" alt="AssaultCube logo"/> -</div> -<div id="title"> -<h1> - AssaultCube: Known Issues</h1> -</div> -<div id="content"> -<h1> - Known Issues - </h1> -<h2> - General issues - </h2> -<ul> - <li> - AssaultCube may crash on Linux or Mac OSX because of buggy nVidia drivers. - </li> - <li> - The bots needs improving. - </li> - </ul> -<h2> - First-run issues - </h2> -<p> - These are issues that only ever happen on the 1st load of AssaultCube and dissapear on the 2nd load. - </p> -<ul> - <li> - It takes a bit longer than normal to load due to shadows.dat files being generated. - </li> - <li> - If you bypass pressing "apply" in the quick setup menu, AssaultCube will not attempt to enable - stencil shadows until it is restarted. However, if your graphics card is not sufficiently powerful, - AssaultCube will not enable stencil shadows by default either. - However, they can be forced on in the "Video settings" menu. - </li> - </ul> -</div> -<div id="footer"> - Rabid Viper Productions - </div> -</div> -</body> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Known issues</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> + </div> + <h2>Known issues</h2> + <h4>General issues</h4> + <ul> + <li>Linux/Mac users with nVidia drivers may find AssaultCube crashes due to buggy drivers.</li> + <li>The bots are fairly dumb and need improvements.</li> + </ul> + <h4>First-run issues</h4> + <span style="font-style : italic; font-size : 10px;"> + These are issues that only ever happen on the 1st load of AssaultCube and dissapear on the 2nd load. + </span> + <ul> + <li> + It takes a bit longer than normal to load due to shadows.dat files being generated. + </li> + <li> + If you bypass pressing "apply" after changing settings, the settings listed won't change + until after you restart AssaultCube. + </li> + </ul> + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> + </div> + </body> </html>
  5. Download patch config/menus_multiplayer.cfg
  6. Download patch config/pcksources.cfg

    --- 1.1.0.4+repack1-2.1/config/pcksources.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/pcksources.cfg 2013-11-10 19:15:44.000000000 +0000 @@ -0,0 +1,5 @@ +// list of package source servers (only add servers you trust!) + +addpckserver packages.ac-akimbo.net +addpckserver de.ac-akimbo.net +addpckserver us.ac-akimbo.net
  7. Download patch docs/commonfaqs.html

    --- 1.1.0.4+repack1-2.1/docs/commonfaqs.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/commonfaqs.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,118 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title> - Common F.A.Q's - </title> - <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> - <link rel="shortcut icon" href="pics/favicon.ico"/> - <link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> - <div id="main"> - <div id="logo"> - <img src="pics/head.gif" alt="AssaultCube logo"/> - </div> - <div id="title"> - <h1> - AssaultCube: Common F.A.Q's - </h1> - </div> - <div id="content"> - <h1> - Common F.A.Q's - </h1> - <p style="margin-bottom:20px;"> - <i> - This section of the ReadMe covers some common questions asked by players. - </i> - </p> - <ul> - <li> - <b> - What is ping/packet jump? - </b> - </li> - </ul> - <p style="margin-left:20px;"> - This is covered in the interface part of the readme. Check <a href="interface.html#scoreboard" shape="rect">here</a>. - </p> - <ul> - <li> - <b> - Why do some players become transparent and salute? - </b> - </li> - </ul> - <p style="margin-left:20px;"> - This is because of lag. The server has not had a response from this player for too long and so they have - temporarally been turned into a "ghost" that cannot be shot (but don't worry, they can't shoot you either). - </p> - <ul> - <li> - <b> - Someones name on the scoreboard is coloured red... why is this? - </b> - </li> - </ul> - <p style="margin-left:20px;"> - This is because they are the administrator. This means they know the password to the server, probably because they own the server, - or are a friend of the person who owns the server, and because of this, they can do what they like on THEIR SERVER. Administrators overide all - normal player votes. - </p> - <ul> - <li> - <b> - I experience some motion sickness... any way around this? - </b> - </li> - </ul> - <p style="margin-left:20px;"> - Try increasing your <b>Field of View</b> or resolution. You can change the resolution through the <b>Quick setup</b> - menu in settings. Field of View can be found in <b>Video settings</b> in the settings menu. - </p> - <ul> - <li> - <b> - What's a good way to get a lot of points, fast? - </b> - </li> - </ul> - <p style="margin-left:20px;"> - If you try "<a href="basics.html#gib" shape="rect">gibbing</a>" an enemy, you would get 2 points for that. - Try honing your skills onto gibbing and that may help you. - </p> - <ul> - <li> - <b> - I seem to get strange walls appear out of nowhere on maps with far-away areas. How do I fix this? - </b> - </li> - </ul> - <p style="margin-left:20px;"> - This is a graphics glitch caused by low "minlod". In AssaultCube, type: <b>/minlod 250</b> to set minlod - to the maximum. You might want to try a slightly lower value than 250 if you that causes too much graphics - lag for you. - </p> - </p> - <ul> - <li> - <b> - Why doesn't AssaultCube have feature <i>XYZ</i> from a different game, such as Counter-Strike? - </b> - </li> - </ul> - <p style="margin-left:20px;"> - Firstly, AssaultCube is not a Counter-Strike clone! The quicker you understand this, - the sooner you will be able to defeat your opponents with ease. - </p> - <p style="margin-left:20px;"> - Secondly, just because a feature is available in your favourite game <b>A</b>, does not mean we have to implement it - here, it might not suit the game style that AssaultCube has... of course, that doesn't mean you can't ask for it on our - <a href="http://sourceforge.net/tracker/?group_id=123597&atid=697092">feature request</a> page. - </div> - <div id="footer"> - Rabid Viper Productions - </div> -</div> -</body> -</html>
  8. Download patch config/faq.cfg

    --- 1.1.0.4+repack1-2.1/config/faq.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/faq.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,114 @@ +// generates the FAQ menu available from the first run menu or the help menu +persistidents 0 + +faqQuestions = [ + "What is the fastest way to get help/support for AssaultCube?" + "How do I determine what version of AssaultCube I have installed?" + "How do I check for updates for AssaultCube?" + "How do I load my map in coop-edit mode?" + "How do I enter edit mode?" + "How do I switch to a different primary weapon?" + "How do I report an abusive or cheating player?" + "Where is the licensing information?" +] + +faqAnswer_1 = [ + "Make an account on the AssaultCube forum and post a new thread in the Help section." + "Alternatively, you can try getting help on the AssaultCube IRC channel." + "Whatever method you decide to use, please be patient for assistance." + "" + "Links:" + "http://forum.cubers.net - AssaultCube Forum" + "http://assault.cubers.net/irc.html - AssaultCube IRC" +] + +faqAnswer_2 = [ + "Your AssaultCube version can be determined by launching the game and executing" + "the /version command. It should output a 4 digit number such as 1104 -" + "this would indicate that you have AssaultCube version 1.1.0.4 installed." +] + +faqAnswer_3 = [ + "Using the information that you received from executing the /version command" + "(see FAQ #2) - you can visit the AssaultCube download page and verify that" + "you have the current version." + "" + "Links:" + "http://assault.cubers.net/download.html - Download AssaultCube" +] + +faqAnswer_4 = [ + "The Cube engine makes it easy for multiple people to make a map at the same" + "time. This is called coop-edit mode. If you want to make a map in coop-edit" + "mode use the following steps:" + "" + "#1: Use the /newmap command to create a new map." + "#2: Use the /savemap command to save the map, be sure to give it a unique name." + "#3: Connect to a server that allows map uploads and coop-edit." + "#4: Upload the new map to the server by using the /sendmap command." + "#5: Use the /coop command to load your map in coop-edit mode." + "#6 Enter edit mode and start mapping. Use the autosavemap feature or use /savemap often." + "" + "If you just want to load a existing map on the server in coop-edit mode, see step #5." +] + +faqAnswer_5 = [ + "By default, if you are in a singleplayer mode or coop-edit mode, the E key will" + "toggle you in and out of edit mode. Edit mode allows you to execute map editing" + "functions and manipulate map geometry. If all else fails, you can always execute" + "the /edittoggle command to toggle in and out of edit mode." +] + +faqAnswer_6 = [ + "By default, the B key will show the primary weapon change menu. If all else fails," + "you can always execute /showmenu Weapons - as a command. Note that the W on weapons" + "is capitalized." +] + +faqAnswer_7 = [ + "Make an account on the AssaultCube forum and make a new post in the blacklist thread." + "Please take the time to read and understand how you should format your blacklist report." + "Proper format and evidence (screenshots/demos/logs) are required." + "" + "Links:" + "http://forum.cubers.net/thread-1.html - AssaultCube Blacklist Report Thread" +] + +faqAnswer_8 = [ + "AssaultCube and its resources are pieced together and developed by various people" + "throughout the world. While the source code is open source and released under a zlib" + "license, the majority of the media found in the AssaultCube package are released under" + "different licenses. Please read and understand the various licenses before" + "modifying or redistributing media within AssaultCube or the AssaultCube package" + "as a whole." + "" + "Links:" + "http://assault.cubers.net/docs/license.html - AssaultCube Licensing Information" +] + +genFaq = [ + loop i (listlen $faqQuestions) [ + if (= (mod $i 2) 0) [ + menuitem (concatword (yellow) (format [#%1: ] (+ $i 1)) (at $faqQuestions $i)) -1 + ] [ + menuitem (concatword (c D) (format [#%1: ] (+ $i 1)) (at $faqQuestions $i)) -1 + ] + + tmpMenuAlias = (getalias (format faqAnswer_%1 (+ $i 1))) + loop o (listlen $tmpMenuAlias) [ + if (strstr (at $tmpMenuAlias $o) "http://") [ + menuitem (concatword [ ] (blue) (at $tmpMenuAlias $o)) -1 + ] [ + menuitem (concatword [ ] (white) (at $tmpMenuAlias $o)) -1 + ] + ] + menuitem "" -1 + ] +] + +newmenu faq +genFaq +menuitem [] -1 +menuitem [ Close] [ closemenu faq ] + +persistidents 1
  9. Download patch docs/team.html
  10. Download patch config/mono.cfg

    --- 1.1.0.4+repack1-2.1/config/mono.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/mono.cfg 1970-01-01 00:00:00.000000000 +0000 @@ -1,98 +0,0 @@ -// font generated by ttf2font - -font mono "packages/misc/wrabbit.png" 37 51 - -fontchar 5 5 38 // ! -fontchar 48 5 // " -fontchar 90 5 // # -fontchar 132 5 38 // $ -fontchar 175 5 38 // % -fontchar 218 5 38 // & -fontchar 261 5 38 // ' -fontchar 304 5 38 // ( -fontchar 347 5 38 // ) -fontchar 390 5 // * -fontchar 432 5 // + -fontchar 0 61 38 // , -fontchar 43 61 // - -fontchar 85 61 38 // . -fontchar 128 61 // / -fontchar 170 61 // 0 -fontchar 212 61 // 1 -fontchar 254 61 // 2 -fontchar 296 61 // 3 -fontchar 338 61 38 // 4 -fontchar 381 61 // 5 -fontchar 423 61 // 6 -fontchar 465 61 // 7 -fontchar 0 117 // 8 -fontchar 42 117 // 9 -fontchar 84 117 38 // : -fontchar 127 117 38 // ; -fontchar 170 117 // < -fontchar 212 117 // = -fontchar 254 117 // > -fontchar 296 117 38 // ? -fontchar 339 117 38 // @ -fontchar 382 117 // A -fontchar 424 117 // B -fontchar 466 117 // C -fontchar 0 173 // D -fontchar 42 173 38 // E -fontchar 85 173 38 // F -fontchar 128 173 // G -fontchar 170 173 // H -fontchar 212 173 // I -fontchar 254 173 // J -fontchar 296 173 38 // K -fontchar 339 173 38 // L -fontchar 382 173 // M -fontchar 424 173 // N -fontchar 466 173 // O -fontchar 0 229 // P -fontchar 42 229 // Q -fontchar 84 229 // R -fontchar 126 229 // S -fontchar 168 229 // T -fontchar 210 229 // U -fontchar 252 229 // V -fontchar 294 229 38 // W -fontchar 337 229 // X -fontchar 379 229 38 // Y -fontchar 422 229 // Z -fontchar 464 229 38 // [ -fontchar 0 285 // \ -fontchar 42 285 38 // ] -fontchar 85 285 // ^ -fontchar 127 285 // _ -fontchar 169 285 38 // ` -fontchar 212 285 // a -fontchar 254 285 // b -fontchar 296 285 // c -fontchar 338 285 // d -fontchar 380 285 // e -fontchar 422 285 // f -fontchar 464 285 // g -fontchar 0 341 // h -fontchar 42 341 // i -fontchar 84 341 // j -fontchar 126 341 // k -fontchar 168 341 // l -fontchar 210 341 38 // m -fontchar 253 341 // n -fontchar 295 341 // o -fontchar 337 341 // p -fontchar 379 341 // q -fontchar 421 341 // r -fontchar 463 341 // s -fontchar 0 397 // t -fontchar 42 397 // u -fontchar 84 397 // v -fontchar 126 397 38 // w -fontchar 169 397 // x -fontchar 211 397 // y -fontchar 253 397 // z -fontchar 295 397 38 // { -fontchar 338 397 38 // | -fontchar 381 397 38 // } -fontchar 424 397 38 // ~
  11. Download patch config/menus_edit.cfg
  12. Download patch docs/transformations/cuberef2xhtml.xslt
  13. Download patch docs/mapediting2.html

    --- 1.1.0.4+repack1-2.1/docs/mapediting2.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/mapediting2.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,21 +1,48 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Map editing: Beginners</title> -<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> -<link rel="shortcut icon" href="pics/favicon.ico"/> -<link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> -<div id="main"> -<div id="logo"> -<img src="pics/head.gif" alt="AssaultCube logo"/> -</div> -<div id="title"> -<h1> - AssaultCube: Map editing: Beginners</h1> -</div> -<div id="content"> -<h1>Map editing: Beginners</h1> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Map editing - Begin!</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docswarn"> + <b style="color : #750000;">NOTE:</b> This page of the documentation has been quickly converted from + <a href="http://actiongame.svn.sourceforge.net/viewvc/actiongame/tags/v01_10_04/docs/README.html?revision=5882">AssaultCubes old + README</a> and has not yet been checked properly for mistakes/weird stylying/invalid markup/inconsistancies/etc. + We're on it though, check back soon! + </div> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> + </div> + <h2>Map editing - Begin!</h2> + + <!-- Remember to remove docwarning when fixed up! --> + + + <p> Prior to reading this, please learn the controls and interface <a href="mapediting1.html" shape="rect">here</a>. </p> @@ -167,7 +194,7 @@ <p> Corners can be used to create a 45 degree corner (instead of a 90 degree one) where 2 walls meet. They are very simple to create. Select a cube where 2 walls meet and press <b>K</b>. This will cut the cube in half diagonally, keeping one - half and giving the other half to the nearest cube - making it a corner. To undo this a corner, press <b>G</b>. + half and giving the other half to the nearest cube - making it a corner. To undo this as a corner, press <b>G</b>. </p> <h3 id="heightfield">Heightfields</h3> <p> @@ -320,10 +347,27 @@ <h4> The next step? Go to <a href="mapediting3.html" shape="rect">Map editing: Entities</a> to learn how to place lights, spawns, etc. </h4> -</div> -<div id="footer"> - Rabid Viper Productions - </div> -</div> -</body> + + + + + + + + + + + + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> + </div> + </body> </html>
  14. Download patch docs/interface.html
  15. Download patch docs/css/download.css

    --- 1.1.0.4+repack1-2.1/docs/css/download.css 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/css/download.css 2013-11-10 19:16:08.000000000 +0000 @@ -0,0 +1,33 @@ +/* Additional "download" CSS file for assault.cubers.net/download.html */ + +/* Written by: Rabid Viper Productions */ + +/* You may be able to redistribute this content under specific */ +/* conditions. Please read the licensing information, available */ +/* at http://assault.cubers.net/docs/license.html for the */ +/* conditions that would apply to what you may be redistributing. */ + +#donate { +margin-top : 15px; +} +#dllinks { +padding : 15px 0; +margin : auto auto; +text-align : center; +font-size : 14px; +} +#dllinks td { +padding : 0 30px; +vertical-align : text-bottom; +} +#dllinks td a:link, #dllinks td a:visited { +text-decoration : none; +} +#dllinks td a:hover, #dllinks td a:active { +text-decoration : underline; +} +.dlstats { +float : right; +padding : 5px; +font-size : 16px; +} \ No newline at end of file
  16. Download patch config/forbidden.cfg

    --- 1.1.0.4+repack1-2.1/config/forbidden.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/forbidden.cfg 2013-10-09 08:27:50.000000000 +0000 @@ -21,9 +21,7 @@ necrop // Ban names that mentio pedop penis pussy -filho puta // "whore" or "slut" in portugese. +filho puta // "whore" or "slut" in portugese. redtube porntube -youporn - - +youporn \ No newline at end of file
  17. Download patch docs/colouredtext.txt

    --- 1.1.0.4+repack1-2.1/docs/colouredtext.txt 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/colouredtext.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -Colouring server descriptions & MOTD's requires the "line feed" -control character ("\f" which has the ASCII-code of 12) plus a -corresponding number which will define which colour you want. - -You can also change colours in-game by pressing CTRL and L and -then the corresponding number (see below). - -Stated below are the colours available: --------------------------------------- - - 0 - -- This is green. - 1 - -- This is blue. - 2 - -- This is gold. - 3 - -- This is red. - 4 - -- This is gray. - 5 - -- This is white. - 6 - -- This is brown. - 7 - -- This is dark red.
  18. Download patch docs/autogen/win32_cuberef2cubescript.bat

    --- 1.1.0.4+repack1-2.1/docs/autogen/win32_cuberef2cubescript.bat 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/autogen/win32_cuberef2cubescript.bat 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -@echo off -rem windows only. -rem automatically transforms the reference to a cubescript. -rem requires MSXSL, available at -rem http://www.microsoft.com/downloads/details.aspx?familyid=2fb55371-c94e-4373-b0e9-db4816552e41&displaylang=en -@echo on - -msxsl.exe -o ..\..\config\docs.cfg -v ..\reference.html ..\transformations\cuberef2cubescript.xslt -pause \ No newline at end of file
  19. Download patch changelog.txt

    --- 1.1.0.4+repack1-2.1/changelog.txt 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/changelog.txt 2013-11-10 18:45:14.000000000 +0000 @@ -0,0 +1,11 @@ +AssaultCube ChangeLog + +1.2.0.1 -> 1.2.0.2 +--------------------- + +Bug fixes +--------------------- + +[*] browsing masterserver fix +[*] libcurl error on Linux fix +[*] Tab completion cycle returns to first item \ No newline at end of file
  20. Download patch docs/cubeengine.html
  21. Download patch config/defaults.cfg

    --- 1.1.0.4+repack1-2.1/config/defaults.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/defaults.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -1,32 +1,37 @@ // These default settings get executed whenever "saved.cfg" is not available. // Do not modify anything below, instead change settings in game, or add to autoexec.cfg -name "unarmed" // Change your name! -loadcrosshair default.png // Choose another crosshair, see packages/misc/crosshairs/ -loadcrosshair teammate.png teammate // Teammate crosshair. -loadcrosshair red_dot.png scope // Scope crosshair. -skin 0 // Change your look. -autoreload 1 // Reload the guns automatically by default. -setfont default // Choose your font - -alias scopesens [ *f $sensitivity $scopesensscale ] - -//bind MOUSE2 [ zoom 1; onrelease [ zoom 0 ] ] - -// alternative zoom toggle -//alias ztoggle 0 -//bind MOUSE2 [ alias ztoggle (= ztoggle 0); zoom $ztoggle ] - -// alternative weapon switching (more economic), no more 1-2-3-4 /wheel cycling no finger ever leaving WASD -// uncomment lines (remove the //) below to activate - -//alias delta_game_0 [ if (= $arg1 1) [ primary ] [ secondary ] ] -//bind lshift "grenades" -//bind lalt "melee" - -alias askquit 1 -alias gfxqualityalias 3 // Default GFX is medium. -alias soundqualityalias 3 // Default sound is best. -alias poniesmodeon 0 // Reduced violence mode. -alias __gibsgore 1 // Default value for gibs slider. - +name "unarmed" // Change your name! +loadcrosshair default.png // Choose another crosshair, see ./packages/crosshairs/ +loadcrosshair teammate.png teammate // Teammate crosshair. +loadcrosshair red_dot.png scope // Scope crosshair. +skin_cla (rnd 4) // Change your look. +skin_rvsf (rnd 6) +autoreload 1 // Reload the guns automatically by default. +setfont default // Choose your font + +ofc_gamma_list = [] +loop ogl (listlen $defaultmaps) [ add2list ofc_gamma_list $gamma ] + +askquit = 1 +gfxqualityalias = 3 // Default GFX is medium. +soundqualityalias = 3 // Default sound is best. +poniesmodeon = 0 // Reduced violence mode. +__gibsgore = 1 // Default value for gibs slider. +dyngamma = 0 +old_editbinds = 1 +nickhighlight = 0 +survMap = (rnd (listlen $defaultmaps)) +survDifficulty = 0 +survNumBots = 6 +survBotsToAdd = 1 +timeBetChkPts = 60000 +timeUntilTele = 90000 +survMaxBots = 20 +spamSurvMsgs = 0 +nonSurvDefaults = 0 +survDamageEffects = 1 +autosavemap = 0 +timeBetAutoSaves = 300000 +numAutoSaveBackups = 3 +menuBotGameLength = 15 \ No newline at end of file
  22. Download patch bot/bot_teams.txt

    --- 1.1.0.4+repack1-2.1/bot/bot_teams.txt 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/bot/bot_teams.txt 2013-10-09 08:25:51.000000000 +0000 @@ -0,0 +1,2 @@ +RVSF +CLA \ No newline at end of file Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_aqueous.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_aqueous.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_arabian.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_arabian.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_arctic.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_arctic.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_arid.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_arid.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_avenue.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_avenue.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_cavern.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_cavern.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_complex.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_complex.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_depot.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_depot.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_desert2.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_desert2.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_desert3.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_desert3.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_desert.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_desert.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_douze.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_douze.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_edifice.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_edifice.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_elevation.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_elevation.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_gothic.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_gothic.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_iceroad.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_iceroad.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_industrial.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_industrial.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_ingress.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_ingress.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_keller.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_keller.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_lainio.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_lainio.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_mines.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_mines.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_outpost.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_outpost.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_power.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_power.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_rattrap.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_rattrap.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_scaffold.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_scaffold.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_shine.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_shine.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_snow.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_snow.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_stellar.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_stellar.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_sunset.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_sunset.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_swamp.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_swamp.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_terros.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_terros.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_toxic.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_toxic.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_urban.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_urban.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_venison.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_venison.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_wasteland.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_wasteland.wpt differ Binary files 1.1.0.4+repack1-2.1/bot/waypoints/ac_werk.wpt and 1.2.0.2+repack1-0ubuntu1/bot/waypoints/ac_werk.wpt differ
  23. Download patch debian/rules

    --- 1.1.0.4+repack1-2.1/debian/rules 2011-11-02 07:41:17.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/debian/rules 2015-01-07 21:03:52.000000000 +0000 @@ -4,19 +4,37 @@ dh $@ override_dh_install: + install -d debian/assaultcube-data/usr/share/pixmaps + install -d debian/assaultcube-data/usr/share/icons/hicolor + cd debian/assaultcube-data/usr/share/icons/hicolor && \ + install -d 16x16/apps 24x24/apps 32x32/apps 48x48/apps \ + 256x256/apps + convert docs/images/favicon.ico[2] \ + debian/assaultcube-data/usr/share/pixmaps/assaultcube.xpm + convert docs/images/favicon.ico[4] \ + debian/assaultcube-data/usr/share/icons/hicolor/16x16/apps/assaultcube.png + convert docs/images/favicon.ico[3] \ + debian/assaultcube-data/usr/share/icons/hicolor/24x24/apps/assaultcube.png + convert docs/images/favicon.ico[2] \ + debian/assaultcube-data/usr/share/icons/hicolor/32x32/apps/assaultcube.png + convert docs/images/favicon.ico[1] \ + debian/assaultcube-data/usr/share/icons/hicolor/48x48/apps/assaultcube.png + convert docs/images/favicon.ico[0] \ + debian/assaultcube-data/usr/share/icons/hicolor/256x256/apps/assaultcube.png dh_install --exclude="license.txt" --exclude="package_copyrights.txt" find debian/assaultcube-data -type f ! -name 'rules' -exec chmod 644 {} \; VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+]+).*,\1,p') +DIR=AssaultCube_v$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+]+).*,\1,p') DEB_VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') -DIR=assaultcube-data-$(VER)+repack1 -TARBALL=assaultcube-data_$(DEB_VER).orig.tar.gz +DEB_DIR=assaultcube-data-$(VER)+repack1 +TARBALL=assaultcube-data_$(DEB_VER).orig.tar.bz2 get-orig-source: - uscan --noconf --force-download --download-current-version --destdir=. - rm -rf $(VER) $(DIR) + uscan --noconf --rename --force-download --download-current-version --destdir=. + rm -rf $(DIR) $(DEB_DIR) tar -xjf assaultcube-data_$(VER).orig.tar.bz2 - mv $(VER) $(DIR) - rm -rf $(DIR)/bin_unix/ - GZIP=--best tar -cz --owner root --group root --mode a+rX \ - -f $(TARBALL) $(DIR) - rm -rf $(DIR) + mv $(DIR) $(DEB_DIR) + rm -rf $(DEB_DIR)/bin_unix/ + tar -cj --owner root --group root --mode a+rX \ + -f $(TARBALL) $(DEB_DIR) + rm -rf $(DEB_DIR) Binary files 1.1.0.4+repack1-2.1/demos/tutorial_demo.dmo and 1.2.0.2+repack1-0ubuntu1/demos/tutorial_demo.dmo differ
  24. Download patch config/menus_mappack.cfg

    --- 1.1.0.4+repack1-2.1/config/menus_mappack.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/menus_mappack.cfg 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -// This file is for the AssaultCube map-pack. -// It is blank because the AssaultCube map-pack is not installed.
  25. Download patch bot/bot_names.txt

    --- 1.1.0.4+repack1-2.1/bot/bot_names.txt 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/bot/bot_names.txt 2013-10-09 08:25:51.000000000 +0000 @@ -0,0 +1,124 @@ +Killer +Mike +ACAddict +Supa +Shootme +Coolbot +stefanhendriks +Dude +Dumb +Rabid_Newb +Eek +w00t +Pwned +Indoor_Terrain +Dumbstruck +[prrt]brainfart +Santa_Far +TinCan-Sam +Aristotles +MuHaHaHa +0x0DEFACED +James_Bonk +Rotaredom_Murof +zaiBan +YHWH +gruiiik_gruiiik +Lady_Die +!!!BUY_NOW!!! +where_am_i +PMB +Leagle_Eagle +Maleficus +Grolsch +Gambrinius +Staropramen +Carlsberg +Tuborg +Heineken +Amstel +Kilkenny +Kronebourg +Hell +Koff +Orval +Zlatopramen +Lapin_Kulta +Kaltenberg +Zeunerts +Bluesman +Stefan +Dumber +XP|TheNameless +todesgurke +trm +Sabre +Oldy +kiki +b00nkind +Spider_Scouter +GDawg +Memed +Whistler +SoUlFaThEr +botmeister +davek +Dave +Siro +MikeJ +Dude +Dodging_Bullet +Tomahawk +Target +Mom +Newbie +Killah +Azrael +Blaster +GrandMa +Robot +CPU +Coward +FragMe +ILikeCheese +Freshmeat +Dragon +Dr00l +Dunno +New_B +L33t_kR3W +Bones +MrJoe +Shrike +Captain_Shrimps +Count_Draculol +Harun_Al-RushIt +Honey_Bunny +Joe_Blow +Z00per_N00b +Corporal_Clegg +Rushing_Russian +Johnny_Crash +Private_Parts +Major_Headache +General_Surgery +luggable +fried_circuits +Byte_my_ASCII! +CPLD +FPGA +THE_STORM +Die_Hard +Bad_boy +Beast +Dead_man +chibby +teh_ownerer +teh_masterer +ThE_MarD +teh_smex +t3h_p@!|\| +KillSwitch +InsertNameHere +Sprah +Johnny5
  26. Download patch config/scripts.cfg
  27. Download patch config/maprot.cfg

    --- 1.1.0.4+repack1-2.1/config/maprot.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/maprot.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -9,9 +9,9 @@ // do only use standard maps and maps from your packages/maps/servermaps folder // for the flag modes (5, 14 & 15), be sure, the map contains flag bases -// mode: Team Deathmatch (0), Deathmatch (2), Pistol Frenzy (6), +// mode: Team Deathmatch (0), Deathmatch (2), Pistol Frenzy (6), Team Pistol Frenzy (16), // Capture the Flag (5), Hunt the Flag (13), Keep the Flag (15), Team Keep the Flag (14), -// Team Survivor (4), Survivor (3), Last Swiss Standing (9), +// Team Survivor (4), Survivor (3), Last Swiss Standing (9), Team Last Swiss Standing (17), // One Shot One Kill (10), Team One Shot One Kill (11) // time: game time in minutes, usually 15 minutes for flag modes, 10 minutes for all other modes @@ -32,6 +32,10 @@ ac_scaffold : 2: 8: 1: 0: 3: 1 // dm, 8 minutes, 0..3 players ac_scaffold : 0:10: 1: 4:11: 0 // tdm, 10 minutes, 4..11 players +ac_industrial :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players +ac_industrial : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players +ac_industrial :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players + ac_power : 5:12: 1: 4:12: 1 // ctf, 12 minutes, 4..12 players ac_power :13:12: 1:13: 0: 0 // htf, 12 minutes, 13.. players @@ -92,9 +96,13 @@ ac_aqueous : 5:12: 1: 4:11: 1 // ac_aqueous :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players ac_arid : 2: 8: 1: 2: 5: 1 // dm, 8 minutes, 2..5 players -ac_arid : 0:10: 1: 6: 0: 0 // tdm, 10 minutes, 6.. players +ac_arid :17:10: 1: 6: 0: 0 // tlss, 10 minutes, 6.. players + +ac_edifice :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players +ac_edifice : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players +ac_edifice :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players -ac_iceroad : 5:10: 1: 5: 0: 0 // ctf, 10 minutes, 5.. players +ac_iceroad : 5:10: 1: 5: 0: 0 // ctf, 10 minutes, 5.. players ac_douze :10: 6: 1: 5: 5: 3 // osok, 6 minutes, 5 players ac_douze : 2: 6: 1: 6: 6: 2 // dm, 6 minutes, 6 players @@ -104,7 +112,7 @@ ac_gothic : 5:12: 1: 4:11: 1 // ac_gothic :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players ac_rattrap : 2: 8: 1: 2: 5: 1 // dm, 8 minutes, 2..5 players -ac_rattrap : 0:10: 1: 6: 0: 0 // tdm, 10 minutes, 6.. players +ac_rattrap :16:10: 1: 6: 0: 0 // tpf, 10 minutes, 6.. players ac_arabian :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players ac_arabian : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players @@ -114,6 +122,49 @@ ac_werk :15: 6: 1: 2: 3: 2 // ac_werk : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players ac_werk :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players +ac_stellar :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players +ac_stellar : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players +ac_stellar :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players + +ac_ingress :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players +ac_ingress : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players +ac_ingress :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players + +ac_avenue :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players +ac_avenue : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players +ac_avenue :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players + +ac_edifice :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players +ac_edifice : 5:12: 1: 4:11: 1 // ctf, 12 minutes, 4..11 players +ac_edifice :13:10: 1:12:13: 0 // htf, 10 minutes, 12..13 players + +ac_wasteland : 9: 8: 1: 3: 6: 0 // lss, 8 minutes, 3..6 players + +ac_swamp : 6: 6: 1: 2: 3: 1 // pf, 6 minutes, 2..3 players +ac_swamp :13:12: 1: 4:10: 0 // htf, 12 minutes, 4..10 players + +ac_venison : 2: 8: 1: 0: 4: 2 // dm, 8 minutes, 0..4 players +ac_venison :13:15: 1: 5:10: 1 // htf, 15 minutes, 5..10 players +ac_venison : 5:15: 1:11:14: 0 // ctf, 15 minutes, 11..14 players + +ac_terros : 2: 8: 1: 0: 4: 3 // dm, 8 minutes, 0..4 players +ac_terros :13:15: 1: 5:10: 2 // htf, 15 minutes, 5..10 players +ac_terros : 5:15: 1:11:14: 1 // ctf, 15 minutes, 11..14 players +ac_terros :10: 6: 1: 7: 7: 0 // osok, 6 minutes, 7 players + +ac_lainio : 2: 8: 1: 0: 4: 3 // dm, 8 minutes, 0..4 players +ac_lainio :13:15: 1: 5:10: 2 // htf, 15 minutes, 5..10 players +ac_lainio : 5:15: 1:11:14: 1 // ctf, 15 minutes, 11..14 players +ac_lainio :10: 6: 1: 7: 7: 0 // osok, 6 minutes, 7 players + +ac_cavern :15: 6: 1: 2: 3: 2 // ktf, 6 minutes, 2..3 players +ac_acvern :13:15: 1: 5:10: 1 // htf, 15 minutes, 5..10 players +ac_cavern : 5:15: 1:11:14: 0 // ctf, 15 minutes, 11..14 players + +ac_wasteland : 2: 8: 1: 0: 4: 1 // dm, 8 minutes, 0..4 players +ac_wasteland :11:10: 1: 5:11: 0 // tosok, 10 minutes, 5..11 players + + // Change this file to make the map rotation different and add more.. // do only use standard maps and maps from your packages/maps/servermaps folder!
  28. Download patch docs/license.html
  29. Download patch debian/compat

    --- 1.1.0.4+repack1-2.1/debian/compat 2011-07-12 14:51:32.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/debian/compat 2014-06-27 05:35:02.000000000 +0000 @@ -1 +1 @@ -7 +9
  30. Download patch config/resetbinds.cfg
  31. Download patch config/scontext.cfg

    --- 1.1.0.4+repack1-2.1/config/scontext.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/scontext.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -1,22 +1,28 @@ // define script security contexts to restrict commands to certain contexts // do NOT modify +persistidents 0 + // supported contexts -alias context_core 0 // hardcoded scripts -alias context_cfg 1 // known scripts -alias context_prompt 2 // command prompt -alias context_mapcfg 3 // map configs, we don't trust them +const context_core 0 // hardcoded scripts +const context_cfg 1 // known scripts +const context_prompt 2 // command prompt +const context_mapcfg 3 // map configs, we don't trust them +const context_mdlcfg 4 // mdl configs, same // set allowed commands for the map config context -alias mapcfgidents [ loadnotexture loadsky mapmodelreset mapmodel texturereset texture fog fogcolour mapsoundreset mapsound watercolour shadowyaw ] -loop i (listlen $mapcfgidents) [ - scriptcontext $context_mapcfg (at $mapcfgidents $i) -] +mapcfgidents = [loadnotexture loadsky mapmodelreset mapmodel texturereset texture fog fogcolour mapsoundreset mapsound watercolour shadowyaw] +mdlcfgidents = [md2anim md2emit md2tag md3anim md3emit md3link md3load md3skin mdlalphatest mdlalphablend mdlcachelimit mdlcullface mdlscale mdlshadowdist mdltrans mdltranslucent mdlvertexlight] +loop i (listlen $mapcfgidents) [ scriptcontext $context_mapcfg (at $mapcfgidents $i) ] +loop i (listlen $mdlcfgidents) [ scriptcontext $context_mdlcfg (at $mdlcfgidents $i) ] // isolate the map config context // this disables access from this context to identifiers located in other contexts // also it removes all aliases created in this context once the running context changes -isolatecontext $context_mapcfg +isolatecontext $context_mapcfg +isolatecontext $context_mdlcfg // secure this configuration for the rest of the game -sealcontexts +sealcontexts + +persistidents 1
  32. Download patch docs/playerskins.html
  33. Download patch config/servercmdline.txt

    --- 1.1.0.4+repack1-2.1/config/servercmdline.txt 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/servercmdline.txt 2013-10-22 18:57:22.000000000 +0000 @@ -1,4 +1,4 @@ -// example servercmdline.txt file (1.1) +// example servercmdline.txt file (1.2) // to use this file, add -Cconfig/servercmdline.txt to your servers commandline // // * you can't use cubescript here! @@ -20,7 +20,7 @@ // -n1 // custom server description prefix // -n2 // custom server description suffix // -f // port, 1..65534, default 28763 -// -c // max client number, 1..20, default 6 +// -c // max client number, 1..16, default 6 // -D // number of demos to keep in RAM, default 5 // the switches o, n, n1 and n2 support coloring and character escaping; 'o' also supports escaped newlines @@ -32,11 +32,15 @@ // change these, if you don't like the defaults: // -k // kickthreshold, -1..-100, default -5 +// -kA // kickthreshold (in seconds) for being AFK, > 30, default 45 +// -kB // time in minutes a banned player will stay banned, default 20 // -y // banthreshold, -1..-100, default -6 // -r // server maprot file, default config/maprot.cfg // -X // server passwords file, default config/serverpwd.cfg // -B // server IP blacklist file, default config/serverblacklist.cfg // -K // server nickname blacklist file, default config/nicknameblacklist.cfg +// -g // server forbidden words file, default config/forbidden.cfg +// -E // server kill messages file, default config/serverkillmessages.cfg // -P // voting permission string (read docs/commandline.html) // k kick players // b ban players (and remove bans) @@ -70,6 +74,7 @@ // -W // demopath, path & file prefix to store recorded demos at // -V // verbose logging (enable this via commandline, until you're sure, there are no errors in your config left) // -C // import commandline options from file (can be used recursively) +// -l // If set to 0, disable game status logging from server logs // -T // Add timestamps to every line of the console and file logs. // -LF // Sets the logging level for file logs (0..5), default 2 (Win & Mac) or 5 (Linux) // -LS // Sets the logging level for syslog logging (0..5), default 2 (Linux) or 5 (Win & Mac) @@ -82,6 +87,11 @@ // 5 do not write to the log // -A // Restricts voting for a map/mode to admins. This switch can be used several times. +// these switches control the naming of demos (see -W) +// --demofilenameformat="%Mmin_%G_%w_%H_%n" // default: "%w_%h_%n_%Mmin_%G" +// --demotimestampformat="%H%M_%Y%m%d" // default: "%Y%m%d_%H%M" +// --demotimelocal=1 // default: 0 + // don't use these switches, unless you really know what you're doing: // -u // uprate
  34. Download patch config/firstrun.cfg

    --- 1.1.0.4+repack1-2.1/config/firstrun.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/firstrun.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -1,18 +1,20 @@ // executed at first run, don't change -alias delayed_firstrun [ - music "pingpong/03-pp-kamikadze.ogg" (* 89 1000) " " // 90 secs, fade - - new_gfx_quality 3 - echo "Welcome to AssaultCube" - echo "Developed by 'Rabid Viper Productions'" - echo "" - echo "Use the below menu to change some necessary settings..." - echo "" - echo "Further help & information can be found in your README, which is inside your AssaultCube directory." - showmenu "QUICK setup" +persistidents 0 + +const delayed_firstrun [ + music "pingpong/Ping_Pong_-_Kamikadze.ogg" 89000 [ ] // 90 secs, fade + + new_gfx_quality 3 + echo Welcome to AssaultCube + echo Developed by'Rabid Viper Productions' + echo [] + echo Use the below menu to change some necessary settings... + echo [] + echo Further help & information can be found in your README which is inside your AssaultCube directory. + showmenu [QUICK setup] ] sleep 1000 delayed_firstrun - +persistidents 1 \ No newline at end of file
  35. Download patch bot/bot_skill.cfg
  36. Download patch debian/control

    --- 1.1.0.4+repack1-2.1/debian/control 2013-05-12 13:26:30.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/debian/control 2015-02-13 08:14:44.000000000 +0000 @@ -1,12 +1,13 @@ Source: assaultcube-data Section: non-free/games Priority: optional -Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> Uploaders: Martin Erik Werner <martinerikwerner@gmail.com> -Build-Depends: debhelper (>= 7.0.50~) +Build-Depends: debhelper (>= 9), imagemagick Standards-Version: 3.9.2 -Vcs-Svn: svn://svn.debian.org/svn/pkg-games/non-free/packages/trunk/assaultcube-data/ -Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/non-free/packages/trunk/assaultcube-data/?view=log +Vcs-Git: git://anonscm.debian.org/pkg-games/assaultcube-data.git +Vcs-Browser: http://anonscm.debian.org/cgit/pkg-games/assaultcube-data.git Homepage: http://assault.cubers.net/ Package: assaultcube-data
  37. Download patch config/parsestring.cfg

    --- 1.1.0.4+repack1-2.1/config/parsestring.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/parsestring.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,71 @@ +const breakparse [ parsebreak = 1 ] + +const doparse [ + parselen = (strlen $strtoparse) + loop dpl $parselen [ + if $parsebreak break [ + if $parsebackwards [ + $charcontainer = (substr $strtoparse (- (- $parselen $dpl) 1) 1) + (format __%1 $charcontainer) = (- (- $parselen $dpl) 1) + ] [ + $charcontainer = (substr $strtoparse $dpl 1) + (format __%1 $charcontainer) = $dpl + ] + execute $parsecode + ] + ] +] + +const parsestring [ + if (> $numargs 2) [ + strtoparse = $arg1 + charcontainer = $arg2 + parsecode = $arg3 + if (> $numargs 3) [ + parsebackwards = $arg4 + ] [ parsebackwards = 0 ] + parsebreak = 0 + doparse + ] +] + +// make helpful consts for use with (testchar) +const CHARACTERTESTS [ISDIGIT ISALPHA ISALNUM ISLOWERCASE ISUPPERCASE ISCHAR ISPUNCT ISWHITESPACE] +loop cel (listlen $CHARACTERTESTS) [ + const (at $CHARACTERTESTS $cel) $cel + addListOnQuit (at $CHARACTERTESTS $cel) +] + +// trimAllUnnecessaryWhitespace - Returns a modified string after removing any unnecessary leading and trailing whitespace from the original. +const trimAllUnnecessaryWhitespace [ + strtotrim = $arg1 + forceinit [charsbegin charsend] -1 + parsestring $strtotrim tch [ + if (! (testchar $tch $ISWHITESPACE)) [ + charsbegin = $__tch + breakparse + ] + ] + parsestring $strtotrim thc [ + if (! (testchar $thc $ISWHITESPACE)) [ + charsend = $__thc + breakparse + ] + ] 1 + if (&& (&& (!= $charsbegin -1) (!= $charsend -1)) (!= $charsbegin $charsend)) [ + return (substr $strtotrim $charsbegin (- (+ $charsend 1) $charsbegin)) + ] [ return $strtotrim ] +] +// trimAllWhitespace - Returns a modified string after removing any whitespace characters from the original. +const trimAllWhitespace [ + strtotrim = $arg1 + trimmedstr = [] + parsestring $strtotrim twh [ + if (! (testchar $twh $ISWHITESPACE)) [ + trimmedstr = (concatword $trimmedstr $twh) + ] + ] + return $trimmedstr +] + +addListOnQuit [parsebreak parselen strtoparse parsebackwards charcontainer dpl parsecode cel strtotrim charsbegin charsend tch __tch thc __thc twh trimmedstr]
  38. Download patch config/menus_settings.cfg
  39. Download patch config/keymap.cfg

    --- 1.1.0.4+repack1-2.1/config/keymap.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/keymap.cfg 2013-10-09 08:27:50.000000000 +0000 @@ -25,7 +25,7 @@ keymap 40 LEFTPAREN keymap 41 RIGHTPAREN keymap 42 ASTERISK keymap 43 PLUS -keymap 44 COMMA +keymap 44 COMMA keymap 45 MINUS keymap 46 PERIOD keymap 47 SLASH @@ -147,5 +147,4 @@ keymap 246 OE keymap 228 AE // :: added for de support -exec config/resetbinds.cfg - +exec config/resetbinds.cfg \ No newline at end of file
  40. Download patch docs/commandline.html
  41. Download patch config/font_serif.cfg

    --- 1.1.0.4+repack1-2.1/config/font_serif.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/font_serif.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,98 @@ +// Serif font. +// DO NOT MODIFY. + +font serif "packages/misc/chars_serif.png" 32 64 0 2 0 -2 +fontchar 0 0 25 64 // ! +fontchar 25 0 29 64 // " +fontchar 54 0 53 64 // # +fontchar 107 0 41 64 // $ +fontchar 148 0 69 64 // % +fontchar 217 0 46 64 // & +fontchar 263 0 17 64 // ' +fontchar 280 0 29 64 // ( +fontchar 309 0 29 64 // ) +fontchar 338 0 41 64 // * +fontchar 379 0 53 64 // + +fontchar 432 0 23 64 // , +fontchar 455 0 29 64 // - +fontchar 0 64 21 64 // . +fontchar 23 64 29 64 // / +fontchar 52 64 41 64 // 0 +fontchar 93 64 40 64 // 1 +fontchar 133 64 41 64 // 2 +fontchar 174 64 41 64 // 3 +fontchar 215 64 41 64 // 4 +fontchar 256 64 40 64 // 5 +fontchar 296 64 41 64 // 6 +fontchar 337 64 41 64 // 7 +fontchar 378 64 41 64 // 8 +fontchar 419 64 40 64 // 9 +fontchar 459 64 29 64 // : +fontchar 0 128 29 64 // ; +fontchar 29 128 52 64 // < +fontchar 81 128 53 64 // = +fontchar 134 128 52 64 // > +fontchar 186 128 35 64 // ? +fontchar 221 128 64 64 // @ +fontchar 285 128 44 64 // A +fontchar 329 128 44 64 // B +fontchar 373 128 45 64 // C +fontchar 418 128 49 64 // D +fontchar 0 192 40 64 // E +fontchar 40 192 37 64 // F +fontchar 77 192 50 64 // G +fontchar 127 192 48 64 // H +fontchar 175 192 27 64 // I +fontchar 202 192 29 64 // J +fontchar 231 192 44 64 // K +fontchar 275 192 36 64 // L +fontchar 311 192 54 64 // M +fontchar 365 192 48 64 // N +fontchar 413 192 50 64 // O +fontchar 1 256 37 64 // P +fontchar 38 256 51 64 // Q +fontchar 89 256 44 64 // R +fontchar 133 256 43 64 // S +fontchar 177 256 39 64 // T +fontchar 217 256 46 64 // U +fontchar 263 256 44 64 // V +fontchar 307 256 63 64 // W +fontchar 370 256 44 64 // X +fontchar 414 256 39 64 // Y +fontchar 453 256 44 64 // Z +fontchar 0 320 29 64 // [ +fontchar 29 320 29 64 // \ +fontchar 59 320 28 64 // ] +fontchar 87 320 52 64 // ^ +fontchar 139 320 41 64 // _ +fontchar 180 320 41 64 // ` +fontchar 221 320 38 64 // a +fontchar 259 320 40 64 // b +fontchar 299 320 33 64 // c +fontchar 332 320 40 64 // d +fontchar 372 320 39 64 // e +fontchar 411 320 22 64 // f +fontchar 435 320 38 64 // g +fontchar 0 384 40 64 // h +fontchar 40 384 16 64 // i +fontchar 58 384 22 64 // j +fontchar 80 384 38 64 // k +fontchar 118 384 17 64 // l +fontchar 135 384 62 64 // m +fontchar 197 384 41 64 // n +fontchar 238 384 39 64 // o +fontchar 277 384 40 64 // p +fontchar 317 384 39 64 // q +fontchar 357 384 27 64 // r +fontchar 385 384 32 64 // s +fontchar 417 384 25 64 // t +fontchar 443 384 40 64 // u +fontchar 0 448 38 64 // v +fontchar 38 448 52 64 // w +fontchar 90 448 38 64 // x +fontchar 128 448 38 64 // y +fontchar 166 448 34 64 // z +fontchar 200 448 41 64 // { +fontchar 241 448 29 64 // | +fontchar 270 448 40 64 // } +fontchar 310 448 53 64 // ~
  42. Download patch config/admin.cfg

    --- 1.1.0.4+repack1-2.1/config/admin.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/admin.cfg 2013-10-22 18:57:22.000000000 +0000 @@ -1,25 +1,28 @@ -alias kick [ callvote 0 $arg1 $arg2 ] -alias ban [ callvote 1 $arg1 $arg2 ] -alias removebans [ callvote 2 $arg1 ] -alias mastermode [ callvote 3 $arg1 ] -alias autoteam [ callvote 4 $arg1 ] -alias forceteam [ callvote 5 $arg1 ] -alias giveadmin [ callvote 6 $arg1 ] -alias map [ callvote 7 $arg1 $arg2 ] -alias recorddemo [ callvote 8 1 ] -alias stopdemo [ callvote 9 ] -alias cleardemo [ callvote 10 $arg1 ] -alias cleardemos [ callvote 10 0 ] -alias serverdesc [ callvote 11 $arg1 ] -alias shuffleteams [ callvote 12 ] +persistidents 0 -alias demo [ - alias _demofile $arg1 - if $connected [ - addOnLoadOnce [mode -1; map $_demofile] - disconnect - ][ - mode -1; map $_demofile - ] +const kick [ callvote 0 $arg1 $arg2 ] +const ban [ callvote 1 $arg1 $arg2 ] +const removebans [ callvote 2 $arg1 ] +const mastermode [ callvote 3 $arg1 ] +const autoteam [ callvote 4 $arg1 ] +const forceteam [ callvote 5 $arg1 $arg2 ] +const forceme [ if $numargs [ forceteam (player1 cn) $arg1 ] [ if (checkrange (player1 team) 0 1) [ forceteam (player1 cn) (! (player1 team)) ] ] ] +const giveadmin [ callvote 6 $arg1 ] +const map [ callvote 7 $arg1 $arg2 ] +const recorddemo [ callvote 8 1 ] +const cleardemo [ callvote 10 $arg1 ] +const cleardemos [ callvote 10 0 ] +const serverdesc [ callvote 11 $arg1 ] +const shuffleteams [ callvote 12 ] + +const demo [ + _demofile = $arg1 + if $connected [ + addOnLoadOnce [ mode -1; map $_demofile ] + disconnect + ] [ + mode -1; map $_demofile + ] ] +persistidents 1
  43. Download patch docs/introduction.html
  44. Download patch config/autosave.cfg

    --- 1.1.0.4+repack1-2.1/config/autosave.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/autosave.cfg 2013-10-22 18:57:22.000000000 +0000 @@ -0,0 +1,33 @@ +persistidents 0 + +checkinit mapstartalways [numAutoSaves = 0; autoSaveCheck] +checkinit onNewMap [numAutoSaves = 0; autoSaveCheck] +check2init autosavemap 0 // Autosavemap system disabled by default +check2init timeBetAutoSaves 300000 // Autosave once every 5 minutes. +check2init numAutoSaveBackups 3 // Make a map .bak every 3 autosaves (15 minutes) by default + +const autoSaveCheck [ if $autosavemap [ sleep $timeBetAutoSaves doAutoSave ] ] + +const execAutoSave [ + ++ numAutoSaves + oldmapbackups = $mapbackupsonsave + if (|| (!= $numAutoSaveBackups $numAutoSaves) (= $numAutoSaveBackups 0)) [ mapbackupsonsave 0 ] [ numAutoSaves = 0 ] // Temporarily turn off map backups to avoid clutter. + savemap (curmap 1) + mapbackupsonsave $oldmapbackups + echo (blue)The map was automatically saved. (white)Next auto-save in (divf $timeBetAutoSaves 60000) minutes. +] + +const doAutoSave [ + if $autosavemap [ + if (&& (! (strstr $defaultmaps (curmap 1))) (strlen (curmap 1))) [ + if $editing execAutoSave [ + if (= $gamemode (modenum coop)) execAutoSave + ] + ] + ] + autoSaveCheck +] + +addListOnQuit [autoSaveCheck execAutoSave doAutoSave numAutoSaves oldmapbackups] + +persistidents 1
  45. Download patch docs/transformations/cuberef2cubescript.xslt

    --- 1.1.0.4+repack1-2.1/docs/transformations/cuberef2cubescript.xslt 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/transformations/cuberef2cubescript.xslt 1970-01-01 00:00:00.000000000 +0000 @@ -1,149 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- ZLIB licensed, (C) 2007 Adrian 'driAn' Henke, http://www.sprintf.org --> - -<!-- - transforms a cuberef document to a cubescript document ---> - -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:t="http://cubers.net/Schemas/CubeRef"> - - <xsl:output method="text" encoding="ASCII"/> - - <!-- horizontal tab --> - <xsl:variable name="indent"> - <xsl:text>&#09;</xsl:text> - </xsl:variable> - - <!-- line feed, CRLF (dos/win) --> - <xsl:variable name="newline"> - <xsl:text>&#13;&#10;</xsl:text> - </xsl:variable> - - <xsl:template match="/t:cuberef"> - <xsl:text>// auto generated script to make the doc reference readable for Cube games, see the 'docs/cuberef.txt'</xsl:text> - <xsl:value-of select="$newline"/> - - <!-- sections --> - <xsl:for-each select="t:sections/t:section"> - <xsl:text>docsection </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="@name"/> - <xsl:text>]</xsl:text> - <xsl:value-of select="$newline"/> - <xsl:value-of select="$newline"/> - - <!-- identifiers --> - <xsl:for-each select="t:identifiers/*"> - <xsl:sort select="@name"/> <!-- always sort to avoid axcessive sorting inside the Cube games --> - <xsl:text>docident </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="@name"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="normalize-space(t:description)"/> - <xsl:text>];</xsl:text> - <xsl:value-of select="$newline"/> - - <!-- argument descriptions --> - <xsl:for-each select="t:arguments/*"> - <xsl:text>docargument </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="@token"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="@description"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="@valueNotes"/> - <xsl:text>] [</xsl:text> - <xsl:choose> - <xsl:when test="local-name() = 'variableArgument'"> - <xsl:text>1</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>0</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>];</xsl:text> - <xsl:value-of select="$newline"/> - </xsl:for-each> - - <!-- var descriptions (fake arg) --> - <xsl:if test="t:value"> - <xsl:text>docargument </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="t:value/@token"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="t:value/@description"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="t:value/@valueNotes"/> - <xsl:choose> - <xsl:when test="t:value/@readOnly"> - <xsl:text> read-only</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:if test="t:value/@valueNotes"> - <xsl:text> </xsl:text> - </xsl:if> - <xsl:text>min </xsl:text> - <xsl:value-of select="t:value/@minValue"/> - <xsl:text>/max </xsl:text> - <xsl:value-of select="t:value/@maxValue"/> - <xsl:text>/default </xsl:text> - <xsl:value-of select="t:value/@defaultValue"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>];</xsl:text> - <xsl:value-of select="$newline"/> - </xsl:if> - - <!-- remarks --> - <xsl:for-each select="t:remarks/t:remark"> - <xsl:text>docremark </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="normalize-space(.)"/> - <xsl:text>];</xsl:text> - <xsl:value-of select="$newline"/> - </xsl:for-each> - - <!-- examples --> - <xsl:for-each select="t:examples/*"> - <xsl:text>docexample </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="normalize-space(t:code)"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="normalize-space(t:explanation)"/><!-- FIXME: will only use the 1st explanation (2010oct06:flowtron) --> - <xsl:text>];</xsl:text> - <xsl:value-of select="$newline"/> - </xsl:for-each> - - <!-- default keys --> - <xsl:for-each select="t:defaultKeys/*"> - <xsl:text>dockey </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="@alias"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="@name"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="@description"/> - <xsl:text>];</xsl:text> - <xsl:value-of select="$newline"/> - </xsl:for-each> - - <!-- references --> - <xsl:for-each select="t:references/t:reference"> - <xsl:text>docref </xsl:text> - <xsl:text>[</xsl:text> - <xsl:value-of select="@name"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="@identifier"/> - <xsl:text>] [</xsl:text> - <xsl:value-of select="@url"/> - <xsl:text>];</xsl:text> - <xsl:value-of select="$newline"/> - </xsl:for-each> - - <xsl:value-of select="$newline"/> - </xsl:for-each> - </xsl:for-each> - - </xsl:template> - -</xsl:stylesheet>
  46. Download patch config/autoexec.cfg

    --- 1.1.0.4+repack1-2.1/config/autoexec.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/autoexec.cfg 2013-10-09 08:27:50.000000000 +0000 @@ -2,5 +2,3 @@ // This is where you should put any scripts you may have created for AC. - -
  47. Download patch docs/mapediting4.html

    --- 1.1.0.4+repack1-2.1/docs/mapediting4.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/mapediting4.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,21 +1,49 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Map editing: Tips, tricks and advice</title> -<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> -<link rel="shortcut icon" href="pics/favicon.ico"/> -<link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> -<div id="main"> -<div id="logo"> -<img src="pics/head.gif" alt="AssaultCube logo"/> -</div> -<div id="title"> -<h1> - AssaultCube: Map editing: Tips, tricks and advice</h1> -</div> -<div id="content"> -<h1>Map editing: Tips, tricks and advice</h1> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Map editing - Tips, tricks and advice</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docswarn"> + <b style="color : #750000;">NOTE:</b> This page of the documentation has been quickly converted from + <a href="http://actiongame.svn.sourceforge.net/viewvc/actiongame/tags/v01_10_04/docs/README.html?revision=5882">AssaultCubes old + README</a> and has not yet been checked properly for mistakes/weird stylying/invalid markup/inconsistancies/etc. + We're on it though, check back soon! + </div> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> + </div> + <h2>Map editing - Tips, tricks and advice</h2> + + <!-- Remember to remove docwarning when fixed up! --> + + + + <p>Covered in this article:</p> <ul> <li> @@ -214,10 +242,27 @@ <p> Note: Some useful editing commands can't be used in co-op editing, such as: copy, paste, slope, arch, undo, etc. </p> -</div> -<div id="footer"> - Rabid Viper Productions - </div> -</div> -</body> + + + + + + + + + + + + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> + </div> + </body> </html>
  48. Download patch docs/css/docs.css

    --- 1.1.0.4+repack1-2.1/docs/css/docs.css 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/css/docs.css 2013-11-10 19:16:08.000000000 +0000 @@ -0,0 +1,66 @@ +/* Main "docs" CSS file for the AssaultCube documentation. */ + +/* Written by: Rabid Viper Productions */ + +/* You may be able to redistribute this content under specific */ +/* conditions. Please read the licensing information, available */ +/* at http://assault.cubers.net/docs/license.html for the */ +/* conditions that would apply to what you may be redistributing. */ + +.docsmain { +padding : 0 5px; +padding-bottom : 25px; +margin-top : 15px; +background-color : #101010; +font-size : 13px; +clear : both; +} +#docsheader { +float : right; +font-size : 18px; +margin-top : 75px; +visibility : visible; +} +#donatedocs { +float : left; +clear : none; +width : 220px; +height : 30px; +margin-top : 5px; +text-align : left; +font-size : 10px; +} +#donatedocs a:link, #donatedocs a:visited { +text-decoration : none; +font-style : italic; +} +#donatedocs a:hover, #donatedocs a:active { +text-decoration : underline; +} +#gohome { +text-align : right; +position : absolute; +width : 870px; +font-family : "Trebuchet MS", Arial, Helvetica, sans-serif; +font-size : 11px; +} +h4 { +padding : 0; +margin : 5px 0; +font-size : 16px; +} +.docswarn { +padding : 5px; +margin-top : 15px; +background-color : #101010; +font-size : 13px; +clear : both; +} +.adsensefooter { +clear : both; +} +.head01 { +text-align : center; +font-weight : bold; +text-decoration : underline; +}
  49. Download patch config/motd_en.txt

    --- 1.1.0.4+repack1-2.1/config/motd_en.txt 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/motd_en.txt 2013-10-09 08:27:50.000000000 +0000 @@ -1,4 +1,4 @@ -// extended serverinfo file +// message of the day file // ======================== // WARNING: You can NOT use CubeScript in here!! // @@ -6,9 +6,15 @@ // Comments are removed, also leading and trailing blanks and empty lines. // // Don't use more than 80 characters per line. You can use colors and TABs. -// The available colors are: 0: green, 1: blue, 2: yellow, 3: red, 4: gray, 5: white, 6: dark brown, 7: dark red +// Color usage: \f plus a corresponding number/character. +// The available colors are: 0: green, 1: blue, 2: yellow, 3: red, 4: gray, 5: white, +// 6: dark brown, 7: dark red, 8: magenta, 9: orange, +// A-D: red set, E-H: yellow set, I-L: green set, +// M-P: cyan set, Q-T: blue set, U-X: magenta set +// Y: light gray, Z: dark gray // // Example: -// BobsInstagibServer \f3play nicely! +// BobsInstagibServer \f3play nicely!\n +// Coloring a motd is fun: \f0Green\f5 and another \fLgreen\f5 from the set.\n // contact me at a@b.c
  50. Download patch docs/styles/cuberef.css
  51. Download patch docs/mapediting1.html
  52. Download patch docs/css/invisibility.css

    --- 1.1.0.4+repack1-2.1/docs/css/invisibility.css 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/css/invisibility.css 2013-11-10 19:16:08.000000000 +0000 @@ -0,0 +1,25 @@ +/* "invisibility.css" for the AssaultCube documentation. */ +/* Written by: Rabid Viper Productions */ + +/* Use this file to hide elements on the website, that you wish */ +/* normally to be visible when viewed offline. */ +/* If you wish to do the same, but vice-versa, just use SSI to */ +/* gain the effect, instead. */ + +/* How to use: */ +/* Add the below SSI comment in the head of the webpage: */ +/* <!--#include virtual="/SSI-HTML/visibility.html" --> */ + +/* When the page is opened locally, your browser will interpret */ +/* the line as a comment and NOT open this visibility.css file. */ +/* However, when the server processes the page, it will add */ +/* this CSS file into the page. */ + +/* You may be able to redistribute this content under specific */ +/* conditions. Please read the licensing information, available */ +/* at http://assault.cubers.net/docs/license.html for the */ +/* conditions that would apply to what you may be redistributing*/ + +#docsheader { +visibility : hidden; +}
  53. Download patch config/favourites.cfg

    --- 1.1.0.4+repack1-2.1/config/favourites.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/favourites.cfg 2013-10-22 18:57:22.000000000 +0000 @@ -33,7 +33,6 @@ // %gema matches all servers with gema maps currently played // >350 matches all servers with ping > 350 // #5 #13 #14 #15 matches all servers with flag modes currently played -// $mpmap matches all servers with a map from your installed mappack currently played // $offmap matches all servers with an official map currently played // cubescript aliases can be used to check more complicated conditions @@ -41,9 +40,9 @@ // arg1: mapname, arg2: gamemode number, arg3: ping, arg4: minutesremaining, arg5: number of players, arg6: maxclients, arg7: IP, arg8: port, arg9: pongflags // pongflags is bit-coded: bit 0: passworded, bit 1: banned, bit 2: blacklisted, bit 6: mastermode -// these two example scripts check, if the server plays a map from either the official list or the mappack list -alias mpmap [(+ 1 (findlist $mappack_maps $arg1))] -alias offmap [(+ 1 (findlist $defaultmaps $arg1))] +persistidents 0 + +offmap = [ (+ 1 (findlist $defaultmaps $arg1)) ] // basic categories @@ -87,7 +86,6 @@ addfavcategory MAP sbfavourite_MAP_desc = "Nice maps" sbfavourite_MAP_alpha = 0 sbfavourite_MAP_weight = 1 -sbfavourite_MAP_keys = "$mpmap" // automatically add servers with mappack maps addfavcategory MODE sbfavourite_MODE_desc = "Favourite game modes" @@ -95,4 +93,4 @@ sbfavourite_MODE_alpha = 0 sbfavourite_MODE_weight = 1 sbfavourite_MODE_keys = "#42" // automatically add servers playing towel mode - +persistidents 1
  54. Download patch config/prefabs.cfg

    --- 1.1.0.4+repack1-2.1/config/prefabs.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/prefabs.cfg 2013-10-22 18:57:22.000000000 +0000 @@ -2,7 +2,9 @@ // arch of 2xN cubes, i.e. 3 vertices [0..2] // archvertex <cubespan> <vertex> <delta> // vertices not defined have a 0 delta -alias av [ +persistidents 0 + +const av [ loop i $arg1 [ archvertex (+ $arg1 1) (+ $i 1) (at $arg2 $i) ] @@ -19,8 +21,10 @@ av 9 "7 11 13 14 14 14 13 11 7" av 10 "7 11 13 14 14 14 14 13 11 7" av 11 "8 13 16 18 19 19 19 18 16 13 8" av 12 "8 13 16 18 19 19 19 19 18 16 13 8" -av 13 "8 13 16 18 19 19 19 19 19 18 16 13 8" // these last few can be improved +av 13 "8 13 16 18 19 19 19 19 19 18 16 13 8" // these last few can be improved av 14 "8 13 16 18 19 19 19 19 19 19 18 16 13 8" av 15 "8 13 16 18 19 19 19 19 19 19 19 18 16 13 8" // add wider arches here! :) + +persistidents 1
  55. Download patch docs/css/main.css
  56. Download patch config/default_map_settings.cfg
  57. Download patch docs/index.html

    --- 1.1.0.4+repack1-2.1/docs/index.html 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/index.html 2013-11-10 19:16:08.000000000 +0000 @@ -0,0 +1,152 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="description" content="Documentation index of the game AssaultCube @ http://assault.cubers.net/"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + <style type="text/css"> + ul { + list-style-type : upper-roman; + } + </style> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docsmain"> + <h2>Documentation Index</h2> + <p> + AssaultCube is a <b>FREE</b>, multiplayer, first-person shooter game, based on the + <a href="http://cubeengine.com/cube.php4">CUBE engine</a> by the team at + <a href="team.html">Rabid Viper Productions</a>. + Taking place in <span title="Example: Abandoned mine shafts (not alien space ships!)" + class="titletext">realistic environments</span>, with fast, arcade gameplay, it's addictive and fun! + </p> + <p> + With efficient bandwidth usage, it's low-latency and can even run over a 56Kbps connection. + It's tiny too, weighing in at a lightweight 40 MB package available for Windows, Mac and Linux. + On the correct settings, it can even run on old hardware (Pentium III and above). + </p> + <p> + You can read more about AssaultCube from the website @ <a href="http://assault.cubers.net/">http://assault.cubers.net/</a> + </p> + <h4>For new players:</h4> + <ul> + <li><a href="getstarted.html">How to get started</a> - Installing and making AssaultCube work.</li> + <li> + <a href="graphicsdrivers.html">Update your graphics drivers</a> + - This will help you get the best out of AssaultCube (and many other 3D games!) + </li> + <li> + <a href="introduction.html">Introduction to AssaultCube</a> - Basic information + about the game including gameplay, modes &amp; weapons. + </li> + <li><a href="interface.html">AssaultCube's interface</a> - How AssaultCube looks, works &amp; feels.</li> + <li><a href="basics.html">The basics</a> - Learn the basics, then kick-ass from there!</li> + <li><a href="maneuvers.html" >Special maneuvers</a> - Want to go from n00b to awesome? These maneuvers could help!</li> + <li><a href="faqs.html" >F.A.Q's</a> - Answers to some questions frequently asked by new players.</li> + </ul> + <h4>For the &#252;&#223;3r advanced players:</h4> + <ul> + <li> + <a href="reference.xml">CubeScript</a> + - AssaultCube's scripting language CubeScript, including a reference with all AssaultCubes commands. + </li> + <li> + <a href="server.html">AssaultCube servers</a> - How to set up a + server, configuration &amp; administration of the server and setting up LAN games. + </li> + <li> + <a href="commandline.html">Command line arguments</a> + - Arguments that can be set up on the server or client when starting AssaultCube. + </li> + <li> + <a href="cubeengine.html">The AssaultCube/CUBE engine</a> - An introduction to how the + <a href="http://cubeengine.com/cube.php4">CUBE engine</a> &amp; AssaultCube works. + </li> + </ul> + <h4>Map editing:</h4> + <ul> + <li> + <a href="mapediting1.html">Interface &amp; controls</a> + - How the map editor looks, works &amp; feels, and the controls needed to use it. + </li> + <li><a href="mapediting2.html">Begin!</a> - Start map editing!</li> + <li><a href="mapediting3.html">Entities</a> - How to set up lights, spawns, mapmodels, etc.</li> + <li><a href="mapediting4.html">Tips, tricks and advice</a> + - Very important tips and advice about AssaultCube map editing.</li> + <li> + <a href="mapediting5.html">Config files</a> + - How to add extra content to your map with a configuration file. + </li> + <li> + <a href="mapediting6.html">Official maps</a> - What the development team + looks for when selecting maps suitable for the official package. + </li> + </ul> + <h4>Modding:</h4> + <ul> + <li><a href="playerskins.html">Player skins</a> - Adding custom playerskins to AssaultCube.</li> + <li><a href="mods.html">Custom mods</a> - How 3rd party developers can extend AssaultCube. </li> + </ul> + <h4>Other:</h4> + <ul> + <li><a href="team.html">The team</a> - Check out the team (Rabid Viper Productions) that developed AssaultCube.</li> + <li> + <a href="license.html">Licensing information</a> - Our licensing is very specific. + Find out how permission is granted to use and/or redistribute AC. + </li> + <li><a href="history.html">AssaultCubes history</a> - A changelog on this game's development.</li> + <li><a href="knownissues.html">Known issues</a> - Sometimes not everything can be fixed easily.</li> + </ul> + <h2>Participate in the Community</h2> + <p> + If you're curious about how to participate in the community, then take a look here: + <a href="http://assault.cubers.net/community.html">http://assault.cubers.net/community.html</a> + </p> + <h2 id="helpmeplease">Help?!</h2> + <p> + If you need some help with anything at all, please first search through this official documentation. + If you still can't find the answer you need, <a href="http://wiki.cubers.net/action/view/Special:Search">search the wiki</a>, and the + <a href="http://forum.cubers.net/search.php">forums</a>, and if you + still can't find the answer, post a thread on the forum explaining your situation. You can use this + <a href="http://assault.cubers.net/search.html">search engine</a> to search the whole lot in one go! + </p> + <p> + You may also try <a href="http://assault.cubers.net/irc.html">IRC</a> for a real-time response, + but be patient (at least 30mins), as people "idle" in IRC. You might get an instant response, or it may take a little bit of time. + Just hang out and see! + </p> + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> + </div> + </body> +</html>
  58. Download patch config/serverkillmessages.cfg

    --- 1.1.0.4+repack1-2.1/config/serverkillmessages.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/serverkillmessages.cfg 2013-10-09 08:27:50.000000000 +0000 @@ -0,0 +1,18 @@ +// kill messages + +// set frag and kills messages that appear in server logs + +fragmessage 1 busted // pistol +fragmessage 2 "picked off" // carbine +fragmessage 3 peppered // shotgun +fragmessage 4 sprayed // smg +fragmessage 5 punctured // sniper +fragmessage 6 shredded // assault rifle +fragmessage 7 busted // cpistol +fragmessage 9 busted // akimbo + +gibmessage 0 slashed // knife +gibmessage 3 splattered // shotgun gib +gibmessage 5 headshot // sniper gib +gibmessage 8 gibbed // nade gib +
  59. Download patch docs/transformations/cubedoc2xhtml.xslt

    --- 1.1.0.4+repack1-2.1/docs/transformations/cubedoc2xhtml.xslt 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/transformations/cubedoc2xhtml.xslt 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- ZLIB licensed, (C) 2007 Adrian 'driAn' Henke, http://www.sprintf.org --> - -<!-- - embeds a single xhtml documentation page into a common layout ---> - -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:h="http://www.w3.org/1999/xhtml"> - - <xsl:output method="html" omit-xml-declaration="yes" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/> - - <xsl:template match="/h:html"> - <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> - <head> - <title> - <xsl:value-of select="/h:html/h:head/h:title" /> - </title> - <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" /> - <link rel="shortcut icon" href="pics/favicon.ico" /> - <link rel="stylesheet" href="styles/cubedoc.css" /> - </head> - <body> - <div id="main"> - <div id="logo"> - <img src="pics/head.gif" alt="AssaultCube logo" /> - </div> - <div id="title"> - <h1> - AssaultCube: <xsl:value-of select="/h:html/h:head/h:title" /> - </h1> - </div> - <div id="content"> - <xsl:copy-of select="/h:html/h:body/*"/> - </div> - <div id="footer"> - Rabid Viper Productions - </div> - </div> - </body> - </html> - </xsl:template> - -</xsl:stylesheet> -
  60. Download patch docs/reference.xml
  61. Download patch docs/README.html
  62. Download patch docs/styles/cubedoc.css

    --- 1.1.0.4+repack1-2.1/docs/styles/cubedoc.css 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/styles/cubedoc.css 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ -/* ZLIB licensed, (C) 2007 Adrian 'driAn' Henke, http://www.sprintf.org */ - -/* - styles for the readme -*/ - -@import url(ac.css); - - -/* guns */ - -table#guns td -{ - vertical-align: top; -} - -/* gunstats */ - -table#gunstats -{ - width: 100%; - border-collapse: collapse; -} - -table#gunstats thead td -{ - font-weight: bold; -} - -table#gunstats td -{ - border: solid 1px #777777; -} - - -/* items */ - -table.items td -{ - vertical-align: top; -} \ No newline at end of file
  63. Download patch docs/schemas/cuberef.xsd
  64. Download patch docs/mapediting6.html

    --- 1.1.0.4+repack1-2.1/docs/mapediting6.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/mapediting6.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,22 +1,50 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Map editing: Official maps</title> -<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> -<link rel="shortcut icon" href="pics/favicon.ico"/> -<link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> -<div id="main"> -<div id="logo"> -<img src="pics/head.gif" alt="AssaultCube logo"/> -</div> -<div id="title"> -<h1> - Official maps -</h1> -</div> -<div id="content"> -<h1>Official maps</h1> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Map editing - Official maps</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docswarn"> + <b style="color : #750000;">NOTE:</b> This page of the documentation has been quickly converted from + <a href="http://actiongame.svn.sourceforge.net/viewvc/actiongame/tags/v01_10_04/docs/README.html?revision=5882">AssaultCubes old + README</a> and has not yet been checked properly for mistakes/weird stylying/invalid markup/inconsistancies/etc. + We're on it though, check back soon! + </div> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> + </div> + <h2>Map editing - Official maps</h2> + + <!-- Remember to remove docwarning when fixed up! --> + + + + + <p> If you want to create maps with the intention of getting them into the @@ -80,10 +108,36 @@ at least give you an idea on what we're countries, of different ages play AssaultCube, keep this in mind. </li> </ul> -</div> -<div id="footer"> - Rabid Viper Productions - </div> -</div> -</body> + + + + + + + + + + + + + + + + + + + + + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> + </div> + </body> </html>
  65. Download patch docs/css/referencexml.css
  66. Download patch config/menus_bot.cfg
  67. Download patch config/font_default.cfg

    --- 1.1.0.4+repack1-2.1/config/font_default.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/font_default.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,98 @@ +// Default font. +// DO NOT MODIFY + +font default "packages/misc/chars_default.png" 32 64 0 2 0 -2 +fontchar 1 0 23 64 // ! +fontchar 28 0 38 64 // " +fontchar 68 0 47 64 // # +fontchar 118 0 39 64 // $ +fontchar 157 0 59 64 // % +fontchar 216 0 50 64 // & +fontchar 266 0 24 64 // ' +fontchar 293 0 28 64 // ( +fontchar 323 0 28 64 // ) +fontchar 352 0 36 64 // * +fontchar 390 0 43 64 // + +fontchar 436 0 26 64 // , +fontchar 463 0 30 64 // - +fontchar 1 64 23 64 // . +fontchar 25 64 32 64 // / +fontchar 57 64 42 64 // 0 +fontchar 102 64 38 64 // 1 +fontchar 143 64 38 64 // 2 +fontchar 184 64 40 64 // 3 +fontchar 224 64 42 64 // 4 +fontchar 267 64 40 64 // 5 +fontchar 309 64 41 64 // 6 +fontchar 350 64 40 64 // 7 +fontchar 392 64 41 64 // 8 +fontchar 433 64 41 64 // 9 +fontchar 477 64 23 64 // : +fontchar 1 128 25 64 // ; +fontchar 27 128 43 64 // < +fontchar 73 128 43 64 // = +fontchar 118 128 43 64 // > +fontchar 161 128 37 64 // ? +fontchar 198 128 55 64 // @ +fontchar 255 128 50 64 // A +fontchar 305 128 42 64 // B +fontchar 348 128 43 64 // C +fontchar 393 128 47 64 // D +fontchar 2 192 38 64 // E +fontchar 43 192 38 64 // F +fontchar 82 192 47 64 // G +fontchar 132 192 45 64 // H +fontchar 180 192 24 64 // I +fontchar 205 192 31 64 // J +fontchar 237 192 48 64 // K +fontchar 286 192 38 64 // L +fontchar 324 192 53 64 // M +fontchar 379 192 45 64 // N +fontchar 426 192 50 64 // O +fontchar 2 256 42 64 // P +fontchar 45 256 50 64 // Q +fontchar 97 256 45 64 // R +fontchar 143 256 41 64 // S +fontchar 184 256 46 64 // T +fontchar 230 256 44 64 // U +fontchar 275 256 50 64 // V +fontchar 326 256 64 64 // W +fontchar 392 256 48 64 // X +fontchar 440 256 49 64 // Y +fontchar 2 320 43 64 // Z +fontchar 46 320 29 64 // [ +fontchar 77 320 32 64 // \ +fontchar 109 320 29 64 // ] +fontchar 141 320 46 64 // ^ +fontchar 189 320 37 64 // _ +fontchar 226 320 28 64 // ` +fontchar 259 320 40 64 // a +fontchar 302 320 41 64 // b +fontchar 344 320 36 64 // c +fontchar 382 320 41 64 // d +fontchar 426 320 41 64 // e +fontchar 468 320 33 64 // f +fontchar 2 384 41 64 // g +fontchar 45 384 40 64 // h +fontchar 87 384 23 64 // i +fontchar 110 384 27 64 // j +fontchar 141 384 42 64 // k +fontchar 183 384 23 64 // l +fontchar 210 384 56 64 // m +fontchar 270 384 40 64 // n +fontchar 311 384 42 64 // o +fontchar 356 384 41 64 // p +fontchar 398 384 41 64 // q +fontchar 439 384 32 64 // r +fontchar 471 384 37 64 // s +fontchar 2 448 35 64 // t +fontchar 42 448 39 64 // u +fontchar 85 448 44 64 // v +fontchar 130 448 55 64 // w +fontchar 187 448 42 64 // x +fontchar 230 448 44 64 // y +fontchar 276 448 37 64 // z +fontchar 320 448 35 64 // { +fontchar 366 448 20 64 // | +fontchar 397 448 35 64 // } +fontchar 443 448 43 64 // ~ \ No newline at end of file
  68. Download patch docs/autogen/win32_cubedoc2xhtml.ps1

    --- 1.1.0.4+repack1-2.1/docs/autogen/win32_cubedoc2xhtml.ps1 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/autogen/win32_cubedoc2xhtml.ps1 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -$files = dir ..\* -include *.html - -foreach($f in $files) -{ - $in = $f.FullName - $out = [system.io.path]::ChangeExtension($f.FullName, "html") - msxsl.exe -o "$out" -v "$in" ..\transformations\cubedoc2xhtml.xslt -} \ No newline at end of file
  69. Download patch config/font.cfg
  70. Download patch docs/package_copyrights.txt
  71. Download patch config/menu_voicecom.cfg

    --- 1.1.0.4+repack1-2.1/config/menu_voicecom.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/menu_voicecom.cfg 1970-01-01 00:00:00.000000000 +0000 @@ -1,68 +0,0 @@ -newmenu voicecom 1 1 - -menuitem "1. Team Replies" [showmenu "Team Replies"] -menuitem "2. Team Commands" [showmenu "Team Commands"] -menuitem "3. Team State" [showmenu "Team State"] -menuitem "4. Team Talk" [showmenu "Team Talk"] -menuitem "5. Team Tactics" [showmenu "Team Tactics"] -menuitem "6. Public Talk" [showmenu "Public Talk"] - - -alias vcrnd [ // pick random shout if possible - alias len (listlen $arg1) - if (> $len 1) [ - alias r (rnd $len) - voicecom (at $arg1 $r) (at $arg2 $r) - ] [ - voicecom $arg1 $arg2 - ] -] - - -alias genvcitem [ - if (> (listlen $arg2) 1) [ alias text (at $arg1 0) ] [ alias text $arg1 ] // split multiple shouts - alias action (concatword vcrnd " [" $arg2 "]" " [" $arg1 "]") - menuitem (concatword $arg3 ". " $text) $action // add as numbered list -] - -// V 1 [ 1,2 ] -newmenu "Team Replies" 1 1 -// the following two mirror F1/F2 - disagree/agree -genvcitem [Yes Affirmative "All right, Sir"] "yes affirmative allrightsir" 1 // # -genvcitem ["Negative" "No can do" "There's no way, Sir!"] "negative nocando theresnowaysir" 2 // * -genvcitem ["On the move" "On my way"] "onthemove_1 onthemove_2" 3 -genvcitem ["Got your back!" "Got you covered!"] "igotyourback igotyoucovered" 4 -genvcitem ["In Position!" "In Position now!"] "inposition_1 inposition_2" 5 - -// V 2 [ 1,2,3 ] -newmenu "Team Commands" 1 1 -genvcitem "Recover the flag!" recovertheflag 1 // * -genvcitem "Defend the flag!" defendtheflag 2 // # -genvcitem ["Come on, move!" "Spread Out!"] "comeonmove spreadout" 3 // * - -// V 3 [ 2,3,4 ] -newmenu "Team State" 1 1 -genvcitem "I'm attacking" imattacking 1 -genvcitem "Coming in with the flag!" cominginwiththeflag 2 // * -genvcitem "I made contact" imadecontact 3 // # -genvcitem ["Enemy down" "I got one"] "enemydown igotone" 4 // * -genvcitem "I'm on defense" imondefense 5 - -// V 4 [ 1,2,3 ] -newmenu "Team Talk" 1 1 -genvcitem ["We did it!" "Go get 'em boys!" "Good job, team!"] "wedidit gogetemboys goodjobteam" 1 -genvcitem "Sorry" sorry 2 -genvcitem "I'm on your team, man!" imonyourteamman 3 // * - -// V 5 [ 1,2,3 ] -newmenu "Team Tactics" 1 1 -genvcitem "Cover me!" coverme 1 -genvcitem "Stay together!" staytogether 2 -genvcitem "Stay here!" stayhere 3 -genvcitem "Report In!" reportin 4 // * - -// V 6 [ 1,2,3 ] -newmenu "Public Talk" 1 1 -genvcitem "Nice shot" niceshot 1 -genvcitem ["Thanks!" "Thanks, man"] "thanks_1 thanks_2" 2 -genvcitem ["Awesome" "Awesome!"] "awesome_1 awesome_2" 3
  72. Download patch docs/mapediting3.html

    --- 1.1.0.4+repack1-2.1/docs/mapediting3.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/mapediting3.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,38 +1,72 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> -<html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Map editing: Entities</title> - <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" /> - <link rel="shortcut icon" href="pics/favicon.ico" /> - <link rel="stylesheet" href="styles/cubedoc.css" /> -</head> -<body> - <div id="main"> - <div id="logo"> - <img src="pics/head.gif" alt="AssaultCube logo" /> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Map editing - Entities</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docswarn"> + <b style="color : #750000;">NOTE:</b> This page of the documentation has been quickly converted from + <a href="http://actiongame.svn.sourceforge.net/viewvc/actiongame/tags/v01_10_04/docs/README.html?revision=5882">AssaultCubes old + README</a> and has not yet been checked properly for mistakes/weird stylying/invalid markup/inconsistancies/etc. + We're on it though, check back soon! + </div> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> </div> - <div id="title"> - <h1> - AssaultCube: Map editing: Entities</h1> - </div> - <div id="content"> - <h1> - Entities</h1> + <h2>Map editing - Entities</h2> + + <!-- Remember to remove docwarning when fixed up! --> + + + <p> - <a href="mapediting1.html#sparkles" shape="rect">Entities</a> are shown as blue - sparkly dots when in edit mode (the nearest one will show as orange). They are used for adding non-geometry/texture items, + <a href="mapediting1.html#sparkles" shape="rect">Entities</a> are shown as colour-coded + sparkly dots when in edit mode. They are used for adding non-geometry/non-texture items, such as: </p> - <ul> - <li><a href="#light" shape="rect">Lights</a> </li> - <li><a href="#pickup" shape="rect">Item pickups</a> </li> - <li><a href="#spawn" shape="rect">Spawn points</a> </li> - <li><a href="#models" shape="rect">Mapmodels</a> </li> - <li><a href="#ctf" shape="rect">CTF flags</a> </li> - <li><a href="#clips" shape="rect">Clips</a> </li> - <li><a href="#ladders" shape="rect">Ladders</a> </li> - <li><a href="#sounds" shape="rect">Map sounds</a> </li> - </ul> + <ul> + <li>The nearest entity will be blue.</li> + <li><a href="mapediting3.html#light">Light entities</a> will be white.</li> + <li> + <a href="mapediting3.html#pickup">Item pickups</a> will be red + (for weapons) or yellow (for armour/health). + </li> + <li><a href="mapediting3.html#spawn">Spawn points</a> will be green.</li> + <li> + <a href="mapediting3.html#models">Mapmodels</a> and + <a href="mapediting3.html#sounds">map sounds</a> will be magenta. + </li> + <li><a href="mapediting3.html#ctf">CTF flags</a> will be turquoise.</li> + <li> + <a href="mapediting3.html#clips">Clip boxes</a> and + <a href="mapediting3.html#ladders">ladders</a> will be grey. + </li> + <li><a href="mapediting3.html#sounds">Map sounds</a> in magenta (like models)</li> + </ul> <p> Each of these entities will be explained soon. All entities are added by the <b>/newent</b> command (or through the editing menu). When adding entities, they are always added @@ -279,10 +313,28 @@ For more information, see: <a href="reference.xml#identifier_newent_sound" shape="rect"> newent sound</a>. </p> - </div> - <div id="footer"> - Rabid Viper Productions - </div> + + + + + + + + + + + + + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> </div> -</body> + </body> </html>
  73. Download patch config/securemaps.cfg

    --- 1.1.0.4+repack1-2.1/config/securemaps.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/securemaps.cfg 2013-11-10 19:16:41.000000000 +0000 @@ -1,20 +1,24 @@ resetsecuremaps securemap ac_aqueous securemap ac_arabian -securemap ac_arid securemap ac_arctic +securemap ac_arid +securemap ac_avenue +securemap ac_cavern securemap ac_complex -securemap ac_douze securemap ac_depot -securemap ac_depot_classic securemap ac_desert securemap ac_desert2 securemap ac_desert3 +securemap ac_douze +securemap ac_edifice securemap ac_elevation securemap ac_gothic securemap ac_iceroad +securemap ac_industrial securemap ac_ingress securemap ac_keller +securemap ac_lainio securemap ac_mines securemap ac_outpost securemap ac_power @@ -22,7 +26,12 @@ securemap ac_rattrap securemap ac_scaffold securemap ac_shine securemap ac_snow +securemap ac_stellar securemap ac_sunset +securemap ac_swamp +securemap ac_terros securemap ac_toxic securemap ac_urban +securemap ac_venison +securemap ac_wasteland securemap ac_werk
  74. Download patch docs/server.html
  75. Download patch config/sounds.cfg

    --- 1.1.0.4+repack1-2.1/config/sounds.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/sounds.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -18,8 +18,8 @@ registersound "weapon/waterimpact" registersound "weapon/knife" // 7 - S_KNIFE registersound "weapon/usp" // 8 - S_PISTOL registersound "weapon/pistol_reload" // 9 - S_RPISTOL -registersound "weapon/rifle" // 10 - S_RIFLE -registersound "weapon/rifle_reload" // 11 - S_RRIFLE // temporary +registersound "weapon/carbine" // 10 - S_CARBINE +registersound "weapon/carbine_reload" // 11 - S_RCARBINE // temporary registersound "weapon/shotgun" // 12 - S_SHOTGUN registersound "weapon/shotgun_reload" // 13 - S_RSHOTGUN registersound "weapon/sub" // 14 - S_SUBGUN @@ -58,9 +58,9 @@ registersound "misc/change_gun" registersound "misc/impact_t" // 47 - S_HITSOUND registersound "player/gib" // 48 - S_GIB registersound "misc/headshot" 10 // 49 - S_HEADSHOT -registersound "misc/vote/vote_call" // 50 - S_CALLVOTE -registersound "misc/vote/vote_pass" // 51 - S_VOTEPASS -registersound "misc/vote/vote_fail" // 52 - S_VOTEFAIL +registersound "vote/vote_call" // 50 - S_CALLVOTE +registersound "vote/vote_pass" // 51 - S_VOTEPASS +registersound "vote/vote_fail" // 52 - S_VOTEFAIL registersound "player/footsteps" 40 1 20 // 53 - S_FOOTSTEPS registersound "player/crouch" 40 1 10 // 54 - S_FOOTSTEPSCROUCH registersound "player/watersteps" 40 1 20 // 55 - S_WATERFOOTSTEPS @@ -109,11 +109,14 @@ registersound "voicecom/thanks_1" registersound "voicecom/thanks_2" // 96 : public registersound "voicecom/awesome_1" // 97 : public registersound "voicecom/awesome_2" // 98 : public +registersound "misc/pickup_helmet" // 99 - S_ITEMHELMET +registersound "player/heartbeat" // 100 - S_HEARTBEAT +registersound "ktf/flagscore" // 101 - S_KTFSCORE - // Music -registermusic "pingpong/03-pp-kamikadze" // M_FLAGGRAB -registermusic "pingpong/08-pp-headshot" // M_LASTMINUTE1 -registermusic "ac" // M_LASTMINUTE2 + // Music +registermusic "pingpong/Ping_Pong_-_Kamikadze" // M_FLAGGRAB +registermusic "pingpong/Ping_Pong_-_Headshot" // M_LASTMINUTE1 +registermusic "dcp/Dietmar_Pier_-_AssaultCube" // M_LASTMINUTE2 preload_music = [ loop m 3 [ musicpreload $m ] ] // uncomment the line below if you want to preload the music (if you experience delay e.g. when picking up a flag)
  76. Download patch docs/history.html
  77. Download patch config/serverinfo_en.txt

    --- 1.1.0.4+repack1-2.1/config/serverinfo_en.txt 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/serverinfo_en.txt 2013-10-09 08:27:50.000000000 +0000 @@ -12,10 +12,15 @@ // information for recruiting. // // Don't use more than 80 characters per line. You can use colors and TABs. -// The available colors are: 0: green, 1: blue, 2: yellow, 3: red, 4: gray, 5: white, 6: dark brown, 7: dark red +// Color usage: \f plus a corresponding number/character. +// The available colors are: 0: green, 1: blue, 2: yellow, 3: red, 4: gray, 5: white, +// 6: dark brown, 7: dark red, 8: magenta, 9: orange, +// A-D: red set, E-H: yellow set, I-L: green set, +// M-P: cyan set, Q-T: blue set, U-X: magenta set +// Y: light gray, Z: dark gray // // Example: // BobsInstagibServer \f3play nicely! +// Coloring a motd is fun: \f0Green\f5 and another \fLgreen\f5 from the set. // contact me at a@b.c -
  78. Download patch config/font_monospace.cfg

    --- 1.1.0.4+repack1-2.1/config/font_monospace.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/font_monospace.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,99 @@ +// Monospace font. +// DO NOT MODIFY. +// Font generated by ttf2font. + +font mono "packages/misc/chars_monospace.png" 37 51 +fontchar 5 5 38 // ! +fontchar 48 5 // " +fontchar 90 5 // # +fontchar 132 5 38 // $ +fontchar 175 5 38 // % +fontchar 218 5 38 // & +fontchar 261 5 38 // ' +fontchar 304 5 38 // ( +fontchar 347 5 38 // ) +fontchar 390 5 // * +fontchar 432 5 // + +fontchar 0 61 38 // , +fontchar 43 61 // - +fontchar 85 61 38 // . +fontchar 128 61 // / +fontchar 170 61 // 0 +fontchar 212 61 // 1 +fontchar 254 61 // 2 +fontchar 296 61 // 3 +fontchar 338 61 38 // 4 +fontchar 381 61 // 5 +fontchar 423 61 // 6 +fontchar 465 61 // 7 +fontchar 0 117 // 8 +fontchar 42 117 // 9 +fontchar 84 117 38 // : +fontchar 127 117 38 // ; +fontchar 170 117 // < +fontchar 212 117 // = +fontchar 254 117 // > +fontchar 296 117 38 // ? +fontchar 339 117 38 // @ +fontchar 382 117 // A +fontchar 424 117 // B +fontchar 466 117 // C +fontchar 0 173 // D +fontchar 42 173 38 // E +fontchar 85 173 38 // F +fontchar 128 173 // G +fontchar 170 173 // H +fontchar 212 173 // I +fontchar 254 173 // J +fontchar 296 173 38 // K +fontchar 339 173 38 // L +fontchar 382 173 // M +fontchar 424 173 // N +fontchar 466 173 // O +fontchar 0 229 // P +fontchar 42 229 // Q +fontchar 84 229 // R +fontchar 126 229 // S +fontchar 168 229 // T +fontchar 210 229 // U +fontchar 252 229 // V +fontchar 294 229 38 // W +fontchar 337 229 // X +fontchar 379 229 38 // Y +fontchar 422 229 // Z +fontchar 464 229 38 // [ +fontchar 0 285 // \ +fontchar 42 285 38 // ] +fontchar 85 285 // ^ +fontchar 127 285 // _ +fontchar 169 285 38 // ` +fontchar 212 285 // a +fontchar 254 285 // b +fontchar 296 285 // c +fontchar 338 285 // d +fontchar 380 285 // e +fontchar 422 285 // f +fontchar 464 285 // g +fontchar 0 341 // h +fontchar 42 341 // i +fontchar 84 341 // j +fontchar 126 341 // k +fontchar 168 341 // l +fontchar 210 341 38 // m +fontchar 253 341 // n +fontchar 295 341 // o +fontchar 337 341 // p +fontchar 379 341 // q +fontchar 421 341 // r +fontchar 463 341 // s +fontchar 0 397 // t +fontchar 42 397 // u +fontchar 84 397 // v +fontchar 126 397 38 // w +fontchar 169 397 // x +fontchar 211 397 // y +fontchar 253 397 // z +fontchar 295 397 38 // { +fontchar 338 397 38 // | +fontchar 381 397 38 // } +fontchar 424 397 38 // ~
  79. Download patch docs/getstarted.html
  80. Download patch docs/cubescript.html

    --- 1.1.0.4+repack1-2.1/docs/cubescript.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/cubescript.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>CubeScript Console Language</title> -<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/> -<link rel="shortcut icon" href="pics/favicon.ico"/> -<link rel="stylesheet" href="styles/cubedoc.css"/> -</head> -<body> -<div id="main"> -<div id="logo"> -<img src="pics/head.gif" alt="AssaultCube logo"/> -</div> -<div id="title"> -<h1> - AssaultCube: CubeScript Console Language</h1> -</div> -<div id="content"> -<h1>CubeScript Console Language</h1> -<p> - Cube's console language is similar to console languages of other games (e.g. Quake), but is a bit more powerful in - that it is almost a full programming language. - </p> -<p> - What is similar to quake is the basic command structure: commands consist of the command itself, followed by any - number of arguments seperated by whitespace. you can use "" to quote strings with whitespace in them (such as the - actions in bind/alias), and whereever a command is required you can also use ; to sequence multiple commands in one. - </p> -<p> - What is new compared to quake is that you can evaluate aliases and expressions. You can substitute the value of an - alias as an argument by prefixing it with a "$" sign, i.e.: <span class="code">echo The current value of x is $x</span> - You can even substitute - the values of console variables this way, i.e $fov gives the current fov. Some aliases are set automatically, for - example $arg1 to $argN are set if you supply arguments when you execute an alias. - </p> -<p> - There are two alternative ways to "" to quote a string: () and []. They work in the same way as "", with the difference - that they can be nested infinitely, and that they may contain linefeeds (useful for larger scripts). () is different - from [] in that it evaluates the commands contained in it _before_ it evaluates the surrounding command, and substitutes - the results. () bracketed strings are called expressions, and combined with some commands made especially for - "programming", you have a minimal language. See the <a href="reference.xml#section_CubeScript" shape="rect">reference</a> - for information about those commands. - </p> -</div> -<div id="footer"> - Rabid Viper Productions - </div> -</div> -</body> -</html>
  81. Download patch config/tutorial.cfg
  82. Download patch config/menus.cfg
  83. Download patch config/on_quit.cfg

    --- 1.1.0.4+repack1-2.1/config/on_quit.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/on_quit.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,35 @@ +// Adds a list of aliases to be deleted (cleared from saved.cfg) on every quit. +// Do not modify. (unless you really know what you're doing) + +persistidents 0 + +const addListOnQuit [ alias_list = $arg1; loop al (listlen $alias_list) [ addOnQuit (concat delalias (at $alias_list $al)) ] ] + +const on_quit_aliases [ + _demofile __screenshottype + acc1 acc2 acc3 + badargs cc1 cc2 + cc3 cdirlist cmapp + cs_sets cs_newsets customphud + custompwld customprimarydirs dirtotry + gametimestart i len + li modifier nargs + needsswitch numcla numrvsf + preload_music r s + sbdesc sbdns sbport + tmp tmpCCO tmp_botmap + tmp_botskill tmp_cl tmp_cradius + tmp_ff tmp_gamma_list tmp_hex + tmpmode tmp_mode tmp_mrem + tmp_numargs tmp_numbots tmp_old_sets + tmp_sum tmp_svol tmp_wc + marg1 marg2 marg3 + targ1 targ2 + svdata svpass + addListOnQuit on_quit_aliases +] + +addListOnQuit $on_quit_aliases +addOnQuit [ delalias alias_list ] + +persistidents 1
  84. Download patch config/compatibility.cfg

    --- 1.1.0.4+repack1-2.1/config/compatibility.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/compatibility.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,41 @@ +// Makes old cubescripts compatible with newer versions of the game + +persistidents 0 + +const alive [ if (&& $numargs (isclient $arg1)) [ result (player $arg1 alive) ] [ result (player1 alive) ] ] +const currole [ if (&& $numargs (isclient $arg1)) [ result (player $arg1 role) ] [ result (player1 role) ] ] +const curmode [ result $gamemode ] +const getclientmode [ result $gamemode ] +const curteam [ if (&& $numargs (isclient $arg1)) [ result (player $arg1 team) ] [ result (player1 team) ] ] +const findpn [ if (isclient $arg1) [ result (player $arg1 name) ] [ result [] ] ] +const isSpect [ if (&& $numargs (isclient $arg1)) [ result (player $arg1 spect) ] [ result (player1 spect) ] ] + +const pstat_score [ + if (isclient $arg1) [ + result (concat (player $arg1 flags) (player $arg1 frags) (player $arg1 deaths) (player $arg1 points) (player $arg1 team) (player $arg1 tks) (player $arg1 name)) + ] [ result (concat [0 0 0 0 -1 0] (addpunct)) ] +] + +const orderscorecolumns [ + if (= $arg1 1) [ + sc_clientnum 0; + sc_name 1; + sc_flags 2; + sc_frags 3; + sc_deaths 4; + sc_score 5; + sc_lag 6; + sc_ratio -1; + ] [ + sc_flags 0; + sc_frags 1; + sc_deaths 2; + sc_ratio -1; + sc_score 4; + sc_lag 5; + sc_clientnum 6; + sc_name 7; + ] +] + +persistidents 1
  85. Download patch docs/autogen/win32_cuberef2xhtml.bat

    --- 1.1.0.4+repack1-2.1/docs/autogen/win32_cuberef2xhtml.bat 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/autogen/win32_cuberef2xhtml.bat 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -msxsl.exe -o ..\out.html -v ..\reference.html ..\transformations\cuberef2xhtml.xslt -pause \ No newline at end of file
  86. Download patch assaultcube.sh

    --- 1.1.0.4+repack1-2.1/assaultcube.sh 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/assaultcube.sh 2013-11-10 18:45:14.000000000 +0000 @@ -1,19 +1,20 @@ #!/bin/sh -# CUBE_DIR should refer to the directory in which Cube is placed. -#CUBE_DIR=~/cube -#CUBE_DIR=/usr/local/cube + +# CUBE_DIR should refer to the directory in which AssaultCube is placed. +#CUBE_DIR=~/assaultcube +#CUBE_DIR=/usr/local/assaultcube #CUBE_DIR=./ -CUBE_DIR=$(dirname $(readlink -f "${0}")) +CUBE_DIR=$(dirname "$(readlink -f "${0}")") -# CUBE_OPTIONS contains any command line options you would like to start Cube with. +# CUBE_OPTIONS starts AssaultCube with any command line options you choose. #CUBE_OPTIONS="-f" -CUBE_OPTIONS="--home=${HOME}/.assaultcube_v1.1 --init" +CUBE_OPTIONS="--home=${HOME}/.assaultcube_v1.2 --init" # SYSTEM_NAME should be set to the name of your operating system. #SYSTEM_NAME=Linux SYSTEM_NAME=`uname -s` -# MACHINE_NAME should be set to the name of your processor. +# MACHINE_NAME should be set to the architecture of your processor. #MACHINE_NAME=i686 MACHINE_NAME=`uname -m` @@ -42,22 +43,60 @@ x86_64) ;; esac -if [ -x ${CUBE_DIR}/bin_unix/native_client ] +if [ -x "${CUBE_DIR}/bin_unix/native_client" ] then SYSTEM_NAME=native_ MACHINE_NAME= fi -if [ -x ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ] -then - cd ${CUBE_DIR} - exec ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ${CUBE_OPTIONS} "$@" +if [ -x "/sbin/ldconfig" ]; then + if [ -z "$(/sbin/ldconfig -p | grep "libX11")" ]; then + echo "To run AssaultCube, please ensure X11 libraries are installed." + exit 1 + fi + if [ -z "$(/sbin/ldconfig -p | grep "libSDL-1.2")" ]; then + echo "To run AssaultCube, please ensure SDL v1.2 libraries are installed." + exit 1 + fi + if [ -z "$(/sbin/ldconfig -p | grep "libSDL_image")" ]; then + echo "To run AssaultCube, please ensure SDL_image libraries are installed." + exit 1 + fi + if [ -z "$(/sbin/ldconfig -p | grep "libz")" ]; then + echo "To run AssaultCube, please ensure z libraries are installed." + exit 1 + fi + if [ -z "$(/sbin/ldconfig -p | grep "libogg")" ]; then + echo "To run AssaultCube, please ensure ogg libraries are installed." + exit 1 + fi + if [ -z "$(/sbin/ldconfig -p | grep "libvorbis")" ]; then + echo "To run AssaultCube, please ensure vorbis libraries are installed." + exit 1 + fi + if [ -z "$(/sbin/ldconfig -p | grep "libopenal")" ]; then + echo "To run AssaultCube, please ensure OpenAL-Soft libraries are installed." + exit 1 + fi + if [ -z "$(/sbin/ldconfig -p | grep "libcurl")" ]; then + echo "To run AssaultCube, please ensure Curl libraries are installed." + exit 1 + fi +fi + +if [ -x "${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client" ]; then + cd "${CUBE_DIR}" + exec "${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client" ${CUBE_OPTIONS} "$@" +elif [ -e "${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client" ]; then + echo "Insufficient permissons to run AssaultCube." + echo "Please change (chmod) the AssaultCube client in the bin_unix folder to be readable/executable." else - echo "Your platform does not have a pre-compiled Cube client." + echo "Your platform does not have a pre-compiled AssaultCube client." echo "Please follow the following steps to build a native client:" - echo "1) Ensure you have the SDL, SDL-image, OpenAL, and OpenGL libraries installed." - echo "2) Change directory to source/src/ and type \"make install\"." - echo "3) If the build succeeds, return to this directory and run this script again." + echo "1) Ensure you have the following DEVELOPMENT libraries installed:" + echo " OpenGL, SDL, SDL_image, zlib, libogg, libvorbis, OpenAL Soft, libcurl" + echo "2) Ensure clang++ and any other required build tools are installed." + echo "3) Change directory to ./source/src/ and type \"make install\"." + echo "4) If the compile succeeds, return to this directory and re-run this script." exit 1 fi -
  87. Download patch docs/basics.html
  88. Download patch config/convert_mapconfig.sh
  89. Download patch docs/graphicsdrivers.html

    --- 1.1.0.4+repack1-2.1/docs/graphicsdrivers.html 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/graphicsdrivers.html 2013-11-10 19:16:08.000000000 +0000 @@ -1,67 +1,95 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> -<html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Graphics drivers</title> - <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" /> - <link rel="shortcut icon" href="pics/favicon.ico" /> - <link rel="stylesheet" href="styles/cubedoc.css" /> -</head> -<body> - <div id="main"> - <div id="logo"> - <img src="pics/head.gif" alt="AssaultCube logo" /> - </div> - <div id="title"> - <h1> - AssaultCube: Graphics drivers</h1> - </div> - <div id="content"> - <h1 id="drivers"> - Graphics drivers - </h1> - <p> - The best way to get the best performance out of any 3D application is using the - latest and correct drivers, with the correct settings. AssaultCube is no exception - to this rule. If you have any problems running AssaultCube, always check your drivers - first! - </p> - <p> - To download and install the latest and correct drivers, follow these steps... - </p> - <ol> - <li>Find out the correct name/make/model of your video card. </li> - <li>Go to the driver/support section of your video card manufacturers website (e.g. - <a href="http://www.nvidia.com/page/drivers.html" shape="rect">nVidia</a>, <a href="http://ati.amd.com/support/driver.html" - shape="rect">ATi</a>, <a href="http://downloadcenter.intel.com/" shape="rect">Intel</a>, - <a href="http://www.matrox.com/graphics/en/support/drivers/" shape="rect">Matrox</a>, - etc) and download the latest and correct drivers for your model and operating system. - </li> - <li>Install and configure the drivers as per the instructions given to you by the manufacturer - (make sure previous versions of the drivers are uninstalled). </li> - </ol> - <p> - Some operating systems and graphics cards have other special drivers and methods - that you can explore for your drivers. Microsoft Windows users may benefit from - <a href="http://www.omegadrivers.net" shape="rect">Omega Drivers</a>, - some nVidia Microsoft Windows users can try using <a href="http://www.nvidia.com/object/ntune_5.05.54.00.html" - shape="rect">nTune</a>. Linux users might like <a href="http://www.albertomilone.com/nvidia_scripts1.html" - shape="rect">EnvyNG</a>. - </p> - <p> - <b>Warning:</b> If you're using a laptop, you may need to consult your laptop manufacturer - for drivers, as laptop graphic drivers are heavily customised. - </p> - <p> - <b>Note:</b> None of these links or drivers are endorsed, maintained or supported - by the AssaultCube team.<br clear="none" /> - Use these links at your own risk. We highly recommend searching the forums - and support pages for your operating system supplier and graphics card manufacturer - if you are having problems with 3D graphics rendering. - </p> - </div> - <div id="footer"> - Rabid Viper Productions +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="robots" content="NOODP"> + <meta name="author" content="Rabid Viper Productions"> + <meta name="copyright" content="You may be able to redistribute this content under specific conditions. + Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the + conditions that would apply to what you may be redistributing."> + <title>AssaultCube Documentation :: Update your graphics drivers</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <link rel="stylesheet" type="text/css" href="css/docs.css"> + <!--#include virtual="/SSI-HTML/docs/invisibility.html" --> + <link rel="shortcut icon" href="images/favicon.ico"> + </head> + <body> + <div id="container"> + <div id="docsheader"> + AssaultCube Documentation + </div> + <div id="logo"> + <a href="index.html"><img src="images/aclogo.png" + alt="AssaultCube" width="193px" height="81px"></a> + </div> + <div id="menubar"> + <!--#include virtual="/SSI-HTML/docs/navigation_box_docs.html" --> + &nbsp; + </div> + <!--#include virtual="/SSI-HTML/docs/docswarn.html" --> + <div class="docsmain"> + <div id="gohome"> + <a href="index.html">Go to documentation index &#8629;</a> </div> + <h2>Update your graphics drivers</h2> + <p> + The best way to get the best performance out of any 3D application is by using the + latest and correct graphics drivers, with the correct settings. AssaultCube is no exception + to this rule. If you have any problems running AssaultCube, always check your drivers + first! + </p> + <p> + To download and install the latest and correct drivers, follow these steps: + </p> + <ol> + <li>Find out the correct name/make/model of your video card. </li> + <li> + Go to the driver/support section of your video card manufacturers website (e.g. + <a href="http://www.nvidia.com/page/drivers.html">NVIDIA</a>, + <a href="http://ati.amd.com/support/driver.html">ATi</a>, + <a href="http://downloadcenter.intel.com/">Intel</a>, + <a href="http://www.matrox.com/graphics/en/support/drivers/">Matrox</a>, + <a href="http://www.via.com.tw/en/support/drivers.jsp">VIA</a>, + <a href="http://www.s3graphics.com/">S3</a>, + etc) and download the latest and correct drivers for your model and operating system. + </li> + <li> + Install and configure the drivers as per the instructions given to you by the manufacturer + (make sure previous versions of the drivers are uninstalled). + </li> + </ol> + <p> + Some operating systems and graphics cards have other special drivers and methods + that you can explore for your drivers. Microsoft Windows users may benefit from + <a href="http://www.omegadrivers.net">Omega Drivers</a>, some NVIDIA (Microsoft Windows only) + users can try using <a href="http://www.nvidia.com/object/ntune_5.05.54.00.html">nTune</a>. + Linux users might like <a href="http://www.albertomilone.com/nvidia_scripts1.html">EnvyNG</a>. + </p> + <p> + <b>Warning:</b> If you're using a laptop, you may need to consult your laptop manufacturer + for drivers, as most laptop graphics drivers are heavily customised. + </p> + <p> + <b>Note:</b> <a href="getstarted.html#lowend">Please read this</a> if you need some guidance on + enhancing graphics performance for low-end machines. + </p> + <p> + <b>Disclaimer:</b> Updating your graphics drivers, though important, is a process that involves + installing system-level software. Occasionally, issues may arise, so we recommend you keep + a backup of your old drivers just in case (these are probably on the CD that came with your + computer). If you have any issues at all, we highly recommend searching the forums + and support pages for your operating system supplier and graphics card manufacturer. + </p> + </div> + <div id="author"> + <a href="license.html">&copy; Copyright, Rabid Viper Productions</a> + </div> + <div id="donatedocs"> + <a href="http://sourceforge.net/p/actiongame/donate/"> + We would be grateful for any donations considered towards AssaultCube + </a> + </div> + <!--#include virtual="/SSI-HTML/adsense_footer.html" --> </div> -</body> + </body> </html>
  90. Download patch docs/css/fancytable.css

    --- 1.1.0.4+repack1-2.1/docs/css/fancytable.css 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/css/fancytable.css 2013-11-10 19:16:08.000000000 +0000 @@ -0,0 +1,16 @@ +/* Fancy table file for the AssaultCube documentation. */ + +/* Written by: Rabid Viper Productions */ + +/* You may be able to redistribute this content under specific */ +/* conditions. Please read the licensing information, available */ +/* at http://assault.cubers.net/docs/license.html for the */ +/* conditions that would apply to what you may be redistributing. */ + +table, tr, td { +border : #555555 dotted 1px; +border-collapse : collapse; +vertical-align : top; +text-align : center; +padding : 5px; +} \ No newline at end of file
  91. Download patch config/dyngamma.cfg

    --- 1.1.0.4+repack1-2.1/config/dyngamma.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/dyngamma.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,37 @@ +persistidents 0 + +// Initialize the list (if it doesn't already exist) using the current gamma as initial values. +if (! (checkalias ofc_gamma_list)) [ + ofc_gamma_list = [] + loop ogl (listlen $defaultmaps) [ + add2list ofc_gamma_list $gamma + ] +] + +// setgamma - allows clients to set custom gamma values for each official map, disabling/enabling the entire system +// can be done with the dyngamma variable. +const setgamma [ + if (checkrange $arg1 30 300) [ + if (strstr $defaultmaps (curmap 1)) [ + tmp_gamma_list = $ofc_gamma_list + ofc_gamma_list = [] + cmapp = (findlist $defaultmaps (curmap 1)) // Find the position in the list of the current map + loop sgl (listlen $defaultmaps) [ + if (= $sgl $cmapp) [ // Add the new gamma at the correct position in the list + add2list ofc_gamma_list $arg1 + ] [ + add2list ofc_gamma_list (at $tmp_gamma_list $sgl) + ] + ] + echo (blue)Note: (white) $arg1 has been set as your default gamma for (yellow) (curmap 1) + ] [ echo (red)Error: (white)You are not on a official map! ] + ] [ echo (red)Error: (white)gamma has a minimum value of 30 and maximum value of 300! ] +] + +const applygamma [ if (strstr $defaultmaps (curmap 1)) [ gamma (at $ofc_gamma_list (findlist $defaultmaps (curmap 1))) ] ] + +// Plugin to mapstartalways on every run if it doesn't already exist. +check2init dyngamma 0 +checkinit mapstartalways [if $dyngamma applygamma] + +persistidents 1
  92. Download patch config/docs.cfg
  93. Download patch docs/maneuvers.html
  94. Download patch docs/faqs.html
  95. Download patch config/locale.cfg

    --- 1.1.0.4+repack1-2.1/config/locale.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/locale.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -1,6 +1,10 @@ // localization tools +persistidents 0 + // retrieves the localized version of a string based on the current locale -alias _ [ +_ = [ result (gettext $arg1) -] \ No newline at end of file +] + +persistidents 1 \ No newline at end of file
  96. Download patch docs/styles/ac.css

    --- 1.1.0.4+repack1-2.1/docs/styles/ac.css 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/docs/styles/ac.css 1970-01-01 00:00:00.000000000 +0000 @@ -1,155 +0,0 @@ -/* ZLIB licensed, (C) 2007 Adrian 'driAn' Henke, http://www.sprintf.org */ - -/* - common styles for all documentation pages -*/ - -/* main layout */ - -html -{ - margin: 0; - padding: 0; - background-color: #343434; /* firefox xslt bug */ -} - -body -{ - margin: 0; - padding: 10px; - /*font-family: Verdana, Sans-Serif;*/ - font-family: "Bitstream Vera Serif"; - font-size: 12px; -} - -div#main -{ - position: relative; - margin: 0 auto 0 auto; - width: 68%; -} - -div#main div#title -{ - margin: 0 auto 0 auto; - padding: 0 10px 0 10px; - height: 20px; - background-color: Black; - color: White; - vertical-align: middle; - border-left: solid 10px #343434; - border-right: solid 10px #343434; -} - -div#main div#title h1 -{ - margin: 0; - padding: 0; - height: 1em; - font-family: Courier New, Courier, Sans-Serif; - font-size: 18px; - font-weight: bold; -} - -div#main div#content -{ - padding: 10px; - border: solid 1px black; - background-color: #666666; -} - -div#main div#footer -{ - padding: 0 10px 0 10px; - height: 20px; - text-align: right; - color:White; - background-color: Black; - border-left: solid 10px #343434; - border-right: solid 10px #343434; - font-family: Courier New, Courier, Sans-Serif; -} - -/* version */ - -div#main div#version -{ - padding: 0; - margin: 0 auto 0 auto; - width: 720px; - height: 55px; - - font-family: Courier New, Courier, Sans-Serif; - font-size: 55px; - font-weight: bold; - text-align: right; - color: #555555; -} - -/* logo */ -div#main div#logo -{ -} - -/* default formatting */ - -h1 -{ - font-family: Courier New, Courier, Sans-Serif; - font-size: 22px; -} - -h2 -{ - font-family: Courier New, Courier, Sans-Serif; - font-size: 18px; -} - -h3 -{ - font-family: Courier New, Courier, Sans-Serif; - font-size: 16px; -} - -a, a:hover, a:visited -{ - color: #333333; -} - -p -{ - padding: 0; - margin: 10px 0 10px 0; -} - -ul -{ - list-style-type:square; -} - -/* code */ - -div.code -{ - font-family: Courier New, Courier, monospace, Sans-Serif; - margin: 1em 0 1em 0; - padding: 0 0 0 1em; - white-space: pre; -} - -span.code -{ - font-family: Courier New, Courier, monospace, Sans-Serif; - margin: 0; - padding: 0; -} - -span.codecommandline -{ - font-family: Courier New, Courier, monospace, Sans-Serif; - margin: 0; - padding: 0; - font-weight: bold; - font-size: 1.3em; - text-align: center; -}
  97. Download patch config/survival.cfg
  98. Download patch debian/copyright
  99. Download patch config/menus_voicecom.cfg

    --- 1.1.0.4+repack1-2.1/config/menus_voicecom.cfg 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/menus_voicecom.cfg 2013-10-22 18:57:24.000000000 +0000 @@ -0,0 +1,70 @@ +persistidents 0 + +newmenu voicecom 1 1 + +menuitem [1. Team Replies] [ showmenu [Team Replies] ] +menuitem [2. Team Commands] [ showmenu [Team Commands] ] +menuitem [3. Team State] [ showmenu [Team State] ] +menuitem [4. Team Talk] [ showmenu [Team Talk] ] +menuitem [5. Team Tactics] [ showmenu [Team Tactics] ] +menuitem [6. Public Talk] [ showmenu [Public Talk] ] + +const vcrnd [ // pick random shout if possible + len = (listlen $arg1) + if (> $len 1) [ + r = (rnd $len) + voicecom (at $arg1 $r) (at $arg2 $r) + ] [ + voicecom $arg1 $arg2 + ] +] + +const genvcitem [ + if (> (listlen $arg2) 1) [ text = (at $arg1 0) ] [ text = $arg1 ] // split multiple shouts + action = (concatword vcrnd " [" $arg2 "]" " [" $arg1 "]") + menuitem (concatword $arg3 ". " $text) $action // add as numbered list +] + +// V 1 [ 1,2 ] +newmenu [Team Replies] 1 1 +// the following two mirror F1/F2 - disagree/agree +genvcitem [Yes Affirmative "All right, Sir"] [yes affirmative allrightsir] 1 // # +genvcitem [Negative "No can do" "There's no way, Sir!"] [negative nocando theresnowaysir] 2 // * +genvcitem ["On the move" "On my way"] [onthemove_1 onthemove_2] 3 +genvcitem ["Got your back!" "Got you covered!"] [igotyourback igotyoucovered] 4 +genvcitem ["In Position!" "In Position now!"] [inposition_1 inposition_2] 5 + +// V 2 [ 1,2,3 ] +newmenu [Team Commands] 1 1 +genvcitem [Recover the flag!] recovertheflag 1 // * +genvcitem [Defend the flag!] defendtheflag 2 // # +genvcitem ["Come on, move!" "Spread Out!"] [comeonmove spreadout] 3 // * + +// V 3 [ 2,3,4 ] +newmenu [Team State] 1 1 +genvcitem [I'm attacking] imattacking 1 +genvcitem [Coming in with the flag!] cominginwiththeflag 2 // * +genvcitem [I made contact] imadecontact 3 // # +genvcitem ["Enemy down" "I got one"] [enemydown igotone] 4 // * +genvcitem [I'm on defense] imondefense 5 + +// V 4 [ 1,2,3 ] +newmenu [Team Talk] 1 1 +genvcitem ["We did it!" "Go get 'em boys!" "Good job, team!"] [wedidit gogetemboys goodjobteam] 1 +genvcitem [Sorry] sorry 2 +genvcitem [I'm on your team, man!] imonyourteamman 3 // * + +// V 5 [ 1,2,3 ] +newmenu [Team Tactics] 1 1 +genvcitem [Cover me!] coverme 1 +genvcitem [Stay together!] staytogether 2 +genvcitem [Stay here!] stayhere 3 +genvcitem [Report In!] reportin 4 // * + +// V 6 [ 1,2,3 ] +newmenu [Public Talk] 1 1 +genvcitem [Nice shot] niceshot 1 +genvcitem [Thanks! "Thanks, man"] [thanks_1 thanks_2] 2 +genvcitem [Awesome Awesome!] [awesome_1 awesome_2] 3 + +persistidents 1 \ No newline at end of file
  100. Download patch config/creditmenu.cfg

    --- 1.1.0.4+repack1-2.1/config/creditmenu.cfg 2011-05-08 00:08:06.000000000 +0000 +++ 1.2.0.2+repack1-0ubuntu1/config/creditmenu.cfg 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ -newmenu Credits -menufont mono -menuitem " Project Leaders" -1 -menuitem " -----------------" -1 -menuitem "> flowtron Project leader, code, scripts, what needs to be done." -1 -menuitem "> Brahma Coder, anti-cheat, analysis and community liason." -1 -menuitem "> RandumKiwi Mapping, documentation, tester, clean-up crew." -1 -menuitem "" -1 -menuitem " Active Developers/Contributors" -1 -menuitem " --------------------------------" -1 -menuitem "> eihrul Coder, OpenGL expert, Enet Library, Cube2 backporting." -1 -menuitem "> aerkefiende Master of NSIS (Windows Installer)." -1 -menuitem "> WahnFred XCode Ninja (Mac Packaging)." -1 -menuitem "> Toca Mapmodels, sounds, textures, other stuff." -1 -menuitem "> Mr.Floppy Mapmodels, sounds, textures, other stuff." -1 -menuitem "" -1 -menuitem "Project Consultants" -1 -menuitem "-----------------------" -1 -menuitem "> driAn Code Guru, OpenAL, OpenGL, gameplay code." -1 -menuitem "> makkE Artwork Guru, models, skins, animations," -1 -menuitem " mapping, 2D-art, textures, sounds." -1 -loop e 14 [ menuitem "" -1 ] -menuitem " ---- [ VVV ] --------------- PAGE DOWN.." -1 -menuitem " ---- [ ^^^ ] --------------- ..PAGE UP.." -1 -// 16 OK, aber 1 davor muß TAB HOCH und die davor TAB RUNTER -menuitem " Community Mappers" -1 -menuitem " -------------------" -1 -menuitem "< PLAYER Map (&more): > -menuitem "> Archangel ac_urban." -1 -menuitem "> BenWasHere ac_arid." -1 -menuitem "> daMfr0 ac_snow." -1 -menuitem "> DogDancing ac_shine, ac_scaffold, & -menuitem " textures." -1 -menuitem "> Halo ac_arctic." -1 -menuitem "> Jiba ac_arabian." -1 -menuitem "> MitaMAN ac_depot, &" -1 -menuitem " plus textures." -1 -menuitem "> Mr.Floppy ac_keller, ac_werk, &" -1 -menuitem " textures and models." -1 -menuitem "> Nieb ac_desert2, ac_desert3, &" -1 -menuitem " mapmodels, 2D-art and hosting." -1 -menuitem "> R4zor ac_sunset, ac_gothic." -1 -menuitem "> Ratboy ac_rattrap." -1 -menuitem "> RuThLe$$ & -menuitem "> Undead ac_iceroad." -1 -menuitem "> Shadow ac_elevation." -1 -menuitem "> Wotwot ac_power, plus textures." -1 -loop e 11 [ menuitem "" -1 ] -menuitem " ---- [ VVV ] --------------- PAGE DOWN.." -1 -menuitem " ---- [ ^^^ ] --------------- ..PAGE UP.." -1 -menuitem " Special thanks" -1 -menuitem "----------------" -1 -menuitem "> Aardappel & -menuitem " others The Cube Game/Engine." -1 -menuitem "> absinth &" -1 -menuitem " WahnFred Packaging AssaultCube for Mac." -1 -menuitem "> Arghvark Previous project leader, game concept, code." -1 -menuitem "> Chris Robinson OpenAL-Soft advice." -1 -menuitem "> connex Endless hours of anticheat testing." -1 -menuitem "> dtd Hosting." -1 -menuitem "> Grenadier ==" -1 -menuitem " aurhat Small code contributions/fixes." -1 -menuitem "> KanslozeClown Code contributions, advice and long time supporting." -1 -menuitem "> Kirin Code contributions and fixes, client stuff, advice" -1 -menuitem "> Rick Helmus Bot code." -1 -menuitem "> stef Bug fixes, additional code, server stuff, new modes." -1 -menuitem "> Verbal_ Q&A, advisor, lead tester, pro-coffee service." -1 -menuitem [> Goran "DES|GeneralDisarray" Dejanovic] -menuitem " Effects on the VoiceComs" -loop e 15 [ menuitem "" -1 ] -menuitem " ---- [ VVV ] --------------- PAGE DOWN.." -1 -menuitem " ---- [ ^^^ ] --------------- ..PAGE UP.." -1 -menuitem " Resources" -1 -menuitem " -----------" -1 -menuitem "> JCDPC Mapmodels, textures." -1 -menuitem "> Topher Some crosshairs." -1 -menuitem "> leileilol Bullethole image." -1 -menuitem "> Steini Skyboxes." -1 -menuitem "> Antiklimax Sniper scope." -1 -menuitem "> SimonOC Nightball/Graveyard skymap." -1 -menuitem "> LadyNightHawk InhCanyons skymap." -1 -menuitem "> Sock Iceflow skymap." -1 -menuitem "> HitmanDaz[MT] Playermodels" -1 -menuitem "> Kell At-sea skymap" -1 -loop e 20 [ menuitem "" -1 ] -menuitem " ---- [ VVV ] --------------- PAGE DOWN.." -1 -menuitem " ---- [ ^^^ ] --------------- ..PAGE UP.." -1 -menuitem " Texture sources" -1 -menuitem " -----------------" -1 -menuitem ">> " -1 -menuitem "Articool, Boeck, Craig Fortune, Digital Flux, mayang.com, imageafter.com, " -1 -menuitem "Craig Fortune, Digital Flux, mayang.com, afflict.net, Rohrschach, Lemog 3D," -1 -menuitem "Golgotha team, NOCTUA, Chris Zastrow, 3D Cafe, Kurt Keslar, John Solo," -1 -menuitem "drunkenM, www.openfootage.com" -1 -menuitem " <<" -1 -menuitem "" -1 -menuitem " Sound sources" -1 -menuitem " ---------------" -1 -menuitem ">> " -1 -menuitem "DCP, wildweasel (Vote sounds), Tremulous team (Gib sound), mwl500, fonogeno," -1 -menuitem "Lukas Zapletal & Ludek Horacek (Music), livindead, NoiseCollector, droboide," -1 -menuitem "nicStage, acclivity, Syna Max, ermine, ReWired, nofeedbak, vuzz, mich3d," -1 -menuitem "Rhedcerulean, www.soundsnap.com, dommygee, fresco, WIM, ignotus, acclivity, Bahutan" -1 -menuitem " <<" -1 -menuitem "" -1 -menuitem "Also thanks to kurtis84, player1, quase, exis, talou and others for testing." -1 -menuitem "Thanks to the RCC (ReleaseCupCouncil) for organising the Release Cups." -1 -loop e 10 [ menuitem "" -1 ] -// _ --- do NOT ask me why line #1 is once char short ... --- _ -menuitem "-- ---- - -------------------- --- -- --- --- ** - -- - ** ---- --- ** **\" -1 -menuitem " --- -- - - --- --- jump 2 top ---- --- PAGE DOWN |" -1 -menuitem " - - --- -- ** - -- - ** ---- --- ** -- -- **/" -1 -
  101. ...
  1. assaultcube
  2. assaultcube-data