Blue Jem Posted September 16, 2013 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Share Posted September 16, 2013 (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 Edited September 16, 2013 by Jemz Hamada Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted September 16, 2013 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 Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted September 16, 2013 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted September 16, 2013 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 Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted September 16, 2013 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; } Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted September 16, 2013 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted September 16, 2013 (edited) ph ka pala Patskie XieXie is work pwede mo ba add ng npc kung oras ng event papakita un npc then mag wawarp sa loob Edited September 16, 2013 by Jemz Hamada Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted September 16, 2013 ph ka pala Patskie 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 Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted September 16, 2013 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted September 16, 2013 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 but i try my best Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted September 16, 2013 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; } Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted September 16, 2013 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted September 16, 2013 (edited) OnTimer10000: stand what time? 1min? Edited September 16, 2013 by Jemz Hamada Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted September 16, 2013 OnTimer10000: // 10,000 milliseconds divided by 1000 = 10 seconds Wiki : http://rathena.org/wiki/Timers_(Scripting)#NPC_Timers_in_detail Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted September 16, 2013 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted September 16, 2013 (edited) 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 September 16, 2013 by Jemz Hamada Quote Link to comment Share on other sites More sharing options...
Khazou Posted September 16, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 44 Reputation: 5 Joined: 12/06/11 Last Seen: May 2, 2020 Share Posted September 16, 2013 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; Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted September 16, 2013 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted September 16, 2013 ok tnx i try OnTimer310000 stand for 31 secound? Quote Link to comment Share on other sites More sharing options...
Khazou Posted September 16, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 44 Reputation: 5 Joined: 12/06/11 Last Seen: May 2, 2020 Share Posted September 16, 2013 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 Quote Link to comment Share on other sites More sharing options...
Question
Blue Jem
i have error after killed mobs

Edited by Jemz HamadaLink to comment
Share on other sites
13 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.