jOpenSimWorld

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

Groups - login dates

6 years 10 months ago #2782 by Alauriana
Today I noticed that in groups in world, all last login dates have gone to 1/1/1970. How can that be fixed so it goes back to showing the ACTUAL last login date?

Thanks so much!
Attachments:

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

6 years 10 months ago #2784 by foto50
Hi Alauriana

Unfortunately in this case you dont have any chance, except recompiling the flotsam groups module of opensim and/or your viewer.

This is not a bug in jOpenSim, but a sort of incompatible communication between the Flotsam module of OpenSim and the viewers.

I once (ages ago) managed to fix that in my grid, but of course will get overwritten at every update again.

Let me see if I can fix it once again for OpenSim 0.9.0.0 and post it here, but can not make any promise ;)

Greetz
FoTo50

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

6 years 10 months ago #2785 by BillBlight
hmm, if you want to send me your patch for how to fix that, I could integrate it into my opensim fork .. That would be great!! Thanks

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

6 years 10 months ago #2786 by foto50
I'm not really an expert in C++ nor C# to be honest ... but I remember I could investigate viewers source code and fix it in some flotsam group cs file. It's ages ago ... if I only would remember where exactly ... lol

Lack of time is currently the second issue ... but if I find it again, I definately will pass it over :)

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

6 years 10 months ago #2787 by Summers
Hi Alauriana,

Try to setup group V2, this one work.

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

6 years 10 months ago #2788 by foto50
Hi watcher64

Finally found it again :)

In file ./OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs around line 658 there is:
foreach (Hashtable membership in respData.Values)
{
    GroupMembersData data = new GroupMembersData();

    data.AcceptNotices = ((string)membership["AcceptNotices"]) == "1";
    data.AgentID = new UUID((string)membership["AgentID"]);
    data.Contribution = int.Parse((string)membership["Contribution"]);
    data.IsOwner = ((string)membership["IsOwner"]) == "1";
    data.ListInProfile = ((string)membership["ListInProfile"]) == "1";
    data.AgentPowers = ulong.Parse((string)membership["AgentPowers"]);
    data.Title = (string)membership["Title"];

    members.Add(data);
}

add one line in there so it looks like this:
foreach (Hashtable membership in respData.Values)
{
    GroupMembersData data = new GroupMembersData();

    data.AcceptNotices = ((string)membership["AcceptNotices"]) == "1";
    data.AgentID = new UUID((string)membership["AgentID"]);
    data.Contribution = int.Parse((string)membership["Contribution"]);
    data.IsOwner = ((string)membership["IsOwner"]) == "1";
    data.ListInProfile = ((string)membership["ListInProfile"]) == "1";
    data.AgentPowers = ulong.Parse((string)membership["AgentPowers"]);
    data.Title = (string)membership["Title"];
    data.OnlineStatus = (string)membership["OnlineStatus"];

    members.Add(data);
}

... then it works with jOpenSim :)

Greetz
FoTo50
The following user(s) said Thank You: BillBlight, Alauriana

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

6 years 9 months ago #2789 by BillBlight
Works perfect .. thanks

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

6 years 9 months ago #2790 by megas
Hello Foto!! Where i find this file to edit ?

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

6 years 9 months ago #2791 by djphil
In your opensim folder @
OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs

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

6 years 9 months ago #2792 by megas
Thnak you for ur reply but i dont have any folder like this OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs

this is my opensim folder prntscr.com/i9l76p

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

Time to create page: 0.154 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