Skip to content

Releases: it-scripts/it-drugs

v1.3.2

14 Jan 02:38
fcb1edb
Compare
Choose a tag to compare

v1.3.2

This updates fixes the max plant issues and some errors regarding to qb-core and ox_inventory

IMPORTANT

If you are using ox_inventory please update all it-drugs items!

You can find the new list in the docs:
https://docs.it-scripts.com/it-drugs/installation#items-for-it-drugs

Make also sure that the name of the it-drugs folder ist it-drugs

Files to change:

  • Please update all files

(You don´t have to replace your config.lua)

Bug Fixes

  • The script is now counting the plants of the player
  • Old ox_inventory version should no work with it-drugs

Changes

What's Changed

Full Changelog: v1.3.1...1.3.2

v1.3.1

17 Dec 01:44
5096fab
Compare
Choose a tag to compare

v1.3.1

This updates fixes some errors and added all new drugs to the seed dealer

IMPORTANT

If you are using ox_inventory please update the drug items

You have to add consume = 0 to every drug!!

["cocaine"] = {
    label = "Cocaine",
    weight = 20,
    stack = true,
    close = true,
    description = "A little bag of cocaine",
    consume = 0, -- ADDED
    server = {
	    export = "it-drugs.cocaine"
    },
    client = {
	    image = "cocaine.png",
    }
},
	
["joint"] = {
    label = "Joint",
    weight = 10,
    stack = true,
    close = true,
    description = "Joint",
    consume = 0, -- ADDED
    server = {
	    export = "it-drugs.joint"
    },
    client = {
	    image = "joint.png",
    }
},

Files to change:

  • All local files
  • cl_selling
  • cl_dealer
  • sv_dealer
  • sv_usableitems.lua
  • config.lua (if you want the new drugs be added to the seed dealer)

Bug Fixes

  • Drug item is no longer removed if you can't take a drug
  • Fix some missing local strings
  • Fix issue #33

Changes

  • Update Zone checker
  • Add some new local strings
  • Update the config file

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

03 Dec 22:27
854dac1
Compare
Choose a tag to compare

v1.3.0

Now that I have rewritten almost the entire script logic, fixed many bugs and even written new features it is time to officially release version 1.3.0

If you should still find bugs report them to us in the Discord Server

So what has changed?

Important: This list includes all changes between verion 1.2.4 and 1.3.0 so all beta changes are included

How to update?

If you are updating from verion 1.2.4 please follow this guide: https://docs.it-scripts.com/it-drugs/update#v124-to-v13x
If you are updating from verion 1.3.0betaX please follow this guide: https://docs.it-scripts.com/it-drugs/update#v13betax-to-130

Bug Fixes

  • Fix known Database issues
  • New locals
  • Better Webhook System
  • Resolve Problems with ox_target
  • Animation fix
  • Fix plant health calculation
  • And much more

Changes

  • Added more plant models
  • Added support for qbox
  • Added more options to the plants
  • Added more options to the tables
  • Update the dealer
  • Added support for qs-inventory
  • Added support for codem-inventory
  • Remove all debug messages from release version

Planed features

  • More custom models
  • More options to the proccessing-tables
  • Fixed locations for processing

Check this for more infos: https://github.com/orgs/it-scripts/projects/1

Updated the Wiki for Version 1.3.0

Check it out: https://docs.it-scripts.com

New Contributors

Full Changelog: v1.2.4...v1.3.0

v1.3.0beta7

13 Oct 20:48
4c6d662
Compare
Choose a tag to compare
v1.3.0beta7 Pre-release
Pre-release

v1.3.0beta7

This update add's some quality of live changes

With this version we have added custom props for the processing tables so that the taget does not overwrite props from other scripts.

ATTENTION
If the script is restarted while a player is looking at a table the player will crash, this problem will be fixed with one of the next updates

Prop names:

  • freeze_it-scripts_empty_table
  • freeze_it-scripts_weed_table
  • freeze_it-scripts_coke_table
  • freeze_it-scripts_meth_table

Please replace following files:
Please replase all files, if you don´t want to replace the config check:
v1.3.0beta6...v1.3.0beta7

Whant to know about the beta? Check this

What's Changed

Bug Fixes

  • Fix the local health calculation of the plants
  • Add missing events for no target support
  • Fix processing bug
  • Fix some messages
  • Remove more junk code

Changes

  • Add custom table props
  • Add effects to recipes
  • Add required item for destroying a plant
  • Add option for non removable ingredients

New Contributors

Full Changelog: v1.3.0beta6...v1.3.0beta7

v1.3.0beta6

16 Sep 20:01
Compare
Choose a tag to compare
v1.3.0beta6 Pre-release
Pre-release

v1.3.0beta6

This update fixes all problems and errors that occur in connection codem_inventory. Also fix some old code.

Please replace following files:

  • client/cl_target
  • the bridge folder

