summaryrefslogtreecommitdiff
path: root/console_cmds.c
AgeCommit message (Collapse)Author
2004-12-19(svn r1174) -Fix: [Network] All strings can now be translated (no more ↵truelight
hardcoded strings)
2004-12-19(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const' truelight
and 'void' where needed, prefixed all functions, typedefs and global vars with 'Network' and organized all externals nicely.
2004-12-16(svn r1137) -Fix: [Network] Replaces all strncpy with ttd_strlcpy.. windows ↵truelight
really does not like strncpy for some silly reason.
2004-12-16(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set ↵truelight
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>'
2004-12-16(svn r1129) -Add: [Network] Added 'reset_company <company-id>'. If a company is truelight
empty (no clients logged on to it), a server can delete a company via this command in the console.
2004-12-15(svn r1116) -Add: [Console] With 'set server_advertise on/off' you can put ↵truelight
server advertise on/off via console (requested by imachine)
2004-12-15(svn r1102) -Fix: [Console] 'set server_pw' was acting crazy when you typed ↵truelight
more chars then it could take
2004-12-15(svn r1101) -Fix: [Console] Removed magic numberstruelight
2004-12-15(svn r1100) -Fix: [Console] 'set company_pw' is now working again (Hackykid)truelight
2004-12-13(svn r1077) Implements scripts/autoexec.scr to get executed on game starting ↵dominik
(sign_de) - %! allows to merge alias parameters - \% allows to use % in alias strings - "alias" command now overwrites the old alias list entry
2004-12-13(svn r1068) -Fix: [Console] Let the client remember his own name-changetruelight
2004-12-13(svn r1067) -Add: [Console] Added comment for scripts (everything behind the ↵truelight
# is ignored) (GeniusDex / sign_de)
2004-12-13(svn r1065) -Add: [Console] Alias support. Type 'list_aliases' to show them ↵truelight
all (sign_de)
2004-12-13(svn r1059) -Fix: [Console] Renamed 'set port' to 'set server_port'truelight
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use scripts/pre_dedicated.scr)
2004-12-13(svn r1058) -Add: [Console] 3 aliases for newgame: new_game, newmap, new_map ↵truelight
(this annoyed me for some time now)
2004-12-13(svn r1057) -Add: [Network] 'set port <port>' changes the port of the server ↵truelight
(after reboot) -Fix: [Network] Fixed warnings that came with last revision -Cleanup: [Network] Removed an unused var (_network_client_port)
2004-12-13(svn r1055) -Add: [Console] Special for dedicated servers:truelight
- You can change patch settings via 'set patch <patch_name> [<value>]'
2004-12-13(svn r1053) -Change: [Console] Changed 'setservername', 'setpassword', ↵truelight
'protect' and 'name' in: - set server_pw "password" - set server_name "servername" - set company_pw "password" - set name "playername" (patch by sign_de)
2004-12-12(svn r1026) -Add: [Network] Added unique id, so in network, each client has an truelight
unique id (generated via md5)
2004-12-05(svn r954) -Fix: [Console] Hook fixes (sign_de)truelight
-Add: [Console] Auto sort commands and variables (sign_de)
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-09-21(svn r307) -Fix: Several potential buffer-overflow fixes, and removal of ↵darkvater
'magic-numbers' in favour of constants. (Tron)
2004-09-19(svn r295) -Fix: Rewrite and fix of console stuff, including marking (XXX) ↵darkvater
of areas that require further investigation (Tron) -Note: booby trapped some suspicous assignments (Tron)
2004-09-16(svn r268) -Fix: console-command: script command now stops recording correctlysignde
-Fix: network client should not stop sending ready packets anymore [client should not timeout without any reason]
2004-09-14(svn r248) -Feature: console script files "exec myscript.file"darkvater
-Feature: console logging (of debug messages with *developer = 2 and debug_level #) to text-files "script test.txt" -Feature: server and client are auto-executing "on_server.scr" and "on_client.scr" scripts
2004-09-13(svn r233) -Fix: german language fixes (Tron)signde
-Fix: fixed some english console texts
2004-09-13(svn r230) -Feature: IConsoleWarning for warning messagessignde
-Feature: added info_cmd command -Codechange: renamed "varinfo" to "info_var" -Fix: some const fixes in console.h -Fix: fixed return value of IConsoleCmdGet
2004-09-12(svn r229) -Fix: Some more const stuff fixed .(Tron)darkvater
-Fix: ParseConnectionString() function to parse network connection string: <IP>[:<PORT>][#<PLAY_AS] .
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-12(svn r221) -Feature: console command and variable hookingsignde
-Fix: added another network.c stub -Consolecommand: "scrollto <tile>" center main view on <tile> [Darkvater] -Consolecommand: "resettile <tile>" force bulldoze <tile> without any checks (DEBUG only) [Darkvater] -Fix: resetengines is hooked to be not available in network games -Codechange: "connect <connectstr>": the connect command now uses a connectionstring like the network-gui -Fix: Direct Connect editbox can handle up to max ~35 characters [Darkvater]