darkvater
6bca4c041a
(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch [1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me)
20 years ago
tron
0659f34aa6
(svn r2085) Improve browsing via console:
...
- change directory/load map via filename (number is also possible)
- add command "pwd" to Print the current Working Directory
- rename "list_files" to "ls" (and add alias "dir")
- rename "goto_dir" to "cd"
- loading of TTD maps via "load" is now possible
- switching of drives via "cd" (only applies to systems which have a drive concept) is now possible
- "scan_files" is now obsolete and was removed
This is still far from perfect, mostly because the way OTTD handles files is Broken By Design(tm), but should make file navigation via console a bit easier
20 years ago
Darkvater
67d2ada020
(svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer)
20 years ago
Darkvater
3855c7f92f
(svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer)
20 years ago
Darkvater
5b261af659
(svn r1899) - Fix: fix braindead strcmp from previous commit. /me bangs head into the wall
20 years ago
Darkvater
f22eab5544
(svn r1897) - Fix: [ 1120424 ] Set name overwrites same name. Renamings because your name is in use are virtual though so if name "b" is in use your name will become "b #1", renaming yourself again to "b" will become "b #2", and will toggle between these two.
20 years ago
tron
eff3252095
(svn r1887) Stylistic change of ConExec()
20 years ago
tron
4a4b9d145d
(svn r1886) Correctly process the last line of a script, even if it's not newline terminated. Also print an error message if something goes wrong while reading from the script file
20 years ago
tron
73c0f21363
(svn r1883) -Fix: [1109400] Better test if a string actually contains any console command
20 years ago
tron
eed181245d
(svn r1833) byte -> char transition: the rest
20 years ago
tron
b2ae5b197e
(svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
20 years ago
tron
f0f85a7ef3
(svn r1803) Move debugging stuff into files of it's own
20 years ago
darkvater
e05f961eed
(svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause'
20 years ago
dominik
eae329f332
(svn r1639) Fixed spelling: Wrong command in error for goto_dir
20 years ago
dominik
29e0ded977
(svn r1631) A couple of fixes for the signed/unsigned warnings. Only train_cmd.c remains to need fixing...
20 years ago
tron
e5cd6b6193
(svn r1596) Add some more statics
20 years ago
tron
189ca73707
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
20 years ago
darkvater
b49547b2b5
(svn r1590) -Fix: [1107347] ban 1 crashes dedicated server. Dedicated server cannot ban itself :)
20 years ago
darkvater
a1e94b67d5
(svn r1547) -Feature: windows dedicated (if anyone would run that, but ok), is now functioning correctly. There is no other way but to create a new thread, but that's only MS braindeadness
...
-Fix: [1103113] font size changing. Dedicated server did not have code filtering, 'tab' could result in bigger fonts
-Fix: [1103069] console backspace key with ded server; fixed due to normal console handling
-Fix: [1101963] console in dedicated server; see above
-Fix: dedicated server also writes to log file if active
20 years ago
truelight
24c9e6ff66
(svn r1527) -Add: RCon (Remote Connection). A server can set:
...
'set rcon_pw <password>'
Which enables rcon. A client can now do:
'rcon <password> "<command>"'
The command will be executed on the server. (guru3)
-Fix: 'kick 1' did crash dedicated servers
-Fix: server password is now correctly saved
!!Warning!!: do not give your rcon password to people you do not thrust!
20 years ago
darkvater
732c362dea
(svn r1524) -"Feature": when windows exception tracker is enabled (release builds) and the game crashes for any reason any active log file is closed first. This ensures the log file and ingame debug messages can be used to debug a problem. Any *nix versions are welcome
20 years ago
tron
3279a7c9a2
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
20 years ago
dominik
3f7da833d1
(svn r1422) Fixed linux compiling, that was broken in r1420
20 years ago
darkvater
b11f7c7817
(svn r1420) -Fix: Console alias, load_game functionality and load fix (sign_de)
20 years ago
darkvater
101ccce895
(svn r1373) -Fix: compilation fix for windows
20 years ago
truelight
c5d6230c66
(svn r1370) -Add: added console support for loading maps. Use 'load', 'list_files'
...
and 'goto_dir' to navigate and load games.
20 years ago
truelight
a11f46fed4
(svn r1322) -Add: banning system (mostly tnx to guru3)
...
A server can ban people via ClientList
Both server and dedicated can do it via console:
'ban', 'unban', 'banlist'.
20 years ago
truelight
c9645885d0
(svn r1252) -Add: [Network] With 'set restart_game_date' you can set the date for in
...
which year the server must restart hisself. (0 = disabled, default value)
20 years ago
truelight
3672ae1118
(svn r1251) -Fix: [Console] The alias 'clean_company' is now working correctly
20 years ago
truelight
c48ba54a09
(svn r1250) -Fix: a dedicated server could not kick user number 1
20 years ago
truelight
533e7a97ef
(svn r1244) -Fix: no longer show the current password when 'set company_pw' is called
...
without parameters (technical not possible, sorry DV)
20 years ago
darkvater
c4836bbd70
(svn r1239) -Feature: Added gui option of setting company password. It can be found in the 'company information' window
...
-Spiced up 'set company_pw' a bit, where if no pw is typed, it shows the current one.
-Added a space between company name and player; looks better
20 years ago
truelight
51257991c0
(svn r1231) -Fix: missing header file for console_cmds.c
20 years ago
truelight
d66adc937d
(svn r1228) -Add: [Network] When a server normally shuts down, it removed itself
...
from the server-list
20 years ago
truelight
db16262698
(svn r1174) -Fix: [Network] All strings can now be translated (no more hardcoded strings)
20 years ago
truelight
0e19f74c16
(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const'
...
and 'void' where needed, prefixed all functions, typedefs and global
vars with 'Network' and organized all externals nicely.
20 years ago
truelight
da24f97483
(svn r1137) -Fix: [Network] Replaces all strncpy with ttd_strlcpy.. windows really
...
does not like strncpy for some silly reason.
20 years ago
truelight
5e28fb8f97
(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set autoclean_companies on/off').
...
When enabled, empty companies (companies with no active clients) with no
password are declared bankrupt after 1 year of emptyness.
For empty companies with password, the password is removed after 3 years
of emptyness.
The delay of removing company/password can be configured via:
- 'set autoclean_protected <months>'
- 'set autoclean_unprotected <months>'
20 years ago
truelight
74a149127d
(svn r1129) -Add: [Network] Added 'reset_company <company-id>'. If a company is
...
empty (no clients logged on to it), a server can delete a company via
this command in the console.
20 years ago
truelight
736718ef53
(svn r1116) -Add: [Console] With 'set server_advertise on/off' you can put server
...
advertise on/off via console (requested by imachine)
20 years ago
truelight
d7d3ff4849
(svn r1102) -Fix: [Console] 'set server_pw' was acting crazy when you typed more
...
chars then it could take
20 years ago
truelight
a4a3d829be
(svn r1101) -Fix: [Console] Removed magic numbers
20 years ago
truelight
b615e854e1
(svn r1100) -Fix: [Console] 'set company_pw' is now working again (Hackykid)
20 years ago
dominik
a9972399c5
(svn r1077) Implements scripts/autoexec.scr to get executed on game starting (sign_de)
...
- %! allows to merge alias parameters
- \% allows to use % in alias strings
- "alias" command now overwrites the old alias list entry
20 years ago
truelight
cf205d059f
(svn r1068) -Fix: [Console] Let the client remember his own name-change
20 years ago
truelight
c185adf780
(svn r1067) -Add: [Console] Added comment for scripts (everything behind the # is
...
ignored) (GeniusDex / sign_de)
20 years ago
truelight
551d0622c5
(svn r1065) -Add: [Console] Alias support. Type 'list_aliases' to show them all (sign_de)
20 years ago
truelight
9ced62e239
(svn r1059) -Fix: [Console] Renamed 'set port' to 'set server_port'
...
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use
scripts/pre_dedicated.scr)
20 years ago
truelight
382b924b41
(svn r1058) -Add: [Console] 3 aliases for newgame: new_game, newmap, new_map (this
...
annoyed me for some time now)
20 years ago
truelight
b153236503
(svn r1057) -Add: [Network] 'set port <port>' changes the port of the server (after reboot)
...
-Fix: [Network] Fixed warnings that came with last revision
-Cleanup: [Network] Removed an unused var (_network_client_port)
20 years ago