Register for your free account! | Forgot your password?

You last visited: Today at 18:30

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

Advertisement



Guild Penalty

Discussion on Guild Penalty within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #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
mudik is offline  
Old 07/24/2020, 06:31   #2
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
Quote:
Originally Posted by mudik View Post
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
NorseGodTyr is offline  
Thanks
1 User
Old 07/24/2020, 20:33   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
Quote:
Originally Posted by NorseGodTyr View Post
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
mudik is offline  
Old 07/24/2020, 20:35   #4
 
NorseGodTyr's Avatar
 
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
NorseGodTyr is offline  
Thanks
1 User
Old 07/24/2020, 21:26   #5
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
Quote:
Originally Posted by NorseGodTyr View Post
Der fügt das hier nicht komplett ein die fehler stehen aber dort beim error und welche line
Danke dir.
mudik is offline  
Old 08/27/2020, 00:47   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
Quote:
Originally Posted by NorseGodTyr View Post
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.
mudik is offline  
Reply


Similar Threads 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.


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.