Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 01:57

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

Advertisement



[HELP]Guild + emblem creation issue

Discussion on [HELP]Guild + emblem creation issue within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 15
Received Thanks: 0
Red face [HELP]Guild + emblem creation issue

Hi , It was supposed to be easy to create a guild especially if you were the creator , but in this case , I've encountered this scenario.

I've created a guild name let us say 'Test' after the 'Test' guild was created my guild-creator character doesn't have any rank even a default rank doesn't applied. I am expecting that my character should be the Guild Master , but it did not .. when I checked my character's rank it is blank..

So next one I tried to create a guild emblem but after the creation confirmation the game said 'You have no authority to change the guild emblem'. (That is because I don't have a appropriate rank).

Any idea why in the 1st place I haven't given a default rank?

This is the exact picture that happens right after the guild creator tries to create an emblem (This pictures speaks for itself)

Any helpful comments and suggestions are appreciated
xylca is offline  
Old 05/25/2010, 23:54   #2
 
elite*gold: 20
Join Date: Mar 2007
Posts: 2,650
Received Thanks: 4,729
to be honest, i'm having the same problem.
sorry for bumping an old thread, but this wasn't solved.

i can explain it a little bit better.
1st step after creating a guild:
-guild gets an GUILD_CODE (stored in table GUILD INFO)

2nd step:
-GUILD_CODE + the characters in that guild+the rank(written in table GUILD_CHAR_INFO

3rd step: THE BIG PROBLEM!!!
-GUILD_CODE + all the respective ranks (from 0-9) and the rank name (written in table GUILD_PEERAGE)


the third step doesn't work somehow!
the guild_peerage won't be added, and that's the problem why a char has NO rank after creating a guild.
does anyone have an idea in which SP i can find this procedure?
i need to fix that without importing a fresh database!

i have no idea where to search :/
maybe i'm wrong with my analyzing.
silkbotter is offline  
Old 05/26/2010, 00:33   #3
 
daddycool.'s Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 296
Received Thanks: 166
Take a look at Databases > Character > User Defined Functions

FN_GetGuildCode
FN_GetGuildMasterName
FN_GetGuildPeerageName

Maybe your problem are in one of these functions.

FN_GetGuildCode
Code:
/******************************************************************************
   이  름 : FN_GetGuildCode
   설  명 : character_name을 입력하면 guild_code를 반환한다.
   반환값 : Guild_info.Guild_Code
   예  제 : select dbo.FN_GetGuildCode('jjugi')
   수정내역:
   Ver        Date        Author           Description
   ---------  ----------  ---------------  ------------------------------------
   1.0        2005-05-28  한지욱           1. 초기생성
 ******************************************************************************/
CREATE Function dbo.FN_GetGuildCode (
	@i_character_name varchar(40) 	-- Character_Name
) RETURNS char(10) 
AS
BEGIN
	DECLARE @v_guild_code	char(10)
	IF Len(IsNull(@i_character_name, '')) > 0 
	BEGIN
		SELECT 	@v_guild_code = guild_code
		  FROM 	Guild_Char_Info WITH(NOLOCK)
		 WHERE 	character_name = @i_character_name
	END 
	RETURN ISNULL(@v_guild_code,'')
END
FN_GetGuildMasterName
Code:
/******************************************************************************
   이  름 : dbo.FN_GetGuildMasterName
   설  명 : 길드의 마스터명을 반환한다.
   반환값 : dbo.GUILD_CHAR_INFO.character_name	
   예  제 : SELECT	dbo.FN_GetGuildMasterName('MASTERCODE')
   수정내역:
   Ver        Date        Author			Description
   ---------  ----------  ---------------	------------------------------------
   1.0        2006-05-15  Han JiWook		1. 초기생성
 ******************************************************************************/
CREATE FUNCTION dbo.FN_GetGuildMasterName (
	@i_guild_code	varchar(20)
) RETURNS varchar(50) 
AS
BEGIN
	DECLARE @v_guildmaster_name	varchar(50)
	IF Len(IsNull(@i_guild_code, '')) > 0
	BEGIN
		SELECT 	@v_guildmaster_name = character_name
		FROM 	dbo.GUILD_CHAR_INFO WITH(NOLOCK)
		WHERE 	guild_code	 = @i_guild_code
		AND		peerage_code = 0
	END 
	RETURN 	ISNULL(@v_guildmaster_name, '')
END
FN_GetGuildPeerageName
Code:
/******************************************************************************
   이  름 : FN_GetGuildPeerageName
   설  명 : 길드의 작위명을 반환한다.
   반환값 : GUILD_PEERAGE.peerage_name	
   예  제 : select dbo.FN_GetGuildPeerageName('0506000070', 0)	-- 반환값=길드마스터
   수정내역:
   Ver        Date        Author           Description
   ---------  ----------  ---------------  ------------------------------------
   1.0        2005-07-04  최지환           1. 초기생성
 ******************************************************************************/
CREATE Function dbo.FN_GetGuildPeerageName (
	@i_guild_code	varchar(20),
	@i_peerage_code int 	-- Character_No
) RETURNS varchar(40) 
AS
BEGIN
	DECLARE @v_peerage_name	varchar(40)
	IF Len(IsNull(@i_guild_code, '')) > 0 AND @i_peerage_code IS NOT NULL
	BEGIN
		SELECT 	@v_peerage_name = peerage_name
		FROM 	dbo.GUILD_PEERAGE WITH(NOLOCK)
		WHERE 	guild_code	 = @i_guild_code
		AND		peerage_code = @i_peerage_code
	END 
	RETURN 	ISNULL(@v_peerage_name, '')
END
daddycool. is offline  
Old 05/26/2010, 05:43   #4
 
Bullet2l's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 161
Received Thanks: 21
i have the problem once. cos i mess up the guild rank in the database.
Bullet2l is offline  
Old 05/27/2010, 00:17   #5
 
elite*gold: 20
Join Date: Mar 2007
Posts: 2,650
Received Thanks: 4,729
unfortunately nothing with those functions.
as i said.. some entrys aren't being written.
silkbotter is offline  
Old 09/21/2017, 20:50   #6
 
asnar002's Avatar
 
elite*gold: 10
Join Date: Feb 2012
Posts: 86
Received Thanks: 15
bump . already searched but no solution for this problem
asnar002 is offline  
Old 09/21/2017, 21:30   #7



 
guesswho-.-'s Avatar
 
elite*gold: 293
Join Date: Jan 2012
Posts: 2,445
Received Thanks: 1,100
7 years old thread x.x

if you're having issues creating a guild then perhaps you removed everything from GUILD_INFO and GUILD_PEERAGE.
Guild info has a default row with MASTERCODE that you cannot remove. if you do this, your guilds will get fked up.
Guild peerage has the info about default guild ranks, so you cant remove it either and they also use the guild_code MASTERCODE. if you removed them, just restore a working backup on a temporary database and migrade the rows.
or if you cant do that, here's how it should look:
GUILD_INFO:



GUILD_PEERAGE:
guesswho-.- is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
Sjsro acc creation issue
11/25/2009 - SRO Private Server - 1 Replies
I tried to create a Sjsro account and entered all information (Username,Password,Name,E-mail,Country,QQ number and captcha code) I used a fake QQ number because I dont know what that is :P I tried to register and I got a message: 联系地址必须&# 20026;中文!请重 032;填写 (translated: Contact address must be in Chinese! Please re-enter ) So Im asking you guys where to enter the contact adress and how to enter it on chinese? Can be closed. I googled some other Pages and found a sullution. Its working now.
Guild Emblem (Guild Logo) (pack)
07/09/2009 - SRO Hacks, Bots, Cheats & Exploits - 21 Replies
You can add a guild emblem as long as it is 16x16 pixel 24b color back in the day i found a pack containing 10k emblems it was full of duplicates and it was 24x24 pixel 256 color I have deleted all duplicates, Converted them all to 16x16 24b and added some emblems How To Use: 1 - Choose the suitable Emblem.



All times are GMT +1. The time now is 02:01.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.