Commit Graph

31 Commits

Author SHA1 Message Date
MiddleSkillz bdc1109cde refactor: 64 is a odd number for VARCHAR 2021-05-06 02:22:14 -06:00
Mycroft bee2165105 Kashacter 2021-04-29 18:39:31 +01:00
Tinky 2d9de9e4c4 Fix random position saving problem
This fix the problem when position doesnt save good...
2020-05-17 11:55:31 +02:00
shortybsd c302098aa5 Update es_extended.sql
INT & TINYINT - Integer display width is deprecated and will be removed in a future release.
2020-05-16 16:26:28 -05:00
Jérémie N'gadi 947f2184ff Revert "pt-PT Translation pt.lua" 2020-05-15 18:21:28 +02:00
Jérémie N'gadi b8731080d4 fix es_extended.sql 2020-05-14 12:43:37 +02:00
Jérémie N'gadi a33e5982d3 fixing the fix 2020-05-11 22:50:25 +02:00
Jérémie N'gadi 9ad9c31b8c Add missing default job / job_grades 2020-05-11 22:48:25 +02:00
Jérémie N'gadi 515c286e01 Remove skin from base sql 2020-05-11 22:45:21 +02:00
Jérémie N'gadi 4fa7c557e1 fix typo 2020-05-11 14:07:12 +02:00
Jérémie N'gadi 29d2a48a12 Added some modules + Experimental SQL auto-migration stuff 2020-05-11 14:05:00 +02:00
ElPumpo bd76482cae Minor adjustments, changed sql database name 2020-04-14 16:45:28 +02:00
ElPumpo ff9930068f Keep weight stored 2020-03-15 12:20:08 +01:00
ElPumpo 3ba2ed150f Save accounts as encoded json text, migrate script found in development discord 2020-03-06 20:41:37 +01:00
ElPumpo 35a726685e ⚠️⚠️BREAKING COMMIT⚠️⚠️: Complete ES ditch 2020-02-17 15:22:09 +01:00
ElPumpo d2bf5cc73b Updated sql file 2020-02-12 12:36:02 +01:00
Viktor 74ab98d7d7 Fixed SQL problem 2020-01-20 19:26:21 +01:00
ElPumpo b3a36747a3 Removed saving Steam name in database, closes #246 2020-01-15 10:27:07 +01:00
ElPumpo f89e051756 BREAKING COMMIT - Player loading improvements (read description!)
This commit implements a new way of saving and getting player coords.

Player coords are synced with its assigned xPlayer, the syncing interval is defined in the configuration file.
Also coords wont sync if the player is too close to their previous location.

Existing servers must change their database to account for the new length of the position varchar, at 53 chars max. There's also a column default value specified in the sql file.

New xPlayer functions:
- .getCoords()
- .setCoords() (x,y,z,heading (optional) table
- .updateCoords()

The last one is used for syncing coords from client (interval). The second one will teleport the player. First one is a renamed .getLastPosition()
2020-01-12 22:13:30 +01:00
ElPumpo f33c317d6f Fixed sql file inproper weight type 2019-10-19 19:38:54 +02:00
ElPumpo 145f8ebe75 Breaking changes: implemented global weight inventory system, read description before updating!
- Fixed #256
- Implements #173

__NO OFFICIAL ESX SCRIPT WILL WORK WITH THIS AT THE MOMENT__

This commit will break your entire ESX if you dont use the new SQL format, follow the new one if you want it all to work properly.

Scripts using `item.limit` will break too, instead use `xPlayer.canCarryItem(item, count)`
2019-10-13 20:56:09 +02:00
ElPumpo 22a4d67971 Fix new player error on first spawn 2018-12-31 14:11:05 +01:00
ElPumpo b63c147fc0 Proper raycast arguments, trim last position 2018-12-23 15:05:00 +01:00
ElPumpo db50388543 Minor changes, missing semicolons in JS 2018-11-10 10:37:27 +01:00
ElPumpo 0cd409add9 Fixed invalid SQL 2018-05-13 22:30:09 +02:00
ElPumpo 66e7eceddf Improved paycheck system, added advanced notifications, see desc
- Improved paycheck system
    - we now take society money if there is any, or else the employees wont get a salary at all
    - now using ESX.ShowAdvancedNotifications
2018-05-11 13:57:35 +02:00
Romain Lanz 7475640ae1 chore(coding-style): correct indentation 2017-09-14 16:23:35 +02:00
Jérémie N'gadi ec1e8c0852 Add rare and canRemove flags on items 2017-08-19 13:14:04 +02:00
Jérémie N'gadi e2e223d7de Update es_extended.sql 2017-08-07 12:17:27 +02:00
Jérémie N'gadi 826341bc20 Update SQL dump 2017-07-31 15:57:40 +02:00
Jérémie N'gadi b904282013 Add SQL dump 2017-07-31 15:55:11 +02:00