forked from PixelTomsen/opensim-userlogmodule
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
72 lines (52 loc) · 2.69 KB
/
Copy pathREADME.txt
File metadata and controls
72 lines (52 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//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"