Jump to content
  • 0

No Guild Autokicker


MusiLiciouS

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   2
  • Joined:  06/04/13
  • Last Seen:  

How to combine this script to Euphy's Woe Controller? Having a problem coz it overlaps my woe controller :(

 

https://rathena.org/board/topic/91454-rauto-kick/?p=240025

 

Or can anyone give me a script where a player cant go inside the castle when they dont have guild

Edited by MusiLiciouS
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   24
  • Joined:  02/11/16
  • Last Seen:  

Have you tried nanakiwurtz's script? I believe that's what you need.

-	script	CastleBlocker	-1,{
OnInit:
// Add more castle maps here:
setarray .map$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
set .map_size,getarraysize(.map$);
for (.@i = 0; .@i < .map_size; .@i++)
setmapflag .map$[.@i],mf_loadevent;
end;

OnPCLoadMapEvent:
for (.@i = 0; .@i < .map_size; .@i++)
	if (strcharinfo(3) == .map$[.@i]) {
        if(!getcharid(2)) {
			mes "Sorry, you are not in a guild!";
			close2;
			warp "prontera",155,180;
		}
		break;
	}
end;
}
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   2
  • Joined:  06/04/13
  • Last Seen:  

Have you tried nanakiwurtz's script? I believe that's what you need.

-	script	CastleBlocker	-1,{
OnInit:
// Add more castle maps here:
setarray .map$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
set .map_size,getarraysize(.map$);
for (.@i = 0; .@i < .map_size; .@i++)
setmapflag .map$[.@i],mf_loadevent;
end;

OnPCLoadMapEvent:
for (.@i = 0; .@i < .map_size; .@i++)
	if (strcharinfo(3) == .map$[.@i]) {
        if(!getcharid(2)) {
			mes "Sorry, you are not in a guild!";
			close2;
			warp "prontera",155,180;
		}
		break;
	}
end;
}

Yes.. I tried it but it affects euphys controller.. when i used that script, its says the war of emperium is inactive and players with guild will be warped back to their Savepoint.. then i have to reconfig again euphys woe controller so that the castle will be active.. when i do that, that kicker is not working.. i dunno what seems to be the problem

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

Solution: Turn off Euphy's WoE Controller set up that says you can't warp to inactive castles.

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...