Commit graph

587 commits

Author SHA1 Message Date
FateJH 8a21df429b The former Player class (former-former PlaterAvatar class) has been split into a persisting Avatar class and a transitory Player class. 2018-03-31 19:54:37 -04:00
FateJH 3e9e3df0fa Simple player spawning proof of concept using buildings mapped to their spawn tube amenities in a "spawn group." 2018-03-31 19:53:45 -04:00
FateJH 001f9a40e9 Anguta, Ceryshen, the Anguta Watchower, and Anguta's two bunkers have had their amenities wired together, excluding the door locks being connected to doors. Modified how things like spectator status, fly status and speed persist. 2018-03-31 19:51:01 -04:00
Fate-JH bd76d28564
Merge pull request #193 from Fate-JH/server-init
Packets, and a Warp Gate
2018-03-15 19:44:06 -04:00
FateJH e76b4de2ea repairs to ZFCCM test 2018-03-08 21:27:19 -05:00
FateJH d965b5b3c8 added initial AvatarStatisticsMessage packet and tests; gave an Enumeration type to AvtarImplant action field 2018-03-08 15:48:19 -05:00
FateJH 2475b468b8 added initial AvatarSearchCriteriaMessage packet and tests; worked ASCM into WSA login workflow 2018-03-07 22:58:42 -05:00
FateJH 0578d291a5 add initial SetChatFilterMessage packet and tests; gave FriendsResponse a valid action enumeration; changed continent id and building id in DensityUpdateLevel to use simple data type rather than PlanetSideGUID; worked these packet changes into WSA initialization workflow 2018-03-07 22:32:27 -05:00
FateJH 2526f15406 changing continent id to normal data type in HotSpotUpdate; implementing token logic for HotSpotUpdate in WSA; updating tests 2018-03-06 15:27:17 -05:00
FateJH 4973e8df29 implemented initial HackMessage during WSA login phase on building id 2018-03-05 23:49:34 -05:00
FateJH 33a7636f5e changing continent id and building id to normal data types in BroadcastWarpgateUpdate and BuildingInfoUpdate; implementing warp gates and branched logic for warp gate initialization in WSA; updating tests 2018-03-05 23:26:38 -05:00
FateJH f0bec9cf3a changing continent id to normal data types and away from PlanetSideGUID in ZoneForcedCavernConnections and ContinentalLockUpdate; implementing ForcedZoneCavernConnections and ContinentalLockUpdate in WSA 2018-03-05 20:21:13 -05:00
FateJH b61097a22d changing continent id to normal data types and away from PlanetSideGUID in DensityLevelUpdate, ZoneInfo, and ZoneLockInfo; implementing better init ZoneInfo, ZoneLockInfo, and ZonePopulationUpdate packets in WSA 2018-03-05 20:21:13 -05:00
FateJH 3965437116 added DensityLevelUpdateMessage packet and tests; including default packet during initialization phase 2018-03-05 20:21:13 -05:00
FateJH 77b4890706 begin initialization of buildings and configuration of their amenities; reorganize entries in Maps.scala to better associate buildings and amenities 2018-03-05 20:21:13 -05:00
Fate-JH 71173c171b
Merge pull request #192 from Fate-JH/ams-spawn
AMS Efforts (misc)
2018-03-05 20:15:11 -05:00
FateJH eea01c8072 additional matrix terminal tests and error message correction 2018-03-01 11:09:17 -05:00
FateJH 72b7c35b3f tests and corrections 2018-03-01 10:39:34 -05:00
FateJH 74863858f7 adding tests for utilities and fixing tests for AMS; adding information to PAMessage; scaling back modifications to WSA 2018-03-01 10:24:56 -05:00
FateJH e93c510d22 added initial DestroyMessage packet and tests 2018-03-01 10:24:42 -05:00
FateJH 4b2e3763f1 adding the ams utility: matrix terminal c; gave it an binding sound action in WSA 2018-03-01 10:24:14 -05:00
FateJH df3b60882b Anguta, Ceryshen ground vehicle terminal stuff 2018-03-01 10:24:14 -05:00
FateJH e1581c94e7 adding the ams utility: ams respawn tube 2018-03-01 10:23:53 -05:00
Fate-JH 02c4fb26c7
Merge pull request #191 from SouNourS/HP
10 / 100 * 255 = 0
2018-03-01 07:18:48 -05:00
Fate-JH ce04ffae90
Merge pull request #189 from Fate-JH/send-response
Send Response
2018-03-01 07:18:33 -05:00
SouNourS d34817c5a8 10 / 100 * 255 = 0
When a player dont have full life, he is on ground with 0 HP ;)
2018-02-22 16:02:16 +01:00
FateJH b12155526b simplifying sendResponse in WSA to cut out explicit invocation of middleman PacketCoding for game packets and control packets 2018-02-21 22:55:33 -05:00
Fate-JH 599d767598
Merge pull request #188 from Fate-JH/ams-deploy
AMS Deployment
2018-02-21 22:43:58 -05:00
FateJH b9fe4ca129 reloading vehicle seat access permissions upon deployment 2018-02-20 08:08:40 -05:00
FateJH 86a30861b8 activating the service manager 2018-02-17 20:47:57 -05:00
FateJH 051283337c rebase did not flag these conflicts during operation, so they had to be manually corrected 2018-02-17 17:57:04 -05:00
FateJH 0fe46311ad Deployment:
Class and Actor mixins for Deployment state.  The logic is surprisingly self-contained, mostly.