Whant to know about the beta? Check this

What changed?

Bug Fixes

  • Fix errors that occur in connection codem_inventory
  • Fix target deletion

Full Changelog: v1.3.0beta5...v1.3.0beta6

v1.3.0beta5

15 Sep 23:26
Compare
Choose a tag to compare
v1.3.0beta5 Pre-release
Pre-release

v1.3.0beta5

This update fixes all problems and errors that occur in connection with the Required Item Add-On. In addition, a few other small changes have been made.

If you are using ox_inventory please replace the items from the script with the updated one:
https://docs.it-scripts.com/it-drugs/installation

Also if you add drugs with ox_inventory please read this:
https://docs.it-scripts.com/it-drugs/adjustments/drugs

Please replace following files:

  • client/cl_planting
  • server/sv_planting
  • the bridge folder
  • the local folder

Whant to know about the beta? Check this

What changed?

Bug Fixes

  • Fix Required Item bugs
  • Fix drugs regestration with extra effects with ox_inventory
  • Fix issue with getting the item Label
  • Fix issue with ending animations
  • Remove console spam ^^
  • Fix target remove function

Changes

  • Add support for qbox
  • Added Hebrew local thanks @TickerDev

Full Changelog: v1.3.0beta4...v1.3.0beta5

v1.3.0beta4

08 Sep 00:26
Compare
Choose a tag to compare
v1.3.0beta4 Pre-release
Pre-release

v1.3.0beta4

Since some users have problems with the sales zones, there is now a temporary fix for this. Just enable Config.ManualZoneChecker in the config

Please replace following files:

  • client/cl_selling
  • shared/config
  • all bridge files

Whant to know about the beta? Check this

What changed?

Bug Fixes

  • Fix job getter
  • temp fix for sell zones

Changes

  • Re added support for qs-inventory

Full Changelog: v1.3.0beta3...v1.3.0beta4

v1.3.0beta3

07 Sep 19:55
Compare
Choose a tag to compare
v1.3.0beta3 Pre-release
Pre-release

v1.3.0beta3

Fixes problems with the newest version of ox_target

Please replace following files:

  • client/cl_target
  • client/cl_processing
  • server/processing
  • all local files

Whant to know about the beta? Check this

What changed?

Bug Fixes

  • Fix problems with ox target
  • fix target autodetect
  • fix missing locals
  • edit wrong comments in the config.lua

Changes

  • Add fr as language

Full Changelog: v1.3.0beta3...v1.3.0beta3

v1.3.0beta2

05 Sep 21:51
Compare
Choose a tag to compare
v1.3.0beta2 Pre-release
Pre-release

v1.3.0beta2

Only fixes small error with the bridge

If you want to update you only have to replace the bridge folder

Whant to know about the beta? Check Check this

What changed?

Bug Fixes

  • fix errors when manualy setting framework and inventory

Changes

  • Add some mor debug messages

Full Changelog: v1.3.0beta1...v1.3.0beta2

v1.3.0beta1

04 Sep 23:55
Compare
Choose a tag to compare
v1.3.0beta1 Pre-release
Pre-release

v1.3.0beta1

It took a long time but the first beta of version 1.3.0 is ready. I have rewritten the whole core code of the script to make it easier to add new content to the script in the future

Why the beta?

This time so much has been changed and added to the script that I don't know if everything has been tested enough to release it as a final version. Therefore it is only a beta.

Attention

Due to all the changes to the code there may be game breaking bugs. I therefore ask all users to test this version of the script only on a test server. Those who test this version on their FiveM server do so at their own risk.

Update

To use the update on your server you have to delete the database tables that have to do with it-drugs, to do this use:

DROP TABLE IF EXISTS `drug_plants`;
DROP TABLE IF EXISTS `drug_processing`;

No Target System

This version of the script can also be used without a target system, but currently there is no possibility to sell drugs to NPCs.

I have found a bug

You have found a bug super on my Discord there is a new channel with the name 🐞・report-bug there you can report bugs to this version of the script.

Discord Server: https://discord.it-scripts.com
Channel Link: https://discord.com/channels/1082788206459764837/1279516803399290950

What changed?

Bug Fixes

  • fix tables despawning
  • fix #18
  • fix #19
  • fix bridge functions

Changes

  • Added support for codem inventory (untested)
  • Added support origin_inventory (untested)
  • You can now sell items to dealers
  • Add support for non target system server
  • Add support for more then one webhook
  • Now you can sell drugs to npcs everywhere
  • Not you can change the money type when buying and selling items

Code Statistics:

Date : 2024-09-05 01:35:02
Total : 40 files, 6329 codes, 446 comments, 1119 blanks, all 7894 lines

language files code comment blank total
Lua 36 6,164 446 1,081 7,691
YAML 2 82 0 3 85
Markdown 1 67 0 35 102
SQL 1 16 0 0 16