Linden
39f26ad9cf
Merge pull request #83 from dolutattoo/master
...
Fix getting player slots amount
2022-03-12 19:37:55 +11:00
Dolu
09ce85123d
fix(server): await player slots
2022-03-12 03:44:30 +01:00
Linden
9c63431c2c
Merge pull request #75 from CoachYT1/readme
...
Update readme.md
2022-03-01 08:42:42 +11:00
CoachYT1
67d28ee268
Update readme.md
2022-02-21 09:17:49 +01:00
Linden
fca8927b38
revert(server): foreign keys
...
Can result in some errors. Still keeping the other optimisations from previous commit (namely adjusting all identifier fields to the correct varchar length).
2022-02-14 20:18:59 +11:00
Linden
b7c521c8e7
feat(server): database optimisations
...
Limited testing, but works in a fairly clean ESX environment. Sets up foreign keys in the database to allow for easy and optimised character deletion.
Foreign keys will only be set where owner and identifier columns exist, the field cannot be NULL and uses VARCHAR.
2022-02-12 06:03:23 +11:00
Linden
72450dfcd6
refactor: swap to oxmysql
...
ESX officially uses oxmysql with new syntax, so follow suite.
2022-02-12 05:58:45 +11:00
Linden
02352a8e18
Merge pull request #63 from nightowlsrp/patch-1
...
removed margin-right to just use "right" value
2021-12-14 17:34:50 +11:00
Night Owls Roleplay
d6a56057d8
removed margin-right to just use "right" value
...
Removed margin-right as "right" handles this usage just fine and margin messes with the actual container.
2021-12-13 22:08:43 -08:00
Linden
874eeef86c
fix(server): connection string parser
2021-12-02 01:48:22 +11:00
Linden
150ec165fc
fix(server): clone and wipe the playerlist when restarting the resource
...
Since we're looping through the table, we end up trying to index new values as they are added.
2021-11-21 17:26:29 +11:00
Linden
6a7d0ad56a
update readme
2021-11-21 17:24:09 +11:00
Linden
6c7408b02e
Update fxmanifest.lua
2021-11-12 18:49:13 +11:00
Linden
2635ce9fbb
fix(server): added missing symbols
2021-11-11 07:26:37 +11:00
Linden
e9250f15bd
Merge pull request #57 from Olvidate/patch-1
...
fix(server): fixed error with identifiers
2021-11-09 14:12:22 +11:00
Linden
e19f99fdca
refactor(server): update deferral messages
2021-11-09 14:12:04 +11:00
Olvidate
8402cf4236
fix(server): fixed error with identifiers
...
Fixed error when you don't have a identifier, Steam open for example.
2021-11-08 18:55:42 -03:00
Linden
a9960ef3f5
refactor: move server settings to config
...
Added support for sv_lan to allow use with FxDK.
Added support for ESX forks with Config.Identifier
2021-10-29 12:17:04 +11:00
Linden
3fe1f438df
chore(server): Update error messages and manifest
2021-10-26 02:26:44 +11:00
Linden
e3c7e5ce5c
feat(server): Utilise transactions to reduce server load
2021-10-26 00:58:10 +11:00
Linden
c9749c0b40
refactor(server): Remove redundant local values and check result size
2021-10-26 00:20:59 +11:00
Linden
4f3ce99e94
refactor(config): Remove redundant values from being stored on server
2021-10-26 00:19:49 +11:00
Linden
8255fa2014
feat(deferrals): Prevent connection when identifier is in use
...
Only recently came to my attention that this was a concern. Since ESX and identity only check a raw identifier vs a player identifier (which contains a prefix) it doesn't prevent multiple logins.
2021-10-25 15:47:57 +11:00
Linden
870e1887b0
Update fxmanifest.lua
2021-10-23 11:58:59 +11:00
Linden
ebae4354ce
fix(server): Correctly resolve database name for URI connection strings
...
URI-connection strings would incorrectly parse the database name when using additional options as part of the string (i.e. "ESXLegacy?charset=utf8mb4").
Correctly check for these options and match the string accordingly.
Also just better pattern matching in general.
2021-10-23 11:58:18 +11:00
Linden
565c5d0e35
Update readme.md
2021-10-18 07:33:01 +11:00
Linden
c1b36cf51f
Merge pull request #55 from DokaDoka/master
...
fix(sql): fix disabled user column query
2021-10-16 12:24:42 +11:00
DokaDoka
7995739cec
fix(sql): fix disabled user column query
2021-10-16 10:06:33 +11:00
Linden
749dfd0ec3
chore(config): Change defaults
2021-10-16 09:05:13 +11:00
Linden
d594c5db82
chore(manifest): Update versions
2021-10-16 09:04:38 +11:00
Linden
f46277e262
feat(server): Improve GetJobs function
...
- If using an ESX version with the getter, use it instead for better performance
- General refactor and ensure compatibility with oxmysql
2021-10-16 09:03:31 +11:00
Linden
95e9f2bbe8
feat(server): Parse mysql_connection_string for database
2021-10-16 08:43:51 +11:00
Linden
2164f3db72
style(commands): Indentation
2021-10-16 08:34:55 +11:00
Linden
ae41811d42
Delete functions.lua
2021-10-16 08:34:34 +11:00
Linden
ef87a916ac
fix(client): Entity coords should no longer set you into the ground
2021-10-16 08:34:14 +11:00
Demetrio
a4d7d17251
Minor fixes and compatibility improvements ( #54 )
2021-10-16 08:32:54 +11:00
Linden
54245704c5
fix(sql): Add disabled user column back and change to TINYINT
...
- Accidentaly removed it; change this to TINYINT for consistency
2021-10-16 08:31:45 +11:00
Linden
a1cb26da5d
feat(sql): Setup proper keys and collation
...
- These fields should only be referenced, so index them for faster queries
2021-10-16 06:37:34 +11:00
Linden
1984ef58a5
Update readme.md
2021-09-03 19:46:30 +10:00
Linden
d412efab05
fix(client)? Maybe resolves issue with concealing players
2021-09-01 16:17:05 +10:00
cjosephdc
6427a58ac7
Fix for stuck players ( #45 )
...
Fix the issue where players get stuck after selecting character
2021-08-25 21:38:26 +10:00
IceCubePiso
6925f91a1e
Update cs.lua ( #44 )
2021-08-21 03:06:47 +10:00
Demetrio
5f5b0138f0
feat(chars): enable or disable a specific character of a player ( #43 )
2021-08-21 00:56:48 +10:00
Demetrio
e65a4cb181
Italian language support + Doc for dynamic slots and minor improvements ( #37 )
...
* Added Italian language support + usability improvements
* cleaner sql file
Co-authored-by: d3rp-jsx <15928886+derp-jsx@users.noreply.github.com >
2021-08-11 09:33:40 +10:00
Demetrio
52250d0d49
Dynamic slots ( #36 )
...
* Removed slots configuration
* feature: dynamic slots
* fixes + improvements
* edited core functionality
* added commands for slots management
* added commands english locale
Co-authored-by: d3rp-jsx <15928886+derp-jsx@users.noreply.github.com >
2021-08-11 03:31:30 +10:00
Demetrio
248b6e0b92
improvement: configurable character deletation ( #35 )
...
Co-authored-by: d3rp-jsx <15928886+derp-jsx@users.noreply.github.com >
2021-08-10 00:54:32 +10:00
Linden
0ec17f081e
fix: Close UI when setting up characters; spawn fallback position
...
- If playerData.coords don't exist then there's an issue with that character
- Instead of erroring out, spawn them at the character selection area
todo: setup default spawn location instead of relying on database
2021-08-02 22:13:36 +10:00
Linden
b5b5f56a2b
Improvement: Set the camera position offset from the entity
...
- Modifying the spawn location would previously require adjusting the camera parameters.
- This, along with the previous camera change, ensures the camera is always facing the ped
2021-07-26 21:22:17 +10:00
Linden
7bf9367135
tweak: Move fadeout check until after the spawnmanager export
2021-07-26 21:10:59 +10:00
Linden
9dbe1c5cbe
fix: Ensure character is deleted on the server before refreshing client
2021-07-26 21:00:13 +10:00