Commit Graph

82 Commits

Author SHA1 Message Date
enus.linden
b7ba36e26a stubbing out permissions.py for use initially in objects. unpacking vectors into the Vector3() class now, plus a couple of required related changes 2009-03-21 06:28:10 +00:00
enus.linden
2228959990 further work in objects. onObjectUpdateCompressed is nearly there, added handler for ObjectProperties and some methods to deal with the resulting parsed data (untested) 2009-03-20 06:15:22 +00:00
enus.linden
f583a875b5 adding datatypes, unpacking ObjectUpdate.ObjectData.ObjectData into distinct fields, and some other things 2009-03-18 21:32:21 +00:00
enus.linden
c909610f9c adding rezzing of inventory, update inventory item, search local inventory, and various object operations 2009-03-17 04:24:08 +00:00
enus.linden
82a7df8c04 fixing the sample_object_creation script wrt to agent.Position, fixed a bug in request_multiple_objects, and modified some logging 2009-03-14 00:09:15 +00:00
enus.linden
659e2347e4 adding groups, some default camera settings, and the ability to monitor outgoing packets by adding HANDLE_PACKETS to udp_dispatcher().send.... 2009-03-13 22:09:43 +00:00
enus.linden
776db124f3 adding deferred packet parsing (not parsing fully packets we aren't handling, plus some chat type stuff, and stubbing out EnableSimulator handling 2009-03-12 20:48:26 +00:00
enus.linden
be6e393210 adding a variety of functionality around chat/instant message, objects. some kinks to work out, e.g., why do we get ChatFromSimulator packets twice? aren't we acking them as needed? also, there is severe time lapse between a user in a viewer sending a chat/instant message and having the pyogp client receive it. what's up with that? 2009-03-11 22:52:07 +00:00
enus.linden
51a3b7078f fixing renamed files/functions 2009-03-05 23:12:53 +00:00
enus.linden
8dba90336c starting to work with objects. ObjectUpdate and ObjectUpdateCached handled, RequestMultipleObjects enabled 2009-03-05 21:50:23 +00:00
enus.linden
f0ddf774f6 merging the enus-refactor branch into the trunk 2009-03-03 01:40:52 +00:00
enus.linden
a777d8ad87 fixed silly bug where classes were created without (object) 2009-02-18 07:42:40 +00:00
enus.linden
9c28a1d2de adding some logic to packet handlers, not sure its right yet... 2009-02-11 22:34:24 +00:00
enus.linden
2cb7a6cdd4 adding some logging logic 2009-02-11 22:30:32 +00:00
enus.linden
667837b85d some small changes, template.py needs a lil more love dealing with __repr__ and bindary strings 2009-02-10 00:47:01 +00:00
enus.linden
0018d6299d adding struct.error handling vi new exception 2009-02-10 00:42:51 +00:00
enus.linden
b37f925a20 updated log messages 2009-02-10 00:40:12 +00:00
enus.linden
2f4cb4fc22 added some more fine grain logging control, update to packet parser 2009-02-06 06:45:03 +00:00
enus.linden
71af1552f3 merging r1733:1769 from enus-event-handling, which adds events, packet handlers, and packet builders, and some cruft 2009-02-05 23:26:52 +00:00
enus.linden
a0566e6477 adding current message_template.msg, cleaned so it parsed completely. we need to update template_parser.py to make this unnecessary 2009-01-30 00:25:38 +00:00
enus.linden
dd0db18bd9 updating message* files 2009-01-29 22:46:34 +00:00
enus.linden
f8fcb086c9 removing a silly print statement, working on eventlet for the messaging stream 2009-01-06 04:48:54 +00:00
enus.linden
d34a200e42 merging the merge-enus-zca-removal branch into trunk of pyogp.lib.base 2008-11-26 06:00:42 +00:00
enus.linden
79bb226c6e replacing tabs with 4 spaces to hopefully encourage better formatting standards and to make for easiermerges in the future 2008-11-11 00:24:53 +00:00
saijanai.kuhn
25179277d9 block.block_type vs block.type issue 2008-10-28 04:39:09 +00:00
saijanai.kuhn
98f2fdf552 Handler for MVT_FIXED type 2008-10-28 04:35:30 +00:00
saijanai.kuhn
39ca984d97 2008-10-28 04:33:55 +00:00
saijanai.kuhn
89beef6783 block.block_type vs block.type issues 2008-10-28 04:24:54 +00:00
saijanai.kuhn
7a8a2db145 Added string arrays and class methods to output human understandable variable types 2008-10-28 04:21:36 +00:00
saijanai.kuhn
1d2a6912f6 Changed block.typ-e to block.block_type to make instance name consistent throughout libraries. Added/changed some extra formatting code in __main__ and test functions 2008-10-28 04:17:11 +00:00
saijanai.kuhn
86fba6151a More deubgged code. This may have been committed already, but I took debugging print calls out and gave slightly more clear explanations for things 2008-10-28 04:09:09 +00:00
saijanai.kuhn
134ebc0d3f Added output variables _as_string for disp0lay convenience. Added var_type paramter for tracking the type for dispaly convenience. 2008-10-27 23:20:36 +00:00
saijanai.kuhn
826dc963b1 reformatted template file to work with Lock's Q&D parser. Tao is working on a better solution in the long run using a generic parser based on the indra code/ 2008-10-27 23:10:18 +00:00
saijanai.kuhn
a962a39d8a This is a drop-i replacement for the original test_packets.py script. It adds a test for the ObjectUpdate packet, simple timing, and a sample pretty printer routine for packets. Only tested with the ObjectUpdate packet, however 2008-10-27 23:08:21 +00:00
saijanai.kuhn
17c24fd4b9 Corrected issue with zero-deencode where the packet number of was evaluated before decoding was done. 0xff ff 00 01 94 was being evaluated as 0xff ff 00 01 (TestMessage) instead of 0xff ff 00 94 (UpdateRegionHandle) 2008-10-15 16:25:30 +00:00
enus.linden
2cb390ec64 adding some minimal logging to messaging 2008-10-14 17:08:19 +00:00
enus.linden
d197a7ac6e adding intial exceptions to message dir, replaced locklainns exceptions with custom ones 2008-10-01 08:42:11 +00:00
enus.linden
0c5e9b67ea oh me, adding a bunch of license info to a bunch of files. i hope i don't break anything 2008-09-16 06:26:17 +00:00
tao.takashi
59ae660704 added docstrings and made double underscores single ones as this is Python standard 2008-09-03 23:16:01 +00:00
tao.takashi
586bd74fda some cleanups and removed a dummy method. 2008-09-03 23:09:24 +00:00
tao.takashi
5663a8050f added docstring to class 2008-09-03 23:06:04 +00:00
tao.takashi
e1cfa90873 deleted msgdict.py as it seems not to be needed anymore. That stuff is now handled by template_parser etc. 2008-09-03 23:05:12 +00:00
tao.takashi
23446625ca some code beautifications 2008-09-03 23:00:27 +00:00
tao.takashi
6a6dd5fdb1 The big message system renaming:
- renamed all files starting with message_ to a name without message_
- exception: msgdict as dict is a reserved word
- moved all tests into the message/ directory
- changed all tests to use the new names
- changed all modules to use the new names
- shortened imports to not use the full path (pyogp.lib.base. but only the short path)
- removed makepacketdict.py as it's not needed anymore
- moved the data/ directory into message/ as it's local to the msg system

and some small cleanups on the way.

please run the tests!

I haven't adjusted pyogp.interop yet, Enus wanted to look after it.
2008-09-03 22:55:07 +00:00
locklainn.linden
e23f2c5cf0 fixed client test bugs and added to chat 2008-08-27 18:57:08 +00:00
locklainn.linden
6c9a65ce81 found a bug in dispatcher, returned False and not None, also chatwindow in 2008-08-25 17:31:51 +00:00
locklainn.linden
118bd15dcc fixed deserialization bug, all tests pass now 2008-08-25 15:40:21 +00:00
locklainn.linden
57b218c134 chatting in place, found a bug in serialization 2008-08-25 15:34:04 +00:00
locklainn.linden
0e23b3c584 MERGE - locklainn - message system refactoring 2008-08-25 14:22:36 +00:00
locklainn.linden
54f7d57ae4 event queue get for sim and AD in place 2008-08-14 14:24:30 +00:00