Register for your free account! | Forgot your password?

You last visited: Today at 20:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Fix Antidup

Discussion on Fix Antidup within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2012
Posts: 4
Received Thanks: 3
Fix Antidup

Hi I could you please tell me where I can find the Fix antidup
for my server?

From already thank you very much for the reply.
_SCoRp_ is offline  
Old 01/27/2015, 19:17   #2
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
i seaching too
Cansas59 is offline  
Old 01/27/2015, 21:44   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 312
Received Thanks: 286

Also the databese gamelog posted by nubness has some checks too if im not wrong.
andr3y_you96 is offline  
Thanks
1 User
Old 01/28/2015, 08:56   #4
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
I found this, not complette, but i good way to fix it

Code:
----Item on char----
USE PS_GameData
SELECT ItemUID, CharID, Craftname, Count 
FROM dbo.CharItems 
WHERE Exists (
SELECT ItemUID FROM dbo.Charitems dub WHERE dbo.Charitems.ItemUID = dub.ItemUID and dbo.Charitems.CharID <> dub.CharID )
ORDER BY CharId;

----Item stored by user----
USE PS_GameData
SELECT ItemUID, UserUID, Craftname, Count 
FROM dbo.UserStoredItems 
WHERE Exists (
SELECT ItemUID FROM dbo.UserStoredItems dub WHERE dbo.UserStoredItems.ItemUID = dub.ItemUID and dbo.UserStoredItems.UserUID <> dub.UserUID )
ORDER BY UserUID;

----Market stored items----
USE PS_GameData
SELECT ItemUID, MarketID, Craftname, Count 
FROM dbo.MarketItems 
WHERE Exists (
SELECT ItemUID FROM dbo.MarketItems dub WHERE dbo.MarketItems.ItemUID = dub.ItemUID and dbo.MarketItems.MarketID <> dub.MarketID )
ORDER BY MarketID;
			
----Guild item stored----			
USE PS_GameData
SELECT ItemUID, GuildID, Craftname, Count 
FROM dbo.GuildStoredItems 
WHERE Exists (
SELECT ItemUID FROM dbo.GuildStoredItems dub WHERE dbo.GuildStoredItems.ItemUID = dub.ItemUID and dbo.GuildStoredItems.GuildID <> dub.GuildID )
ORDER BY GuildID;
Boul27 is offline  
Thanks
1 User
Old 01/28/2015, 16:16   #5
 
elite*gold: 0
Join Date: Jul 2012
Posts: 312
Received Thanks: 286
Thats not a way to fix it... its just a query to check if there are duped items alredy in game.
andr3y_you96 is offline  
Old 01/28/2015, 19:25   #6
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
Like I said :
Quote:
I found this, not complette, but i good way to fix it

I know that it don't fix dup.
But if you put that in a trigger when char leave, and add "delete" at the good place, it will erease duped item.

It's an another way of fixing this by deleting duped item.

If I don't know how to do something, i search a way to do the same with the knowledge i have, or with things i found and understand.

That why i post the requests to find duped item ingame


But if someone try how to "hard fix" this, it will be very much better, i agree
Boul27 is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 20:07.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.