|
You last visited: Today at 18:30
Advertisement
Guild Penalty
Discussion on Guild Penalty within the SRO Private Server forum part of the Silkroad Online category.
07/24/2020, 03:48
|
#1
|
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
|
Guild Penalty
Can anyone help me and say me why i get this:
When i teleport i can create new guild/when i relog i can create a new guild. I want the original system which says you have to wait 3-7days
|
|
|
07/24/2020, 06:31
|
#2
|
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
|
Quote:
Originally Posted by mudik
Can anyone help me and say me why i get this:
When i teleport i can create new guild/when i relog i can create a new guild. I want the original system which says you have to wait 3-7days
|
Der GameServer und die Procedure wurde bearbeitet so wie es aussieht
Schau mal in shard bei procedure _AddTimedJob
das müsste eig, so aussehen
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_AddTimedJob] Script Date: 24.07.2020 06:32:39 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[_AddTimedJob]
@CharID int,
@Category tinyint, @  D int, @  Keep int,
@Data1 int,
@Data2 int,
--##begin due to develop composite item
@Data3 int,
@Data4 int,
@Data5 int,
@Data6 int,
@Data7 int,
@Data8 int, @  64 bigint, @  int
--##end due to develop composite item
if (not exists (select CharID from _Char with (nolock) where CharID = @CharID))
return -1
if @  Keep <= 0)
return -2
declare @  JobID int set @  JobID = 0
--##JobID 1 = Guild // JobID 2 = Thief/Hunter/Trader
--##If you want to only have one not both, then just modify the line below!
--if @  D = 1 and @Category = 2 and @  64=0) or @  D = 2 and @Category = 2 and @  64=0) --For Guild and CharJob if ( @  D = 1 and @Category = 2 and @  64=0) or @  D = 2 and @Category = 2 and @  64=0)) or @  D = 2 and @Category = 2 and @  64=0) --For Guild and CharJob
BEGIN
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,D ata2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID)
values(@CharID, @Category, @  D, @  Keep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @  64, @  )
END
ELSE
BEGIN
--##begin due to develop composite item
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,D ata2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID)
values(@CharID, @Category, @  D, @  Keep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @  64, @  )
END
--##end due to develop composite item
set @  JobID = @@identity
if (@@error <> 0 or @@rowcount = 0)
return -3
return @  JobID
|
|
|
07/24/2020, 20:33
|
#3
|
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
|
Quote:
Originally Posted by NorseGodTyr
Der GameServer und die Procedure wurde bearbeitet so wie es aussieht
Schau mal in shard bei procedure _AddTimedJob
das müsste eig, so aussehen
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_AddTimedJob] Script Date: 24.07.2020 06:32:39 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[_AddTimedJob]
@CharID int,
@Category tinyint, @  D int, @  Keep int,
@Data1 int,
@Data2 int,
--##begin due to develop composite item
@Data3 int,
@Data4 int,
@Data5 int,
@Data6 int,
@Data7 int,
@Data8 int, @  64 bigint, @  int
--##end due to develop composite item
if (not exists (select CharID from _Char with (nolock) where CharID = @CharID))
return -1
if @  Keep <= 0)
return -2
declare @  JobID int
set @  JobID = 0
--##JobID 1 = Guild // JobID 2 = Thief/Hunter/Trader
--##If you want to only have one not both, then just modify the line below!
--if @  D = 1 and @Category = 2 and @  64=0) or @  D = 2 and @Category = 2 and @  64=0) --For Guild and CharJob
if ( @  D = 1 and @Category = 2 and @  64=0) or @  D = 2 and @Category = 2 and @  64=0)) or @  D = 2 and @Category = 2 and @  64=0) --For Guild and CharJob
BEGIN
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,D ata2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID)
values(@CharID, @Category, @  D, @  Keep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @  64, @  )
END
ELSE
BEGIN
--##begin due to develop composite item
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,D ata2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID)
values(@CharID, @Category, @  D, @  Keep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @  64, @  )
END
--##end due to develop composite item
set @  JobID = @@identity
if (@@error <> 0 or @@rowcount = 0)
return -3
return @  JobID
|
Msg 156, Level 15, State 1, Procedure _AddTimedJob, Line 14 [Batch Start Line 7]
Incorrect syntax near the keyword 'if'.
Msg 102, Level 15, State 1, Procedure _AddTimedJob, Line 16 [Batch Start Line 7]
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Procedure _AddTimedJob, Line 23 [Batch Start Line 7]
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Procedure _AddTimedJob, Line 25 [Batch Start Line 7]
Incorrect syntax near 'ata2'.
Msg 102, Level 15, State 1, Procedure _AddTimedJob, Line 32 [Batch Start Line 7]
Incorrect syntax near 'ata2'.
funktioniert leider nicht
|
|
|
07/24/2020, 20:35
|
#4
|
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
|
Der fügt das hier nicht komplett ein die fehler stehen aber dort beim error und welche line
|
|
|
07/24/2020, 21:26
|
#5
|
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
|
Quote:
Originally Posted by NorseGodTyr
Der fügt das hier nicht komplett ein die fehler stehen aber dort beim error und welche line
|
Danke dir.
|
|
|
08/27/2020, 00:47
|
#6
|
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
|
Quote:
Originally Posted by NorseGodTyr
Der fügt das hier nicht komplett ein die fehler stehen aber dort beim error und welche line
|
Hat wunderbar geklappt bedanke mich nochmal hier, sorry für die späte antwort aber hatte in real life viel zu tun...
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_AddTimedJob] Script Date: 8/27/2020 12:41:56 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[_AddTimedJob]
@CharID int,
@Category tinyint, @  D int, @  Keep int,
@Data1 int,
@Data2 int,
--##begin due to develop composite item
@Data3 int,
@Data4 int,
@Data5 int,
@Data6 int,
@Data7 int,
@Data8 int, @  64 bigint, @  int
--##end due to develop composite item
as
if (not exists (select CharID from _Char with (nolock) where CharID = @CharID))
return -1
if @  Keep <= 0)
return -2
declare @  JobID int
set @  JobID = 0
--##JobID 1 = Guild // JobID 2 = Thief/Hunter/Trader
--##If you want to only have one not both, then just modify the line below!
--if @  D = 1 and @Category = 2 and @  64=0) or @  D = 2 and @Category = 2 and @  64=0) --For Guild and CharJob
if ( @  D = 1 and @Category = 2 and @  64=0) or @  D = 2 and @Category = 2 and @  64=0 or @  D = 2 and @Category = 2 and @  64=0 --For Guild and CharJob
BEGIN
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,D ata2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID)
values(@CharID, @Category, @  D, @  Keep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @  64, @  )
END
ELSE
BEGIN
--##begin due to develop composite item
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,D ata2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID)
values(@CharID, @Category, @  D, @  Keep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @  64, @  )
END
--##end due to develop composite item
set @  JobID = @@identity
if (@@error <> 0 or @@rowcount = 0)
return -3
return @  JobID
Falls mal irgendwann mal das selbe Problem bekommen sollte.
|
|
|
Similar Threads
|
I can't change guild penalty without breaking FGW.
08/09/2022 - SRO Private Server - 1 Replies
Hey guys,
So yeah , title says it all. Everytime we try and make no guild penalty FGW breaks. I'm just wondering if there is any way to make no guild penalty without breaking FGW.Since the whole server is complaining -.- .
Cheers guys
|
[Request] Job / Guild Penalty remove
07/31/2016 - SRO Private Server - 4 Replies
Hi anyone can do it ?
I tried a lot of time but I without success...
Can you share it?
tnx
|
VSRO- how to remove guild penalty
09/27/2011 - SRO Private Server - 1 Replies
hey guys does anybody know how to get rid of the 3 day wait?
|
All times are GMT +1. The time now is 18:31.
|
|