• 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!

TalkAction Basic Anti-dupe System

@up
i know i am just using some sarcarm xD.

exemple from my modernaac shop.lua

Lua:
...if isContainer(getPlayerSlotItem(cid, 3).uid) then
received = doAddContainerItem(getPlayerSlotItem(cid, 3).uid, id,count)
doItemSetAttribute(received, "serial", generateSerial())
if received then...
 
How it working?
It's both(original and copy) deleting dupped itens?
Player get punishment?
 
darkhaos,

In your screenshots, there's a table named "serial"

This isn't added in your script, is it? How do I add? '-'

-- nevermind, gotcha ^_^
It's already in the script rs
 
Last edited:
Is possible to create a log everytime dupped itens get deleted?
Just to control players xD
 
Last edited:
save a .txt file in data\logs
example:
data\logs\dupped.txt

Maybe containing:
1. Which items were duped.
2. The players who were with the items before they get deleted.

PS.: Would be amazing a log containing it to prevent duped items in future
 
esp: puedes hacer para que cada 4 horas se haga el chekeo automatico y se eliminen?
eng: can you do for every 4 hours the event will be automatc and the items dupped deletd?
 
Back
Top