Jump to content
  • 0

Monster Hunt Event


vgrebirth

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

please im request a script that;

1. Automated every 1 hour

2. Once the event announced the monster automatically spawn at this coordinate *pvp_n_1-3*

3. And the boss that using skills Jupitel Thunder, Thunderstorm, Coma and Storm Gust and summons 1 Sniper Cecil[MVP], Once the party killed the Sniper Cecil[MVP] the boss will not summon another MVP.

3. The npc placed at this coordinates *prontera 128 213*. The NPC ID is *105*.

4. Only 1 party can join with 255 base levels and job level 120 (a party consist of 10 players and a 1st Come 1st serve Basis).

5. Only the party leader can register.

6. When the party leader click the NPC their party warp in this coordinates *pvp_n_1-3 100 140* (of course there's a choices with YES or NO)

7. If one of the members got disconnected or died automatically their party will warp in *prontera 150 145* and announce their party name that its failed to finish it.

8. And they will wait a cool down time for 10 minutes to enter again the arena

10. After they kill the boss automatically they will receive 1 tcg all each member and warp in *prontera 150 145* and announce the name of their party that they finish it.

P.S. its the same with this request http://rathena.org/b..._+monster +hunt

i just add some more details. I hope anyone can help me to have this script. /no1

Edited by vgrebirth
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

prontera,151,188,5	script	kdjshfskh	100,{
//	monster_hunt_deny = 0;
if ( .start == 2 ) {
	mes "sry somebody already started";
	close;
}
if ( .start == 0 ) {
	mes "sry event not running";
	close;
}
mes "open";
next;
select "register";
if ( getcharid(1) == 0 ) {
	mes "you must be in a party";
	close;
}
if ( getpartyleader( getcharid(1), 2 ) != getcharid(0) ) {
	mes "you are not party leader";
	close;
}
getpartymember getcharid(1), 1;
if ( $@partymembercount < .partysize ) {
	mes "you must form a party of "+ .partysize;
	close;
}
getpartymember getcharid(1), 2;
for ( .@i = 0; .@i < $@partymembercount; .@i++ )
	if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) )
		.@count++;
if ( .@count < .partysize ) {
	mes "you must have "+ .partysize +" party members online";
	close;
}
.@origin = getcharid(3);
for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
	if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) {
		attachrid $@partymemberaid[.@i];
		if ( baselevel < .baselevel || joblevel < .joblevel ) {
			.@name$ = strcharinfo(0);
			attachrid .@origin;
			mes .@name$ +" does not meet the level requirement";
			close;
		}
		if ( monster_hunt_deny + .deny > gettimetick(2) ) {
			.@name$ = strcharinfo(0);
			attachrid .@origin;
			mes .@name$ +" are still under 5 min cooldown";
			close;
		}
	}
}
for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
	if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) {
		attachrid $@partymemberaid[.@i];
		monster_hunt_deny = gettimetick(2);
	}
}
warpparty "pvp_n_1-3", 100, 109, getcharid(1);
monster "this", -1,-1, "--ja--", 1002, 1, strnpcinfo(3)+"::Onmobdead";
announce strcharinfo(1) +" has started monster hunting", 0;
.start = 2;
.partyid = getcharid(1);
close;
Onmobdead:
announce strcharinfo(1) +" has completed monster hunting", 0;
getpartymember getcharid(1), 2;
for ( .@i = 0; .@i < $@partymembercount; .@i++ )
	getitem 501, 1, $@partymemberaid[.@i];
warpparty "SavePointAll", 0,0, .partyid;
.start = 0;
.partyid = 0;
end;
//OnWhisperGlobal:
OnMinute00:
if ( .start == 2 )
	warpparty "SavePointAll", 0,0, .partyid;
announce "monster hunting is open", 0;
.start = 1;
end;
OnPCDieEvent:
OnPCLogoutEvent:
if ( strcharinfo(3) != "pvp_n_1-3" ) end;
announce strcharinfo(1) +" has failed monster hunting", 0;
warpparty "SavePointAll", 0,0, .partyid;
.start = 1;
.partyid = 0;
end;
OnInit:
.deny = 300; // 300 seconds to deny players going in again
.partysize = 3; // 10 player members needed to start
.baselevel = 99; .joblevel = 1; // level requirement
end;
}

