aurhat
075c53a6b0
Better visibility for warning about outdated AC version
...
Commit changes also masterserver URL to AC homepage in info related
to this warning.
2014-09-20 16:45:22 +02:00
ac-stef
9fd7740855
remove non-thread-safe function call
...
conoutf can't be used from any thread other than the main one.
clientlogf may still mix up the output, but it won't crash.
2014-07-27 20:41:40 +02:00
aurhat and ac-stef
7c4a7e54f4
Disable listdemos and getdemo in singleplayer
2014-07-19 14:38:33 +02:00
ac-stef
a0286d2b3f
replace textfilter functions with one-fits-all version
...
* replaces filtertext() with a version with a dozen of single filters
that can be used in any combination
* defines classes of allowed characters for strings for various uses
(see protocol.h line 153ff)
* now the allowed charset of, for example, player names is defined
in one location only
* fixes issue #58
2014-05-24 12:59:19 +02:00
ac-stef
d81c884cea
removed now redundant code
...
and substituted "copy file and delete original" with "move file"
2014-05-19 18:48:54 +02:00
ac-stef
d3bda71212
map file addons: embedded config file; persistent undo/redo data
...
This commit establishes an extensible way of storing additional data in
map file headers. Those header extras can be permanent, like the embedded
config file or be used only once after map load like the undo/redo data.
Additional extra data can be easily added and will not break backward
compatibility, so this map format should hold up for quite some time.
To make things easier for mappers, maps can now be saved without invoking
the various optimisations. That, in combination with the stored undo data,
means, that editing a map can be picked up at exactly the same state, as
the map was saved in.
Maps will automatically be written in the appropriate fashion, depending
on the situation:
1) for sendmap: no optimisation, no undo data
2) savemap during editing: no optimisation, with undo data
3) savemap when not editing: optimised, no undo data
4) savemapoptimised: optimised, no undo data
(For savemap to save different maps during editing, the variable
preserveundosonsave has to be "1". It is "0" by default.)
All of the above map files can be played without problems - they only
differ in file size. (However, maps with undo data may be too big to send)
The new command "embedconfigfile" will load the config file, include it in
the map header and rename the original text file.
"extractconfigfile" will write an embedded config file to a separate file
and remove it from the map header.
Embedded config files take precedence over regular config files and
therefore make it harder for cheaters to play with modified config files.
further changes: cleaned up some debugging code; more ASSERTs
2014-05-15 16:07:52 +02:00
ac-stef
eb60302e67
cleanup
...
- fix possible crash in conc (but it's still an ugly hack)
- fix noob usage of strcmp
- flag some memory leaks (it would be nice, if the author(s) would clean
up the mess himself)
- fix crash in substr
- whitespace cleanup
there are plenty more memory leaks in command.cpp - for example, every
goto in cubescript does not clean up anything
2014-05-14 22:54:37 +02:00
Lucas GAUTHERON
5feb0daae5
rewind command crash fix ( Closes #2 )
2014-01-18 22:47:29 +01:00
James Harris
6db804ea19
Fix server sorting (official maps option) and grammar/punctuation fixes to securemapcheck
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7687 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-12-26 23:15:06 +00:00
RandumKiwi
86a63fc554
Fix for some buggy libcurl versions (linux).
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7656 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 18:54:27 +00:00
Ronald Reagan
a5c804fa57
We want our colon.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7632 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-08 05:50:32 +00:00
Lucas GAUTHERON
2070fe4b79
MS: serverlist requested with HTTP
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7601 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-10-12 21:09:42 +00:00
Lucas GAUTHERON
e09f3600a1
indent fix, cleanup
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7575 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-10-06 15:39:27 +00:00
Lucas GAUTHERON
a3d24e2c3d
autodl fix when no writing permissions (2/2)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7574 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-10-06 15:35:18 +00:00
Lucas GAUTHERON
98cc2d91ac
autodl crash if no writing permissions fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7569 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-10-05 12:24:22 +00:00
Lucas GAUTHERON
03a73c40e7
no autodl spam
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7535 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-08-09 17:27:57 +00:00
Lucas GAUTHERON
727bb4cb69
autodl: fix downloading for packages containing spaces in their names
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7499 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-06-24 12:39:45 +00:00
Lucas GAUTHERON
63e5844722
sortpckservers: detect the best server to download content from
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7482 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-05-12 12:43:47 +00:00
Lucas GAUTHERON
e25bf23db7
display overall download progress while downloading packages
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7466 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-04-26 22:49:09 +00:00
Bukz
c0d60d0fc6
make the go_to console message optional
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7443 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-30 18:19:12 +00:00
Bukz
2c37c1279a
/getmap successfully installed cubescript callback, /dlmap command
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7442 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-30 17:12:34 +00:00
Lucas GAUTHERON
ebcbbbc933
autodownload update
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7389 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-23 08:05:58 +00:00
Lucas GAUTHERON
a6e408eb13
autodl switch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7386 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 20:18:40 +00:00
Lucas GAUTHERON
a7a1e46bcc
merged branch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 19:49:21 +00:00
aerkefiende
49ea40557a
onDisconnect alias now returns the clientnumber (-1 for local players)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7142 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-27 20:42:33 +00:00
sireus
b33116712c
sane(r) command signatures (warning: huge commit)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6908 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-10-06 22:49:49 +00:00
sireus
66bcbbbabe
experimental compatibility mode for 1.1.0.4 demos
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6848 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-06-29 14:19:40 +00:00
sireus
bd9a5b801a
fixed windows build errors
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6796 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-04-25 17:31:20 +00:00
sireus
34e56ae7d1
use var lang instead of alias LANG, and some cleanup in language detection
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6774 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-03-30 12:44:07 +00:00
Rafael Barreto
aa10c09bd3
sending defs to ms
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6756 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-02-09 16:16:16 +00:00
Lucas GAUTHERON
994d5e0485
setadmin 0 fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6742 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-12-29 10:15:20 +00:00
Lucas GAUTHERON
526e9e22e5
TMP revert
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6698 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-11-13 16:43:14 +00:00
Lucas GAUTHERON
70d8421100
testme : /lockteams, /forceteam [cn] [team], "matchteamsize" removed
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6696 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-11-12 13:22:59 +00:00
Lucas GAUTHERON
87ea1d0823
private messages (chat) & win32 binaries (warning: new protocol)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6614 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-27 18:52:19 +00:00
Bukz
5a7e64793f
onPickup fix, onDisconnect, docs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6606 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-20 23:00:10 +00:00
aerkefiende
06f73f4627
Replaced Tabs with 4 spaces in every source file
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-31 15:44:57 +00:00
Lucas GAUTHERON
f6bbd73b2a
cubescript events update, fixes and doc.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6476 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-28 19:35:18 +00:00
Lucas GAUTHERON
ad48145196
$curdemofile
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6432 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-14 15:09:47 +00:00
Lucas GAUTHERON
414572e574
rewind a demo, set time remaining
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6424 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-14 12:11:51 +00:00
Lucas GAUTHERON
e09157c29b
hudecho can be disabled
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6397 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-30 00:34:08 +00:00
Bukz
0aecce709f
hudecho
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6392 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-29 15:51:10 +00:00
flowtron
f3e4d1b73b
minor comments & fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6151 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-03-28 20:07:29 +00:00
RandumKiwi
211e3ce9bd
* Fix spawn as per Colonel Jiba's instructions.
...
* Correct colours in securemap message.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6139 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-03-23 08:40:26 +00:00
flowtron
aef797db4a
remove bogus escapes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6071 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-06 19:38:30 +00:00
RandumKiwi
bd84c4f8ed
de-sex assaultcube (plus minor conoutf chg)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6070 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-06 05:59:46 +00:00
Glen Masgai
a8820a34b4
version comparison fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5886 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-16 12:54:02 +00:00
RandumKiwi
6b81ada609
make this msg make sense if someone tries to send a secured map
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5857 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-14 08:27:22 +00:00
RandumKiwi
8a4d5ef6d9
fix b0rkiness
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5856 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-14 07:40:09 +00:00
Alejandro V. Garcia
773c3ee62e
securemapcheck() message change
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5855 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-14 06:55:06 +00:00
RandumKiwi
e09943948a
better, better error message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5852 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-14 04:10:43 +00:00