Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 13:31

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

Advertisement



[QUESTION] Dupe Fix For EP5.0 database

Discussion on [QUESTION] Dupe Fix For EP5.0 database within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 13
Received Thanks: 3
[QUESTION] Dupe Fix For EP5.0 database

Hi
First, sorry my english

I need dupe fix script. There was here 1 year ago but it was deleted. Where can find fix script for dupe ep5 database.
demren10 is offline  
Old 07/13/2012, 14:14   #2
 
JohnHeatz's Avatar
 
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
#Moved to the right section
JohnHeatz is offline  
Old 03/25/2018, 20:28   #3
 
elite*gold: 0
Join Date: Sep 2016
Posts: 4
Received Thanks: 1
USE [PS_GameData]

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO


ALTER Proc [dbo].[usp_Save_Char_Info_E]

@CharID int,
@Level int, @Point smallint, @ smallint, @ smallint,
@Dex smallint,
@Rec smallint,
@Int smallint, @ smallint,
@Luc smallint,
@Hp smallint,
@Mp smallint,
@Sp smallint,
@Map smallint,
@Dir smallint,
@Exp int,
@Money int,
@Posx varchar(50),
@Posy varchar(50),
@Posz varchar(50),
@Hg int,
@Vg int,
@Cg int,
@Og int,
@Ig int,
@K1 int = null,
@K2 int = null,
@K3 int = null,
@K4 int = null,
@KillLevel tinyint,
@DeadLevel tinyint

AS

SET NOCOUNT ON

DECLARE @ServerID int,
@Grow int,
@p bigint,
@PosxR real,
@PosyR real,
@PoszR real

SET @ServerID = 1

IF (ISNumeric(@Posx) = 1 and ISNumeric(@Posy) = 1 and ISNumeric(@Posz) = 1)
BEGIN
SET @PosxR = CAST(@Posx as real)
SET @PosyR = CAST(@Posy as real)
SET @PoszR = CAST(@Posz as real)
END
ELSE
BEGIN
--Only gets here if there is a error in the positions, Most likely a bot or exploit.
--Log in a error table for manual invest.
--Set all the pos. to bootleg so it doesn't throw an error
SET @Map = 41
SET @PosxR = 42.970
SET @PosYR = 2.090
SET @PosZR = 48.270
END

UPDATE Chars
SET [Level] = @Level, StatPoint = @Point, SkillPoint = @,
[Str] = @, dex = @Dex, Rec = @Rec, [int] = @Int, Wis = @, Luc = @Luc,
HP = @Hp, Mp = @Mp, Sp = @Sp,
Map = @Map, dir = @Dir, [exp] = @Exp, [money] = @Money,
PosX = @PosxR, PosY = @PosYR, PosZ = @PosZR, hg = @Hg, vg = @Vg, cg = @Cg, og = @Og, ig = @Ig,
KillLevel=@KillLevel, DeadLevel=@DeadLevel,LeaveDate=GETDATE()
WHERE CharID = @CharID

IF( (@K1 IS NOT NULL) AND (@K2 IS NOT NULL) AND (@K3 IS NOT NULL) AND (@K4 IS NOT NULL))
BEGIN
UPDATE Chars SET K1=@K1, K2=@K2, K3=@K3, K4=@K4 WHERE CharID=@CharID
END

IF(@@ERROR = 0 AND @@ROWCOUNT = 1)
BEGIN
RETURN 1
END
ELSE
BEGIN
RETURN -1
END

SET NOCOUNT OFF
enjoysero is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Question about Database.
05/29/2011 - Kal Online - 7 Replies
I recently got blocked in a p-server for using thiesus stormhack, the reason that he blocked me had something to do with database value's. So does anyone know how he can see in a database how i was stormhacking. I personally think he saw in the database i made 5 lvl's in 10 min for example. Or could there be something else in the database on how he made his conclusion i was stormhacking. Thanks.
[QUESTION] (PKT database)
03/15/2010 - EO PServer Hosting - 2 Replies
Some on has a "WORKING" pkt database? I mean , Ive got lots of database, none of them the pkt worked fine 0.0 So can someone "realease" the cq_action or maybe only the pkt tableīs (would be lots easy`r for me xP ) to i can fix this issue in my database.... 'm not really good with pkt fixes so i need an right example :bandit: (or rest thats needed for the pkt)
[Question] Database
03/11/2010 - EO PServer Hosting - 8 Replies
Is there a script that you can run to clean out your database. I've noticed there is a lot of things left over from the previous owner.
DK Database question
08/12/2009 - Dekaron Private Server - 0 Replies
while trying to help someone fix a prob i ran into something that i would like to get clarification on if anyone knows. in the billing database in table user_account what is the point of the remain_time remain_freetime and the expiration. i assumed that an account with 0 remain time and expired date that has passed would not be able to login. but that does not seem to be the case.....
question about getting database
05/25/2009 - SRO Private Server - 10 Replies
Hi all,just wondering how people gets original database from Sro,i mean they pay for it?they stole it? People from ecsro made it,but they donīt have the whole thing,so that make me guess they just stole it or something. Wanna know your opinnions :mofo:



All times are GMT +1. The time now is 13:31.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.