Commit Graph

54 Commits

Author SHA1 Message Date
Vortrex
1d59183811 Check for valid clan ID 2022-06-27 09:37:47 -05:00
Vortrex
62d9118604 Merge branch 'nightly' into organizing 2022-06-14 05:56:46 -05:00
Vortrex
4cee525633 Don't delete clans or ranks. Set deleted state instead 2022-06-07 10:26:33 -05:00
Vortrex
498dc62be8 Clan fixes 2022-05-22 13:30:57 -05:00
Vortrex
03ce45552a Change some log levels 2022-05-05 11:29:34 -05:00
Vortrex
cda306ed53 Formatting 2022-05-03 12:04:35 -05:00
Vortrex
56bae04e0f Rename some utils to align with code style 2022-04-23 15:13:34 -05:00
Vortrex
6999661bba More native utils + move startup stuff into startup.js 2022-04-20 06:47:54 -05:00
Vortrex
308e6c931f Don't load if devserver 2022-04-10 00:02:43 -05:00
Vortrex
842f13e382 Add some JSDoc + check if clan ID is -1 for temp 2022-03-17 08:05:13 -05:00
Vortrex
efc72dffe1 Mass convert indentation + add ped speech cmd 2022-03-16 17:02:33 -05:00
Vortrex
ef4a2877d0 Restructure (unfinished) 2022-03-12 05:20:14 -06:00
Vortrex
9d4c096a5d Don't save clan if not needed 2022-02-06 12:06:12 -06:00
Vortrex
11c765810b Indentation issue 2022-01-21 20:31:16 -06:00
Vortrex
2130c783bc Add some JSDoc info for intellisense 2022-01-20 03:11:44 -06:00
Vortrex
64b3628b25 Use cmd arg/param util 2022-01-09 17:42:57 -06:00
Vortrex
5dfe47a3e8 Organize a lot of utils 2022-01-09 17:19:53 -06:00
Vortrex
3d9ee04eb5 Use new locale strings 2022-01-09 05:27:11 -06:00
Vortrex
5fee6c059d Use bitflag util 2021-12-11 20:20:38 -06:00
Vortrex
a333fec4fd Add rank name to clan rank flags cmd output 2021-12-03 10:20:09 -06:00
Vortrex
01d369f838 Use bitflag utils 2021-11-30 21:53:34 -06:00
Vortrex
ffb5ea0843 Rephrase invalid clan str 2021-11-28 22:44:51 -06:00
Vortrex
1c51c01db6 Fix veh buyprice+fix clan rank+use pascalcase flag names 2021-11-25 07:35:32 -06:00
Vortrex
b095c9c1e3 Fix some clan commands 2021-11-24 07:21:13 -06:00
Vortrex
8f4ac90dc6 Locale stuff + fixes 2021-11-19 19:27:34 -06:00
Vortrex
9d8d5d1418 Bunch of changes (see description)
* New script files to organize GUI
* Added clientside pickup detection to reduce server load for enter/exit
* Added notips command for players to toggle random tips
* Select account last IP as part of wildcard (was separate due to old INT)
* Save account registration with datetime instead of unix timestamp
* Don't force mouse camera on moving anims in SA+
* Add IP ban to server runtime memory in subnet ban command
* Add non-roleplay character name account moderation flag
* Fix bizowner and bizclan commands
* Fix bug that allowed buying items without having the needed cash
* Fix set biz blip command
* Add dealership help label type command
* Added command to show all clan flag types
* Added discord config and load from database
* Fix angle for directional teleport and anim move directions
* Use new colour structure in preparation for locale translations
* Add on-foot only item usetype array to prevent using when in veh
* Fix wrong const value for exit pickup type
* Start using datetime in MySQL tables instead of unix timestamps
* Start adding webhooks for discord (unfinished)
* Added new discord URL to discord help category
* Added house reset pickups/blips utils
* Prevent using items when in skin selector
* Fix get player command
* Fix give player money command
* Add coffee shop and vehicle repair shop default biz item templates
* Remove old game fixes util (resource now in server config)
* Fix bug where characters in clans wouldn't be shown in char select
* Slimmed down the amount of timers
* Made some potentially large numbers more readable (commas)
* Remove colours in message for console output
2021-09-28 11:41:33 -05:00
Vortrex
80eeaa14c5 Lots of changes and fixes
* Add guiReady state
* Add mouseCameraEnabled state
* Make sure GUI is ready on some things
* Fix wrong veh prop funcs being used clientside
* Add local player ped parts/props util for IV
* Add vehicle.lightStatus sync
* Add element interior sync
* Dont use interior on IV
* Use new class structure
* Set default anim offset to 1
* Set biz data to save when changing biz properties
* Add mouse cam state util
* Prefix item type admin cmds with "itemtype"
* Fix server config saving
* Fix server time setting hour to minute arg
* Add player returnTo data types
* Make veh rent/buy price numbers readable
* Fix wrong house index being used to create blip/pickup on create
* Don't cache player hotbar items if working
* Fix cache player hotbar items util
* Add lots of anims to GTA SA
* Try/catch on all data saving to prevent one from blocking the rest
* Fix readable time from showing AM for 12 PM (noon)
* Set veh interior on create
* Dont set engine for spawnlocked vehicles
2021-09-18 06:48:13 -05:00
Vortrex
9c87ff950c Lots of fixes + clans
* Added clans
* Fixed interior exit labels
* Disabled nametags on games without 3D label support
* Fixed mouse cursor toggle command
* Fixed SA fight-style not being applied
* Added manageRanks clan permission bitflag
* Added interior lights toggle
* Fixed clan chat
* Added real-time support with optional timezone offset
* Added lots of JSDoc stuff
* Added command for managers to set server GUI colour
* Added GeoIP command for admins
* Added command for admins to force an immediate payday
* Added admins gotospawn command
* Added return player command for teleported players
* Added pizza delivery job const
* Fixed biz/house set pickup & interior type
* Fixed inventory showing ammo count for melee weapons
* Fixed SA using wrong pickup types
* Fixed char select screen breaking when in a clan
* Added +/- symbol util for number display
* Added get current timestamp for timezone offset util
* Fixed vehicle owner ID being set wrong for job veh
2021-09-09 01:37:04 -05:00
Vortrex
4fe9c45e0a Mafia Connected support 2021-08-14 20:49:47 -05:00
Vortrex
078ccdb0db Use new db query string utils 2021-08-11 09:41:51 -05:00
Vortrex
2f18948763 Fix clan save func, add missing logic 2021-07-25 22:12:08 -05:00
Vortrex
db762b44fc Use more util funcs 2021-06-14 20:05:15 -05:00
Vortrex
7b44801a20 Rebrand 2021-06-05 17:31:17 -05:00
Vortrex
75c264eace Rebrand 2021-06-05 03:14:10 -05:00
Vortrex
ab8cae2a3d Fix clan save query issue 2021-04-19 18:52:58 -05:00
Vortrex
8db60ab85b Fix load clans 2021-04-18 23:10:22 -05:00
Vortrex
3ab9df23ad Use new divider style 2021-04-18 19:11:08 -05:00
Vortrex
adbfbea755 Change clan init & load log to info 2021-04-04 23:19:09 -05:00
Vortrex
deaf0b34a5 Reorganize some utils, change dividing lines 2021-03-16 00:34:45 -05:00
Vortrex
7f2ee0c8d5 No message. 83 files changed. 2021-01-11 10:31:49 -06:00
Vortrex
e3f5e5ea02 Use new logging util 2021-01-08 00:15:10 -06:00
Vortrex
3ef9e554cc Too much for individual commits 2021-01-05 20:14:15 -06:00
Vortrex
5af3023c85 Mass commit 2021-01-01 16:18:59 -06:00
Vortrex
62f3e249bc Cleanup 2020-12-31 01:19:01 -06:00
Vortrex
1c7532523c Overhaul of "client" to "player" 2020-12-29 04:26:15 -06:00
Vortrex
e778720ea6 Change use of get client to get player from param 2020-12-28 01:25:04 -06:00
Vortrex
e57cfd4996 Change serverId to util func 2020-12-26 02:02:56 -06:00
Vortrex
00a7f9fc22 Add clan cmds 2020-12-25 22:48:25 -06:00
Vortrex
2ef292d799 Huge command system overhaul 2020-12-13 14:44:14 -06:00
Vortrex
fbaafa6c0c Lots of stuff 2020-12-11 01:51:55 -06:00