Commit Graph

89 Commits

Author SHA1 Message Date
Vortrex
a69aec9222 Show help text on how to select & create char 2022-07-17 04:25:45 -05:00
Vortrex
cd87b90ac7 Use name from database 2022-07-11 17:39:36 -05:00
Vortrex
9539eb20f8 Update header 2022-07-08 14:03:55 -05:00
Vortrex
2f7f3a1b00 Change net event and const prefix 2022-06-30 18:29:00 -05:00
Vortrex
fe42541dab Disable old ped on char create stuff (was never finished) 2022-06-17 09:40:50 -05:00
Vortrex
62d9118604 Merge branch 'nightly' into organizing 2022-06-14 05:56:46 -05:00
Vortrex
3acec50c59 Fix for switchchar display 2022-06-09 15:36:06 -05:00
Vortrex
a8f5eb6a9a Use simpler chunked list for characters 2022-06-07 10:25:15 -05:00
Vortrex
da9686bee4 Fix wrong caps in var name 2022-04-28 16:28:30 -05:00
Vortrex
b1256193ef Rename getServerGame to getGame to match client 2022-04-28 11:32:35 -05:00
Vortrex
d2dbdf2450 Tweaks for MafiaC compatibility 2022-03-29 21:05:48 -05:00
Vortrex
f877235bf8 Add JSDoc + use locale strings for admin announce 2022-03-25 02:21:50 -05:00
Vortrex
efc72dffe1 Mass convert indentation + add ped speech cmd 2022-03-16 17:02:33 -05:00
Vortrex
e912a97d83 Some testing stuff 2022-03-14 05:15:48 -05:00
Vortrex
ef4a2877d0 Restructure (unfinished) 2022-03-12 05:20:14 -06:00
Vortrex
9a09dcbe3c Testing 2022-03-08 15:01:36 -06:00
Vortrex
eb644becca Add JSDoc for character data util 2022-03-08 01:09:26 -06:00
Vortrex
d9ae395254 Rename game config util 2022-03-06 01:17:37 -06:00
Vortrex
cac9c34a03 Change new char fail from alert to error 2022-03-03 19:17:20 -06:00
Vortrex
8e225ed480 Fixes for IV 2022-02-26 22:30:39 -06:00
Vortrex
e44c5b78d0 Use proper skin ID when showing char select GUI 2022-02-04 10:39:42 -06:00
Vortrex
b65eac894b Remove obsolete inhouse/biz stuff from sacct 2022-01-19 13:02:42 -06:00
Vortrex
64b3628b25 Use cmd arg/param util 2022-01-09 17:42:57 -06:00
Vortrex
f1c6302385 Remove old char inhouse/inbiz data save 2022-01-09 05:28:47 -06:00
Vortrex
3808d832c5 Shorten spawn delay + use stop stream util 2021-12-22 23:36:18 -06:00
Vortrex
5877948d4e Don't use old time diff util 2021-12-11 20:17:50 -06:00
Vortrex
1c51c01db6 Fix veh buyprice+fix clan rank+use pascalcase flag names 2021-11-25 07:35:32 -06:00
Vortrex
384b7d5553 Use new switch char util 2021-11-24 07:23:04 -06:00
Vortrex
2f1dd55b29 Fixes 2021-11-16 02:04:40 -06:00
Vortrex
5aa414d529 Fix for wrong table util used for new char skin 2021-10-25 13:07:02 -05:00
Vortrex
8375e39bfd Use allowed skin id util 2021-10-15 22:41:06 -05:00
Vortrex
2733197758 Don't use timer for player spawn event 2021-10-02 16:49:54 -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
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
fa45dfef9d Fix sacct create query (needs to be updated for new saving util) 2021-08-24 19:56:17 -05:00
Vortrex
88ba26e529 Fix some data saving and wrong label setting 2021-08-15 12:15:34 -05:00
Vortrex
4fe9c45e0a Mafia Connected support 2021-08-14 20:49:47 -05:00
Vortrex
55bc67be70 Save house/biz on disconnect 2021-07-25 22:18:11 -05:00
Vortrex
9ce391ef9a Tons of fixes, change netevent prefix. 2021-07-18 20:39:49 -05:00
Vortrex
de5e16a857 Stop steaming music on spawn 2021-07-13 00:55:53 -05:00
Vortrex
48f80afb0d Replace AG references with server name str replace 2021-06-28 16:30:46 -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
3047cc3601 Check for invalid chars in name and cap the first letters 2021-04-28 21:29:14 -05:00
Vortrex
42ec0058ac Fix sacct create query 2021-04-24 11:01:42 -05:00
Vortrex
111179249a Load/save sacct svr-specific data 2021-04-23 18:20:18 -05:00
Vortrex
96102a2035 Fix broken char last played text 2021-04-20 21:34:28 -05:00
Vortrex
cf06462d7b Use newchar skin 2021-04-19 18:53:44 -05:00