matthijs
948d9f518f
(svn r2449) * Added an extra warning to the stopall command, "For debugging only!".
2005-06-16 20:54:37 +00:00
matthijs
a4550b02b0
(svn r2445) * Add: "stopall" console command, which forcibly stops all vehicles (useful for debugging).
2005-06-16 00:54:19 +00:00
Darkvater
ba8c649fac
(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
2005-06-02 19:30:21 +00:00
Darkvater
aa3fbc8763
(svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's helptext.
2005-05-28 19:05:24 +00:00
Darkvater
249a0b6fda
(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
2005-05-28 18:47:05 +00:00
Darkvater
ad30c7a2c1
(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...'
2005-05-28 16:59:51 +00:00
Darkvater
26da27532e
(svn r2352) - Feature: add the possibility to print out the current debug-level
2005-05-20 17:59:24 +00:00
Darkvater
5fc05c681a
(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"
2005-05-17 16:07:48 +00:00
Darkvater
ee89f5ab77
(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window
...
- Fix: do not execute emtpy commands anymore
2005-05-16 13:46:26 +00:00
tron
0375f30336
(svn r2323) Remove unused dereferencing
2005-05-15 18:43:36 +00:00
Darkvater
d958518e76
(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.
2005-05-15 10:40:53 +00:00
Darkvater
56bc64a3a1
(svn r2309) - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)
2005-05-14 19:34:59 +00:00
Darkvater
408a036bcc
(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()
2005-05-13 17:05:03 +00:00
Darkvater
eb4233e8e9
(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.
2005-05-12 00:18:30 +00:00
Darkvater
c263dc8b49
(svn r2292) - Fix (regression): make error message more general for console errors. Dedicated servers are properly filtered out when requesting player-password.
2005-05-11 15:30:28 +00:00
Darkvater
a29a5b14a0
(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
2005-05-04 19:09:25 +00:00
Darkvater
f1631ebed7
(svn r2265) - Fix: some more useful help messages and consistent errors for failed console-cmds. Make command 'clients' only available in network mode
2005-05-04 10:17:00 +00:00
Darkvater
6e342942a9
(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
2005-05-03 11:48:55 +00:00
Darkvater
a7b661d47b
(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
2005-05-02 21:56:01 +00:00
Darkvater
1fb4a182e7
(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 '\'
2005-05-02 17:05:59 +00:00
Darkvater
07d5d86c1a
(svn r2244) - Fix: 'scrollto' is not debug only..sorry :)
2005-05-02 16:00:49 +00:00
Darkvater
22a375ba73
(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"
2005-05-02 15:52:19 +00:00
truelight
40a9b91b37
(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)
2005-03-29 19:10:13 +00:00
darkvater
d643ca6271
(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)
2005-03-28 13:30:51 +00:00
tron
002dd026f0
(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
2005-03-27 12:48:25 +00:00
Darkvater
4e6169db1e
(svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer)
2005-03-25 20:20:23 +00:00
Darkvater
017a60aa3c
(svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer)
2005-03-25 18:26:49 +00:00
Darkvater
3e1f6cc452
(svn r1899) - Fix: fix braindead strcmp from previous commit. /me bangs head into the wall
2005-02-22 13:13:57 +00:00
Darkvater
76b016dd58
(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.
2005-02-22 12:27:33 +00:00
tron
389da29c2b
(svn r1887) Stylistic change of ConExec()
2005-02-18 08:49:04 +00:00
tron
1804109f4b
(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
2005-02-18 08:36:11 +00:00
tron
513eb4d7bb
(svn r1883) -Fix: [1109400] Better test if a string actually contains any console command
2005-02-17 17:38:17 +00:00
tron
257e97c09a
(svn r1833) byte -> char transition: the rest
2005-02-06 22:25:27 +00:00
tron
59fa465dce
(svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
2005-02-06 13:41:02 +00:00
tron
36c9758c94
(svn r1803) Move debugging stuff into files of it's own
2005-02-05 15:58:59 +00:00
darkvater
9d492b5051
(svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause'
2005-01-24 21:33:44 +00:00
dominik
15dfad9153
(svn r1639) Fixed spelling: Wrong command in error for goto_dir
2005-01-24 17:49:22 +00:00
dominik
a94a7b0775
(svn r1631) A couple of fixes for the signed/unsigned warnings. Only train_cmd.c remains to need fixing...
2005-01-23 23:58:35 +00:00
tron
97f893ae2f
(svn r1596) Add some more statics
2005-01-22 22:47:58 +00:00
tron
94d5aeabb2
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
2005-01-22 20:23:18 +00:00
darkvater
e00fd30057
(svn r1590) -Fix: [1107347] ban 1 crashes dedicated server. Dedicated server cannot ban itself :)
2005-01-22 18:51:09 +00:00
darkvater
44c39c5ebc
(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
2005-01-16 18:19:33 +00:00
truelight
27929d129b
(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!
2005-01-15 20:09:16 +00:00
darkvater
0e651d9702
(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
2005-01-15 16:38:10 +00:00
tron
dd6db73069
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
2005-01-15 08:58:31 +00:00
dominik
6e6b72d46d
(svn r1422) Fixed linux compiling, that was broken in r1420
2005-01-08 08:29:12 +00:00
darkvater
7dfe1c476c
(svn r1420) -Fix: Console alias, load_game functionality and load fix (sign_de)
2005-01-08 00:48:10 +00:00
darkvater
9e7aafe834
(svn r1373) -Fix: compilation fix for windows
2005-01-04 16:04:28 +00:00
truelight
4517349c7d
(svn r1370) -Add: added console support for loading maps. Use 'load', 'list_files'
...
and 'goto_dir' to navigate and load games.
2005-01-04 15:06:08 +00:00
truelight
5eeab7fcfe
(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'.
2005-01-02 12:03:43 +00:00