Jump to content
  • 0

Poring Catcher Announcer content not changing


zxcgamingzxc

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/07/15
  • Last Seen:  




I'm searching and editing for ages but cant make it worked out.

the problem is even i change what the announcer says it still saying the old content

The old announce line
" go to prontera blah blah "
my edited line
" type @event "

still it shows the go to the middle of prontera line even its not on the script anymore


 

-    script    Announcer2    -1,{
OnMinute00:
    if ( gettime(3) % 2 ) end;
    donpcevent strnpcinfo(1)+"::OnGMStart";
    end;

OnGMStart:
    killmonster "poring_w01.gat","All";
    announce "(Poring Manager) : A Gamemaster started a Poring Catcher Event now.",0;
    sleep 3000;
    announce "(Poring Manager) : If you want to join, type @event and enter the warp portal.",0;
    enablenpc "PoringCatcher";
    sleep 2000;
    announce "(Poring Manager) : Prize: will be TCG Cards",0;
    sleep 2000;
    announce "(Poring Manager) : The portal is going to close in one minute.",0;  
    sleep 60000;
    announce "(Poring Manager) : The portal has been closed.",0;
    disablenpc "PoringCatcher";
    if(getmapusers("poring_w01") == 0) 
    {
        disablenpc "Poring Banker";
        announce "Event Poring Catcher didn't start because there's no players.",0;
        end;
    }

    donpcevent "Poring Banker::OnEnable";
    end;

OnGMStop:

    killmonster "poring_w01.gat","All";
    announce "A Gamemaster has stopped the Poring Catcher Event",0;
    mapwarp "poring_w01.gat","prontera.gat",155,173;
    disablenpc "Poring Banker";
    disablenpc "PoringCatcher";
    end;

OnClock1200:
OnClock1100:
OnClock1300:
OnClock2300:
    killmonster "poring_w01.gat","All";
    announce "(Poring Manager) : Poring Catcher Event will start at the moment.",0;
    sleep 3000;
    announce "(Poring Manager) : If you want to join, type @event and enter the warp portal.",0;
    enablenpc "PoringCatcher";
    sleep 2000;
    announce "(Poring Manager) : Prize: will be TCG Cards",0;
    sleep 2000;
    announce "(Poring Manager) : The portal is going to close in one minute.",0;  
    sleep 60000;
    announce "(Poring Manager) : The portal has been closed.",0;
    disablenpc "PoringCatcher";
    if(getmapusers("poring_w01") == 0) 
    {
        disablenpc "Poring Banker";
        announce "Event Poring Catcher didn't start because no players found in map.",0;
        end;
    }

    donpcevent "Poring Banker::OnEnable";
    end;

OnInit:
    disablenpc "Poring Banker";
    disablenpc "PoringCatcher";
}



thanks


 

Edited by zxcgamingzxc
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

1) Use a Codebox when posting code

2) Don't bump your topic it's against rules

3) That script is terrible -_- I have a poring catcher code in my autoevent npc (it can also be run via at_runevent by gm) feel free to use it.

 

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