From 69cf7931898ae369863dc3ab99d353ffd69d4193 Mon Sep 17 00:00:00 2001 From: Loudrob Date: Wed, 13 May 2015 18:48:13 -0400 Subject: [PATCH] Fix bank. --- astron/dclass/united.dc | 8 ++++---- otp/distributed/DCClassImports.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/astron/dclass/united.dc b/astron/dclass/united.dc index 4ccb9839..5dfde674 100644 --- a/astron/dclass/united.dc +++ b/astron/dclass/united.dc @@ -649,10 +649,10 @@ typedef int16 pair16[2]; dclass DistributedToon : DistributedPlayer { setDNAString(blob) required broadcast ownrecv db; setGM(uint16 = 0) required broadcast ownrecv db; - setMoney(int16 = 0) required ownrecv db; - setBankMoney(int32 = 0) required ownrecv; - setMaxMoney(int16 = 40) required broadcast ownrecv db; - setMaxBankMoney(int32 = 10000) required broadcast ownrecv db; + setMaxBankMoney(int16 maxMoney = 15000) required broadcast ownrecv db; + setBankMoney(int16 money = 0) required broadcast ownrecv db; + setMaxMoney(int16 maxMoney = 40) required broadcast ownrecv db; + setMoney(int16 money = 0) required broadcast ownrecv db; setMaxHp(int16 = 15) required broadcast ownrecv db; setHp(int16 = 15) required broadcast ownrecv db; toonUp(uint16) broadcast ownrecv; diff --git a/otp/distributed/DCClassImports.py b/otp/distributed/DCClassImports.py index afe02125..bde65a54 100644 --- a/otp/distributed/DCClassImports.py +++ b/otp/distributed/DCClassImports.py @@ -2,7 +2,7 @@ from pandac.PandaModules import * -hashVal = 2004269787 +hashVal = 2005027427 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