Commit Graph

52 Commits

Author SHA1 Message Date
enus.linden
ba8ded0d4e couple of silly tweaks to agentmanager.py to make pylint happy 2009-07-15 05:58:15 +00:00
enus.linden
baddedd598 updates to agent.py, porting class instances sourced from packets.py to generic Message() instances. various updates throughout to make pylint happier (see https://wiki.secondlife.com/wiki/PyOGP_Client_Library_Development#Using_pylint). a couple of updates to region.py and event_system.py where 'private' methods were not really treated as such, and the naming scheme was updated. a couple of tests were updated as well, and all tests are passing. Home() was slightly refactored to prepare for actual usae, e.g. teleport_home, or Home().teleport() 2009-07-14 23:50:42 +00:00
joshua.linden
ec34ac2ed5 Specify correct flag for flying. (Oddly, the effect seems reversed in-world. Requires more investigation.) 2009-07-07 22:47:48 +00:00
kotler.linden
14ae34a9ca standardization of datamanager constructors 2009-07-07 17:43:50 +00:00
joshua.linden
e19e8c1792 * Use the PCode enum instead of magic numbers * Watch out for "None" values when applying ObjectUpdates to agent * Add AgentDynamicsUpdate app event * Handle 48-, 32-, and 16-byte ObjectUpdates * Add basic sit/stand/fly methods to agent, with associated enums
Not reviewed
2009-07-07 17:02:33 +00:00
kotler.linden
e9b1a931a5 remerge of kotler_tests 2009-07-07 00:15:55 +00:00
kotler.linden
9af7338fcd reverting the merge 2009-07-06 23:29:38 +00:00
kotler.linden
89a9630f69 merge from kotler_tests 2009-07-06 22:13:36 +00:00
joshua.linden
b34dc93a6a Don't fire callback until all names are received, in case the reply spans multiple packets. 2009-06-19 17:23:03 +00:00
joshua.linden
76821fe99d * Added basic money operations (get balance callback, app events, give_money method, enums) * Added equality operator for datatypes.UUID 2009-06-18 00:04:42 +00:00
joshua.linden
b12435f2c2 * Fire app events for friend online/offline notifications * Provide agent id --> name mapping service, with a (per-agent) cache
Caveat for callers that want to combine the two: you may get online notifications immediately on login, before an agent name callback could fire.
2009-06-17 18:41:15 +00:00
joshua.linden
0a26e0916f Fix two warnings reported by PyChecker - a class name typo (!) and a stylistic error. 2009-06-15 18:08:42 +00:00
joshua.linden
d0333cd517 Remember (per-agent) mapping of region name --> region handle, to avoid subsequent map lookups 2009-06-15 17:47:04 +00:00
joshua.linden
b9467983f7 Get teleport round-tripping working (e.g. sim A to sim B to sim A again)
* Close off old event queues on teleport complete
* Clean up event queue shutdown
* Correct usage (I think?) of 'done' flag in event queue POST and send terminating "hasta la vista" ack

Not reviewed; will pester enus.linden when he's available
2009-06-15 17:11:54 +00:00
joshua.linden
a52172ccc2 * Allow packing Vectors w/o requiring packet populating code to convert to tuple * Initial stab at cross-region teleport. Arriving is still buggy so don't use it yet. 2009-06-12 18:19:56 +00:00
joshua.linden
481909e8b4 Expose the start_location login response ("home", "last", "safe", "url") to clients. 2009-06-11 19:21:19 +00:00
enus.linden
b7ccabe726 renaming _register() to register() on MessageHandler and AppEventHandler, fixing a couple of EventQueue derived message related bugs 2009-06-05 22:22:13 +00:00
joshua.linden
70c9d342c4 Renamed 2009-06-05 21:16:18 +00:00
enus.linden
d3ad0d5e2f merging pyogp.lib.base/branches/combined_message_handling to trunk. moved the original Message to MessageBase, then combined as a subclass of MessageBase the deprecated UPDPacket and new Message class. PacketHandler and EventQueueHandler are now merged into MessageHandler. various changes made to accommodate, various files/classes removed. tests were passing in the branch merging in, will check tests and sample scripts after an svn up with the commit in it 2009-06-05 21:02:59 +00:00
joshua.linden
86f0422be8 Added handle_signals named parameter to Agent, so app can delegate signal handling or not. Defaults to True (Agent should catch SIGINT) for compatibility. 2009-05-26 17:12:54 +00:00
joshua.linden
fd6e287e6a Hooked up spatial chat events.
Reviewed by Enus Linden
2009-05-15 19:04:47 +00:00
enus.linden
478c562478 working on parcel storage and messaging, not complete, but partial implementation and some functionality neing introduced 2009-05-11 18:30:33 +00:00
enus.linden
ea5c1a62eb merging inventory-extension branch into trunk 2009-04-27 22:48:01 +00:00
enus.linden
65df28e3b4 merge back as follows: -r2063:HEAD https://svn.secondlife.com/svn/linden/projects/2008/pyogp/pyogp.lib.base/branches/callback-refactor, moving callback handlers to class methods vs global functions. also fixed some tests :) 2009-04-06 21:29:17 +00:00
enus.linden
85928bc6cb moving inventory related callbacks to agent.py, since the packet_handler has moved it's home. 2009-04-02 22:24:16 +00:00
enus.linden
c0f568bd9a adding packet counters, plus 'completed' ability to connect to neighboring regions via udp and event queue 2009-04-01 23:49:16 +00:00
enus.linden
84116923c3 some test fixes and a bug fix re: grid_x and grid_y 2009-03-30 18:26:21 +00:00
enus.linden
1aa50b3b71 ficing broken login initialization 2009-03-30 16:16:26 +00:00
enus.linden
42b0f285bd adding a prototype agent manager for handling multiple agent logins 2009-03-27 21:48:13 +00:00
enus.linden
af6d78eb9f adding first pass at group chat, needs cleanup. worked on enabling child simulators, but it doesnt work yet 2009-03-26 20:10:13 +00:00
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
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
cbbd7daed5 defaulting agent.ActiveGroupID to uuid zero 2009-03-14 00:12:24 +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
84b4050e66 enabling basic object creation, including the infamous box 2009-03-11 03:56:56 +00:00
enus.linden
261be4f9ee some small edits, stubbing out creating objects, didn't get far with that at all 2009-03-09 21:43:15 +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
cefc20ef91 adding inventory item handling, populating a folders contents with inventory items returned in InventoryDescendents packets 2009-03-05 01:26:43 +00:00
enus.linden
0a046c9fa4 fixing up eventlet 'thread' handling, working on inventory still 2009-03-04 21:33:01 +00:00
enus.linden
f52798c42c starting inventory management, noticed an issue with application level control, need to consult with an eventlet wiz to rectify a client application being denied control of the application after simply logging in 2009-03-04 07:27:56 +00:00
enus.linden
f0ddf774f6 merging the enus-refactor branch into the trunk 2009-03-03 01:40:52 +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
73b1e09190 enabled event queue in region and agent domain (untested) via eventlet. added login transform handling for legacy login 2009-01-29 06:58:03 +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
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
03f309b012 merged trunk mrtopf-networking to trunk, grokified it, fixed a bug when not finding a serializer and added a test for it. Capabilities now also have a POST method for POSTing data to them. GET, etc. is pending. 2008-07-24 19:25:02 +00:00