|
You last visited: Today at 22:59
Advertisement
Fix : Guild Not Show Members
Discussion on Fix : Guild Not Show Members within the Rappelz Private Server forum part of the Rappelz category.
05/18/2012, 19:09
|
#1
|
elite*gold: 0
Join Date: Jan 2011
Posts: 27
Received Thanks: 15
|
Fix : Guild Not Show Members
Telecaster db has two read methods for guild members.
1- for Guild Manager
2- for Guild Members
for guild members read not necessary to fix. but guild manager not show members after reset gameserver.
Quote:
USE [Telecaster]
GO
/****** Object: StoredProcedure [dbo].[smp_insert_guild] Script Date: 18.05.2012 19:19:34 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- start of smp_insert_guild
CREATE PROCEDURE [dbo].[smp_insert_guild]
@IN_NAME NVARCHAR(31),
@IN_GUILD_SID INT,
@IN_LEADER_SID INT,
@IN_ADVERTISE_TYPE INT,
@IN_RECRUITING INT,
@IN_MIN_RECRUIT_LEVEL INT,
@IN_MAX_RECRUIT_LEVEL INT,
@IN_PERMISSION_NAME_1 nvarchar(MAX),
@IN_PERMISSION_NAME_2 nvarchar(MAX),
@IN_PERMISSION_NAME_3 nvarchar(MAX),
@IN_PERMISSION_NAME_4 nvarchar(MAX),
@IN_PERMISSION_NAME_5 nvarchar(MAX),
@IN_PERMISSION_NAME_6 nvarchar(MAX)
AS
SET NOCOUNT ON
DECLARE @ACCOUNT varchar (MAX)
DECLARE @LV INT
DECLARE @JOB varchar (MAX)
INSERT INTO Guild(
sid,
name,
notice,
icon,
icon_size,
banner,
banner_size,
name_changed,
dungeon_id,
dungeon_block_time,
gold,
chaos,
alliance_id,
alliance_block_time,
donation_point,
PERMISSION_NAME_1,
PERMISSION_NAME_2,
PERMISSION_NAME_3,
PERMISSION_NAME_4,
PERMISSION_NAME_5,
PERMISSION_NAME_6,
ADVERTISE_TYPE,
ADVERTISE_END_TIME,
ADVERTISE_COMMENT,
RECRUITING,
MIN_RECRUIT_LEVEL,
MAX_RECRUIT_LEVEL,
URL,
PERMISSION_SET_1,
PERMISSION_SET_2,
PERMISSION_SET_3,
PERMISSION_SET_4,
PERMISSION_SET_5,
PERMISSION_SET_6
)
VALUES(
@IN_GUILD_SID,
@IN_NAME,
'',
'',
0,
'',
0,
0,
0,
0,
0,
0,
0,
0,
0,
@IN_PERMISSION_NAME_1, @IN_PERMISSION_NAME_2, @IN_PERMISSION_NAME_3,
@IN_PERMISSION_NAME_4, @IN_PERMISSION_NAME_5, @IN_PERMISSION_NAME_6,
@IN_ADVERTISE_TYPE, '', 0, @IN_RECRUITING, @IN_MIN_RECRUIT_LEVEL, @IN_MAX_RECRUIT_LEVEL, '',0,0,0,0,0,0);
IF EXISTS (SELECT player_id FROM GuildMember WHERE player_id = @IN_LEADER_SID)
BEGIN
UPDATE GuildMember SET guild_id = @IN_GUILD_SID, permission = 7 WHERE player_id = @IN_LEADER_SID
END
ELSE
BEGIN
INSERT INTO Guildmember(player_id, guild_id, prev_guild_id, guild_block_time, permission, memo)
VALUES(@IN_LEADER_SID, @IN_GUILD_SID, 0, 0, 7,'');
END
-- end of smp_insert_guild
|
Quote:
USE [Telecaster]
GO
/****** Object: StoredProcedure [dbo].[smp_set_guild] Script Date: 18.05.2012 19:20:16 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- start of smp_set_party
CREATE PROCEDURE [dbo].[smp_set_guild]
@IN_PLAYER_SID INT,
@IN_GUILD_SID INT,
@IN_PREV_GUILD_SID INT
AS
SET NOCOUNT ON
UPDATE Character SET guild_id = @IN_GUILD_SID, prev_guild_id = @IN_PREV_GUILD_SID WHERE sid = @IN_PLAYER_SID
IF EXISTS (SELECT player_id FROM GuildMember WHERE player_id = @IN_PLAYER_SID)
BEGIN
UPDATE GuildMember SET guild_id = @IN_GUILD_SID, prev_guild_id = @IN_PREV_GUILD_SID WHERE player_id = @IN_PLAYER_SID
END
ELSE
BEGIN
INSERT INTO Guildmember(player_id, guild_id, prev_guild_id, guild_block_time, permission, memo)
VALUES(@IN_PLAYER_SID, @IN_GUILD_SID, 0, 0, 1,'');
END
-- end of smp_set_guild
|
|
|
|
05/18/2012, 20:35
|
#2
|
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,458
|
+1
|
|
|
05/19/2012, 12:30
|
#3
|
elite*gold: 0
Join Date: Aug 2011
Posts: 161
Received Thanks: 36
|
-2
|
|
|
06/05/2012, 12:10
|
#4
|
elite*gold: 0
Join Date: May 2011
Posts: 49
Received Thanks: 7
|
Message 2714, Level 16, State 3, Procedure smp_insert_guild, line 3
The database already exists an object called "smp_insert_guild".
what to do?
|
|
|
06/05/2012, 12:30
|
#5
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,606
Received Thanks: 1,210
|
Quote:
Originally Posted by Blackcat2011
Message 2714, Level 16, State 3, Procedure smp_insert_guild, line 3
The database already exists an object called "smp_insert_guild".
what to do?
|
Hmm let me think about it...perhaps you have to read the errormessage and try to use your brain.
Perhaps there allready exists an object called "smp_insert_guild" and you have to alter this stored procedure instead of trying to creat it.
If you don't have any clue about databases, you should not try to setup a complete rappelz server! It's like driving a car without arms and legs...It won't end successfully^^
|
|
|
06/05/2012, 12:34
|
#6
|
elite*gold: 0
Join Date: May 2011
Posts: 49
Received Thanks: 7
|
I understand the meaning of the error.
I do not know how to fix the already established before the procedure
|
|
|
06/05/2012, 12:43
|
#7
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,606
Received Thanks: 1,210
|
There are two ways to fix this problem...deleting the old smp or modifying the create-ctatements....
|
|
|
|
Similar Threads
|
Guild Members
09/23/2010 - CO2 Private Server - 4 Replies
Hey guys...I've recently tried to search if a Character is in the guild with me...
I tried to search them with MyGuild.Members.contains(C.entityID) and obviously it didn't work...and started to search how are they added...and then i found that the members hashtable contains another hashtable in the values so I searched with
foreach (Hastable M in MyGuild.Members.Values) //a friend's ideea
if (H.Contains(C.entityID))
and obviosly it didn't work again because it will take somebody(even...
|
Recuiting Guild members on OMG guild
04/06/2010 - Grand Chase Philippines - 1 Replies
i need a Guild members.. :mofo:
Guild name: Removed
Just Contect me to my Yahoo messanger.. :cool::cool:
Thanks! :)
|
Looking for members for my guild!
04/04/2008 - SRO Private Server - 14 Replies
Hey guys! just uploading some pick's. we got good members in our guild.. we are looking for high lvls and low lvls once you are active and talk english xD
rule?
1. No stealing
2. No scamming
3. have fun :)
4. trust me always
xD
|
New guild need members
03/15/2008 - SRO Private Server - 6 Replies
Hi all,
Guys i have guild lvl 2+115% but i need active and funny people to my guild
only u must speak english and lvl 30+
who need pm me in game G4NJ4 me lvl 60+
or send me private message
thx and best regards romankooo
|
kicking guild members if BM without guild director
04/15/2006 - CO2 Guides & Templates - 8 Replies
All right this is my first post so excuse me if im a bit noobie. This is a glitch and a tip to kicking members when u dont want to go to the Guild Director.
This is for BMs only!!!!
1. Go to the guild option
2. GO to members
3. Click on a perseon whom u want to kick out of the guild
4. Do u see the 2 arrows going left and right? well in the middle of those arrows there is a delete button thats not shown when you are a BM.
5. Click yes when it says "do you wish to kick ______"
|
All times are GMT +2. The time now is 22:59.
|
|