Commit Graph

117 Commits

Author SHA1 Message Date
Vortrex
d42625c861 Fix disconnect discord echo 2022-05-17 08:54:47 -05:00
Vortrex
586ba1e630 Don't send locale strings (not used anymore) 2022-05-15 04:21:04 -05:00
Vortrex
eb55a60db9 Log deaths 2022-05-10 17:29:30 -05:00
Vortrex
9755f3d448 Don't abort veh entry when locked (bugs out the player) 2022-04-30 13:19:45 -05:00
Vortrex
29856cf03e Server-configurable nametag distance 2022-04-30 13:18:26 -05:00
Vortrex
208141f3ed Fix connecting message 2022-04-28 16:28:41 -05:00
Vortrex
b1256193ef Rename getServerGame to getGame to match client 2022-04-28 11:32:35 -05:00
Vortrex
d5e0da1a79 Don't clear arrays for resource stop 2022-04-26 10:19:48 -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
50d2dfe4ba Remove initial msgs for in-dev and stuff 2022-04-13 00:01:05 -05:00
Vortrex
8d5ea9a31f Add announces for connect/disconnect 2022-04-12 09:00:42 -05:00
Vortrex
7aacf876da Use utils + formatting 2022-04-12 06:30:30 -05:00
Vortrex
3e9123780c Fix disconnect discord message 2022-04-10 00:00:11 -05:00
Vortrex
2717db79c1 Don't use command event 2022-04-06 16:37:27 -05:00
Vortrex
4bdcbd30c0 Send some locale strings to client for labels 2022-04-05 23:52:44 -05:00
Vortrex
d2dbdf2450 Tweaks for MafiaC compatibility 2022-03-29 21:05:48 -05:00
Vortrex
4871a7ba9f Fix for radio station when entering vehicle 2022-03-28 19:47:47 -05:00
Vortrex
efc72dffe1 Mass convert indentation + add ped speech cmd 2022-03-16 17:02:33 -05:00
Vortrex
297ab6f8f8 Custom disconnect reason 2022-03-15 04:17:58 -05:00
Vortrex
5ce26de7c3 Format 2022-03-14 05:16:23 -05:00
Vortrex
1a1f5d4f5d Only send businesses for IV (for now) 2022-03-09 05:18:08 -06:00
Vortrex
c8d8a84c5d Fix server enter veh event for IV 2022-03-09 02:50:19 -06:00
Vortrex
787a96ec36 Player ped network ID for IV 2022-03-08 01:10:02 -06:00
Vortrex
bdee71440f Business/house blips & pickups for IV 2022-03-07 07:37:41 -06:00
Vortrex
d9ae395254 Rename game config util 2022-03-06 01:17:37 -06:00
Vortrex
9f35fbcd33 Move chat processing to chat.js 2022-02-13 19:35:20 -06:00
Vortrex
6e518c3062 Fix colours in veh rent msg + kick all clients on unload 2022-02-10 17:59:46 -06:00
Vortrex
ae32861b44 More vehicle purchase stuff 2022-01-31 13:46:50 -06:00
Vortrex
bef9f0bf55 Fix stuck after death + some misc fixes 2022-01-31 12:29:52 -06:00
Vortrex
a04d145327 Update player nametags on spawn 2022-01-06 13:35:40 -06:00
Vortrex
9be3f2e993 Formatting 2022-01-04 20:03:29 -06:00
Vortrex
a7f6be0f9d Fix veh respawn time when occupied 2022-01-04 15:12:48 -06:00
Vortrex
dccefe335f Revert "Don't clear temp peds/vehicles"
This reverts commit 7a5167743b.
2021-12-30 16:03:26 -06:00
Vortrex
7a5167743b Don't clear temp peds/vehicles 2021-12-30 12:12:30 -06:00
Vortrex
a49dc41096 Set veh respawn delay on ped exit 2021-12-11 20:16:40 -06:00
Vortrex
988bc24b19 Add handler for element stream out 2021-11-28 22:46:50 -06:00
Vortrex
fd0a5e3baf Fix wrong skin on death 2021-11-25 04:16:22 -06:00
Vortrex
14cabc2e61 Don't use debug log level for conn/disconnect 2021-11-24 07:22:19 -06:00
Vortrex
8f4ac90dc6 Locale stuff + fixes 2021-11-19 19:27:34 -06:00
Vortrex
2f1dd55b29 Fixes 2021-11-16 02:04:40 -06:00
Vortrex
37d572ffa6 Save data on resource stop + msg for route jobs 2021-10-25 13:03:55 -05:00
Vortrex
c4dab3238a Use emoji in console log 2021-10-06 15:42:42 -05:00
Vortrex
257a662d6a Don't use timers for keybind send or element sync 2021-10-02 18:23:01 -05:00
Vortrex
94886f7515 Remove force update veh int 2021-10-02 16:49:07 -05:00
Vortrex
b9a3dcac63 Move command event to events.js, remove ped spawn check 2021-10-02 16:48:19 -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
acfc788371 Lots of changes
* Add optional offset for some anims (like sitting)
* Fix int/vw chat check not working
* Disable ambience utils for now
* Add ped stop anim util
* Fix enter veh messages
* Fix radio stream not stopping when exiting vehicle
* Fix job items bugging out
* Don't save job equipment items
* Switch to inactive item slot when going on/off duty
* Fix gotospawn not working with int/vw
* Added anims for offset use
* Added element ID & syncer utils
* Fixed wrong job name being shown when setting job vehicle rank
* Added anim move type constants
* Added element collision net events
* Added is any GUI active util
* Fixed showing player list when a GUI is active
2021-09-13 07:22:00 -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