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

Check if player have item with uniqueid

Dankoo

Active Member
Joined
Sep 4, 2010
Messages
1,007
Reaction score
27
I've created this topic http://otland.net/f16/register-duplicate-uid-log-cpp-130921/

But I think it will be easier to create a creaturescripts

So, to prevent dupping, I've set an uniqueID to every item sold in the website shop.

The UniqueID is 34000 + id of sell (Goes to 1 for first sell, 2 for second and so on)

The creaturescripts I was thinking of:

Player logs in
Check item's player for uniqueid, if uid of item.id > 34000 and < 35000 then

save in log uniqueid + player name + itemid (this part I can do, by adapting this script http://otland.net/f132/register-talkactions-logs-4646/#post58731)

So I'll have a log of all items bought in shop that players is using, being able to track down cloners :]
 
maxd-albums-maxd-misc-pics-picture25761-bump.jpg
 
Back
Top