GithubHelp home page GithubHelp logo

swkeep / keep-oilwell Goto Github PK

View Code? Open in Web Editor NEW
121.0 9.0 43.0 2.44 MB

Nopixel inspired oil company script/job

License: GNU General Public License v3.0

Lua 100.00%
fivem qbcore qbcore-framework

keep-oilwell's Issues

Pump Menu Blank

The pump menu is blank. Is this a known issue or just me?

image

Blinking props

So i noticed when a user flys in every sprop thats being spawned starts blinking, if i restart the script props are static but if you restart fivem its all on the blink again.

Help

I dont understand this

image

menuv/menuv.lua =
image

sql error

[ script:keep-oilwell] SCRIPT ERROR: @keep-oilwell/server/server_lib/Server_GlobalScirptData.lua:630: keep-oilwell was unable to execute a query!
[ script:keep-oilwell] Table 'zap765645-1.oilrig_cdu' doesn't exist
[ script:keep-oilwell] SELECT * FROM oilrig_cdu []

Not sure how to handle this. I executed the sql as it was, and even attempted to run it manually. The oilrig_cdu table is in.

Suggestion

i think it should be cool if you sell the oil

a couple more issues.

First one when you change the pump speed, everyone sees multiple pumps all stacked on top of each other.

2nd See the images
oil1
OIL2

getting 2 client side errors

Sorry, heres my next one :(

I dont mean to be a pain with the issues! it looks like a really indepth job and id like to get it to work

[ script:drp-oiljob] Error loading script @menuv/menuv.lua in resource drp-oiljob: @menuv/menuv.lua:23: assertion failed!
[ script:drp-oiljob] stack traceback:
[ script:drp-oiljob] [C]: in function 'assert'
[ script:drp-oiljob] @menuv/menuv.lua:23: in main chunk

view info sometimes returns different parts status for different people

After debuging the script
image

with

QBCore.Functions.CreateCallback('keep-oilwell:server:oilwell_metadata', function(source, cb, oilrig_hash)
local oil_well = GlobalScirptData:getByHash(oilrig_hash)
print(oil_well.metadata.part_info.belt, oil_well.metadata.part_info.polish, oil_well.metadata.part_info.clutch)
if not oil_well then cb(false) return end
cb(oil_well.metadata)
end)

it seems to get called 1x for each oilrig when you open the menu, and for some people it returns the wrong well even tho they sending in the right hash?

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.