HighLeaks
Help

0r-craft + 0r-lib | Pack Leak

Striker9090 Striker9090 Started 53 replies 10,447 views 50 Credits

Download Link Locked

Pay 50 credits to unlock the download link for 24 hours.

Login to unlock
#1
0r-Craft + 0r-lib 0r Craft with 0r lib in one pack, for ESX and QBCore. Works with Ox Inventory, QB Inventory. It's completely open source. This pack its 100% work, same my other post. If you liked it, please leave a comment, thank you! Preview:


#41
[HEADING=2]

n i c e o n e

[/HEADING]
#42




Striker9090,

wrote:



0r-Craft + 0r-lib

0r Craft with 0r lib in one pack, for ESX and QBCore. Works with Ox Inventory, QB Inventory.

It's completel...




This leak is so nice !!!
#43
this script its good for craft
#44




Striker9090,

wrote:



0r-Craft + 0r-lib

0r Craft with 0r lib in one pack, for ESX and QBCore. Works with Ox Inventory, QB Inventory.

It's completel...




good one nice bro asowm
#45
nice thanks for the share
#46
Não poderia ter superado esse momento sem sua ajuda. Agradeço de coração!
#47




soundx,

wrote:



0r_lib/server.main.lua

There are some problems, add some and let's put it together.



Resmon = {}

Resmon.Callbacks = {}

Resmon.UsableItems = {}



-...




go to 0r-craft and go to the bottom of page and replace this code, it is working without the lib, make sure you insert database file



function Koci.Server.Craft:InsertQueueToDB(xPlayer, item, canItBeCraftable)

if not xPlayer or not item then return -1 end

local user = xPlayer.identifier or xPlayer.PlayerData.citizenid or "unknown"

local name = item.name or "unknown"

local label = item.label or "Without name"

local count = item.count or 1

local image = item.image or ""

local ingredients = item.ingredients or {}

local encodedIngredients = json.encode(ingredients)

local propModel = item.propModel or ""

local price = item.price or 0

local canCraft = canItBeCraftable and 1 or 0

local status = item.status or "waiting"

local timestamp = os.date('%Y-%m-%d %H:%M:%S')

local insertId = -1

exports.oxmysql:insert([[

INSERT INTO `0r_crafting_queue`

(`user`, `name`, `label`, `count`, `image`, `ingredients`, `propModel`, `price`, `canItBeCraftable`, `status`, `created_at`, `updated_at`)

VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

]], {

user, name, label, count, image, encodedIngredients, propModel, price, canCraft, status, timestamp, timestamp

}, function(id)

insertId = id or -1

print(('[Crafting] Inserting in database %s | Item: %s | ID: %s'):format(user, name, insertId))

end)



return insertId

end[/crafting][/item][/itemname][/name][/name][/name]
#48




DAdada,

wrote:



go to 0r-craft and go to the bottom of page and replace this code, it is working without the lib, make sure you insert database file



function Koci.Se...






You have some DB inconsistencies in your code. Here is the correct version.



server -> function.lua

change



function Koci.Server.Craft:InsertQueueToDB(xPlayer, item, canItBeCraftable)

if Koci.ResmonLib then

local _id = Koci.ResmonLib.Craft.InsertQueueToDB(xP...




replace with



function Koci.Server.Craft:InsertQueueToDB(xPlayer, item, canItBeCraftable)

if not xPlayer or not item then return -1 end

local user = xPlayer.identif...






client -> variables.lua

server -> variables.lua

delete



Koci.ResmonLib = Utils.Functions:GetResmonLib()






shared -> utils.lua

delete



function Utils.Functions:GetResmonLib()

if self:hasResource("0r_lib") then

return exports["0r_lib"]:GetCoreObject().Lib

else

Creat...


[/crafting][/crafting]
#49
nice leak is it working
#50




DAdada,

wrote:



go to 0r-craft and go to the bottom of page and replace this code, it is working without the lib, make sure you insert database file



function Koci.Se...




is it for qb or esx serveur[/crafting]
#51
i love this hud .very cool
#52
What a great pack! Love it!
#53




Striker9090,

wrote:



0r-Craft + 0r-lib

0r Craft with 0r lib in one pack, for ESX and QBCore. Works with Ox Inventory, QB Inventory.

It's completel...




man im short 30 points 😥