Commit Graph

671 Commits

Author SHA1 Message Date
truelight
fa1f026367 (svn r1108) -Fix: [Network] Fixed problem around slow clients:
They joined, they got the map, but it took some time before the new 
player was created. In this time a player could do stuff, causing a 
player-id-mismatch, and the player was kicked out. Now a player get's a 
nice GUI which says: registering.. When that is gone, the player is 
joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)
2004-12-15 21:13:52 +00:00
truelight
9595ee80e3 (svn r1107) -Fix: [Network] A spectator can no longer buy/sell shares of companies 2004-12-15 20:24:26 +00:00
truelight
015fb81810 (svn r1106) -Add: [Network] Added master-server protocol and advertise to
master-server option. No GUI yet, and disabled by default (it still is WIP)
2004-12-15 20:10:34 +00:00
darkvater
d867a845fd (svn r1104) -Fix: nasty server crash buffer overflow problem when using release build. Big thanks to Truelight for the guidance in fixing this very annoying bug!
-VS.NET now treats warnings as errors too in the release build.
2004-12-15 20:08:01 +00:00
truelight
d7d3ff4849 (svn r1102) -Fix: [Console] 'set server_pw' was acting crazy when you typed more
chars then it could take
2004-12-15 17:40:12 +00:00
truelight
a4a3d829be (svn r1101) -Fix: [Console] Removed magic numbers 2004-12-15 17:31:18 +00:00
truelight
b615e854e1 (svn r1100) -Fix: [Console] 'set company_pw' is now working again (Hackykid) 2004-12-15 17:24:10 +00:00
darkvater
f1b6b1711b (svn r1098) -Fix: server without revision build doesn't care about the client's version. Also moved all revision things where it belongs (network.c) 2004-12-15 16:51:55 +00:00
truelight
29b844a408 (svn r1096) -Fix: [Network] PlayAs is now registered correctly
-Codewise: [Network] Cleaned some code, removed some comment, changed 
some wrong comment
2004-12-15 15:19:51 +00:00
darkvater
c8ca2a8604 (svn r1095) -Fix: scenario editor road-build-gui works again altough shortcuts are screwed.
-Feature: Pressing enter on 'Abandon Game' returns to main menu (one less click \o/)
2004-12-15 11:42:05 +00:00
miham
f3ca6a9180 (svn r1094) Daily langfile updates (automatic) 2004-12-15 10:56:33 +00:00
darkvater
c58549d512 (svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join. 2004-12-15 00:31:08 +00:00
dominik
6cb53e7d34 (svn r1092) Fix: Autorail can be accessed with the 'a' hotkey again 2004-12-14 21:56:01 +00:00
dominik
af9dc1f817 (svn r1091) Fix: Finally station names use 100% the correct color in transparent mode 2004-12-14 20:54:01 +00:00
truelight
b6c74c1c20 (svn r1090) -Fix: Made the _openttd_revision variable global, and with that
hopefully killed the windows-revision problem. If WITH_REV is defined, 
for both Windows as *nix system _openttd_revision is filled with normal 
info, else _openttd_revision is set to 'norev000'
-Fix: Small possible server-crash
2004-12-14 20:27:00 +00:00
miham
52aeaebde0 (svn r1089) Daily langfile updates (automatic) 2004-12-14 20:21:52 +00:00
dominik
20f36f8c88 (svn r1088) Strings cleanup. Renamed some strings to reflect their content. 2004-12-14 19:47:35 +00:00
truelight
967762e5ef (svn r1086) -Fix: [Network] [ 1084774 ] Fixed quick-share-sell bug 2004-12-14 18:17:24 +00:00
truelight
55f3347514 (svn r1085) -Fix: [Network] [ 1084834 ] If IF_IN_NETWORK flag was on, an error
resulted in infinite money (or assert)
2004-12-14 18:13:02 +00:00
dominik
23612e41f2 (svn r1084) Generalized hotkey catching when textfield windows are open. Now only hotkeys attached to the main toolbar are working if you have a textfield open. 2004-12-14 17:38:48 +00:00
dominik
a94da5937c (svn r1083) Fix: the console "script" command saves all output to the textfile, not only printf stuff (sign_de) 2004-12-14 17:06:54 +00:00
dominik
7196860373 (svn r1082) Feature: Chat toolbar
- to chat with all players press Return (or Shift-T) and type in the message
- Press Return again to send the message
2004-12-14 16:53:38 +00:00
miham
833ce98409 (svn r1081) Daily langfile updates (automatic) 2004-12-14 15:24:36 +00:00
tron
1fcf823d66 (svn r1080) Improve mini-map scrolling in a similar way as viewport scrolling (r1063): now the centre of the mini-map window is the region of interest instead some arbitrary coordinate. 2004-12-14 08:01:12 +00:00
darkvater
043b8bc5ad (svn r1079) -Fix: you can once again quit the game in windows by pressing ALT+F4 or the 'exit' button in the main menu. 2004-12-14 00:45:24 +00:00
bjarni
1b386f46b4 (svn r1078) md5.c vc6 + vs.net fix for release builds (sign_de) 2004-12-13 22:19:37 +00:00
dominik
a9972399c5 (svn r1077) Implements scripts/autoexec.scr to get executed on game starting (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 22:13:02 +00:00
dominik
77e882c3bd (svn r1076) Feature: Patch setting to autosave the game on exit
If you set autosave_on_exit = true in openttd.cfg, your game will be saved as exit.sav in the autosave folder and you won't be asked if you want to quit the game any more.
2004-12-13 22:10:12 +00:00
miham
2b13b2d239 (svn r1075) Daily langfile updates (automatic) 2004-12-13 21:28:38 +00:00
dominik
27e008d3f7 (svn r1074) Fix: server_bind_ip was set to 255.255.255.255 by default
The correct default value is 0.0.0.0. If you are experiencing problems with connecting to your server you'll have to change the value of server_bind_ip to 0.0.0.0 in openttd.cfg
2004-12-13 21:23:28 +00:00
dominik
9aeb0e1d30 (svn r1073) - condebugger extended a bit [shows the commandline] (sign_de)
- fixed handling of aliases with parameters (sign_de)
2004-12-13 20:45:55 +00:00
dominik
def5fc3ff7 (svn r1072) Fixed a few warnings that made trouble in VS .NET 2003 2004-12-13 20:12:45 +00:00
truelight
db6a545203 (svn r1069) -Add: [Network] Added UDP-packet for detail info about a server for
upcoming server-listing
2004-12-13 19:55:31 +00:00
truelight
cf205d059f (svn r1068) -Fix: [Console] Let the client remember his own name-change 2004-12-13 19:54:44 +00:00
truelight
c185adf780 (svn r1067) -Add: [Console] Added comment for scripts (everything behind the # is
ignored) (GeniusDex / sign_de)
2004-12-13 19:07:54 +00:00
truelight
5b2cd5fae0 (svn r1066) -Fix: Crash when saving game as spectator (tnx to GeniusDex for reporting) 2004-12-13 18:53:59 +00:00
truelight
551d0622c5 (svn r1065) -Add: [Console] Alias support. Type 'list_aliases' to show them all (sign_de) 2004-12-13 18:51:08 +00:00
truelight
92b8ec9ff8 (svn r1064) -Fixed typo (tnx GeniusDex) 2004-12-13 18:34:31 +00:00
tron
d1d33372ff (svn r1063) Improve scrolling limits a bit. You now can scroll further away from the map at the NW and NE edge.
Hopefully this new code is also a bit more comprehensible than the old. (;
2004-12-13 18:33:47 +00:00
truelight
d6e4999f1f (svn r1062) -Fix: [Console] Compile warnigs in Get/SetPatchSettings 2004-12-13 18:32:49 +00:00
truelight
2e7f669153 (svn r1061) -Fix: [Network] Compiling without ENABLE_NETWORK now works again correctly 2004-12-13 17:58:53 +00:00
truelight
9ced62e239 (svn r1059) -Fix: [Console] Renamed 'set port' to 'set server_port'
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use 
scripts/pre_dedicated.scr)
2004-12-13 17:47:21 +00:00
truelight
382b924b41 (svn r1058) -Add: [Console] 3 aliases for newgame: new_game, newmap, new_map (this
annoyed me for some time now)
2004-12-13 17:07:32 +00:00
truelight
b153236503 (svn r1057) -Add: [Network] 'set port <port>' changes the port of the server (after reboot)
-Fix: [Network] Fixed warnings that came with last revision
-Cleanup: [Network] Removed an unused var (_network_client_port)
2004-12-13 17:04:41 +00:00
truelight
549dafc241 (svn r1056) -Fix: [Network] Give the dedicated-server always a console in windows (sign_de) 2004-12-13 16:51:10 +00:00
truelight
e7886b6a34 (svn r1055) -Add: [Console] Special for dedicated servers:
- You can change patch settings via 'set patch <patch_name> [<value>]'
2004-12-13 16:16:28 +00:00
truelight
25dfbc3134 (svn r1054) -Fix: [Network] Redid revision 1024, only a bit more nice this time
(revision length is back to 10, and checking is now done correctly)
2004-12-13 16:15:21 +00:00
truelight
bff8c0af61 (svn r1053) -Change: [Console] Changed 'setservername', 'setpassword', '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-13 15:07:33 +00:00
truelight
1c4c5ae370 (svn r1052) -Fix: [Network] You can't join a server when revision mismatches. 2004-12-13 14:57:58 +00:00
truelight
c0247e66e8 (svn r1051) -Fix: [Network] New Company button is disabled when there is no more
space for a new company
2004-12-13 14:49:31 +00:00