simply 1 of the simplest event script that I can write on fly

EDIT:

forgot to add mapflag like nowarpto nowarp noteleport partylock nomemo nopenalty nosave =/

Edited by AnnieRuru
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

how can i know that its automated every 1 hour? sorry im noob in scripting.

Edited by vgrebirth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://rathena.org/w...g)#Label_Timers

OnMinute00:

if u don't know how that script command works, you can also search in Wiki or your rathena\doc\script_commands.txt file

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

thank you so much AnnieRuru.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Besides the sniper is there any monsters that you wanted specifically to be non-boss monsters?

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

@Peopleperson49

none sir. only sniper cecil[MVP] will be summoned by the monster hunt boss.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I created another version of the Monster Hunter event from scratch. You can find it in my script collection at http://rathena.org/board/topic/70567-peopleperson49s-scripts/#entry136087. Version 1.0 has not be tested yet, so let me know if you find any issues or even if you don't.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

@Peopleperson49

since ancient times there has been many people keep copy each other's idea

like toasty warper copy my favourite warper ....

but you should at least leave a link (at least link this topic) that someone else has done this same idea

I usually don't care that other people ripping my script

cause I know I'm already popular icon for being pro scripter in this board ( I already famous enough as it is )

however other members might not able to tolerate this behavior

( if it was other members did it 1st and you re-release again, I wont be so sure what is going to happen )

I understand you are willingly to learn, but leaving some credit to previous author is recommended

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I wasn't trying to steal your stuff at all! I wrote all the script/loops myself and didn't copy your work. I know how to do it myself and don't need to steal others work. My original idea had it starting OnMinture00 and ending OnMinute55 with a seperate function NPC, however very similar to yours. I did change the format more based off of yours when I combined the two and eliminated the OnMinute. I didn't use anything other than your format, I didn't realize that qualified as stealing work. Your design was exactly how I would have done it anyway, excellent use of loops and party commands. I will update it and give you credit where it was due. I appolgize and would hate to be classified as those who steal other peoples work! Mine was tailored to exactly what vgrebirth wanted.

Peopleperson49

Edit: Added Version 1.1 which give you credit for using your format.

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

@Peopleperson49

I review your script and i didn't tested it yet but i found out that the main boss is the Sniper Cecil which is not meant to be. My idea is sniper cecil are summon by the main boss (ex: the main boss is Satan Morroc and he summon 1 sniper cecil which is an MVP monster.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Then you will need to specify a different boss. Just change it in the OnInit section. If there is no mob that does the skills and spawns you want then you need to make a custom mob for it.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

Im working it right now. my question is, how can i change the slaves that summon of satan morroc? (ex: satan morroc will summon sniper cecil as hes slaves instead of incarnation of morroc.)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

You can change anything you want it to do through your db files. I suggest you create a new mob and make it do what you want it to instead of modifying a current one. If you need help with that, post a request in the proper request section. I would suggest that you remove the cooldown time that you requested. The way I scripted it you really don't need it there.

Peopleperson49

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

Thank you for your suggestion. I add the cooldown time so that theres a thrill for both parties that competing each other.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I understand what your saying. I will be releasing a revison tomorrow to modify the cooldown time anyway. I don't think its working correctly and need to test it out better. I posted version 1.0 without testing anything, so I'm glad it worked out for you as it was.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

can you make 10 mins for cooldown time?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Download version 1.2 it has the corrected cooldown. Just had to test that it worked out before I put it there.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

honestly i dont see that Peopleperson49 copying AnnieRuru's script coz each one of you has a unique style of making scripts and easy to config. and i think some of the format in the script is the same coz it is really need to be to put it that way. I hope theres no conflict about the two of you because of this script.

@Peopleperson

I will test it on my server. ill just post here if theres a need to change ot etc.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

what I mean is he should say something like,

annieruru started before me... but he didn't say anything in script release section

and sounds like he claim he is the only one who made it 1st

lol its actually fine by me lol

I'm also kinda lazy to put some lame script like this up in script release section

you see I finished that script in just 1 hour time anyway

many of my script also scatter around script support/request section if you guys know how to search properly

and this also isn't the 1st time I encounter this

my 5 years eathena scripting, there're many members did the same to me in the past

