It's not official Game Store module used in any official OTC.
If your Game Store Lua code on server starts like that (
or you OTC game store module starts like that (
You are probably using bugged Game Store that allows hackers to create any item, get any outfit and get premium points for free!
There is someone going from OTS to OTS and try to abuse that to get billions of free premium points, crystal coins etc.
IDK if this code was published anywhere, probably not. For sure some people sell it for last 3 years on Discord to 500+ OTSes. I know 2 servers that use that bugged code.
There is no easy fix for that bug (probably half of server side of store code rewrite), but if you have that Game Store code, disable it immediately!
If your Game Store Lua code on server starts like that (
store.lua
):
LUA:
function onExtendedOpcode(cid, opcode, buffer)
if opcode == OpCode.store then
local json_status, json_data =
pcall(
function()
return json.decode(buffer)
end
)
if not json_status then
print("SHOP json error: " .. json_data)
return false
end
local action = json_data["action"]
local data = json_data["data"]
or you OTC game store module starts like that (
store.lua
):
LUA:
local storeWindow, interface, msgWindow, itemsPanel, historyPanel, confirmWindow, transferPoints = nil
local itemsInfo, historyInfo = nil
local code = 52
local donateURL = "https://xxx.com/donate"
(...)
function init()
storeWindow = g_ui.displayUI('store')
storeWindow:hide()
interface = storeWindow:getChildById("storeInterFace")
itemsPanel = storeWindow:getChildById("ItemsPanels")
historyPanel = storeWindow:getChildById("historyTextListt")
storeWindow.transferPoints.onClick = transfer
You are probably using bugged Game Store that allows hackers to create any item, get any outfit and get premium points for free!
There is someone going from OTS to OTS and try to abuse that to get billions of free premium points, crystal coins etc.
IDK if this code was published anywhere, probably not. For sure some people sell it for last 3 years on Discord to 500+ OTSes. I know 2 servers that use that bugged code.
There is no easy fix for that bug (probably half of server side of store code rewrite), but if you have that Game Store code, disable it immediately!