jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0

Experimental: offline messages

14 years 1 month ago #122 by foto50
I added a standalone interface to the component, that can communicate directly with OpenSim. For now, it should give you the possibility to save IM\'s when users are offline.

To enable offline messages, you need to point OpenSim to that interface in your Opensim.ini in the section [Messaging]:
InstantMessageModule = InstantMessageModule
    ; MessageTransferModule = MessageTransferModule
    OfflineMessageModule = OfflineMessageModule
    OfflineMessageURL = http://yourjoomladomain/components/com_opensim/interface.php
    MuteListModule = MuteListModule
    MuteListURL = http://yourjoomladomain/components/com_opensim/interface.php

As far as I know by now, the \"MuteListURL\" is not really nessecary, but it is important, that you enable \"MuteListModule\" ... otherwise, the message will be stored, but not delivered, when the user goes online.

Until now, I could not manage OpenSim storing Group messages (using flotsam XmlRpcGroups as group module) but that might be an issue with my OpenSim settings. Any hints about that are more than welcome...

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

14 years 1 month ago #131 by rjspence
--- Individual Test ---
Turned off in opensim.ini
[14:48] System: User is not logged in. Message not saved
Turned on in opensim.ini
[14:57] System: User is not logged in. Message saved. <--- hehe.

User that was logged off logs in...
Saved Sun 17 Oct 2010 16:57:37) Testing.. Do you get this when you login?
---

Yes they did.. :) <img src=\"{SMILIES_PATH}/icon_e_smile.gif\" alt=\":)\" title=\"Smile\" />:)
Super duper!!

