Commit Graph

69 Commits

Author SHA1 Message Date
Vortrex
b6ffbf0381 Console output prefix 2023-02-07 15:10:49 -06:00
Vortrex
9e5e410582 Remove garbage collector stuff 2022-12-21 08:19:05 -06:00
Vortrex
bd29a9f7d5 Change copyright, consts, and net events prefix 2022-12-19 10:11:10 -06:00
Vortrex
757df5db86 Don't force snow when starting/stopping 2022-11-02 06:51:34 -05:00
Vortrex
a817db618b Custom weather array 2022-10-29 10:06:57 -05:00
Vortrex
ee4d4e3621 Chance of snow by month 2022-10-25 22:40:44 -05:00
Vortrex
472e6c7177 Fix Mafia 1 map day/night cycle 2022-09-29 11:11:55 -05:00
Vortrex
22f6ba32af Add map cycle for MafiaC, based on hour 2022-09-22 05:23:45 -05:00
Vortrex
655a784d27 Use new AGRP prefix on console msg 2022-09-20 02:27:25 -05:00
Vortrex
2ce374c28f Remove extra game check 2022-09-15 05:10:50 -05:00
Vortrex
51749606ec Day/night cycle for Mafia 2022-09-09 04:42:45 -05:00
Vortrex
9539eb20f8 Update header 2022-07-08 14:03:55 -05:00
Vortrex
340c96eab2 Check if time is supported before setting 2022-07-05 13:03:06 -05:00
Vortrex
2f7f3a1b00 Change net event and const prefix 2022-06-30 18:29:00 -05:00
Vortrex
763241d2ce Optimizations, disable some timers when server empty 2022-06-26 14:36:35 -05:00
Vortrex
ad672a5912 Const naming 2022-06-26 13:32:25 -05:00
Vortrex
1e4bc2a19d Disable random tips until the locale replace is finished 2022-06-17 08:04:37 -05:00
Vortrex
673942e945 Use player data to get locale ID 2022-06-14 17:35:18 -05:00
Vortrex
519928bf6b Use locales for random tips (unfinished) 2022-06-12 09:20:08 -05:00
Vortrex
0543a58597 Bunch of stuff 2022-05-12 16:41:32 -05:00
Vortrex
56bae04e0f Rename some utils to align with code style 2022-04-23 15:13:34 -05:00
Vortrex
f9fd26afa3 Rename saveall funcs 2022-04-10 00:02:18 -05:00
Vortrex
efc72dffe1 Mass convert indentation + add ped speech cmd 2022-03-16 17:02:33 -05:00
Vortrex
1812043e9c Check player init 2022-03-08 10:30:07 -06:00
Vortrex
3adfb7bf3d Remove realtime stuff for now 2022-03-07 02:27:49 -06:00
Vortrex
f1443f2945 Some config fixes 2022-03-06 00:02:02 -06:00
Vortrex
4d989b66cc Update for veh respawn timer 2022-02-10 17:59:59 -06:00
Vortrex
5bc345c350 Fix wrong variable used in vehicle respawn timer 2022-02-04 10:39:59 -06:00
Vortrex
bc5e164ade Fix vehicle inactive respawn 2022-01-31 12:33:09 -06:00
Vortrex
5691e9e1db Save jobs on save all func 2022-01-21 20:33:48 -06:00
Vortrex
e23b9920ee Add debug console msgs + update nametags 2022-01-06 13:33:35 -06:00
Vortrex
3de1e1483f Fix veh respawn time 2022-01-04 15:14:43 -06:00
Vortrex
f86f1c7038 Inactive veh respawn timers 2021-12-11 20:16:56 -06:00
Vortrex
1c51c01db6 Fix veh buyprice+fix clan rank+use pascalcase flag names 2021-11-25 07:35:32 -06:00
Vortrex
2eee2a8667 Fix server info not saving 2021-11-25 04:17:55 -06:00
Vortrex
468d84a05b Woops wrong name 2021-11-24 07:23:12 -06:00
Vortrex
8f4ac90dc6 Locale stuff + fixes 2021-11-19 19:27:34 -06:00
Vortrex
2e753b4d87 Use game namespace and new const 2021-11-16 02:00:54 -06:00
Vortrex
342e6a497f Fix wrong var on payday biz till increase 2021-10-15 22:41:38 -05:00
Vortrex
698fd4b54b Add 1k to biz till on paydays 2021-10-06 15:44:07 -05:00
Vortrex
438ea59adf Optimize vehicle rent check timer 2021-10-02 16:50:02 -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
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
e2d744eac5 Don't save data if interval saving is paused 2021-08-11 09:40:29 -05:00
Vortrex
43f121e035 Payday timer to 30 min, random tips to 10 min. 2021-07-25 22:18:33 -05:00
Vortrex
9ce391ef9a Tons of fixes, change netevent prefix. 2021-07-18 20:39:49 -05:00
Vortrex
fa1bda0429 Fix veh rent timer, add game time fix 2021-07-13 00:56:17 -05:00
Vortrex
7b44801a20 Rebrand 2021-06-05 17:31:17 -05:00