summaryrefslogtreecommitdiff
path: root/console_cmds.c
AgeCommit message (Collapse)Author
2006-01-29(svn r3469) - Fix: plug a possible memleak with subsequential strdup's ↵Darkvater
without freeing the previous value and make it possible to ban offline clients
2006-01-25(svn r3428) - Feature: server_info was left out previous commit. Move some ↵Darkvater
commands about a bit for better logical placement
2006-01-25(svn r3427) - Feature: Allow seeing and setting the maximum amount of ↵Darkvater
companies and spectators for a server. This can be changed/viewed during runtime as well in the console.
2006-01-19(svn r3411) - Fix: When changing the server password via the console, ↵peter1138
actually set the password as well as flag whether it is required.
2006-01-19(svn r3408) - Ok, compile before you commit; sorry (fix previous commit)Darkvater
2006-01-19(svn r3407) - Feature: Kick and ban now with IP numbers.Darkvater
2005-10-19(svn r3070) - it doesn't matter where the '.' is found for the IP, if it is ↵Darkvater
found, it is not a normal index when unbanning clients ('\0' should of course be NULL); thx Tron
2005-10-19(svn r3069) - CodeChange: now that we have the '|' char, use that as a ↵Darkvater
seperator instead of '\' as was originally intention
2005-10-19(svn r3068) - Feature: make it possible to create a screenshot from the ↵Darkvater
console that is both big and has no console, or any combination of.
2005-10-19(svn r3067) - Feature: allow unbanning players based on banlist-id (as well ↵Darkvater
as IP). - Feature: 'status' and 'clients' now show the IP of the players
2005-09-26(svn r2987) -Fix: restart_game_date is an UINT16, not a BYTE. Now setting ↵tron
the game restart year via the console should work (Debolaz)
2005-09-11(svn r2945) Add 'del' alias to rm console commandDarkvater
2005-09-11(svn r2941) -Feature: Implement the console command rm to remove savegamestron
2005-08-28(svn r2899) -Fix: Several format string vulnerabilities and buffer overflows ↵tron
in the network code
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-22(svn r2672) Move saving/loading related declarations to saveload.htron
2005-07-17(svn r2609) - Feature: remove extension from savegames/scenarios when ↵Darkvater
browsing the folders.
2005-07-08(svn r2535) Tabstron
2005-06-30(svn r2498) -Fix: [1230241] The console variable autoclean_unprotected was ↵tron
linked to the variable _network_autoclean_protected
2005-06-21(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayercelestar
2005-06-16(svn r2449) * Added an extra warning to the stopall command, "For debugging ↵matthijs
only!".
2005-06-16(svn r2445) * Add: "stopall" console command, which forcibly stops all ↵matthijs
vehicles (useful for debugging).
2005-06-02(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.Darkvater
2005-05-28(svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's ↵Darkvater
helptext.
2005-05-28(svn r2374) - CodeChange: giving server_ip a value of 'all' will make the ↵Darkvater
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(svn r2372) - Fix (console): update the example scripts in the scripts/ ↵Darkvater
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-20(svn r2352) - Feature: add the possibility to print out the current debug-levelDarkvater
2005-05-17(svn r2338) - CodeChange: only call the variable hooks when you set their ↵Darkvater
value not when you query them - Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
2005-05-16(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console ↵Darkvater
window - Fix: do not execute emtpy commands anymore
2005-05-15(svn r2323) Remove unused dereferencingtron
2005-05-15(svn r2318) - Feature: added console command 'part' to leave a currently ↵Darkvater
running game and 'join' which is an alias to 'connect' to join a multiplayer server.
2005-05-14(svn r2309) - CodeChange: Change all _iconsole_color_whatever into ↵Darkvater
_icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)
2005-05-13(svn r2302) - Fix: when you started a server 'load <file>' did not work ↵Darkvater
prior to doing 'ls'. Fixed by moving the changing of saveload_mode into BuildFileList()
2005-05-12(svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), ↵Darkvater
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-11(svn r2292) - Fix (regression): make error message more general for console ↵Darkvater
errors. Dedicated servers are properly filtered out when requesting player-password.
2005-05-04(svn r2266) - Feature: it is now possible to start a dedicated server on ↵Darkvater
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(svn r2265) - Fix: some more useful help messages and consistent errors for ↵Darkvater
failed console-cmds. Make command 'clients' only available in network mode
2005-05-03(svn r2259) - Fix (regression): remove a warning and make the help for ↵Darkvater
variables behave the same as for commands
2005-05-02(svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable ↵Darkvater
savegames and does not depend on the whim of the currently open saveload dialog
2005-05-02(svn r2247) - Fix (regression): executing scripts now works (remove newline ↵Darkvater
character(s)). - Fix: getting help for an alias works - Fix: '|' is an unprintable character, replace it with '\'
2005-05-02(svn r2244) - Fix: 'scrollto' is not debug only..sorry :)Darkvater
2005-05-02(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help ↵Darkvater
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-03-29(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more ↵truelight
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-28(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch ↵darkvater
[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-27(svn r2085) Improve browsing via console:tron
- 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-25(svn r2071) - Feature: [ 1168743 ] save command for console: "save ↵Darkvater
<filename>" to save a game (pkirchhofer)
2005-03-25(svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer)Darkvater
2005-02-22(svn r1899) - Fix: fix braindead strcmp from previous commit. /me bangs head ↵Darkvater
into the wall
2005-02-22(svn r1897) - Fix: [ 1120424 ] Set name overwrites same name. Renamings ↵Darkvater
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-18(svn r1887) Stylistic change of ConExec()tron