what I actually meant is reminding him

while we all learn how to do scripting, especially in script request section

whoever has already done any scripts before your post, or even just giving some direction/guide

the name should be mentioned in script release section

because everyone has helped contribute to make this script possible to be done

he should be feel more thanksgiving for all around him who've contributed, not claim all the credit for himself

example

Basically what you get is a little banner NPC with a chatroom on it who's title updates with the amount of time left till WoE starts or ends. (Little idea stolen from one of annie's scripts =P...some mvp arena i think)
So this is a project I've been working on and off for a while and only really just had it done to a release standard recently. The original reason I started this script was cause of Annie's Favorite Warper script. While pretty original in that I think it was the 1st one to implement a favorites menu in a warper, I absolutely detested how ugly that script looked. No offence to annie, but it looked like an absolute nightmare to configure (menu structure in one area, warp data in another, lots of duplicated data all over the place making it very easy to make a mistake). So I set out to write a warper that meets this one objective:

  • Be able to portray the configuration of all map and menu structure data in a single glance.

even a small amount of introduction ... can let others who've done it before you felt at ease Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Sorry, I put a lot of "love" into my scripts to make the user friendly and I just take it very personally if you or anybody else makes that claim. I took your idea of putting the in one NPC instead of using a seperate controller, but I didn't use your work when I scripted mine. To me I wrote a completely different script and I add a lot of elements that were not in yours. I never even considered that I might ever be coping yours. I tend to get very defensive in any situation where somebody accuses me of anything, especially in the case where I put a lot of time and work into something. But at the same time I understand exactly what your saying. I posted a lot my scripts on eAthena way back when and a few weeks later one of my friends told me about a server using a lot my scripts. They wean't anything super advanced, but I was excited and made an account to see them in action. When I asked their scripting GM how people liked them, he said that he made them specially for that server. I was a bit furious and pulled all of my stuff off of eAthena. Until I came here I had not posted another script besides to help people out or fix scripts that were already there. Who knows maybe this is way I took it so personality.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Hmm Peopleperson, when I read on your Monster Hunter script, I see that you're not saving your array after using 'getpartymember getcharid(1),1;'

Is it save? I mean, when the other party use the same NPC, this global array will be overwritten, or it isn't?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

When .MHPartyID is set it won't let another party register so the variable can't be set to something else. This allows me to minimize the amount of stuff my server has to save. I will look into it to see if their is a better way it should be though and from what you said I see one possible thing I need to work on. I'm glad you can finally look at something of mine, since you have been a great help with clients!!! What do you think of my work?

Peopleperson49

if(.MHPartyID!=0) { mes "[Neilay]"; mes "There is already a party registered."; close; }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Your script are pretty nice, but I found some minor typos on your Monster Hunter script.

I am in charge of the Monster Hunter grounds, how many I assist you? --> may

does not have the minimum level requirments! --> requirement

Their is a Monster Hunter event is currently going on! --> There (or maybe "I'm sorry but another party has started the event.")

has been spawned? --> why a question mark?

Edited by nanakiwurtz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

@Peopleperson49

well since we release free stuffs on the board

other members of course has the permission to edit to his liking to put on his server

but in this board, you have to give permission to edit to put in this board

private server is a place where players enjoy themself, and the gm there has power to control their server

but in this board, everyone of us is equal in terms of script writing

please don't put your personally feeling from that server into this board

I don't wish to see you hurt anyone else

( I'm actually glad that you hit me, because I've experienced this many times in the past )

I'm actually just asking to put "but annieruru did it 1st" something like that in script release section

it shouldn't be hard to do

@nanakiwurtz

http://www.eathena.ws/board/index.php?s=&showtopic=156045&view=findpost&p=860205

http://www.eathena.ws/board/index.php?s=&showtopic=181741&view=findpost&p=1478950

please do note that copyarray from $@partymemberaid immediately into another array to avoid clashing with another party

is a strong rumor in script_commands.txt

ultramage has already explained once a script executed

all CPU power will dedicate in running that script instance until it hit a end; next; sleep ... something

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

can i add one thing? about the cool down time. can you make it a silent cool down? that the npc will not says that theres a cool down time before entering again the arena. In other words battle of spamming in NPC for party leaders.

Edited by vgrebirth
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...