Commit Graph

116 Commits (725cfc26d0a323b8649369c048acf6192d8875e4)

Author SHA1 Message Date
Darkvater d5fec78798 (svn r4558) - Fix: 'stopall' was moved to debug, so move the function there as well. 18 years ago
Darkvater 65979340de (svn r4518) - Fix: specify the 'stopall' console command as a debug command. Mostly because stopped airplanes in mid-air 1. look funny 2. won't ever budge again. (change of r2449) 18 years ago
celestar 8cbe98a3fd (svn r4259) -[multistop] Fix/Feature/Codechange:
1) Improved the road vehicle allocation (aka slotting) for multistop. Stops can now accept unlimited, er... 256, vehicles.
2) Removed the "wait for stop" feature, because it did not work in practise.
3) Slotting now ignores unreachable stations. Uses NPF at the moment because the old pathfinder cannot do it (yet)
4) Now matter how many vehicles approach a station, they will always be distributed evenly over existing stops.
5) Hopefully the last fundamental change to multistop
19 years ago
celestar 480ea7c671 (svn r3939) -Fix: No longer assume that the number of slots is 2. It was not a problem up to now, but it's not The Right Thing (TM) to do either 19 years ago
celestar db4777c818 (svn r3730) Multistop modifications:
-Codechange: Completely rewritten the slot assignment system. It now consumes less CPU cycles and memory
-Codechange: Increased maximum number of roadstops to 16.
-Fix: Several conditions where a slot becomes unliked from a vehicle
-Codechange: ClearSlot now only takes one parameter, the vehicle
-Feature: Console command 'clearslots' to clear ALL currently assinged slots. debug usage only
-Feature: vehicles that cannot get a slot now wait on the road instead of planlessly blocking stops or circling around
-Codechange: Adjusted debug levels
TODO: Make the slot finder compatible with (a) pathfinder(s).
19 years ago
Darkvater 5f220ff0e2 (svn r3724) - [5.5/6] heh, the patch part got left out of the previous commit, sorry 19 years ago
peter1138 f34971d094 (svn r3593) Fix typo in r3591 19 years ago
Darkvater b8e68df7ff (svn r3591) - Fix: validate the setting of max_companies/spectators through the console. 19 years ago
Darkvater 5502f3bf3d (svn r3500) - Workaround the inaccurate count of spectators/companies that can happen in certain border-cases. For now just dynamically get this value when requested so it is always right. To do properly all player/client creation/destruction needs a hook for networking. 19 years ago
Darkvater 35c5738689 (svn r3469) - Fix: plug a possible memleak with subsequential strdup's without freeing the previous value and make it possible to ban offline clients 19 years ago
Darkvater 195619a4f9 (svn r3428) - Feature: server_info was left out previous commit. Move some commands about a bit for better logical placement 19 years ago
Darkvater 082aa38f79 (svn r3427) - Feature: Allow seeing and setting the maximum amount of companies and spectators for a server. This can be changed/viewed during runtime as well in the console. 19 years ago
peter1138 98b13cebbd (svn r3411) - Fix: When changing the server password via the console, actually set the password as well as flag whether it is required. 19 years ago
Darkvater 6132d15df9 (svn r3408) - Ok, compile before you commit; sorry (fix previous commit) 19 years ago
Darkvater ad47f3a6a2 (svn r3407) - Feature: Kick and ban now with IP numbers. 19 years ago
Darkvater 16f1af429b (svn r3070) - it doesn't matter where the '.' is found for the IP, if it is found, it is not a normal index when unbanning clients ('\0' should of course be NULL); thx Tron 19 years ago
Darkvater e6ff0a52ac (svn r3069) - CodeChange: now that we have the '|' char, use that as a seperator instead of '\' as was originally intention 19 years ago
Darkvater 8c7e9f00dc (svn r3068) - Feature: make it possible to create a screenshot from the console that is both big and has no console, or any combination of. 19 years ago
Darkvater 7b52c5f6bb (svn r3067) - Feature: allow unbanning players based on banlist-id (as well as IP).
- Feature: 'status' and 'clients' now show the IP of the players
19 years ago
tron 9e85e49ca4 (svn r2987) -Fix: restart_game_date is an UINT16, not a BYTE. Now setting the game restart year via the console should work (Debolaz) 19 years ago
Darkvater b1814daab7 (svn r2945) Add 'del' alias to rm console command 19 years ago
tron 2c62dcef61 (svn r2941) -Feature: Implement the console command rm to remove savegames 19 years ago
tron f02b1f2967 (svn r2899) -Fix: Several format string vulnerabilities and buffer overflows in the network code 19 years ago
tron 647cbd6bdd (svn r2701) Insert Id tags into all source files 19 years ago
tron a4ec4da221 (svn r2672) Move saving/loading related declarations to saveload.h 19 years ago
Darkvater cda6efd919 (svn r2609) - Feature: remove extension from savegames/scenarios when browsing the folders. 19 years ago
tron 1307f90b5e (svn r2535) Tabs 19 years ago
tron b39195ddfa (svn r2498) -Fix: [1230241] The console variable autoclean_unprotected was linked to the variable _network_autoclean_protected 19 years ago
celestar 354058341b (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer 19 years ago
matthijs 948d9f518f (svn r2449) * Added an extra warning to the stopall command, "For debugging only!". 19 years ago
matthijs a4550b02b0 (svn r2445) * Add: "stopall" console command, which forcibly stops all vehicles (useful for debugging). 19 years ago
Darkvater ba8c649fac (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. 19 years ago
Darkvater aa3fbc8763 (svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's helptext. 19 years ago
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 19 years ago
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...'
19 years ago
Darkvater 26da27532e (svn r2352) - Feature: add the possibility to print out the current debug-level 19 years ago
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"
19 years ago
Darkvater ee89f5ab77 (svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window
- Fix: do not execute emtpy commands anymore
19 years ago
tron 0375f30336 (svn r2323) Remove unused dereferencing 19 years ago
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. 19 years ago
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 ;) 19 years ago
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() 19 years ago
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.
19 years ago
Darkvater c263dc8b49 (svn r2292) - Fix (regression): make error message more general for console errors. Dedicated servers are properly filtered out when requesting player-password. 19 years ago
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 19 years ago
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 19 years ago
Darkvater 6e342942a9 (svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands 19 years ago
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 19 years ago
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 '\'
19 years ago
Darkvater 07d5d86c1a (svn r2244) - Fix: 'scrollto' is not debug only..sorry :) 19 years ago