When guild leader transfer leadership to other person, firstly normal all process. but after relog, leadership reback transfer first guild leader.
is there any fix about this ?
USE [Telecaster]
GO
/****** Object: StoredProcedure [dbo].[smp_set_guild_leader] Script Date: 9/23/2012 3:01:02 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- start of smp_set_guild_leader
ALTER PROCEDURE [dbo].[smp_set_guild_leader]
@IN_SID INT, -- This defines the "Current" leaders ID
@IN_LEADER_SID INT -- This defines the "New" leaders ID
AS
SET NOCOUNT ON
BEGIN TRANSACTION
-- Normal Member Permission = 1 / Leader Permission = 7
-- SET OLD Leader to "Normal Member"
UPDATE dbo.GuildMember SET permission = 1 WHERE guild_id = @IN_SID AND permission = 7
-- SET NEW Leader
UPDATE dbo.GuildMember SET permission = 7 WHERE player_id = @IN_LEADER_SID
COMMIT TRANSACTION
-- end of smp_set_guild_leader
If yours does not look like the above spoiler, that's probably your issue. If you need further assistance please feel free to say so.
09/23/2012 22:06emekpc#3
thanks you, ismokedrow... but i tried, and i tried, and i tried.
and i tired...
09/23/2012 22:09ismokedrow#4
emekpc, you are not providing any detailed information. You should try to use the smp I have provided and tell me your results from there I can help you further.
09/23/2012 22:58emekpc#5
Thanks really ismokedrow...
your sample clearly. actually my head is very confused me. may be i sleeping...
thanks again...
09/23/2012 23:03Tekknoid#6
Nulled
09/24/2012 00:20ismokedrow#7
Tekknoid i'm not really sure what you're talking about. The OP has a guild issue, I gave him the smp and as long as his guild tables were formed correctly it should have resolved his issue.
As too Apache vs. IIS my preference is IIS. You can use directory disable, web.config and other methods to prevent unwanted access to sensitive folders. In your opinion IIS may be "Stupid" but I find it very fluid and easy to use.