Register for your free account! | Forgot your password?

You last visited: Today at 08:35

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

Advertisement



Guild Bugg.

Discussion on Guild Bugg. within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
STIV123's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 216
Received Thanks: 127
Guild Bugg.

Put things in GWH. Get dc. and things are in GWH + They are in ur invertory

Doubled.. any1 know the reason ? o.O Ty
STIV123 is offline  
Old 05/12/2012, 23:34   #2
 
treica's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
Code:
USE PS_GameLog;
GO
drop procedure [dbo].[usp_Insert_Action_Log_E]
GO

SET QUOTED_IDENTIFIER ON 
GO
SET ANSI_NULLS ON 
GO


/****** Object: Stored Procedure dbo.usp_Insert_Action_Log_E FIXED ********.com Twilight ******/

CREATE Proc usp_Insert_Action_Log_E



@UserID varchar(18),
@UserUID int,
@CharID int,
@CharName varchar(50),
@CharLevel tinyint,
@CharExp int,
@MapID smallint,
@PosX real,
@PosY real,
@PosZ real,
@ActionTimeZ varchar(50),
@ActionType tinyint,
@Value1 bigint = null,
@Value2 int = null,
@Value3 int = null,
@Value4 bigint = null,
@Value5 int = null,
@Value6 int = null,
@Value7 int = null,
@Value8 int = null,
@Value9 int = null,
@Value10 int = null,
@Text1 varchar(100) = '',
@Text2 varchar(100) = '',
@Text3 varchar(100) = '',
@Text4 varchar(100) = '',
@Sql nvarchar(4000) = '',
@yyyy varchar(4) = '',
@mm varchar(2) = '',
@dd varchar(2) = '',
@Bucket smallint = -1

AS
DECLARE @ActionTime as datetime
SELECT @ActionTime = CONVERT(datetime, @ActionTimeZ, 120)
SET @yyyy = datepart(yyyy, @ActionTime)
SET @mm = datepart(mm, @ActionTime)
SET @dd = datepart(dd, @ActionTime)


IF(LEN(@mm) = 1)
BEGIN
SET @mm = '0' + @mm
END

IF(LEN(@dd) = 1)
BEGIN
SET @dd = '0' + @dd
END

SET @Sql = N'
INSERT INTO PS_GameLog.dbo.ActionLog
(UserID, UserUID, CharID, CharName, CharLevel, CharExp, MapID, PosX, PosY, PosZ, ActionTime, ActionType, 
Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8, Value9, Value10, Text1, Text2, Text3, Text4)
VALUES(@UserID, @UserUID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType, 
@Value1, @Value2, @Value3, @Value4, @Value5, @Value6, @Value7, @Value8, @Value9, @Value10, @Text1, @Text2, @Text3, @Text4)'

EXEC sp_executesql @Sql, 
N'@UserID varchar(18), @UserUID int, @CharID int, @CharName varchar(50), 
@CharLevel tinyint, @CharExp int, @MapID smallint, @PosX real, @PosY real, @PosZ real, @ActionTime datetime, @ActionType tinyint, 
@Value1 bigint, @Value2 int, @Value3 int, @Value4 bigint, @Value5 int, @Value6 int, @Value7 int, @Value8 int, 
@Value9 int, @Value10 int, @Text1 varchar(100), @Text2 varchar(100), @Text3 varchar(100), @Text4 varchar(100)',
@UserID, @UserUID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType, 
@Value1, @Value2, @Value3, @Value4, @Value5, @Value6, @Value7, @Value8, @Value9, @Value10, @Text1, @Text2, @Text3, @Text4

GO
SET QUOTED_IDENTIFIER OFF 
GO
SET ANSI_NULLS ON 
GO
try this if will not work, then use The Search function should be there somewhere.
treica is offline  
Thanks
3 Users
Old 05/12/2012, 23:47   #3
 
STIV123's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 216
Received Thanks: 127
Ok Thanks. Quuery was successfully completed.

I have 1 more question tho. It's. How can i put that every new made char has a SKILL resset stone in the bagg? Ty.
STIV123 is offline  
Thanks
1 User
Old 05/12/2012, 23:54   #4
 
treica's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
If you really wanna thanks then see is a THANKS button under my post, push it

About it has been take a discussion here where you need to go to set it up

I never tryed it so up on the right corner is such a white box Search engine try it out is very usefull.
treica is offline  
Thanks
2 Users
Old 05/13/2012, 02:49   #5
 
STIV123's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 216
Received Thanks: 127
And.. Every Server Restart 1 Fury Guild poof gone.. Idk for what reason :S Can anyone help meh?

Ty
STIV123 is offline  
Old 05/13/2012, 11:50   #6
 
treica's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
type the following code for your guild db's you have created something before and it is crashing cuz is using again the row.

Code:
truncate table PS_GameData.dbo.Guilds
Truncate table PS_GameData.dbo._GuildDetailsBack
truncate table PS_GameData.dbo._GuildRankPoint
truncate table PS_GameData.dbo._GuildsBack
truncate table PS_GameData.dbo.GuildChars
truncate table PS_GameData.dbo.GuildDetails
truncate table PS_GameData.dbo.GuildNpcLv
truncate table PS_GameData.dbo.GuildRankLog
truncate table PS_GameData.dbo.GuildRankLog2
truncate table PS_GameData.dbo.GuildStoredItems
Then delete the table named dbo.Guilds and run this query
Code:
USE [PS_GameData]
GO
/****** Creation Guild Fixed by sandolkakos: Shaiya-UGO Server - www.universalgamesonline.com.br  ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Guilds](
	[RowID] [int] IDENTITY(1,1) NOT NULL,
	[GuildID] [int] NOT NULL,
	[GuildName] [varchar](30) COLLATE Chinese_PRC_Stroke_CI_AS NOT NULL,
	[MasterUserID] [varchar](18) COLLATE Chinese_PRC_Stroke_CI_AS NOT NULL,
	[MasterCharID] [int] NOT NULL,
	[MasterName] [varchar](30) COLLATE Chinese_PRC_Stroke_CI_AS NOT NULL,
	[Country] [tinyint] NOT NULL,
	[TotalCount] [smallint] NOT NULL,
	[GuildPoint] [int] NOT NULL,
	[Del] [tinyint] NOT NULL CONSTRAINT [DF_Guilds_Del]  DEFAULT ((0)),
	[CreateDate] [datetime] NOT NULL,
	[DeleteDate] [datetime] NULL,
 CONSTRAINT [PK_Guilds] PRIMARY KEY CLUSTERED 
(
	[GuildID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
For me it fixed the problem should do for you too :P
treica is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
DT Bugg HELP
03/08/2012 - Metin2 Private Server - 2 Replies
Hallo Com, Ich habe folgendes problem und zwar wenn ich einen 50iger metin kille im dt komme ich nicht die erste etage höher sondern werde wieder vor dem dt geportet. kann mir bitte einer helfen? TXH :D :D :D :D
Need bugg!!!!
06/11/2011 - S4 League - 3 Replies
Who now some buggs and say me i prees thx



All times are GMT +1. The time now is 08:36.


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.