--- Group xmlrpc floatsam group test (separate db\'s os,groups,search,profiles)
I couldn\'t get group IM saves to work. Nothing shows up in the group IM chat box
when clicking send. Any ideas? I too have never had group IM working.

So individual IM offline storage and retrieval is working and verified with joomla db, but group IM\'s are not. I cannot even send a group IM at the moment even though the groups functions are working fine. I need to get group IM working prior to seeing if offline storage works. This is floatsam groups module installed.

17:28:45 - [GROUPS-MESSAGING]: OnInstantMessage called
17:28:45 - [GROUPS-MESSAGING]: IM: fromGroup(False)
17:28:45 - [GROUPS-MESSAGING]: IM: Dialog(GroupNotice)
17:28:45 - [GROUPS-MESSAGING]: IM: fromAgentID(Agent UUID)
17:28:45 - [GROUPS-MESSAGING]: IM: fromAgentName(My Agent)
17:28:45 - [GROUPS-MESSAGING]: IM: imSessionID(00000000-0000-0000-0000-000000000000)
17:28:45 - [GROUPS-MESSAGING]: IM: message(test|test)
17:28:45 - [GROUPS-MESSAGING]: IM: offline(0)
17:28:45 - [GROUPS-MESSAGING]: IM: toAgentID(Agent ID)
17:28:45 - [GROUPS-MESSAGING]: IM: binaryBucket(BinaryBucket: 00)
17:28:45 - [GROUPS]: OnInstantMessage called
17:28:45 - [GROUPS]: Prepping group notice UUID of notice for agent: Avatar Name who Accepts Notices (True)
17:28:45 - [GROUPS]: CreateGroupNoticeIM called
17:28:46 - [GROUPS]: OutgoingInstantMessage called
17:28:46 - [GROUPS]: MsgTo (Avatar) is local, delivering directly
17:28:46 - [GROUPS]: Prepping group notice UUID of Message for agent: Avatar Name who Accepts Notices (True)
17:28:46 - [GROUPS]: CreateGroupNoticeIM called
17:28:46 - [GROUPS]: OutgoingInstantMessage called
17:28:46 - [GROUPS]: MsgTo (Avatar UUID) is not local, delivering via TransferModule <-- Okay
17:28:46 - [INSTANT MESSAGE]: Delivering IM to My Avatar via XMLRPC <-- Okay
17:28:46 - [GROUPS]: GroupNoticesListRequest called
17:28:47 - [GROUPS]: Message Sent: Failed

Avatar that group message was sent to logs in...

17:33:24 - [OFFLINE MESSAGING]: Retrieving stored messages for My Avatar
17:33:25 - [INVENTORY TRANSFER]: GroupNotice IM type received My Avatar
17:33:25 - [GROUPS-MESSAGING]: OnGridInstantMessage called
17:33:25 - [GROUPS-MESSAGING]: IM: fromGroup(True)
17:33:25 - [GROUPS-MESSAGING]: IM: Dialog(GroupNotice)
17:33:25 - [GROUPS-MESSAGING]: IM: fromAgentID(Group UUID)
17:33:25 - [GROUPS-MESSAGING]: IM: fromAgentName(Group Owner Name)
17:33:25 - [GROUPS-MESSAGING]: IM: imSessionID(00000000-0000-0000-0000-000000000000)
17:33:25 - [GROUPS-MESSAGING]: IM: message(test|test)
17:33:25 - [GROUPS-MESSAGING]: IM: offline(1)
17:33:25 - [GROUPS-MESSAGING]: IM: toAgentID(My Avatar)
17:33:25 - [GROUPS-MESSAGING]: IM: binaryBucket(BinaryBucket: 00 00 78 5F 03 FC 6E D2 48 A9 B7 79 07 D7 FC 10
17:33:25 - [GROUPS]: OnGridInstantMessage called
17:33:25 - [GROUPS]: OnInstantMessage called

Received group notice from the xmlrpc server . Yes!! This was done through
sending a notice to the group. Offline avatar did get the group message when logging in.

Super!

However, I still cannot send an IM as a group user to the group for group chat and not sure why.

Console shows this when IMing to the group. (not sending a group notice, just send IM to the group)

17:56:10 - [INVENTORY TRANSFER]: SessionSend IM type received from My Group
17:56:10 - [GROUPS-MESSAGING]: OnInstantMessage called
17:56:10 - [GROUPS-MESSAGING]: IM: fromGroup(False) <-- No, not from the group, to the group.
17:56:10 - [GROUPS-MESSAGING]: IM: Dialog(SessionSend)
17:56:10 - [GROUPS-MESSAGING]: IM: fromAgentID(Agent UUID)
17:56:10 - [GROUPS-MESSAGING]: IM: fromAgentName(My Agent Name)
17:56:10 - [GROUPS-MESSAGING]: IM: imSessionID(UUID of IM session)
17:56:10 - [GROUPS-MESSAGING]: IM: message(Testing...)
17:56:10 - [GROUPS-MESSAGING]: IM: offline(0)
17:56:10 - [GROUPS-MESSAGING]: IM: toAgentID(UUID of Group Agent)
17:56:10 - [GROUPS-MESSAGING]: IM: binaryBucket(BinaryBucket: 00)
17:56:10 - [GROUPS-MESSAGING]: Send message to session for group Group UUID with session ID Session UUID
17:56:10 - [GROUPS-MESSAGING]: SendMessageToGroup called
17:56:10 - [GROUPS]: OnInstantMessage called

Then nothing happens. Even if the group members are online.

ideas appreciated

Regards,
rjspence

Please Log in or Create an account to join the conversation.

13 years 11 months ago #220 by foto50
Hi rjspence

In the upcoming version 0.1.7, I will have offline messages \"official\" as I did my best to secure that part. Besides that, user profiles (with a precompiled module for opensim from <a class=\"postlink\" href=\"http://www.germangrid.de\"> www.germangrid.de ) will be also integrated into the component.

During working on that, I decided to add \"search\" and \"groups\" fully into the component as well as a next step. \"search\" because it does not make much sense to add \"classified\" into your profile and nobody can search for it ... and \"groups\" because it\'s the only clean way to keep those additions together (searching for groups, offline messages for groups, etc...) and at the end there should come out a possibility for registered users to maintain their profile, settings (send offline messages to email etc...), events and so on via their Joomla account.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

13 years 11 months ago #221 by rjspence

\FoTo50\:h5akm0ov wrote: Hi rjspence

In the upcoming version 0.1.7, I will have offline messages \"official\" as I did my best to secure that part. Besides that, user profiles (with a precompiled module for opensim from <a class=\"postlink\" href=\"http://www.germangrid.de\"> www.germangrid.de ) will be also integrated into the component.


Very interesting.

During working on that, I decided to add \"search\" and \"groups\" fully into the component as well as a next step. \"search\" because it does not make much sense to add \"classified\" into your profile and nobody can search for it ... and \"groups\" because it\'s the only clean way to keep those additions together (searching for groups, offline messages for groups, etc...) and at the end there should come out a possibility for registered users to maintain their profile, settings (send offline messages to email etc...), events and so on via their Joomla account.

Greetz
FoTo50


I saw the early table entries and figured the integration of search and groups were to be part of the future of the component. I think it\'s a super addition and a wise direction albeit a fairly decent undertaking. The inclusion of these areas will certainly help with managing the front end. Appreciate the updates on the direction the work is moving in.

Regards,
rjspence

Please Log in or Create an account to join the conversation.

13 years 11 months ago #232 by djphil
Offline message work fine for me. I have installed Opensim 0.7.1 (Dev) Last Master Git (r/14447).

Thanks to this improvement 8-) <img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8-)\" title=\"Cool\" />8-)

