mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-14 07:55:07 +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.
|
* 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.)
|
* (It will still be necessary to alert this change from the server's perspective.)
|
||||||
* @param unk1 na;
|
* @param unk1 na;
|
||||||
|
* 0 commonly;
|
||||||
|
* 3 for building objects during login phase;
|
||||||
* hack type?
|
* hack type?
|
||||||
* @param target_guid the target of the hack
|
* @param target_guid the target of the hack
|
||||||
* @param player_guid the player
|
* @param player_guid the player
|
||||||
|
|
|
||||||
|
|
@ -3136,13 +3136,12 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
||||||
def configZone(zone : Zone) : Unit = {
|
def configZone(zone : Zone) : Unit = {
|
||||||
zone.Buildings.foreach({case (id, building) =>
|
zone.Buildings.foreach({case (id, building) =>
|
||||||
sendResponse(SetEmpireMessage(PlanetSideGUID(id), building.Faction))
|
sendResponse(SetEmpireMessage(PlanetSideGUID(id), building.Faction))
|
||||||
//TODO HackMessage() ?
|
|
||||||
building.Amenities.foreach(amenity => {
|
building.Amenities.foreach(amenity => {
|
||||||
val amenityId = amenity.GUID
|
val amenityId = amenity.GUID
|
||||||
//TODO HackMessage() ?
|
|
||||||
sendResponse(PlanetsideAttributeMessage(amenityId, 50, 0))
|
sendResponse(PlanetsideAttributeMessage(amenityId, 50, 0))
|
||||||
sendResponse(PlanetsideAttributeMessage(amenityId, 51, 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