bug #11358: another crash in multiplayer, reported by Paul Wise (pabs). There is still
probably a problem in the code, which sends out bad orders.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4257 4a71c877-e1ca-e34f-864e-861f7616d084
are now using TCP, we should not be missing any droids. See patch #927 for
discussion.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3745 4a71c877-e1ca-e34f-864e-861f7616d084
takes into account the possibility of being off-world, in a transport, or being
a transport. This should close patch #958.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3709 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't terminate processing of droid orders as soon as we found a single droid we don't have yet (and need to request from another player/host)
* First retrieve all droid IDs (in a stack allocated array: alloca)
* Only __then__ process these IDs;
* When we encounter a droid ID for which we don't have the droid, request it to be sent and __continue__ processing the next droids
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3262 4a71c877-e1ca-e34f-864e-861f7616d084
* Make sure to now also handle "special" droid orders (whatever a "special" order may be...)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3253 4a71c877-e1ca-e34f-864e-861f7616d084
psDroid->psTarget is only used for orders, where multiweapon has no meaning.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2797 4a71c877-e1ca-e34f-864e-861f7616d084
- Addition by me: Add NET_ORDER_SUBTYPE enum, which stores the targettype of movement orders and turn associated checks into switches for safety. (Original code had hardcoded numbers and if chains.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2464 4a71c877-e1ca-e34f-864e-861f7616d084
the most network bandwidth. Look in in the netplay.log file for this info.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2113 4a71c877-e1ca-e34f-864e-861f7616d084
with other objects. To quickly adapt your patches and avoid conflict noise, run this
on the revision prior to this one:
sed -i s/OBJ_BULLET/OBJ_PROJECTILE/g src/*.c src/*.h src/*.l src/*.y
sed -i s/PROJ_OBJECT/PROJECTILE/g src/*.c src/*.h src/*.l src/*.y
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2061 4a71c877-e1ca-e34f-864e-861f7616d084
missing checks for dead targets. Patch by me and Watermelon.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1995 4a71c877-e1ca-e34f-864e-861f7616d084
pointer field. This would not only not work if the two players with different pointer
bit length were communicating, it would also crash if psDroid->psTarget[i] was not
overwritten before use. Fixed!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1938 4a71c877-e1ca-e34f-864e-861f7616d084
* remove commented out functions (which where only used by commented out code if they where used at all, removed that code as well)
* movement stuff:
- moveShuffleInit (// Initialize a droid for a shuffle move)
- moveCalcVector (// Calculate the normalised vector between a droid and a point)
* waypoint stuff:
- orderAddWayPoint (// Append a new waypoint to a droid's list)
- orderSelectedWaypoint (// Add a new waypoint to selected droid set)
- SendSingleDroidWaypoint (// Occasionally need to send non selected waypoints ??)
- recvDroidWayPoint (// recv)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1738 4a71c877-e1ca-e34f-864e-861f7616d084
- Make trigonometry tables static and remove usage of FRACT macros (trig.c)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1542 4a71c877-e1ca-e34f-864e-861f7616d084