Jump to content
  • 0
Sign in to follow this  
Kuroyama

About guild emblems

Question

I don't know where to ask this thing so I'd post it here.

 

I already applied this one: https://rathena.org/board/topic/84497-emblem-during-woe/

Which is this function is preventing the guild to change their emblem when woe its active.

 

But my concern is, while woe is inactive = they can remove their emblem and then wait for woe to be activate and enter castles "without emblem".

Is there any possible way to prevent guilds with no emblems to entering the castle? :whisp:

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
20 hours ago, Kuroyama said:

Is there any possible way to prevent guilds with no emblems to entering the castle?

need a custom script command like *checkguildemblem

https://github.com/AnnieRuru/Release/blob/master/plugins/checkguildemblem.c

 

-	script	woelimit	HIDDEN_NPC,{
	end;
OnPCLoadMapEvent:
	.@guild_id = getcharid(CHAR_ID_GUILD);
	if (!.@guild_id || !getmapflag(strcharinfo(PC_MAP), MF_GVG_CASTLE) || !agitcheck())
		end;
	if (checkguildemblem(.@guild_id))
		end;
	message getcharid(CHAR_ID_ACCOUNT), "You must have an emblem to join WOE";
	warp "Save", 0,0;
	end;
}

 

btw you should combine this script with this one seems similar stuffs that you want to restrict your players in woe .....

 


 

wait .... how to REMOVE the emblem ?

once an emblem has been set, the only way is to CHANGE the emblem only

 

if the guild master CHANGE the emblem into fully transparent 0xFF00FF color then this script command will still fail

and made a check with emblem data is just like playing cat and mouse, today I deny a full transparent emblem, tomorrow guild master change it with a single dot, it just never ends

 

this idea don't seem to work

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0

conf\map\battle\client.conf

// Limits use of blank (transparent) pixels in guild emblems to a set
// percentage of the total.
// Official servers do not enforce this technically to date, but some disallow
// use of blank emblems in their rules. (Note 2)
// A value of 100 (allowing 100% blank pixels) disables this check.
// NOTE: Enabling this option slightly degrades performance.
client_emblem_max_blank_percent: 100

 

I think this is the answer you are looking for

@Kuroyama

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.