Gwyneth Llewelyn
|
a18457f9a3
Chore: Bump to 1.20; clean up old dependencies
|
1 жил өмнө |
Gwyneth Llewelyn
|
66cef6fd8a
Very minor changes related to trying to fix non-rotating logs
|
3 жил өмнө |
Gwyneth Llewelyn
|
979094f555
Beyond updating some modules, changed the logging format a bit, as using multiple channels (e.g. stderr & stdout & syslog & ‘private’ log file) might be overkill, as at least stderr & syslog will be logged to syslog anyway, when running as a systemd service. Also: what happens to stdout needs to be investigated as well.
|
4 жил өмнө |
Gwyneth Llewelyn
|
7782ee7387
Small changes to get reasonable defaults for new installations, as opposed to showing my own installation parameters…
|
4 жил өмнө |
Gwyneth Llewelyn
|
b7aab65c15
Slight changes to make all functions documentable via godoc
|
4 жил өмнө |
Gwyneth Llewelyn
|
44a47a4f94
Fixed a tiny comment (sqlite3 instead of sql3lite), mainly to test if the whole setup is working fine.
|
4 жил өмнө |
Gwyneth Llewelyn
|
5cd3296712
Repl. awat by away in a comment.
|
6 жил өмнө |
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 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Gwyneth Llewelyn
|
70ac188c7b
First attempt at a major change towards the go-logging logger plus lumberjack log rotator.
|
7 жил өмнө |
Gwyneth Llewelyn
|
f8e6559c3a
Begin transition for new logging package. The purpose is to make sure all logs are kept ‘somewhere’ between sessions.
|
7 жил өмнө |
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 жил өмнө |
Gwyneth Llewelyn
|
9d29129726
Made a few changes to catch the signals and change the atomic value that starts/stops the engine.
|
7 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Gwyneth Llewelyn
|
9a1b4b7c34
Start preparing stuff for dealing with cubes changing money/energy/happiness
|
7 жил өмнө |
Gwyneth Llewelyn
|
4269c79f2a
Added support for colourful output in the logs. It’s silly but looks great! :)
|
7 жил өмнө |
Gwyneth Llewelyn
|
c8efc9fe0d
Adding initial code skeleton to call the Garbage Collector as a goroutine.
|
7 жил өмнө |
Gwyneth Llewelyn
|
56b677056d
Moving to MySQL. sqlite3 has problems with too much concurrency. Bug to be fixed: get unique indexes!
|
7 жил өмнө |
Gwyneth Llewelyn
|
c0bb36d673
Trying to find a bug where the database gets locked and never unlocks again.
|
7 жил өмнө |
Gwyneth Llewelyn
|
3682877317
First tweaks for the preparation of the engine
|
7 жил өмнө |
Gwyneth Llewelyn
|
e68588eb2d
Changed README.md with more information about how to setup things in-world.
|
7 жил өмнө |
Gwyneth Llewelyn
|
809e94820e
Added 3 scripts for the agent controller object, which is attached to it when it rezzes. README.md needs to be updated, but it essentially works. Also, textures for clothing should be on the inventory somewhere.
|
7 жил өмнө |
Gwyneth Llewelyn
|
05a5a69c43
Added on the back office interface another LSL script for the Bot Controller.
|
7 жил өмнө |
Gwyneth Llewelyn
|
4fa37c3d95
Generate LSL scripts on demand, based on the configuration file parameters. That way we guarantee that LSL scripts are correctly filled out and in sync with the Go installation.
|
7 жил өмнө |
Gwyneth Llewelyn
|
c140e37b09
Added NullUUID, which will be useful throughout the later code
|
7 жил өмнө |
Gwyneth Llewelyn
|
82bba02ef0
Replaced fake paralelate() function with engine(), which does little more than running a for loop and waiting for messages to be received
|
7 жил өмнө |
Gwyneth Llewelyn
|
b57d7c8cb7
Two-way communication using WebSockets and JSON for more structured message data. So far it seems to work… until Go crashes when receiving data for the formEngine submission
|
7 жил өмнө |
Gwyneth Llewelyn
|
7958701360
Working with WebSockets to update the Engine page display, which is crucial as we enter the next stage, which is to get the engine actually doing something — and logging what it does on the respective page.
|
7 жил өмнө |