Random stuff

This commit is contained in:
DenialMC 2015-04-09 16:46:52 +03:00
parent eab3fb5e93
commit 78ab9750d9
8 changed files with 4 additions and 34 deletions

View file

@ -1484,7 +1484,6 @@ dclass DistributedEstate : DistributedObject {
string DcObjectType db; string DcObjectType db;
setEstateReady() broadcast; setEstateReady() broadcast;
setClientReady() airecv clsend; setClientReady() airecv clsend;
setEstateType(uint8 type = 0) required broadcast db;
setClosestHouse(uint8) airecv clsend; setClosestHouse(uint8) airecv clsend;
setTreasureIds(uint32[]) broadcast ram; setTreasureIds(uint32[]) broadcast ram;
requestServerTime() airecv clsend; requestServerTime() airecv clsend;

View file

@ -2,7 +2,7 @@
from pandac.PandaModules import * from pandac.PandaModules import *
hashVal = 3611798738L hashVal = 877728986
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 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

View file

@ -217,9 +217,6 @@ class DistributedBoardingPartyAI(DistributedObjectAI.DistributedObjectAI, Boardi
elif inviterId in groupList[2]: elif inviterId in groupList[2]:
self.sendUpdate('postKickReject', [leaderId, inviterId, inviteeId]) self.sendUpdate('postKickReject', [leaderId, inviterId, inviteeId])
else: else:
# This seems like an odd thing for hackers to be abusing
# which tells me disney had a bug in boarding parties for a
# while...
if inviteeId in self.avIdDict: if inviteeId in self.avIdDict:
self.notify.warning('inviter %s tried to invite %s who already exists in avIdDict.' % (inviterId, inviteeId)) self.notify.warning('inviter %s tried to invite %s who already exists in avIdDict.' % (inviterId, inviteeId))
self.air.writeServerEvent('suspicious: inviter', inviterId, ' tried to invite %s who already exists in the avIdDict.' % inviteeId) self.air.writeServerEvent('suspicious: inviter', inviterId, ' tried to invite %s who already exists in the avIdDict.' % inviteeId)

View file

@ -12001,7 +12001,6 @@ WHITELIST = [
'edgar', 'edgar',
'edge', 'edge',
"edge's", "edge's",
'edge-of-your-seat',
'edged', 'edged',
'edger', 'edger',
'edges', 'edges',
@ -17663,7 +17662,6 @@ WHITELIST = [
'hatchet', 'hatchet',
'hatchets', 'hatchets',
'hate', 'hate',
'hatee-hatee-hatee-ho',
'hates', 'hates',
'hath', 'hath',
'hating', 'hating',
@ -20203,7 +20201,6 @@ WHITELIST = [
'joes', 'joes',
'joey', 'joey',
'joff', 'joff',
'joff-tchoff-tchoffo-tchoffo-tchoff',
'john', 'john',
'johnny', 'johnny',
"johnny's", "johnny's",
@ -25267,7 +25264,6 @@ WHITELIST = [
'peesy', 'peesy',
'pegasus', 'pegasus',
'pegboard', 'pegboard',
'pegboardnerdsgoingtogiveyoumore',
'pegleg', 'pegleg',
'peglegfleet', 'peglegfleet',
'pelican', 'pelican',
@ -28346,7 +28342,6 @@ WHITELIST = [
'rill', 'rill',
'ring', 'ring',
"ring's", "ring's",
'ring-ding-ding-ding-dingeringeding',
'ringing', 'ringing',
'rings', 'rings',
'rink', 'rink',
@ -29327,7 +29322,6 @@ WHITELIST = [
'scrambled', 'scrambled',
'scrap', 'scrap',
'scrap-metal', 'scrap-metal',
'scrap-metal-recovery-talent',
'scrapbook', 'scrapbook',
'scrape', 'scrape',
'scraped', 'scraped',
@ -31982,7 +31976,6 @@ WHITELIST = [
"sunshine's", "sunshine's",
'sunshines', 'sunshines',
'sunswept', 'sunswept',
'suoicodilaipxecitsiligarfilacrepus',
'sup', 'sup',
'supa-star', 'supa-star',
'super', 'super',
@ -36187,7 +36180,7 @@ WHITELIST = [
'wut', 'wut',
'wwod', 'wwod',
'www.toonhq.org', 'www.toonhq.org',
'www.toontownfellowship.com', 'www.toontownunited.com',
"wyatt's", "wyatt's",
'wyda', 'wyda',
'wynken', 'wynken',
@ -36221,7 +36214,6 @@ WHITELIST = [
'xpedition', 'xpedition',
'xpend', 'xpend',
'xpert', 'xpert',
'xpythonic',
'xsentials', 'xsentials',
'xtra', 'xtra',
'xtraordinary', 'xtraordinary',
@ -36755,4 +36747,6 @@ WHITELIST = [
'zyyk', 'zyyk',
'zzz', 'zzz',
'zzzzzs', 'zzzzzs',
'denialmc',
'loudrob'
] ]

View file

@ -178,9 +178,6 @@ class DistributedEstate(DistributedObject.DistributedObject):
initCamPos = VBase3(0, -10, 5) initCamPos = VBase3(0, -10, 5)
initCamHpr = VBase3(0, -10, 0) initCamHpr = VBase3(0, -10, 0)
def setEstateType(self, index):
self.estateType = index
def setHouseInfo(self, houseInfo): def setHouseInfo(self, houseInfo):
self.notify.debug('setHouseInfo') self.notify.debug('setHouseInfo')
houseType, housePos = cPickle.loads(houseInfo) houseType, housePos = cPickle.loads(houseInfo)

View file

@ -20,7 +20,6 @@ class DistributedEstateAI(DistributedObjectAI):
self.toons = [0, 0, 0, 0, 0, 0] self.toons = [0, 0, 0, 0, 0, 0]
self.items = [[], [], [], [], [], []] self.items = [[], [], [], [], [], []]
self.decorData = [] self.decorData = []
self.estateType = 0 # NOT SURE IF THIS HAS ANY USE BUT THANKS DISNEY
self.cloudType = 0 self.cloudType = 0
self.dawnTime = 0 self.dawnTime = 0
self.lastEpochTimestamp = 0 self.lastEpochTimestamp = 0
@ -97,19 +96,6 @@ class DistributedEstateAI(DistributedObjectAI):
def setClientReady(self): def setClientReady(self):
self.sendUpdate('setEstateReady', []) self.sendUpdate('setEstateReady', [])
def setEstateType(self, type):
self.estateType = type
def d_setEstateType(self, type):
self.sendUpdate('setEstateType', [type])
def b_setEstateType(self, type):
self.setEstateType(type)
self.d_setEstateType(type)
def getEstateType(self):
return self.estateType
def setClosestHouse(self, todo0): def setClosestHouse(self, todo0):
pass pass

View file

@ -72,8 +72,6 @@ class DistributedNPCFishermanAI(DistributedNPCToonBaseAI):
if sell: if sell:
av = simbase.air.doId2do.get(avId) av = simbase.air.doId2do.get(avId)
if av: if av:
#maybe: recreate Disney-style fishManager that does the above code?
trophyResult = self.air.fishManager.creditFishTank(av) trophyResult = self.air.fishManager.creditFishTank(av)
if trophyResult: if trophyResult:
movieType = NPCToons.SELL_MOVIE_TROPHY movieType = NPCToons.SELL_MOVIE_TROPHY

View file

@ -2052,7 +2052,6 @@ ToonHealJokes = [['What goes TICK-TICK-TICK-WOOF?', 'A watchdog! '],
['What did the hat say to the scarf?', 'You hang around while I go on a head.'], ['What did the hat say to the scarf?', 'You hang around while I go on a head.'],
["What's the best parting gift?", 'A comb.'], ["What's the best parting gift?", 'A comb.'],
['What kind of cats like to go bowling?', 'Alley cats.'], ['What kind of cats like to go bowling?', 'Alley cats.'],
["What's wrong if you keep seeing talking animals?", "You're having Disney spells."],
['What did one eye say to the other?', 'Between you and me, something smells.'], ['What did one eye say to the other?', 'Between you and me, something smells.'],
["What's round, white and giggles?", 'A tickled onion.'], ["What's round, white and giggles?", 'A tickled onion.'],
['What do you get when you cross Bambi with a ghost?', 'Bamboo.'], ['What do you get when you cross Bambi with a ghost?', 'Bamboo.'],