64 lines
1.2 KiB
Text
64 lines
1.2 KiB
Text
|
TT Membership:
|
||
|
|
||
|
import toontown
|
||
|
def new():
|
||
|
return True
|
||
|
def new2(*a,**k):
|
||
|
return 2
|
||
|
base.cr.isPaid = new
|
||
|
base.cr.isParentPasswordSet = new
|
||
|
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||
|
|
||
|
EMotions:
|
||
|
|
||
|
base.localAvatar.setEmoteAccess([1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1])
|
||
|
|
||
|
All Pet Phrases:
|
||
|
|
||
|
base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
|
||
|
|
||
|
Code used to Find Codes:
|
||
|
|
||
|
def getmembers(object, predicate=None):
|
||
|
"""Return all members of an object as (name, value) pairs sorted by name.
|
||
|
Optionally, only return members that satisfy a given predicate."""
|
||
|
results = []
|
||
|
for key in dir(object):
|
||
|
value = getattr(object, key)
|
||
|
if not predicate or predicate(value):
|
||
|
results.append((key, value))
|
||
|
print key,value
|
||
|
results.sort()
|
||
|
return results
|
||
|
getmembers [[<<Enter Class Here>>]]
|
||
|
|
||
|
Replace 'Enter Class Here' With: localAvatar
|
||
|
|
||
|
Float and Swim :
|
||
|
|
||
|
base.localAvatar.b_setAnimState('swim')
|
||
|
|
||
|
Float Sit :
|
||
|
|
||
|
base.localAvatar.b_setAnimState(('Sit'))
|
||
|
|
||
|
trolley sit :
|
||
|
|
||
|
base.localAvatar.enterSitStart()
|
||
|
|
||
|
Look up :
|
||
|
|
||
|
base.localAvatar.b_setAnimState('ScientistPlay') + base.localAvatar.b_setAnimState('swim')
|
||
|
|
||
|
Weird way :
|
||
|
|
||
|
base.localAvatar.b_setAnimState('swim') + base.localAvatar.b_setAnimState('ScientistPlay')
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|