Comments (9)
All of the transactions are handled by the server so the UI won't update instantly but the server should be keeping check of the balance
from npwd_crypto.
No, he's right. I had a person discover if you have something like .0999999999 in crypto, and you sell .099999, he keeps getting $7.xxxxxxx over and over and over. He had 2 coins but couldn't sell 2 coins. So he did 1, then .5, and cut it in half until down to .09999 and ended up spamming that and making a little over $100k. You may have a problem where it's not rounding properly or something along those lines.
from npwd_crypto.
I'm not very familiar with typescript, so I cant really debug very well, but I also had another user sell crypto 6mil worth of crypto, it didn't update, and then allowed him to sell again, even though they no longer have crypto..
So there seems to be a slight syncing issue somewhere and possibly relies on the client for the amount?
from npwd_crypto.
Is this on ESX or QB?
Lines 145 to 157 in c3d2115
All of the transaction is handled on the server here, the client serves only to relay messages between UI and Server, it knows nothing.
from npwd_crypto.
Best I can do is a rate limiter to prevent spam
from npwd_crypto.
It's qbcore for my experience. It never goes down for .099999999 if you keep selling it at .099999 but you'll make money each time. It was at $7.xxxx per sale
from npwd_crypto.
Rate limiting added to prevent spam exploits
from npwd_crypto.
Rate limiting added to prevent spam exploits
Thanks, I'll let you know if we experience any further problems on that end.
from npwd_crypto.
issue continues only when a 3rd decimal place is used , They just wait and click and again . Any way of limiting selling to whole numbers or 2 dp.
from npwd_crypto.
Related Issues (13)
- ESX Rounding
- Bug: PECFL Crypto purchases are Unknown. # HOT 1
- Sell exploit still an issue HOT 4
- Cant read properties of undefined HOT 1
- Language change.
- Make it possible to use real Crypto values HOT 1
- BUG: Application can't be loaded HOT 3
- Cannot read property toString of null HOT 4
- Feature Request: Close dialogues on submit HOT 4
- [BUG?] ESX Crypto displaying rounded balance? HOT 1
- Feature Request: Transaction Fees
- Ability do disable "Buy" option HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npwd_crypto.