Jump to content
  • 0

MVP like Poring Punch


Question

Posted (edited)

prontera,165,141,1	script	MVP	726,{
OnClock1642:


OnTimer10000:
	announce "MVP has started.",0;
	monster "pvp_n_1-2",0,0,"angeling",1096,1,"MVP::OnMVPKill";
	monster "pvp_n_1-2",0,0,"Archeling",1388,1,"MVP::OnMVPKill";
	monster "pvp_n_1-2",0,0,"diveling",1582,1,"MVP::OnMVPKill";
	end;



OnTimer310000:
	stopnpctimer;
	killmonsterall "guild_vs1";
	sleep2 5000;
	mapannounce "guild_vs1.gat","You'll be warp at prontera in a short while.",16;
	sleep2 10000;
	mapwarp "guild_vs1","prontera",155,166;
	end;

}

i have error after killed mobs 

15xwu8k.jpg

Edited by Jemz Hamada

13 answers to this question

Recommended Posts

Posted
monster "pvp_n_1-2",0,0,"angeling",1096,1,"MVP::OnMVPKill";
monster "pvp_n_1-2",0,0,"Archeling",1388,1,"MVP::OnMVPKill";
monster "pvp_n_1-2",0,0,"diveling",1582,1,"MVP::OnMVPKill";

You need to put an event on your script :

OnMVPKill:
// do something
Posted

that all ??



monster "pvp_n_1-2",0,0,"angeling",1096,1,"OnMVPKill::OnMVPKill";
monster "pvp_n_1-2",0,0,"Archeling",1388,1,"OnMVPKill::OnMVPKill";
monster "pvp_n_1-2",0,0,"diveling",1582,1,"OnMVPKill::OnMVPKill";

like this?



if like this i have error same from my svn

Posted


prontera,165,141,1    script    MVP    726,{

OnClock1642:

OnTimer10000:

    announce "MVP has started.",0;

    monster "pvp_n_1-2",0,0,"angeling",1096,1,"MVP::OnMVPKill";

    monster "pvp_n_1-2",0,0,"Archeling",1388,1,"MVP::OnMVPKill";

    monster "pvp_n_1-2",0,0,"diveling",1582,1,"MVP::OnMVPKill";

    end;

OnMVPKill:

// do something

OnTimer310000:

    stopnpctimer;

    killmonsterall "guild_vs1";

    sleep2 5000;

    mapannounce "guild_vs1.gat","You'll be warp at prontera in a short while.",16;

    sleep2 10000;

    mapwarp "guild_vs1","prontera",155,166;

    end;

}

Posted

ph ka pala Patskie /kis XieXie is work

 

pwede mo ba add ng npc kung oras ng event papakita un npc then mag wawarp sa loob

Native language ( unless you are UK/US citizen ) is strictly prohibited in this area. This is an english section :P

Posted
prontera,165,141,1	script	MVP	726,{
OnInit:
	disablenpc "prtevent";
	end;

prontera,177,163,0	warp	prtevent	2,2,pvp_n_1-2,98,100

OnClock1742:

OnTimer10000:
    announce "MVP has started.",0;
    monster "pvp_n_1-2",0,0,"angeling",1096,1,"MVP::OnMVPKill";
    monster "pvp_n_1-2",0,0,"Archeling",1388,1,"MVP::OnMVPKill";
    monster "pvp_n_1-2",0,0,"diveling",1582,1,"MVP::OnMVPKill";
    end;

OnMVPKill:
   // do something

OnTimer310000:
    stopnpctimer;
    killmonsterall "guild_vs1";
    sleep2 5000;
    mapannounce "guild_vs1.gat","You'll be warp at prontera in a short while.",16;
    sleep2 10000;
    mapwarp "guild_vs1","prontera",155,166;
    end;
}

i show you i script edit

i got error and i dont know i cant fix im not scripter /heh but i try my best

2dumts8.jpg

Posted

Try :

prontera,177,163,0    warp    prtevent    2,2,pvp_n_1-2,98,100
prontera,165,141,1    script    MVP    726,{
OnInit:
    disablenpc "prtevent";
    end;

OnClock1742:
OnTimer10000:
    announce "MVP has started.",0;
    monster "pvp_n_1-2",0,0,"angeling",1096,1,"MVP::OnMVPKill";
    monster "pvp_n_1-2",0,0,"Archeling",1388,1,"MVP::OnMVPKill";
    monster "pvp_n_1-2",0,0,"diveling",1582,1,"MVP::OnMVPKill";
    end;

OnMVPKill:
    // do something
    end;

OnTimer310000:
    stopnpctimer;
    killmonsterall "guild_vs1";
    sleep2 5000;
    mapannounce "guild_vs1.gat","You'll be warp at prontera in a short while.",16;
    sleep2 10000;
    mapwarp "guild_vs1","prontera",155,166;
    end;
}
Posted
how can add the map limit in hr1 auto kick all player inside to map

If you mean kick player from map after playing 1hour then add:

OnTimer3600000:
	mapwarp "guild_vs1","prontera",155,166;
	end;

But you already have a timer that kick out people:

OnTimer310000:
    stopnpctimer;
    killmonsterall "guild_vs1";
    sleep2 5000;
    mapannounce "guild_vs1.gat","You'll be warp at prontera in a short while.",16;
    sleep2 10000;
    mapwarp "guild_vs1","prontera",155,166;
    end;

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