|
You last visited: Today at 15:22
Advertisement
vSro Guild user Limit [Query]
Discussion on vSro Guild user Limit [Query] within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
01/19/2015, 04:03
|
#16
|
elite*gold: 15
Join Date: Jul 2014
Posts: 146
Received Thanks: 6
|
Msg 102, Level 15, State 1, Procedure _Guild_FnAddMember, Line 62
Incorrect syntax near '@guildID'.
any idea ?
|
|
|
01/22/2016, 00:34
|
#17
|
elite*gold: 0
Join Date: Mar 2012
Posts: 13
Received Thanks: 6
|
Quote:
Originally Posted by MissinGDeaTh
Msg 102, Level 15, State 1, Procedure _Guild_FnAddMember, Line 62
Incorrect syntax near '@guildID'.
any idea ?
|
use this
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_Guild_FnAddMember] Script Date: 15.06.2014 11:08:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[_Guild_FnAddMember]
@GuildID int,
@MemberID int,
@MemberClass tinyint,
@joinDate smalldatetime,
@permission int
as
Declare @LiMiT int = '32' -- Credits by 'https://www.facebook.com/vsro.service' MaDenGo
if (exists (select CharID from _GuildMember where CharID = @MemberID))
begin
return -1001
end
declare @MemberName varchar(64)
declare @curLevel tinyint
select @MemberName = CharName16, @curLevel = CurLevel from _Char with (nolock) where CharID = @MemberID
if (@@error <> 0 or @@rowcount = 0)
begin
return -1
end
if (exists (select CharID from _GuildMember with (nolock) where GuildID = @guildID and CharID = @MemberID))
begin
return -2
end
declare @ReFObjID int
select @ReFObjID = RefObjID from _Char with (nolock) where CharID = @MemberID
if (@@error <> 0 or @@rowcount = 0)
begin
return -5
end
declare @siegeAuthority tinyint
set @siegeAuthority = 0
if @MemberClass = 0 -- ±жё¶АМёй °шјє±ЗЗСА» commander·О јјЖГ! ±Ч їЬґВ АП№Э member·О јјЖГЗСґЩ.
begin
set @siegeAuthority = 1
end
Declare @GC int = (Select COUNT(*) from _GuildMember where GuildID = @guildID )
if @GC <= @LiMiT begin
insert _GuildMember values (@GuildID, @MemberID, @MemberName, @MemberClass, @curLevel, 0, @joinDate, @permission, 0, 0, 0, null, @ReFObjID, @siegeAuthority)
end
if (@@error <> 0 or @@rowcount = 0)
begin
return -3
end
if @GC <= @LiMiT begin
update _Char Set GuildID = @guildID where CharID = @MemberID
end
if (@@error <> 0 or @@rowcount = 0)
begin
return -4
end
return 1
|
|
|
01/30/2016, 19:23
|
#18
|
elite*gold: 1014
Join Date: Apr 2015
Posts: 1,029
Received Thanks: 1,244
|
Lot use
|
|
|
07/25/2023, 09:27
|
#19
|
elite*gold: 0
Join Date: Dec 2016
Posts: 15
Received Thanks: 0
|
error :
DBJOB_InsertAlliance: GUILD[27231,27267]
guild master can't be union with other guild and see this error on shardmanger
|
|
|
 |
|
Similar Threads
|
Simple query for union limit
06/18/2014 - SRO PServer Guides & Releases - 1 Replies
;Hello epvp.
I thought would work for you, because I share it with you
USE
GO
/****** Object: StoredProcedure . Script Date: 14.06.2014 16:53:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
|
[Request]How to make Job reward coin / Guild limit & union limit
02/12/2014 - SRO Private Server - 1 Replies
Hello everybody hope you are all fine
i want to ask how to add gold coins as a reward from jobbing if trader hunter thief sell their goods they receive the gold coin in guild storage or inventory doesn't matter , waiting for any hints or help :D
&
asking about how to set guild members limit if i want guild to be 32 member only
& union limit to be 4 guilds only
i know it seems big requests but HELPPPPPPPPPPPP xD spam ftw
thanks for reading this
my regards be safe :D
|
Vsro Files Query Error
01/27/2014 - SRO Private Server - 8 Replies
Hello Guys,
im looking around and trying to find help now for a long period.
Here is my Problem:
http://img36.imageshack.us/img36/9717/forufo.jpg
srShard
count=1
id=64
global_operation_id=20
|
Vsro 90 Lv. Limit
07/11/2012 - SRO Private Server - 0 Replies
Hello
From party Lv. 120 i want change 90 Lv. or have link vsro 90 lv. party sro_client
http://img600.imageshack.us/img600/5615/adszwy.pn g
|
Release : Vsro Databases in Query
09/16/2011 - SRO Private Server - 13 Replies
deleted
|
All times are GMT +1. The time now is 15:22.
|
|