Skip to content

Agent Log/Stats Module for Different Database-Storages [OpenSim-RegionServer-AddOn]

Notifications You must be signed in to change notification settings

BillBlight/opensim-userlogmodule

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


//Developer: Watcher64 (watchersphone [at] gmail.com)
//Original Developer: Pixel Tomsen (Christian Kurzhals / www.ckinfo.de) (pixel.tomsen [at] gridnet.info)
//Function : MODDED PHP Port for OpenSim-userlogmodule
//Source Tree : https://github.com/watcher64/opensim-userlogmodule
//Modified by Watcher64
//modded to include region_name in agent table, indexed by count
//with human readable date in date field
// this also now does an INSERT instead of REPLACE on agent_table
// watch this for getting the table too big, but allows for more history

Everything is pretty much the same as the orginal readme, I have modded the tables to include more info
also added a visits.php which will show you your last 25 regions visited by DESC order.

Original Readme below 

;Original Developer: Pixel Tomsen (Christian Kurzhals / www.ckinfo.de) (pixel.tomsen [at] gridnet.info)
;
;Function : Agent Log-Module for Different Database-Storages [OpenSim-RegionServer-AddOn]
;
;Source Tree : https://github.com/PixelTomsen/opensim-userlogmodule
;
* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
;

changes from old Repo : https://github.com/PixelTomsen/opensim-dev-external/tree/master/opensim/addon-modules/OpenSimUserLog

- add AgentIP2Country logging
- preparing for different Storages
- Viewer-Logging
- different tables for stats-calculations


ToDo :
- copy this Folder to source-folder-of-opensim/addon-modules
- run runprebuild.bat (msvc) or runprebuild.sh (mono-linux)
- run compile (msvc) or xbuild (linux-mono)

- for logging to web-storage prepare your webserver (database and files) for action (files in wwwroot)


:Add following Lines to OpenSim.ini or see file OpenSim-addition.ini.example:



[UserLogModule]

 enabled = true

 ;;
 ;; currently only web-storage implemented
 ;;
 DataBase = web
 ConnectionString = "http://localhost/log/agentlog.php"

 ;DataBase = mysql
 ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;"

 ;DataBase = sqlite
 ;ConnectionString = "URI=file:UserLogStats.db,version=3,UseUTF16Encoding=True"

About

Agent Log/Stats Module for Different Database-Storages [OpenSim-RegionServer-AddOn]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 83.9%
  • PHP 16.1%