its a problem with the map you downloaded, not sure if it can be fixed easily in RME, but ingame you can write a function that goes through certain areas of the map and if a tile contains more than 1 item of same id, it removes all excess, then save the map
function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
local split = param:split(",")
if split[6] == nil then
player:sendCancelMessage("Insufficient parameters.")
return false
end
local x = 0
local y = 0
local z = 0
removecount = 0
inittime = os.time()
for x = split[1], split[4] do
for y = split[2], split[5] do
for z = split[3], split[6] do
position = Position(x, y, z)
tile = position:getTile()
if tile then
items = tile:getItems()
if items then
for i = 1, #items - 1 do
for j = i + 1, #items do
if items[i]:getId() == items[j]:getId() then
items[i]:remove()
removecount = removecount + 1
print(removecount)
end
end
end
end
end
end
end
end
endtime = os.time()
print("In: " .. endtime - inittime)
return true
end