mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-21 03:28:34 +00:00
add exploit protection to SellShop
- Added server registered prices to sellShops to stop clients ability to send false amounts (needs a small change to external scripts)
This commit is contained in:
1 parent
949363c76a
commit
71c0abb32c
2 files changed
+63
-5
No files matched your search
@@ -359,7 +359,7 @@ function fundPlayer(fund, moneyType, newsrc)
|
||||
local framework = moneyFunc[i]
|
||||
if framework.framework == OXInv and moneyType == "bank" then goto skip end
|
||||
if isStarted(framework.framework) then
|
||||
debugPrint("^6Bridge^7: ^2Funding ^3"..framework.framework.." ^2Player^7: '^6"..fund.."^7'", moneyType)
|
||||
debugPrint("^6Bridge^7: ^2Funding ^3"..framework.framework.." ^2Player^7(^3"..src.."^7): '^6"..fund.."^7'", moneyType)
|
||||
is_success = framework.fundPlayer(src, fund, moneyType)
|
||||
break
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user