mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-03-06 14:00:27 +00:00
implemented initial HackMessage during WSA login phase on building id
This commit is contained in:
parent
33a7636f5e
commit
4973e8df29
2 changed files with 3 additions and 2 deletions
|
|
@ -47,6 +47,8 @@ object HackState extends Enumeration {
|
|||
* Upon the hack's completion, the target on the client will automatically revert back to its original state, if possible.
|
||||
* (It will still be necessary to alert this change from the server's perspective.)
|
||||
* @param unk1 na;
|
||||
* 0 commonly;
|
||||
* 3 for building objects during login phase;
|
||||
* hack type?
|
||||
* @param target_guid the target of the hack
|
||||
* @param player_guid the player
|
||||
|
|
|
|||
|
|
@ -3136,13 +3136,12 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
|||
def configZone(zone : Zone) : Unit = {
|
||||
zone.Buildings.foreach({case (id, building) =>
|
||||
sendResponse(SetEmpireMessage(PlanetSideGUID(id), building.Faction))
|
||||
//TODO HackMessage() ?
|
||||
building.Amenities.foreach(amenity => {
|
||||
val amenityId = amenity.GUID
|
||||
//TODO HackMessage() ?
|
||||
sendResponse(PlanetsideAttributeMessage(amenityId, 50, 0))
|
||||
sendResponse(PlanetsideAttributeMessage(amenityId, 51, 0))
|
||||
})
|
||||
sendResponse(HackMessage(3, PlanetSideGUID(id), PlanetSideGUID(0), 0, 3212836864L, HackState.HackCleared, 8))
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue