Commit Graph

1065 Commits

Author SHA1 Message Date
Mark Vejvoda c3d41f5082 - bugfixes to master server communication logic when starting a game. Now we only send updates if the game was published, not for every network game. Also we properly delete the game from the masterserver when it has ended. 2010-10-23 22:06:49 +00:00
Mark Vejvoda 6a0e876bf2 - relaxed some of the special characters a bit so they can be used in the descriptions 2010-10-23 21:47:34 +00:00
Mark Vejvoda 1aa155ab06 - restored glest.ini to default values 2010-10-23 17:02:36 +00:00
Mark Vejvoda ae8571a406 - added the beginning of some new master server info (very limited)
- Masterserver menu will show more titles / colors.
    - We keep the game showing in the Masterserver menu while it is in progress.
   - Disable join button when slots are full.
   - Update title with IN PROGRESS when game is being played.
   - PHP Script is backwards compatible with older clients
2010-10-23 09:06:47 +00:00
Mark Vejvoda fd3a8e4705 - minor bugfix when broadcasting on UDP (only one socket per unique subnet) 2010-10-23 05:12:28 +00:00
Mark Vejvoda e2610df502 - fixed chatting logic to now retain more info about the user that sent the text in the console manager. Colors now apply to the playername and changing playernames is ok in the lobby andf rendering accounts for this (as well as switching slots) 2010-10-23 04:00:39 +00:00
Mark Vejvoda e53e6b49a9 - bugfix for multiple consumable resources applying incorrectly during the update interval. (thanks silnarm) 2010-10-22 22:52:37 +00:00
Mark Vejvoda c4c812dd15 - updated chat player colors in console so ONLY playername is colored the players color
(by request from titi)
2010-10-22 21:54:47 +00:00
Mark Vejvoda b72124a89a - bugfix for segfault (using wrong index variables again). This time I understand what to change and what not to change :) 2010-10-22 17:29:23 +00:00
Mark Vejvoda 6ace9ad571 - added ability to toggle team # from 1 to 8 (for tomreyn) 2010-10-22 17:20:55 +00:00
Mark Vejvoda 40a0707519 - bugfix for switching human to AI on disconnect (the check used the wrong index) 2010-10-22 16:47:08 +00:00
Mark Vejvoda 707a26feb2 - bugfix for server side player color index being wrong 2010-10-22 16:35:16 +00:00
Mark Vejvoda 343fdb70b2 - fixed the cursor bug mentioned by claymore 2010-10-22 16:08:13 +00:00
Mark Vejvoda c088889e7c - bugfix to retain proper team color based on actual slot position, regardless of how many closed slots there are. Yay, now team placement and color works properly 2010-10-22 08:10:56 +00:00
Mark Vejvoda 8ab3366c66 - added player color coding in lobbies as well as chat console 2010-10-22 07:28:55 +00:00
Mark Vejvoda b869552cad - a little bit of fine tuning the new unit harvesting logic, now units are more intelligent about how they harvest (both AI and Human players) 2010-10-22 04:48:24 +00:00
Mark Vejvoda cf5164d5ce - bugfix for consumable resources. Now we get the total usage value BEFORE applying the consequences (thanks for finding this Zoythrus) 2010-10-22 04:16:11 +00:00
Mark Vejvoda 362ae6f4fa - attempt to see if this fixes some lua problems 2010-10-21 22:12:05 +00:00
Mark Vejvoda 178809ada3 - changed resource faction cache to a map for better performance 2010-10-21 21:53:08 +00:00
Mark Vejvoda 07fe6a2196 - added to the faction resource cache pool for even better AI discovery of resources 2010-10-21 20:31:09 +00:00
Mark Vejvoda ae367fb252 - updated to units harvesting so they try to harvest different resources when blocked if other resources are close by. 2010-10-21 19:26:14 +00:00
Mark Vejvoda 3b5630bb73 - a few windows compiler setting changes for more consistent compiler warning output 2010-10-21 18:32:40 +00:00
Mark Vejvoda 79318735ab - cleanup of last compiler warnings in Linux (hurray!) 2010-10-21 18:24:54 +00:00
Mark Vejvoda ba088e9258 - bugfix for linux builds after compiler warning cleanup 2010-10-21 17:49:14 +00:00
Mark Vejvoda be979590c1 - more compiler warning cleanup 2010-10-21 17:42:45 +00:00
Mark Vejvoda cbe6860826 - more compiler warning cleanup 2010-10-21 16:36:26 +00:00
Mark Vejvoda 45a26a4597 - cleaned up more compiler warnings
- added unsigned 64 bit type for windows
2010-10-21 15:55:12 +00:00
Mark Vejvoda c6a4e53151 - fix compile error on linux 2010-10-21 15:35:13 +00:00
Mark Vejvoda 06b9d7eef7 - cleaned up a whole pile of compiler warnings 2010-10-21 15:21:46 +00:00
Mark Vejvoda d5117ed7fa - cleaned up a whole pile of compiler warnings 2010-10-21 07:20:17 +00:00
Mark Vejvoda 93e56df3d6 - fixed some misc code bugs (incorrect assignment) and cleaned up some compiler warnings 2010-10-21 01:07:11 +00:00
Mark Vejvoda f5f406dfb3 - bugfix related to segfault when a network disconnect occurs while a thread is updating a slot 2010-10-21 00:21:58 +00:00
Mark Vejvoda bc7ba297fd - more tweaking for units harvesting, this hopefully cleans up segfaults and makes things more stable. 2010-10-20 20:40:29 +00:00
Mark Vejvoda 6104dedc76 - added a resource harvest success cache for stuck units to look at when they cannot harvest. 2010-10-20 07:28:27 +00:00
Mark Vejvoda ddb4c42bf5 - added some guard conditions to avoid segfault when resources are harvested quickly 2010-10-19 22:47:45 +00:00
Mark Vejvoda 913df7ec3b - added more cached information to help deal with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 22:26:49 +00:00
Mark Vejvoda dda594cf33 - a slight change in dealing with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 16:54:48 +00:00
Mark Vejvoda 182f2cd20d - bugfixes to AI where workers harvesting think they have arrived but really did not. 2010-10-19 04:38:55 +00:00
Mark Vejvoda d96bf7f978 - added faction preview images for Random and Observer types (thanks Elimnator)
- bugfix when choosing random faction and sometimes the game tries to load this as a real faction type
2010-10-19 03:53:52 +00:00
Mark Vejvoda 7564635643 - added initial code for switching dropped network players to AI (currently hard coded to normal CPU) 2010-10-18 23:09:43 +00:00
Mark Vejvoda 3d4ccb460c - added a little extra logic for units when pathfinding. We keep temporary lists of bad cells of harvest resources where a unit simply cannot get to. This is kept for small periods of time and then the bad cell list is purged when data gets old. This tremendously helps units to be more active when getting stuck in challenging places on maps. 2010-10-17 08:50:27 +00:00
Mark Vejvoda 55b4f0bd2b - Incremented version to next major release # so new work can begin.
- some initial work to assist units from getting stuck when given commands. This is for both AI and human players and deals with the pathfinder and units getting constantly blocked from their destination.
2010-10-17 06:34:42 +00:00
Mark Vejvoda 2a805240b4 - updated data diff script version # for 3.3.7.2 release 2010-10-16 17:14:33 +00:00
Mark Vejvoda c659b046ae - updated readme and version # for Linux Installers 2010-10-16 16:40:51 +00:00
Mark Vejvoda 89a32dda54 - updated windows installer scripts for 3.3.7.2 2010-10-16 16:14:48 +00:00
Mark Vejvoda e91a3378bd - updated source script to include ini files etc
- updated version to 3.3.7.3 in configure.ac
2010-10-16 16:09:12 +00:00
Mark Vejvoda b3d981c2fd - updated version to 3.3.7.2 for next release 2010-10-15 19:19:36 +00:00
Mark Vejvoda 9490e64750 - turned on a flag for libcurl so timeout issues don't cause segfaults in threads 2010-10-15 17:49:18 +00:00
Mark Vejvoda 59c5fd2581 - moved version checking into one common method in the util file. Now all network related checks use this common method to determine version compatibility 2010-10-15 17:27:00 +00:00
Mark Vejvoda 1353f61069 - added some additional safety around the logger in case we have problems opening files on the filesystem 2010-10-15 16:22:35 +00:00