From 3c41567f5207c407e5a5967d2d911ae66bba9e62 Mon Sep 17 00:00:00 2001 From: loblao <12ksit@gmail.com> Date: Sun, 15 Mar 2015 12:32:31 -0300 Subject: [PATCH] OTP: Remove spam --- otp/distributed/OTPClientRepository.py | 2 -- toontown/toonbase/ClientStart.py | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/otp/distributed/OTPClientRepository.py b/otp/distributed/OTPClientRepository.py index 80c2fcde..fc8d459d 100644 --- a/otp/distributed/OTPClientRepository.py +++ b/otp/distributed/OTPClientRepository.py @@ -1360,8 +1360,6 @@ class OTPClientRepository(ClientRepositoryBase): h = HashVal() hashPrcVariables(h) pyc = HashVal() - if not __dev__: - self.hashFiles(pyc) self.timeManager.d_setSignature(self.userSignature, h.asBin(), pyc.asBin()) self.timeManager.sendCpuInfo() if self.timeManager.synchronize('startup'): diff --git a/toontown/toonbase/ClientStart.py b/toontown/toonbase/ClientStart.py index 83cadf5c..feb75e5d 100644 --- a/toontown/toonbase/ClientStart.py +++ b/toontown/toonbase/ClientStart.py @@ -24,7 +24,14 @@ if __debug__: loadPrcFile('config/general.prc') loadPrcFile('config/release/dev.prc') - defaultText = "print('I work!')" + defaultText = '''door = base.cr.doFind('tedDoor') +bldg = door.getBuilding() +doorTrigger = bldg.find('**/door_' + str(door.doorIndex) + '/**/door_trigger*') +doorTrigger.show() +doorTrigger.node().setName(self.getTriggerName()) +print doorTrigger +print door.getEnterTriggerEvent() +print messenger.whoAccepts('enterdoor_trigger_20')''' def __inject_wx(_): code = textbox.GetValue()