Jump to content
  • 0

2nd classes WoE problem


Question

Posted

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

2 answers to this question

Recommended Posts

Posted

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) {

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...