Jump to content

deltadestiny

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by deltadestiny

  1. Cool, am looking forward to it
  2. try restarting your runserver.exe / runserver-sql.exe ?
  3. Haven't fully tested, but it should basically work...unless I missed out something really important *gulps* Probably different from what you really wanted, I did make a few modifications but I hope it helps. prontera,155,255,4 script MonsterHunt 929,{ mes "[Monster Hunt]"; if ( !.monsterhunt ) mes "No event for the moment."; else if(!getcharid(1) || getpartyleader(getcharid(1),2) != getcharid(0)) mes "You're not a Leader in a Party."; else if ( getmapusers("pvp_n_1-3") > 0 ) mes "There is someone/party inside."; else{ getpartymember( getcharid(1) ); set $@CurrentParty, getcharid(1); set .@PartyCount, $@partymembercount; if (.@PartyCount == 5) // does NOT check for offline members warpparty "pvp_n_1-3",100,139,$@CurrentParty; else mes "Dont have enough player/s on your party. You need 5 Member."; } close; OnInit: set .mh_timer, rand(1,59); // random between 1-59 minutes sleep2 (.mh_timer*60000); // 60000 == 1 minute OnEventStart: if (.monsterhunt == 1) end; announce "Monster Hunt Event is open.",0; monster "pvp_n_1-3.gat",0,0,"RAIDEVENT",1751,1,"MonsterHunt::OnMobKilled"; set .monsterhunt,1; end; OnMobKilled: if( getmapusers("pvp_n_1-3") != 5 ) announce strcharinfo(1)+"'s party failed the Monster Hunt Event.",bc_all; else{ getpartymember($@CurrentParty); set .@PartyCount, $@partymembercount; copyarray .@PartyMemberName$, $@partymembername$, .@PartyCount; for( set .@i, 0; .@i < .@PartyCount; set .@i, .@i+1 ) getitem 7227,1,getcharid(3,.@PartyMemberName$[.@i]); announce ""+strcharinfo(0)+" party killed the monster.",bc_all; } warpparty "prontera",0,0,$@CurrentParty; goto OnClear; end; OnPCDieEvent: if (getcharid(1) == $@CurrentParty && $@CurrentParty != 0 && strcharinfo(3) == "pvp_n_1-3") { sleep2 500; warp "prontera",0,0; percentheal 100,100; sleep2 1000; if (getmapusers("pvp_n_1-3") == 0) { announce strcharinfo(0)+"'s party failed the Monster Hunt Event.",bc_all; goto OnClear; } } end; OnClear: set .monsterhunt, 0; set $@CurrentParty, 0; sleep2 600000; //sleep 10 minutes goto OnInit; end; } Few things I would question, such as if one of the party members died, why would you only announce the party failed AFTER killing the mob. But I'll leave that to you. Cheers =) EDIT: Oh, I didn't realize that you posted in the Scripting Support prior to this one. This event goes on by time, not by (50%) chance, but I'm sure you can sort that out. Well then I guess you can come up with something better by merging both scripts. Good luck! =)
  4. Hey guys, I need a little help about this too. I believe I have the materials required for the Kagerou/Oboro (sprites & skills), and I do have the option to @job into these classes. But the thing is, the character's sprite turns into a Novice with no skills. I'm pretty new to server stuffs, so I'd appreciate if anyone can point me a lead for this. Thanks in advance!
  5. Hi again Emistry! Thank you accepting the friend request :)

    1. Show previous comments  5 more
    2. Emistry
    3. deltadestiny

      deltadestiny

      im having a feeling im bothering you since your replies are short haha kay then, goodnight =)

    4. Emistry
  6. Thank you for the advice! Haha yes, I'm currently doing just that. Although, I'm still learning how to update the test server for newer stuffs like the episode 14.2's content and missing sprites. I'll make sure to check the wiki often, thanks again
  7. Hi Emistry and Shinon Yoshida, thank you! =D
  8. I'm still new to scripting, but perhaps you can try OnPCDieEvent? I believe this label's effect is global, which means every player who dies will trigger this label. Adjust it by adding certain condition checks. The one below checks if the player is on quiz_02. Only if it is, the script within the brackets will run. And uh, I'm assuming the map can only be accessed by one person at a time, not sure if your 'one person per room' means that. OnPCDieEvent: if (strcharinfo(3) == "quiz_02") { // do this } end; Again, I'm new to scripting, so maybe my idea isn't a good one and others might have a better solution. I hope it at least shines a little light for you
  9. Hello to everyone here in rAthena! I'm deltadestiny. I have been playing RO since...5 years ago, I think? And I'm new to this whole behind-the-scenes mechanisms of Ragnarok Online. Currently, I'm learning how to script, and I hope my stay here will extend my knowledge on that section. Other than that, the technical aspects of Ragnarok server are very new to me, such as the contents of .grf files, databases and other stuffs that I've yet to learn about. Other than being here to learn, I'm also hoping to make new friends. Hopefully, someday I'll be able to contribute to the community too as this game is the first MMORPG I've ever ventured into, and the only one that I'm still addicted to. So, again, warmest greetings to all! =D
×
×
  • Create New...