• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Duping problem... Can't find out how.

DakotaCoty

The behemoth
Joined
May 24, 2015
Messages
46
Reaction score
13
Hello,

I have had a few players on my OT accusing a guild and several players from it that they are duping items.

Some information about the OT:
1) TFS 1.0
2) Vers: 10.78
3) They are not crashing the OT, the OT is not server saving.
4) Players said "They placed the item on the WOTE reward chest, and could clone any item placed on top of it via browse field."

I've tried to replicate the dupe with no avail. Can anyone give me specifics of how to prevent this type of duping and how they're doing it, so I can prevent it.

cheers!
 
Hello,

I have had a few players on my OT accusing a guild and several players from it that they are duping items.

Some information about the OT:
1) TFS 1.0
2) Vers: 10.78
3) They are not crashing the OT, the OT is not server saving.
4) Players said "They placed the item on the WOTE reward chest, and could clone any item placed on top of it via browse field."

I've tried to replicate the dupe with no avail. Can anyone give me specifics of how to prevent this type of duping and how they're doing it, so I can prevent it.

cheers!
There we have the issue. TFS 1.0 with 10.78.
 
No. I'm 100% sure you are using TFS 1.0 from tibiaking. Because TFS 1.0 supports only up to 10.41 and you are using client 10.78. Only TFS 1.2 supports 10.78. So instead fixing it. Update your engine.
 
You can't just tell me how they are doing it? I'd much rather prevent it that way. If not, it's fine.
Do you have custom script for your wote rewards?
If so, paste here.
Would will be good, if you paste your system.lua script here too. (if you're using it)

Can your wote reward chests be traded?
If so, there's your bug.

They're probably adding items into the reward box, and thus duplicating items. (if you're using system.lua)

Prevent it?
If there are no uid on the chests, add.
Ofc there also can be bug on your script, paste it here.
 
Do you have custom script for your wote rewards?
If so, paste here.
Would will be good, if you paste your system.lua script here too. (if you're using it)

Can your wote reward chests be traded?
If so, there's your bug.

They're probably adding items into the reward box, and thus duplicating items. (if you're using system.lua)

Prevent it?
If there are no uid on the chests, add.
Ofc there also can be bug on your script, paste it here.

Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
    if(getPlayerStorageValue(cid, 10014) < 1) then
        doPlayerAddExp(cid, 500000, true, true)
        setPlayerStorageValue(cid, 10014, 1)
    end
    if(item.uid == 3200) then
        if(canPlayerWearOutfit(cid, getPlayerSex(cid) == 0 and 366 or 367, 3) == false) then
            doPlayerAddOutfit(cid, getPlayerSex(cid) == 0 and 366 or 367, 3)
            doCreatureSay(cid, "You have found some old and long forgotten garments that could be used as an outfit.", TALKTYPE_ORANGE_1)
            setPlayerStorageValue(cid, 15180, 3) -- quest log mission 12
        else
            doCreatureSay(cid, "The wardrobe is empty.", TALKTYPE_ORANGE_1)
        end
    elseif(item.uid == 3201) then
        if(getPlayerStorageValue(cid, 1091) < 1) then
            setPlayerStorageValue(cid, 1091, 1)
            doPlayerAddItem(cid, 12643, 1)
            doPlayerSendTextMessage(cid, 19, "You have found a royal scale robe.")
        else
            doPlayerSendTextMessage(cid, 19, "The box is empty.")
        end
    elseif(item.uid == 3202) then
        if(getPlayerStorageValue(cid, 1091) < 1) then
            setPlayerStorageValue(cid, 1091, 1)
            doPlayerAddItem(cid, 12642, 1)
            doPlayerSendTextMessage(cid, 19, "You have found a royal draken mail.")
        else
            doPlayerSendTextMessage(cid, 19, "The box is empty.")
        end
    elseif(item.uid == 3203) then
        if(getPlayerStorageValue(cid, 1091) < 1) then
            setPlayerStorageValue(cid, 1091, 1)
            doPlayerAddItem(cid, 12645, 1)
            doPlayerSendTextMessage(cid, 19, "You have found an elite draken helmet.")
        else
            doPlayerSendTextMessage(cid, 19, "The box is empty.")
        end
    elseif(item.uid == 3204) then
        if(getPlayerStorageValue(cid, 1094) < 1) then
            setPlayerStorageValue(cid, 1094, 1)
            bag2 = doPlayerAddItem(cid, 11243, 1)
            doAddContainerItem(bag2, 2152, 100)
            doPlayerSendTextMessage(cid, 19, "You have found a dragon backpack.")
        else
            doPlayerSendTextMessage(cid, 19, "The box is empty.")
        end   
    elseif(item.uid == 3205) then
        if(getPlayerStorageValue(cid, 1095) < 1) then
            setPlayerStorageValue(cid, 1095, 1)
            bag = doPlayerAddItem(cid, 5801, 1)
            doAddContainerItem(bag, 5882, 10)
            doAddContainerItem(bag, 9971, 5)
            doAddContainerItem(bag, 2144, 10)
            doAddContainerItem(bag, 2160, 10)
            doPlayerSendTextMessage(cid, 19, "You have found a jewelled backpack.")
        else
            doPlayerSendTextMessage(cid, 19, "The chest is empty.")
        end   
    end
    return true
end
 
Does each chest have an UID? (I suppose)
How about AID? Do the chests have an AID? - If so, what are the aids? (action id)
They do not have an AID - just a UID.
3100-3200 is the UID range.

When I try to drag an item INSIDE the chests - it give me a red square around the browse field when I try it. It doesn't work like that.

I tried to replicate it by mwalling it, doesn't work either.
I tried to do it before collecting rewards AND after.
 
They do not have an AID - just a UID.
3100-3200 is the UID range.

When I try to drag an item INSIDE the chests - it give me a red square around the browse field when I try it. It doesn't work like that.

I tried to replicate it by mwalling it, doesn't work either.
I tried to do it before collecting rewards AND after.
pmd
 
Back
Top