Blue Jem Posted September 16, 2013 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
Patskie Posted September 16, 2013 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
Blue Jem Posted September 16, 2013 Author 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
Patskie Posted September 16, 2013 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
Blue Jem Posted September 16, 2013 Author 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
Patskie Posted September 16, 2013 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
Blue Jem Posted September 16, 2013 Author 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
Patskie Posted September 16, 2013 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
Blue Jem Posted September 16, 2013 Author Posted September 16, 2013 (edited) OnTimer10000: stand what time? 1min? Edited September 16, 2013 by Jemz Hamada Quote
Patskie Posted September 16, 2013 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
Blue Jem Posted September 16, 2013 Author 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
Khazou Posted September 16, 2013 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
Blue Jem Posted September 16, 2013 Author Posted September 16, 2013 ok tnx i try OnTimer310000 stand for 31 secound? Quote
Khazou Posted September 16, 2013 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
Question
Blue Jem
i have error after killed mobs

Edited by Jemz Hamada13 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.