Jump to content
  • 0

2nd classes WoE problem


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

OnPCLoadMapEvent:
if(.state && .notify_woe) {
getmapxy(.@map$, .@x, .@y, 0);
set .@region, getd(".loadmap_region_" + .@map$) - 1;
if(.@region >= 0) {
if(Upper!=1){
warp "prontera",0,0;
dispbottom "Only Trans Classes can entry into WoE map!";
end;
}

im using toasty's woe controller, i had added into my scripter, but anyhow, players with using 3rd job are still able to go into the portal and nver get kick out..

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  07/16/12
  • Last Seen:  

Can you post the remainder of the code or tell us what .state, .notify_woe, .loadmap_region_X means?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

if(Upper!=1){

Don't add code if you don't know what it means. This says "Kick out all non-Trans classes", including Trans 3rd but not including non-Trans 3rd. If you want to disable all Third jobs, you'll also need to include:

if (Upper !=1 || eaclass()&EAJL_THIRD) {

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...