#Crypto Miner System - QBCORE

213 messages · Page 1 of 1 (latest)

icy crest
#

Hello people!
I am currently developing a free crypto miner for qbcore, as I have yet to find a free one which works.
It utilizes ox_lib with the choice of either qb-target or ox-target. Keep in mind it is in very early development, the main crypto system has not been created yet. Thank you all!

Preview:
https://www.youtube.com/watch?v=ohPHNCPLdt4

Image:
https://cdn.discordapp.com/attachments/678669785482919946/1143989915646963763/RazedCryptoMining.png

https://github.com/planeklm/razed-cryptomining/

GitHub

An advanced crypto mining simulator for qbcore. Contribute to planeklm/razed-cryptomining development by creating an account on GitHub.

neat pine
#

Looks awesome! Keep up that good work!

karmic brook
#

This looks really good, would be really cool if it could be configurable as an item to be added to ps-housing, so people can actually have like a server n stuff but yeah 100% looks really good keep the good work up man

delicate sparrow
icy crest
icy crest
#

Crypto Miner System - QBCORE

icy crest
#

New update: It's now functional and a simple crypto mining system is in place as well as more features like withdrawal and images, also added a prop for ps-housing which is the server cabinet - this will be expanded on in the future

#

The sql provided will record players who bought the machine and allow them to use it, even after server restarts.

karmic brook
#

This is actually so good

#

holy

vivid harness
#

suggestion you can make it to work with items like cards and etc and to have a wear out rate when you push the machine to its limits to break faster etc

#

overall very good script keep up the work 5932pepe12

karmic brook
#

By chance could you have it so, people have to turn the crypto miner on? Every time they come into the server

icy crest
icy crest
icy crest
karmic brook
#

so basically the person cant exactly "Over-use" or "Exploit" it

#

Also you know what could be interesting?

#

Maybe possible having a totally different Item which isnt in Ps-housing

#

which has to be crafted by like Digiden workers or something?

icy crest
#

Which therefore can be crafted

karmic brook
#

That would be sick if possible

delicate sparrow
karmic brook
#

is there a way to change what Crypto you actually get in the script itself?

icy crest
#

I'll guess you'll have to edit that to add more crypto currency's.

karmic brook
#

as in so

#

My good friend Anna shared her resource to basically add it so instead of Qbit from Crypto sticks n stuff youll get

vivid harness
icy crest
icy crest
karmic brook
#

it still gives qbit

#

and like wayyyy to fast tbf

icy crest
karmic brook
#

Yeah just seen that,

#

1 thing I would say is eh

icy crest
karmic brook
#

Possibly intergrade Renewed-phone's crypto that would be really cool

karmic brook
#

would be soo cool tbf,

#

But yeah this is

#

crazy ngl

#

Been looking for something like this for, along time now so

#

Big props to you tho this is crazy

icy crest
icy crest
#

All options for it are in the config

karmic brook
#

Ohhhh yess mate

#

happily lmao

icy crest
#

Hopefully it works... 🙏

karmic brook
#

Yeah it works

#

1 thing I will say lmao, I went from 20 GNE, all the way up to 49 LMAO in the matter of like 10 seconds

#

of having the miner on kekw

icy crest
#

lmfao, ill try fix it

karmic brook
#

gonna try add some stuff of my own, just small stuff

#

your just insane to even do any of this LUL

icy crest
#

I'm bored 1529_pepe_ok

#

I'm gonna try make it the best I can then release it on fivem forums

#

So I appreciate all the feedback and suggestions

karmic brook
#

already this is madness lmao

icy crest
#

That should of fixed it.

karmic brook
#

have a look now ina min

#

just adding a small edit,

icy crest
#

If you want to do it, just replace the last function on the server.lua with this:

CreateThread(function() while true do Wait(1000) while MinerStatus do Wait(math.random(15000, 50000)) CryptoBalance = CryptoBalance + math.random(1, 3) Wait(math.random(2500, 5000)) end end end)

#

Just a small fix no need to redownload from github

delicate sparrow
karmic brook
#

Regarding the

#

eh

#

I want to try and basically have it so you get like

#

2-3 GNE per hour

#

but idk its just kinda confusing to me,

delicate sparrow
#

or h to ms

sage gazelle
#

Man I like how you added those images to the menu, that obviously is the work of ox-lib?

lunar vault
#

This looks amazing mate! Definitely gonna download this tomorrow

icy crest
oak oar
#

Looks sick, i would love so see that with the graphics card items, like starting with a bad 1060 and highest is the 4090 or something ( better = more crypto in less time ) same for quantity, like even more cards get your more crypto

#

i would save that on the ,,server'' prop and then u can redeem it, dont let it put the crypto into the account instantly, means if cops/players raid or rob your house, they can get that aswell

#

with like a minigame?

#

robbery + crypto heist

#

good scripts let me go insane with suggestions

