Commit Graph

80 Commits

Author SHA1 Message Date
Vortrex
c765f42ff5 Woops wrong const name 2021-09-30 18:55:31 -05: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
b19b35368d Add interior-in-interior stuff 2021-09-18 08:41:02 -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
cfc22a77ee Bunch of fixes/changes
* Set client log level to info
* Added element prop sync util
* Added check to make sure veh upgrade was valid
* Fixed incorrect acct settings being saved
* Added help tip when using invalid anim
* Fixed create biz cmd
* Allow biz owners to set biz name
* Allow biz owners to give biz to player or clan
* Added biz clan rank cmd
* Allow those with permission to lock/unlock biz & houses
* Fix set biz interior
* Allow players with permission to withdraw from biz till
* Added utils to check if player has biz permissions for till/lock/lights
* Added check if players are in same int/vw on talk/shout/whisper
* Follow server civilians cvar when toggling ambience
* Renamed some clan cmds to prefix with "clan"
* Added vehlivery cmd
* Set server log level to debug
* Show veh owner info on enter
* Sync body parts & props on IV
* Add clan help in help cmd
* Don't show values for melee weapons
* Add IV support for some utils
* Sync player ped fight style in SA
* Added fightstyle cmd
* Fix wrong job owner on vehinfo cmd
* Return false on world label support util for IV
2021-09-12 13:53:51 -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
b60b52a2c0 Add biz/house toggleable interior lights 2021-08-27 18:45:56 -05:00
Vortrex
2859fc5803 Load biz game scripts from db, index biz loc/script 2021-08-24 19:52:47 -05:00
Vortrex
4fe9c45e0a Mafia Connected support 2021-08-14 20:49:47 -05:00
Vortrex
9a2ff52d45 Use new db query string utils 2021-08-11 09:39:41 -05:00
Vortrex
67cef06f6d Save businesses when creating one 2021-07-25 22:11:43 -05:00
Vortrex
9ce391ef9a Tons of fixes, change netevent prefix. 2021-07-18 20:39:49 -05:00
Vortrex
b39104566e Check for global svr cfg pickups/blips enabled 2021-07-14 19:23:46 -05:00
Vortrex
6136c2eb57 Use new const prefix, add biz id from db id util 2021-07-13 00:51:26 -05:00
Vortrex
3c14e6e253 Revert location overhaul 2021-06-21 15:13:03 -05:00
Vortrex
c006afcb23 Revert location overhaul (unfinished) 2021-06-21 15:12:52 -05:00
Vortrex
49dde311a2 Changes 2021-06-21 15:06:38 -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
fa52c070f5 Merge branch 'location-overhaul' into nightly 2021-05-20 16:35:23 -05:00
Vortrex
d58abe4287 Big Commit 2021-05-06 01:29:46 -05:00
Vortrex
60837e170f Use cash utils for biz till cmds, use biz info label type 2021-04-28 21:25:10 -05:00
Vortrex
92ddbb0f8f Merge branch 'location-overhaul' into testing 2021-04-24 11:25:34 -05:00
Vortrex
b93fc214f6 Revert to old inHouse/inBusiness 2021-04-24 11:01:06 -05:00
Vortrex
11686a4b55 Remove biz param from commands 2021-04-23 19:26:59 -05:00
Vortrex
9c257a0be0 Cache business items before creating blips 2021-04-23 18:15:49 -05:00
Vortrex
a2b192ced2 Delete biz items cmds, fix saving biz blip/pickup 2021-04-22 09:26:30 -05:00
Vortrex
12ef1efc53 Default biz item cmd 2021-04-20 21:30:45 -05:00
Vortrex
1c95086912 Create business exit pickups 2021-04-19 18:52:47 -05:00
Vortrex
59d8eddd0e Add bizorder, buy, itemprice, bizbuyprice 2021-04-18 23:09:52 -05:00
Vortrex
c81944c559 Fix wrong var name 2021-04-13 01:30:40 -05:00
Vortrex
71fec51b75 Log biz script init 2021-04-04 23:18:30 -05:00
Vortrex
4617249334 Show item list on empty buy command 2021-03-30 21:47:22 -05:00
Vortrex
cb8a9189bb Remove bizitem msg (will auto show items on buy cmd 2021-03-27 06:02:19 -05:00
Vortrex
4a47e533c5 Fix biz save query typo 2021-03-22 03:12:02 -05:00
Vortrex
deaf0b34a5 Reorganize some utils, change dividing lines 2021-03-16 00:34:45 -05:00
Vortrex
558acbd54a Make save queries easier to modify 2021-03-08 19:05:33 -06:00
Vortrex
23a53e52e4 Cache biz items on start & add biz cmds 2021-03-07 14:12:30 -06:00
Vortrex
1cd91b6ce7 Load biz pickups/blips if enabled on server 2021-02-09 04:05:23 -06:00
Vortrex
57fd6c0b21 Fix business command checks output messages 2021-01-25 22:40:21 -06:00
Vortrex
052c189c2f Add hex colours to some biz messages 2021-01-23 13:31:07 -06:00
Vortrex
460b48fcf1 Fix biz withdraw/deposit 2021-01-21 04:37:22 -06:00
Vortrex
cbfb6180c6 Show confirm GUI on bizorder, fix set pickup cmd 2021-01-19 04:41:13 -06:00
Vortrex
7f2ee0c8d5 No message. 83 files changed. 2021-01-11 10:31:49 -06:00
Vortrex
7b72e8c695 Add biz items cmds 2021-01-09 22:34:45 -06:00
Vortrex
ec621002af Use entity data utils 2021-01-08 06:32:22 -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
e2afccf9d6 Dont use removeFromWorld 2021-01-05 01:22:11 -06:00