Kuroyama 6 Posted October 5, 2020 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? Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted October 6, 2020 (edited) 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 October 6, 2020 by AnnieRuru Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted October 9, 2020 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 2 anacondaq and evilpuncker reacted to this Quote Share this post Link to post Share on other sites
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?
Share this post
Link to post
Share on other sites