Gwyneth Llewelyn
|
0b6dc984b5
Adding info about ShowPopulation
|
7 years ago |
Gwyneth Llewelyn
|
8af584fa47
Added an extra check if the grid is not running: this will make the engine try over and over again to connect to the database, but fail with a panic when it hits the limit of open connections. The current code will check if the database is open and wait 10 seconds to retry again, without panicking.
|
7 years ago |
Gwyneth Llewelyn
|
cfbbb30b88
There are some strange errors in the engine where PDO_Prefix sometimes is ‘forgotten’. I don’t know if it has anything to do with the reloading of the config. So I’ve added a few checks for PDO_Prefix and GoBotDSN to reload the configuration strings on each and every cycle (probably overkill).
|
7 years ago |
Gwyneth Llewelyn
|
769fa14efb
Changed a few instructions regarding automatic config file reloading
|
7 years ago |
Gwyneth Llewelyn
|
e789fa773a
Minor formatting error.
|
7 years ago |
Gwyneth Llewelyn
|
0c1b5b9033
More minor changes for getting almost-perfect logging. Also tested how messages go to syslog, as well as reloading the configuration and seeing everything working again.
|
7 years ago |
Gwyneth Llewelyn
|
cc91db205a
Fixing minor bugs related to the new logging mechanism. Now it should be auto-configured as well every time the configuration changes…
|
7 years ago |
Gwyneth Llewelyn
|
27692eaa7b
Fixed stupid config bug, all keys that are strings must be between quotes “”
|
7 years ago |
Gwyneth Llewelyn
|
70ac188c7b
First attempt at a major change towards the go-logging logger plus lumberjack log rotator.
|
7 years ago |
Gwyneth Llewelyn
|
ac888a3f16
Cosmetic changes on the logging configuration elements.
|
7 years ago |
Gwyneth Llewelyn
|
ac46d64e1f
Added logging options (defaults are commented out, just shown as examples of what can be changed).
|
7 years ago |
Gwyneth Llewelyn
|
cd1ede7f75
Added information about new functionality, namely, adding the go-logging package and how the signals now work; added a description of how the garbage collector works.
|
7 years ago |
Gwyneth Llewelyn
|
f8e6559c3a
Begin transition for new logging package. The purpose is to make sure all logs are kept ‘somewhere’ between sessions.
|
7 years ago |
Gwyneth Llewelyn
|
302937b479
Using smaller buttons on the engine page, and an accordion to display the manual user commands, so that we can have a little more space on that page.
|
7 years ago |
Gwyneth Llewelyn
|
7b171e1c56
Adding Travis support (I don’t use it, but others might)
|
7 years ago |
Gwyneth Llewelyn
|
147f08ba1c
Attempt to use flex containers to improve scrolling but it doesn’t work well, so reverted to what it was before
|
7 years ago |
Gwyneth Llewelyn
|
8b9348a908
Implemented the basic functionality of the cubes: when an avatar sits on them, it gets ‘recharged’. The GA is still very simple, it tries to go next to the nearest cube for the lowest setting it has. In the future, this may be implemented in the GA as well. Note: the GA still needs a LOT of fixing, since it hardly sends the avatars to the right place!
|
7 years ago |
Gwyneth Llewelyn
|
3be3b979f1
Added option to show population (or not)
|
7 years ago |
Gwyneth Llewelyn
|
62005f38e2
Added DistanceToAgent to PositionType. We need that for calculating the nearest cube, weighted down by the ‘need’ of the avatar.
|
7 years ago |
Gwyneth Llewelyn
|
9b394e835e
Fixed stupid bug in the command URL when updating the NPC money/energy/happiness setting
|
7 years ago |
Gwyneth Llewelyn
|
1451154966
Removed redundant debug message for callURL
|
7 years ago |
Gwyneth Llewelyn
|
44f12c03e8
Added a few checks to see what the bot is responding to the requests of changing money/happiness/energy
|
7 years ago |
Gwyneth Llewelyn
|
9136d682d2
Several changes when formatting errors; also deals better with the way the engine is started and stopped (responding to SIGHUP)
|
7 years ago |
Gwyneth Llewelyn
|
73d4a6a24e
Attempt to deal better with edge situations when NPCs/avatars sit down on a cube.
|
7 years ago |
Gwyneth Llewelyn
|
6c4301b8a5
Added llSitTarget(<0.25,0.25,0.5>, ZERO_ROTATION); on script, or else we just get NULL_UUID (a limitation of LSL)
|
7 years ago |
Gwyneth Llewelyn
|
9d29129726
Made a few changes to catch the signals and change the atomic value that starts/stops the engine.
|
7 years ago |
Gwyneth Llewelyn
|
45d35da072
Added information regarding the change of signals (HUP starts/stops the engine, CONT will be caught but ignored for now)
|
7 years ago |
Gwyneth Llewelyn
|
5941fb57ed
Several changes preparing code to deal with NPCs sitting on the cubes. Some LSL was also changed, because if the llSitTarget is not set, it will *always* return the Null_UUID.
|
7 years ago |
Gwyneth Llewelyn
|
4c15765d7e
Removed some extraneous %s\n and ; which were copied over from the PHP version.
|
7 years ago |
Gwyneth Llewelyn
|
8f3fae2139
Tried to add on the checkErr and checkErrPanic functions the data from the caller, so that the error messages make more sense that way.
|
7 years ago |