got ObjectProperties parsing done properly, and now seem to bt storing objects nicely. creating new ones as needed, updating exising ones (did need to change the management schema around a bit. One thing I have noticed, is that Tracebacks that one normally would see appear hidden when going through a callback. this is not cool. we need to get to the bottom of this and fix it. debugging code that doesn't complain when it breaks sucks
This commit is contained in:
@@ -96,7 +96,7 @@ def login():
|
||||
api.sleep()
|
||||
|
||||
# matches = client.region.objects.find_objects_by_name("mini panda particles")
|
||||
client.region.objects.get_object_from_store(ID = 27720)
|
||||
#client.region.objects.get_object_from_store(ID = 27720)
|
||||
|
||||
# print matches
|
||||
|
||||
@@ -117,7 +117,7 @@ def login():
|
||||
states = {}
|
||||
for _object in client.region.objects.object_store:
|
||||
if _object.State == 0:
|
||||
print 'ID:', _object.ID, '\tUUID: ', _object.FullID , '\tState: ', _object.State, '\tPosition: ', _object.Position
|
||||
print 'ID:', _object.LocalID, '\tUUID: ', _object.FullID , '\tState: ', _object.State, '\tPosition: ', _object.Position
|
||||
else:
|
||||
if states.has_key(_object.State):
|
||||
states[_object.State]+=1
|
||||
|
||||
Reference in New Issue
Block a user