tron
1b4a0897b6
(svn r2535) Tabs
19 years ago
tron
7ff19d7dfd
(svn r2498) -Fix: [1230241] The console variable autoclean_unprotected was linked to the variable _network_autoclean_protected
19 years ago
celestar
aa7334a3ec
(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
19 years ago
matthijs
bacc5396e6
(svn r2449) * Added an extra warning to the stopall command, "For debugging only!".
19 years ago
matthijs
2e42c82793
(svn r2445) * Add: "stopall" console command, which forcibly stops all vehicles (useful for debugging).
19 years ago
Darkvater
b438b1248c
(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
20 years ago
Darkvater
c757606502
(svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's helptext.
20 years ago
Darkvater
acef413f00
(svn r2374) - CodeChange: giving server_ip a value of 'all' will make the server listen on any interface (0.0.0.0); also fix a typo in one of the script example files: s/ports/interfaces
20 years ago
Darkvater
426aa514ff
(svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality
...
- Fix (console): any line starting with a '#' is a comment so ignore it
- Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'
20 years ago
Darkvater
519c4161d5
(svn r2352) - Feature: add the possibility to print out the current debug-level
20 years ago
Darkvater
166c1badc9
(svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them
...
- Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
20 years ago
Darkvater
653000bdd6
(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window
...
- Fix: do not execute emtpy commands anymore
20 years ago
tron
6cd410afbb
(svn r2323) Remove unused dereferencing
20 years ago
Darkvater
5501f25084
(svn r2318) - Feature: added console command 'part' to leave a currently running game and 'join' which is an alias to 'connect' to join a multiplayer server.
20 years ago
Darkvater
d99dddc704
(svn r2309) - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)
20 years ago
Darkvater
d19438f858
(svn r2302) - Fix: when you started a server 'load <file>' did not work prior to doing 'ls'. Fixed by moving the changing of saveload_mode into BuildFileList()
20 years ago
Darkvater
c626555f68
(svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), CmdStartNewGame(), CmdCreateScenario(), CmdSetNewLandscapeType() and CmdGenRandomNewGame().
...
- CodeChange: renamed CmdTrainGotoDepot() to CmdSendTrainToDepot() to be consistent with other depot commands.
- CodeChange: 'newgame' console command now calls the unabused GenRandomNewGame(). For the server it still creates a new game, a client quits the game and continues in SP.
- CodeChange: in the game-difficulty window, setup the disabled buttons on window creation, not every redraw.
20 years ago
Darkvater
268968a8b4
(svn r2292) - Fix (regression): make error message more general for console errors. Dedicated servers are properly filtered out when requesting player-password.
20 years ago
Darkvater
b12c6bac57
(svn r2266) - Feature: it is now possible to start a dedicated server on Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output
20 years ago
Darkvater
effca9f6ec
(svn r2265) - Fix: some more useful help messages and consistent errors for failed console-cmds. Make command 'clients' only available in network mode
20 years ago
Darkvater
ad6b37a423
(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
20 years ago
Darkvater
d26052c7df
(svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable savegames and does not depend on the whim of the currently open saveload dialog
20 years ago
Darkvater
8f6b3154e5
(svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)).
...
- Fix: getting help for an alias works
- Fix: '|' is an unprintable character, replace it with '\'
20 years ago
Darkvater
2cc10f829f
(svn r2244) - Fix: 'scrollto' is not debug only..sorry :)
20 years ago
Darkvater
d102d0c26d
(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
...
- Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup"
20 years ago
truelight
508738f836
(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
...
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you
can auto-pause the game when a client wants to join the game. This to
avoid connection losses because of big maps (200+ trains). (with tnx to
#openttdcoop for the ideas and testing)
20 years ago
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