delicate sparrow
oak oar
#
CREATE TABLE IF NOT EXISTS `cryptominers` (
    `citizenid` varchar(50) NOT NULL,
    `card` varchar(50) NOT NULL,
    PRIMARY KEY (`citizenid`)
)```
probalby something like this, and then null = GTX 480 , then 1 = 1060 , 2 = 2060, 3 = 3090, 4 = 4090, 5 = 4090 TI
#

or something

icy crest
delicate sparrow
icy crest
delicate sparrow
#

yea i like the idea

delicate sparrow
#

u can use this got it from eft items

icy crest
delicate sparrow
#

if you will use multiple ones (1060, 2060...) i can get some pics for you if you want

delicate sparrow
#

also got an idea if you like it
you add like a decay system to the mining pc or server and to save it from getting destroyed after some heavy usage u have to use item like thermal past ...

icy crest
rancid root
delicate sparrow
icy crest
delicate sparrow
#

no problem its just a small thing i can do

karmic brook
#

Wait Card support aPES_WTFEyes

icy crest
lunar vault
#

I'm eagerly following this thread. It looks amazing! Is this linked at all to qb-crypto? If not you could, if you wanted to, link it to that and then the way it fluctuates in price will work for selling it, additional realism so to speak. Could maybe have a "redeem" button that cashes those out and uses the QBCore.Shared.AddMoney feature with the "crypto" type?

#

Alternatively if there is a crypto system linked to it i would happily change over to it 🙂

icy crest
lunar vault
#

Ooh lovely :D

icy crest
#

New update: The GPU system now in effect, all gpus have different mining speeds and amount you can mine, everything gets stored in the database

delicate sparrow
#

will give it a try now

icy crest
delicate sparrow
#

no problem. m happy for helping

vivid harness
oak oar
#

Holy shit that turned out sick

vivid harness
#

yeee

#

very good for the eye like its super simple and looking good

icy crest
#

Currently working on the balance being saved to the database, so for example if the server crashes people won't loose their crypto.

icy crest
oak oar
#

No problem 🫶🏻

icy crest
#

New update: Balance now gets saved to database, and fixed decimals numbers not when withdrawing

delicate sparrow
icy crest
#

Some small new quality of life updates: Added current gpu the upgrade menu, added images when hovering over gpus, added emails when buying the miner or when installing the graphics card (gives a little bit of context)

delicate sparrow
weary gate
#

can this work without qb or renewed phone ?

delicate sparrow
#

Only for qbcore for now and yes it works without renewed phone

oak oar
weary gate
oak oar
#

Qs is dogshit

#

Its just qb-phone wirh changed css

#

And then sold

vivid harness
#

something like that

icy crest
#

New update:

2. Fixed random balance generation, before it would just generate the same amount over and over.
3. Fixed when withdrew the miner would carry on, therefore meaning you could withdraw the same amount again.
4. Added back buttons to the menus.```
#

I fixed all bugs hopefully 🥹

icy crest
delicate sparrow
#

Qs is bad

#

If you're going to spend that much on a phone just get LB

weary gate
weary gate
oak oar
#

😂

icy crest
#

New update:

2. Fix a few more small bugs.```
delicate sparrow
#

your working hard on it good to see that

vivid harness
delicate sparrow
whole urchin
#

Crazy man nice work 🤯

whole fjord
#

This needs integration with ps-housing! 😄 And a placeable mining-rig from the furniture menu 😄

Overall a very nice resource! nice work

delicate sparrow
#

the server is in the ps housing from the furniture menu

grand shore
#

any chance for this to be used with qs-phone?

grand shore
#

Yup feel the same lol

delicate sparrow
#

i got a new idea : adding ps dispatch integration for like high power usage in the area so police can go investigate the illegal mining (this idea needs a rework but i hop you got the point)

#

and when its counted illegal mining : when the player have a good gpu or more than 1 mining station

whole fjord
grand shore
delicate sparrow
grand shore
#

Can't sell scripts......

oak oar
#

❤️

dense stratus
#

I wish you the best luck bro

ornate geode
#

is it possible to change the coords?

oak oar
#

What coords?

ornate geode
#

where is the location of the miner

oak oar
#

Its just a prop u need to place

#

Ps housing for example

whole urchin
karmic brook
whole urchin
dense stratus
#

Ps i want to be part of the miner's how do i start

#

How would i start mining crypto
Ps can someone talk to me

delicate sparrow
dense stratus
#

Ps Show me

delicate sparrow
dense stratus
#

It's an advance

dense stratus
#

Hey body
I couldn't sing up
It's not working

raven ermine
#

Wondering if this script will one day support legacy ??

icy crest
icy crest
oak oar
oak oar
#

@icy crest hey , u there?

#

are u down to make razed-cashdryer?

untold glacier
#

ohhhh i like this... gonna spend my time trying to make this work without qb-phone

mossy stirrup
#

does it work with qb-menu or only ox_lib?

untold glacier
whole urchin
#

pls non target!

crystal bison
#

Loved it thank you so much 🔥🤝

icy crest
oak oar
#

He did a video for it

#

Let me know i would help

rapid moat
rapid moat
icy crest
stray kettle
#

possible to make it support roadphone?