DriveState:

This is not the former DriveState Enumeration of /packet/game/objectcreate/.  This is now a /types/ Enumeration shared across /common/ objects and serves the functionality of both, at least to the extent that it is understood.  Functions are includes that define the logic order or state changes and divides states into (two) groups.

VehicleService:

The directory /pslogin/src/test has been created and tests have been migrated there.  Originally, the tests were located in the wrong place and were being skipped when not executed manually.  They should now appear in coverage reports and be run as a part of continuous integration.
2018-02-17 17:37:53 -05:00
Fate-JH 27d86af015
Merge pull request #187 from Fate-JH/ams-terminal
AMS Terminals
2018-02-17 17:34:02 -05:00
FateJH 62b2c54b67 added utility filtering so that only valid indexed utilities are assigned GUIDs and are translated into OCM 2018-02-12 09:59:07 -05:00
FateJH 860edf9a97 Utility:
A container class for vehicle-installed Amenity objects that are owned by the vehicle.  It not only constructs the internalized Amenity but harbors logic that is required to setup the object at a more appropriate time (at start of VehicleControl).

OrderTerminalABDefinition:
Terminals built into the sides of the advanced mobile spawn, accessible when it deploys.

OCM packet converters, GUID registrtaion, and setup code allows the code to wire into the vehicle.
2018-02-12 00:22:57 -05:00
Fate-JH fb1c365bc2
Merge pull request #186 from Fate-JH/facilities
Buildings and Stuff
2018-02-10 15:15:03 -05:00
FateJH eefe4d2e20 Building:
Replaces class object/serverobject/door/Base.scala.  It performs nearly the exact same purpose but now has a list of owned objects called Amenities.  Buildings are now a PlanetSideServerObject (PSSO), which allows them to have accept a *Control Actor and possess FactionAffinity.

FoundationBuilder:
FoundationBuilder : Building :: ServerObjectBuilder : [T <: PlanetSideServerObject]

Amenity:
Most PSSO's now accept Amenity as their parent in class hierarchy.  Flagged PSSO's like Building and Vehicle are, on the other hand, capable of becoming the owner for these Amenity PSSOs, which allows them to inherit the same FactionAffinity.

FactionAffinity:
A trait that connects objects that are intended to communicate PlanetSideEmpire values.

MountableBhevaior:
Split between Mount and Dismount behavior.  Passes appropriate messages to ensure coherent workflows.

Control Actors:
FactionAffinityBehavior and MountableBehavior are PartialFunctions that get processed in series.

VehicleControl:
Distinguished behavior allowed between an operational vehicle and a deactivated one.

WSA:
Tightened up DismountVehicleMsg handling code, since MountableBehavior has been enhanced.

Minor:
Shotgun shell stacking goes from 32 to 16.  Various PSSO classes now have reliable Definition objects.

Tests:
We now have 1012 tests, some of them useful.
2018-02-08 14:22:05 -05:00
Fate-JH 8c02f8d519
Merge pull request #185 from Fate-JH/escape-plan
Doors Open from Inside
2018-02-02 20:59:20 -05:00
FateJH 5c8e8afc76 three of the four tower doors previously had the same x,y coordinates; the upper south-facing door was incorrect 2018-01-26 19:25:19 -05:00
FateJH f4b913a5d9 Vector3 normal vector functions; locked door opening from inside mechanics; correction to item/equipment identification in WSA; quick solution to stop door from closing on player who opened it if that player is still standing within sqrt(15)m from it 2018-01-24 20:44:30 -05:00
Fate-JH c5246d5f10
Merge pull request #184 from Fate-JH/locker
Lockers
2018-01-24 19:22:40 -05:00
FateJH f5182030da added support for Lockers and access to Locker contents; modified RequestDelete to handle Locker, as well as previously neglected vehicle trunk contents; added Lockers to Hart C shuttle observation room 2018-01-22 20:45:05 -05:00
Fate-JH af796167b5
Merge pull request #183 from Fate-JH/pewpews
Pew Pew
2018-01-21 12:41:41 -05:00
FateJH c2bcb63725 corrections for the shared magazine fire modes of the Aurora; conditions for character rendering when in a vehicle; WeaponJammedMessage -> WeaponDryFireMessage 2018-01-20 15:11:11 -05:00
FateJH 4059d50e72 shotgun pellet fire modes; fire mode for melee weapons; cleanup code for phoenix (decimator) and handling last phoneix rocket fire; temporary cleanup of grenades 2018-01-17 07:51:42 -05:00
FateJH 53c5902512 suspend fire state change when ammo in weapon is zero 2018-01-15 19:19:15 -05:00
FateJH 065cd0c885 adding a variety of Punisher ammo for testing 2018-01-15 09:23:51 -05:00
FateJH 1f04c840d2 synchronized change fire mode; addsupport for fire mode in DetailedWeaponData; corrected bug with LastDrawnSlot/ObjectHeldMessage 2018-01-15 08:15:18 -05:00
FateJH 9e51e33246 synchronizing change ammo 2018-01-15 08:14:17 -05:00
FateJH b292739b54 synchronized weapon fire, weapon dry fire, reload cycle, and reload of ammunition from inventory contents 2018-01-15 08:14:16 -05:00