Code Monkey home page Code Monkey logo

linden_inventory's Introduction

Click the link above for information on setup, installation, and improving compatibility with other resources.

Showcase | Discord | Media

DEVELOPMENT ENDED

Latest inventory from lindedn inventory..(NOT MY WORK)

If you require the items list in another resource, rather than querying the database
--MySQL.ready(function()
--	local items = MySQL.Sync.fetchAll('SELECT * FROM items')

MySQL.ready(function()
	local items = exports.linden_inventory:Items()




What's changed?

This information concerns the initial release of linden_inventory

Despite all the changes I've implemented to hsn-inventory, there's a lot that I hadn't changed since I didn't want to break things I wasn't familiar with. There was a lot of functions or events performing the same (or very similar) tasks, sometimes only being used once if at all; my biggest issue though was with the inventory data saving. I've moved the project so that a still incomplete but mostly working version of hsn-inventory can remain as it is, but without any future support by myself.

  • Cleaned up or optimised many functions and events
  • Changed data formatting when sending information between client and server (a lot of data was sent twice or fragmented)
  • Moved config around to make things a little more accessable, moved some tables into config where appropriate
  • Global inventory tables for shops to load from, instead of entering the data for each
  • Support for randomising prices at each shop at resource startup (disabled)
  • Removed defined variables that weren't being called
  • Inventories are now stored in a single table to make referencing data a lot less of a hassle
  • Inventory data saving is more agnostic (don't need separate statements for each inventory type)
  • Cleaner transition from regular inventory to a drop and vice versa
  • Drops should be created and removed properly, and existing drops are loaded to client at login
  • Improved performance
  • Support for setting a players max weight
  • New exports for use with xPlayer functions, to remove the need for modifying the framework in the future
  • Full syncing of accounts data with inventory
  • Better error catching and a method of preventing the resource from setting/saving data when it isn't loaded correctly
  • Mark when an inventory is changed and only query the database if items have moved
  • Better tracking of an inventory's state (if it's open)
  • And more... (it's hard to remember every change made over 48 hours)




Legal Notices

Linden Inventory for ESX Legacy

Copyright (C) 2021 Linden, Hasan

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.
If not, see https://www.gnu.org/licenses/

This resource is a derivative of hsn-inventory, released February 2021.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.