Anton Tarasenko
e2744cc6dd
Add mutate input to `Commands` feature
3 years ago
Anton Tarasenko
955d9b787a
Fix issue with wrong deallocations
3 years ago
Anton Tarasenko
3e545ebdd5
Add @me selector to the player parser
3 years ago
Anton Tarasenko
feebc5aa22
Fix black text in chat
3 years ago
Anton Tarasenko
3addd1fc13
Add `ChatAPI`
3 years ago
Anton Tarasenko
a30ec6c29c
Add `OnModifyLogin()` signal added to `MutatorAPI`
3 years ago
Anton Tarasenko
c865cb00ea
Add original name tracking to `ConnectionService`
3 years ago
Anton Tarasenko
ac8b973cd8
Fix documentation for `MutableText`
3 years ago
Anton Tarasenko
c06656a8dc
Fix `PlayersAPI`'s deallocation bugs
3 years ago
Anton Tarasenko
c93f5899a2
Change `SetName()` to always trigger signals
3 years ago
Anton Tarasenko
010f9ac414
Add `GetOriginalName()` method to `EPlayer`
3 years ago
Anton Tarasenko
2b94a164b5
Add `GetTeamColor()` method to `EPlayer`
3 years ago
Anton Tarasenko
6907b53a9c
Add signals for player's name change
3 years ago
Anton Tarasenko
7dc5149281
Refactor `APlayer`/`ATrader` into `EInterface`s
...
`APlayer` and `ATrader` represented player and trader (`ShopVolume`)
with a single object instance. Such design, if used for all actors,
could have led to mutitute of problems rooted in need to find that
single object for any given native actor: we'd need to store
object-actor pairs separately and look through pairs lists, which is
hardly a sane design.
Now Acedia switches to a different design, where a single in-game entity
(i.e. actor) can have several interfaces referring to it. All equaly
valid. Refactoring `APlayer` and `ATrader` into `EPlayer` and `ETrader`
is a first step in that direction.
3 years ago
Anton Tarasenko
265daa71b0
Change `ColorAPI` parsing to be more efficient
...
Now `ColorAPI` uses `Text` constants returned by `T()` instead of
breaking `string` constants into cahracters each time.
3 years ago
Anton Tarasenko
c8ed85387d
Add new stripped rgb/rgba color format
...
This patch adds a new, more light-weight and quicker to type rgb/rgba
format that simple lists RGB(A) components separated by commas:
"3,43,234,255".
3 years ago
Anton Tarasenko
9f7671d9dd
Add more weapon aliases
3 years ago
Anton Tarasenko
2ba1066c63
Add more (mostly vue) colors
3 years ago
Anton Tarasenko
19fed84882
Fix issues with ranges in Text/MutableText methods
...
Several methods such as `Copy()`, `Remove()`, `ChangeFormatting()` and
several others have had similar errors related to how their input
parameters defined range when specified out-of-bounds.
This patch should fix them.
3 years ago
Anton Tarasenko
469872b8df
Add test for methods `Remove()`/`Simplify()`
...
This commit also changes codepage of the file with tests, since this is
necessary to correctly add testing `string`s.
3 years ago
Anton Tarasenko
e75434f063
Add `Simplify()` method for `MutableText`
3 years ago
Anton Tarasenko
c72642e685
Add `Remove()` method for `MutableText`
3 years ago
Anton Tarasenko
1486c937d6
Add more tests for `Text.AppendFormatted()` method
3 years ago
Anton Tarasenko
cc934db34d
Fix system configs missing short color tags data
3 years ago
Anton Tarasenko
7e9a5f16b8
Add ability to read formattes data from `Text`
...
Previously one could only read formatted data directly from `string`s.
This patch adds another method `AppendFormatted()` for appending a
`Text`/`MutableText`, while parsing its data like a formatted string.
3 years ago
Anton Tarasenko
3e376f621e
Add support for short color tags
...
Adds `ColorAPI` support for short color tags that start with "^",
e.g. "^3", "^p", "^w", etc.
3 years ago
Anton Tarasenko
4af70b95c1
Change arg of `_.json.Pointer()` to be optional
...
This method was creating an empty json pointer when user passed a `none`
value, but having to pass `none` made for a bad interface. This patch
allows to simply omit the argument.
3 years ago
Anton Tarasenko
5f66705386
Fix commit about creation of test database
3 years ago
Anton Tarasenko
08617f0327
Fix configs
3 years ago
Anton Tarasenko
155e4228e7
Update configs
3 years ago
Anton Tarasenko
31d73b82b0
Fix type in log message
3 years ago
Anton Tarasenko
f18180a8f8
Add prototype interfaces for inventory management
3 years ago
Anton Tarasenko
2bdb4ba3ac
Fix bad unused varibles cleanup for `APlayer`
3 years ago
Anton Tarasenko
eac84e9ccb
Fix help commands output when there is no options
3 years ago
Anton Tarasenko
9d0d5d705b
Change aliases API to accept aliases with $ prefix
3 years ago
Anton Tarasenko
abdc900563
Fix typo-bug in `ConsoleWriter`
3 years ago
Anton Tarasenko
d71f74db91
Add `ConsoleWriter` ability to pick receivers
...
Before this patch `ConsoleWriter` could only send messages to all
players or to none of them. Now it posseses methods to configure a
sprecise set of players to send messages to.
3 years ago
Anton Tarasenko
eb6f456fe8
Fix `none` spam in `ConsoleBuffer`
3 years ago
Anton Tarasenko
0b04bf041d
Add method to set console color for one write call
3 years ago
Anton Tarasenko
ef064ab2be
Rename `GetPlayers()` as `GetAll()` in PlayersAPI
3 years ago
Anton Tarasenko
fbdb5d68b8
Remove (move) admin commands from the core package
3 years ago
Anton Tarasenko
51c6a5e0ab
Remove commands list from manifest
3 years ago
Anton Tarasenko
952e6e5496
Add logging to `DBAPI`
3 years ago
Anton Tarasenko
68bd7265f8
Fix database creating/loading methods
...
Methods didn't do `none` checks where necessary and passed `MutableText`
as a key, where `Text` keys were expected.
3 years ago
Anton Tarasenko
8e32e550bd
Add `Database` reference to db query replies
3 years ago
Anton Tarasenko
0e328b48ce
Remove methods for creating "Acedia structure"
3 years ago
Anton Tarasenko
2e3b58821c
Fix iterator not being deallocated (again)
3 years ago
Anton Tarasenko
8364da61cf
Add `RemoveCommand()` to commands feature
3 years ago
Anton Tarasenko
5e10ed677c
Fix iterators not being deallocated
3 years ago
Anton Tarasenko
d6e293c06e
Add test for deallocating keys in AssociativeArray
3 years ago