Please Log in or Create an account to join the conversation.

13 years 11 months ago #233 by foto50
Hi djphil

Very good to read that it\'s working for you now :D <img src=\"{SMILIES_PATH}/icon_e_biggrin.gif\" alt=\":D\" title=\"Very Happy\" />:D What was the initial problem? I just ask cause if someone has a similar problem, it might help.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

13 years 11 months ago #234 by djphil
Yes indeed :) <img src=\"{SMILIES_PATH}/icon_e_smile.gif\" alt=\":)\" title=\"Smile\" />:)

And I came to know as soon as possible so that you were not looking innutilement a bug where there is none!
Unfortunately I am unable to say what was causing the problem. I just put a little more Opensim days than it was ...
Normally Opensim Joomla component works correctly with Opensim v0.7.2 More. Is a mystery ...

PS: RemoteAdmin message works correctly too. I changed the port, I have 8001 (for example).

Only the Welcome Message from a Joomla article seems not to work properly ...

Please Log in or Create an account to join the conversation.

13 years 9 months ago #350 by aramil
Question,

I set up the offline IM on the ini as shown on the first post in this topic, i test them inworld and i receive a message \"User not online, message NOT saved\", but actually the message is stored in the jos_opensim table, and im able to see it on the web site, but im not able to retrieve it in world upon a login. I wonder if the mute should point to a diff URL than the interface.php <<- same as the offline one?

Please Log in or Create an account to join the conversation.

13 years 9 months ago #351 by foto50
Yes, the mute has no effect in practice, but it is needed to set it to the same as the offline one to let that one work. As you can see in my first post, the \"MuteListURL\" is also set to the interface.php.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

13 years 9 months ago #352 by aramil
Hello FoTo, yes i tried it that way, but i keep getting this error on the log:

[LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packets.RetrieveInstantMessagesPacket for Aramil, Object reference not set to an instance of an object at OpenSim.Region.CoreModules.Avatar.InstantMessage.OfflineMessageModule.RetrieveInstantMessages (IClientAPI client) [0x00000] in <filename unknown>:0
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleRetrieveInstantMessages (IClientAPI sender, OpenMetaverse.Packets.Packet Pack) [0x00000] in <filename unknown>:0
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsync (System.Object state) [0x00000] in <filename unknown>:0

setup: joomla and os, in diff servers and dbs, the db talk each other good, the messages are stored on joomla db, i can see it in the site offworld, the im is deleted as soon as i log inworld, but no retrieval. os 0.7.1

any idea?

Please Log in or Create an account to join the conversation.

Time to create page: 0.128 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0