From 2400f44ff814c899068690daf0a841eb9144ba71 Mon Sep 17 00:00:00 2001 From: Zach Date: Tue, 12 May 2015 15:58:12 -0500 Subject: [PATCH] oops. now its done --- astron/dclass/united.dc | 2 +- otp/distributed/DCClassImports.py | 2 +- toontown/estate/DistributedGardenAI.py | 13 +++---------- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/astron/dclass/united.dc b/astron/dclass/united.dc index ca1d226a..c8966c4e 100644 --- a/astron/dclass/united.dc +++ b/astron/dclass/united.dc @@ -1379,7 +1379,7 @@ dclass DistributedHouseInterior : DistributedObject { dclass DistributedGarden : DistributedObject { sendNewProp(uint8, int16/10, int16/10, int16/10) broadcast; - setProps(uint8[]); + setProps(uint8[]) airecv clsend; }; dclass DistributedParty : DistributedObject { diff --git a/otp/distributed/DCClassImports.py b/otp/distributed/DCClassImports.py index aa927e36..c5060377 100644 --- a/otp/distributed/DCClassImports.py +++ b/otp/distributed/DCClassImports.py @@ -2,7 +2,7 @@ from pandac.PandaModules import * -hashVal = 2416643 +hashVal = 30166307 from toontown.coghq import DistributedCashbotBossSafe, DistributedCashbotBossCrane, DistributedBattleFactory, DistributedCashbotBossTreasure, DistributedCogHQDoor, DistributedSellbotHQDoor, DistributedFactoryElevatorExt, DistributedMintElevatorExt, DistributedLawOfficeElevatorExt, DistributedLawOfficeElevatorInt, LobbyManager, DistributedMegaCorp, DistributedFactory, DistributedLawOffice, DistributedLawOfficeFloor, DistributedLift, DistributedDoorEntity, DistributedSwitch, DistributedButton, DistributedTrigger, DistributedCrushableEntity, DistributedCrusherEntity, DistributedStomper, DistributedStomperPair, DistributedLaserField, DistributedGolfGreenGame, DistributedSecurityCamera, DistributedMover, DistributedElevatorMarker, DistributedBarrelBase, DistributedGagBarrel, DistributedBeanBarrel, DistributedHealBarrel, DistributedGrid, ActiveCell, DirectionalCell, CrusherCell, DistributedCrate, DistributedSinkingPlatform, BattleBlocker, DistributedMint, DistributedMintRoom, DistributedMintBattle, DistributedStage, DistributedStageRoom, DistributedStageBattle, DistributedLawbotBossGavel, DistributedLawbotCannon, DistributedLawbotChair, DistributedCogKart, DistributedCountryClub, DistributedCountryClubRoom, DistributedMoleField, DistributedCountryClubBattle, DistributedMaze, DistributedFoodBelt, DistributedBanquetTable, DistributedGolfSpot diff --git a/toontown/estate/DistributedGardenAI.py b/toontown/estate/DistributedGardenAI.py index 4a4d9719..302e02d0 100644 --- a/toontown/estate/DistributedGardenAI.py +++ b/toontown/estate/DistributedGardenAI.py @@ -21,15 +21,8 @@ class DistributedGardenAI(DistributedObjectAI): def delete(self): DistributedObjectAI.delete(self) - def b_setProps(self, props): - self.setProps(props) - self.d_setProps(props) - - def d_setProps(self, props): - aProps = [] - for prop in props: - aProps = aProps + prop - self.sendUpdate('setProps', [aProps]) - def setProps(self, props): self.props = props + + def d_sendNewProp(self, prop, x, y, z): + self.sendUpdate('sendNewProp', [prop, x, y, z])