Commit Graph

85 Commits

Author SHA1 Message Date
Vortrex
41a7d05bec More local vars for optimization 2022-05-31 08:59:09 -05:00
Vortrex
f11b634c8b Use local vars for item use processing 2022-05-31 08:47:38 -05:00
Vortrex
ceac2b6a61 Use locale string for badge info header 2022-05-30 07:41:00 -05:00
Vortrex
095abe2e20 Show error if too far away to repair a vehicle 2022-05-24 01:18:20 -05:00
Vortrex
1305184db6 Fix showing wrong inventory 2022-05-22 23:35:55 -05:00
Vortrex
5fab7c3162 Update item.js 2022-05-22 13:37:09 -05:00
Vortrex
374bbf63c9 Fix item type data util returning undefined 2022-05-20 17:35:16 -05:00
Vortrex
1c5ae513a8 Don't cache ground plants (not finished) 2022-05-19 18:56:03 -05:00
Vortrex
46cb86d25b Optimizations 2022-05-17 08:55:55 -05:00
Vortrex
9e66e0c227 Start working on logic for new items 2022-05-15 22:28:01 -05:00
Vortrex
7e53994a5a Use curly brackets on switch case blocks 2022-05-15 04:14:38 -05:00
Vortrex
0543a58597 Bunch of stuff 2022-05-12 16:41:32 -05:00
Vortrex
8890b7e5cc Use getPlayerHouse 2022-05-11 04:01:40 -05:00
Vortrex
8e643e376c Optimizations 2022-05-10 17:54:53 -05:00
Vortrex
70cd4a0408 Log bugged items only 2022-05-03 12:27:00 -05:00
Vortrex
71bf9bb029 Fix wrong inventory being shown 2022-05-03 12:04:47 -05:00
Vortrex
0d78e937c0 Allow admins to view other players inventory 2022-05-01 15:05:47 -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
2ed4f0ab7b Use player utils 2022-04-09 23:59:58 -05:00
Vortrex
f877235bf8 Add JSDoc + use locale strings for admin announce 2022-03-25 02:21:50 -05:00
Vortrex
e3f44d301d Use index to save item data + add JSDoc info 2022-03-17 08:03:56 -05:00
Vortrex
efc72dffe1 Mass convert indentation + add ped speech cmd 2022-03-16 17:02:33 -05:00
Vortrex
94a8bf50ac Fix locale string arg 2022-03-13 05:29:22 -05:00
Vortrex
d9ae395254 Rename game config util 2022-03-06 01:17:37 -06:00
Vortrex
b1a6e68a05 Fix wrong data being sent to player hotbar update func 2022-02-26 21:31:00 -06:00
Vortrex
a0517b389a Fix weapon not equippable when no ammo 2022-02-18 15:36:42 -06:00
Vortrex
348d8d9fe9 Consume ammo item when equipping empty weapon 2022-02-05 10:55:34 -06:00
Vortrex
83d0a9e2b5 Fix delete item util 2022-02-05 00:13:26 -06:00
Vortrex
8222330952 Fixes for damage system 2022-01-19 13:01:41 -06:00
Vortrex
a34b802f2d Woops don't use get param util 2022-01-17 07:44:32 -06:00
Vortrex
ef2fa8a72c Add more locale strings 2022-01-13 17:31:11 -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
39e9664ae0 Use new force player anim util for item actions 2022-01-09 05:30:00 -06:00
Vortrex
0728c1f9e6 Use anims for item actions 2022-01-06 13:35:50 -06:00
Vortrex
d67c8a0099 Implement ammo items 2022-01-04 20:03:58 -06:00
Vortrex
b2158839b7 Fix additem cmd 2021-12-22 23:36:48 -06:00
Vortrex
d8276a8160 Simplify some item chatbox displays 2021-12-03 10:22:24 -06:00
Vortrex
3e9b09f0f9 Fix wrong index being used for storage items 2021-11-28 22:47:35 -06:00
Vortrex
c10daa926b Fix food/drink setting HP to 0 2021-11-25 04:16:45 -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
02cbdf61ef Fix using some items 2021-10-25 13:04:50 -05:00
Vortrex
2968e10e7d Fix job equipment bug, add badge item usetype 2021-10-15 22:39:19 -05:00
Vortrex
0b7bb4c504 Start working on phone item usage 2021-10-11 19:31:50 -05:00
Vortrex
c3e9d43561 Fix delplritem admin cmd 2021-10-02 18:22:31 -05:00
Vortrex
0b186c9a08 Save item value 2021-09-30 18:55:24 -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