Jump to content
  • 0

MVP like Poring Punch


Blue Jem

Question


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  


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
Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


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;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

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

Edited by Jemz Hamada
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  


OnTimer10000: stand what time? 1min?

Edited by Jemz Hamada
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

OnTimer10000: // 10,000 milliseconds divided by 1000 = 10 seconds

Wiki : http://rathena.org/wiki/Timers_(Scripting)#NPC_Timers_in_detail

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

how can add the map limit in hr1 auto kick all player inside to map

 

 

 

 

 

 

Like my Page:>https://www.facebook.com/pages/Jemz-Hamada/103277729768264?fref=ts



and how can add the GM activation key

 

 

 

 

 

 

Like my Page:>https://www.facebook...9768264?fref=ts

Edited by Jemz Hamada
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

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;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

ok tnx i try



OnTimer310000 stand for 31 secound?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

It's in 'tick':

 

1 tick = 1/1000 second

 

So:

 

1000 ticks = 1 Second

60.000 ticks = 1 Minute

 

And so 310.000 ticks = 5min and 10 second :)

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