justinccdev / EventRecordingModule

This module will record various events that take place on a simulator (e.g. avatar entering a region) to some other data source for later analysis. Currently under initial development.
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

Event Recorder Won't Start #4

Open stephenenochian opened 9 years ago

stephenenochian commented 9 years ago

I have a prebuilt binary robust osimctrl grid. I've added the library files to [base]/bin and added the [EventRecorder] section to OpenSim.ini (and configured it to my MySQL server and event settings), restarted the sims and robust controls, and am not seeing anything produced by Event Recorder in my MySQL database. Did I miss a step?

Here is the [EventRecorder] section:

[EventRecorder] ; Controls whether the module is enabled. ; If this line is not present or Enabled = false then the module will not be active Enabled = true

; Must be either "OpenSimLog" (to record to OpenSim.log) or "MySQL" (to record to MySQL)
Recorder = MySQL

; If using the MySQL Recorder, set this to the MySQL connection string.
; Note that Database is different from the OpenSimulator database, though in principle EventRecorder could live there too
ConnectionString = "Data Source=;Database=;User Id=;Password=;"

; This is the id that will be added to all recorded events
; It must be set by changing the value and then uncommenting the line - the module will not start without it
; This can be a maximum of 36 characters and so can be a Guid/UUID or simply a unique grid name
; Currently, this is not using data directly from any [GridInfo] section as those are presented directly to the user and can be changed.
; Technically, this could be used to identify any simulator or group of simulators, though usually this will be the same for all simulators
; on the same grid
GridID = "[gridNick]"

; Control whether the module records user login.
; Default is true.
RecordUserLoginEvents = true

; Control whether the module records user logout.
; Default is true.
RecordUserLogoutEvents = true

; Control whether the module records when a user enters a region other than the one they entered on login.
; Default is true.
RecordUserRegionEnterEvents = true

; Control whether the module records user chat.  
; Default is false.
RecordUserChatEvents = false

; Control whether the module records user to user instant messages.  
; Default is false.
RecordUserToUserImEvents = false

; Control whether the module records user to group instant messages.  
; Default is false.
RecordUserToGroupImEvents = false

; ALL CONFIG SETTINGS BELOW THIS POINT ARE ADVANCED AND SHOULD NOT NORMALLY NEED TO BE CHANGED

; Maximum number of events that will be queued for writing before additional events are ignored.
; Increase this if you see warnings on the console about events being discarded.
; Storing more events will take more memory.
; Default is 5000.
MaxEventQueueSize = 5000

; How long we will wait, in milliseconds, for at least one event to be written when the module has been told to stop (e.g. on simulator shutdown).
; If no events are written in this time then the remaining queued events will be discarded and shutdown will continue.
; Defaults to 20000 ms
EventWriteTimeoutOnStop = 20000
stephenenochian commented 9 years ago

We tried adding the prebuild.xml file to addon-modules, but with no success. We took a copy of EventRecordingModule.dll from another grid to the bin directory, but it has a hard-coded grid name so we're unable to use it. Upon running the sim, we get the following error:

WARNING: The add-in 'EventRecordingModule,0.1' is trying to extend '/OpenSim/RegionModules', but there isn't any compatible add-in defining this extension point

WARNING: The add-in 'EventRecordingModule,0.1' is trying to extend '/OpenSim/RegionModules/EventRecordingModule', but there isn't any compatible add-in defining this extension point

justincc commented 9 years ago

What happens when you run ./runprebuild.sh with the module source code in place?