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:
enus.linden
2009-03-22 05:37:11 +00:00
committed by Salad Dais
parent b7ba36e26a
commit 0d6e32d2df
5 changed files with 436 additions and 215 deletions

View File

@@ -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