Jump to content
  • 0

gold room with a twist


Question

Posted

Hi good day,

 

I'm planning to implement a place on my server where my players can hunt item (9524) and it will be a PK MAP, something like a gold room but instead that mobs will drop gold, they will drop item (9524). 

Can someone help me with this kind of script? 

 

A billion of thanks  B)  :lol:  :lol:  B)

17 answers to this question

Recommended Posts

Posted (edited)


// Just change map whatever you want

geffen,67,63,4 script Farm Zone 900,{

mes "[ Farm Zone ]";

mes "blalalaal";

next;

menu "Are you sure to go?", L_Go, "Nevermind", L_nvm;

L_Go:

warp "prontera",100,100;

close;

L_nvm:

mes "No problem come back again";

close;

end;

}

// --------------------------------------------------------------

- script Monsters -1,{

OnInit:

monster "prontera",0,0,"Farm",1002,10,"Monsters::OnPoringKilled";

OnPoringKilled:

getitem 9524,1;

end;

}

Edited by Yoga
Posted
// Just change map whatever you want
geffen,67,63,4	script	Farm Zone	900,{
    mes "[ Farm Zone ]";
    mes "blalalaal";
next;
    menu "Are you sure to go?", L_Go, "Nevermind", L_nvm;

L_Go:
warp "prontera",100,100;
close;

L_nvm:
	mes "No problem come back again";
close;
end;
}
// --------------------------------------------------------------
-	script	Monsters	-1,{
OnInit:
monster "prontera",0,0,"Farm",1002,10,"Monsters::OnPoringKilled";
OnPoringKilled:
	getitem 9524,1;
	end;
	}

 

What a quick reply sir Yoga and Dynasty, wait sir im going to try it

Posted (edited)
// Just change map whatever you want
geffen,67,63,4	script	Farm Zone	900,{
    mes "[ Farm Zone ]";
    mes "blalalaal";
next;
    menu "Are you sure to go?", L_Go, "Nevermind", L_nvm;

L_Go:
warp "prontera",100,100;
close;

L_nvm:
	mes "No problem come back again";
close;
end;
}
// --------------------------------------------------------------
-	script	Monsters	-1,{
OnInit:
monster "prontera",0,0,"Farm",1002,10,"Monsters::OnPoringKilled";
OnPoringKilled:
	getitem 9524,1;
	end;
	}

he is faster than me

Edited by Dynasty
Posted

Ok i have a little problem here, i change the mob into Grand Peco, but then after all mobs were killed. It will not respawn

Can you please add something like;

- The Room is limited for 5 players only

- Grand Peco respawns faster.

 

 

 

farm_zone.txt

Posted (edited)


// Just change map whatever you want

geffen,67,63,4 script Farm Zone 900,{

mes "This is a Farm Zone.";

mes "You are able to Hunt Budots Coin inside this Room.";

mes "But please be careful, this room is PK Enabled.";

next;

menu "Are you sure to go? [" + getmapusers("guild_vs5.gat") +"/5]", L_Go, "Nevermind", L_nvm;

L_Go:

next;

if (getmapusers("guild_vs5") >= 5) {

mes "This map is currently full.";

}

warp "guild_vs5",23,50;

end;

L_nvm:

mes "No problem come back again";

close;

end;

}

// --------------------------------------------------------------

- script Monsters -1,{

OnInit:

OnNPCKillEvent:

if ( strcharinfo(3) == "guild_vs5" ) {

if( killedrid == 1369){

getitem 607,1;

}

end;

}

}

guild_vs5,0,0,52,52 monster Grand Peco 1369,20,10,10;

Edited by Yoga
  • Upvote 1
Posted
// Just change map whatever you want
geffen,67,63,4 script Farm Zone 900,{
    mes "This is a Farm Zone.";
    mes "You are able to Hunt Budots Coin inside this Room.";
    mes "But please be careful, this room is PK Enabled.";
next;
    menu "Are you sure to go? [" + getmapusers("guild_vs5.gat") +"/5]", L_Go, "Nevermind", L_nvm;
 
L_Go:
next;
if (getmapusers("guild_vs5") >= 5) {
mes "This map is currently full.";
close;
}
warp "guild_vs5",23,50;
end;
 
L_nvm:
mes "No problem come back again";
close;
end;
}
// --------------------------------------------------------------
- script Monsters -1,{
OnInit:
OnNPCKillEvent:
if ( strcharinfo(3) == "guild_vs5" ) {
if( killedrid == 1369){
    getitem 607,1;
}
end;
}
}
 
guild_vs5,0,0,52,52 monster Grand Peco 1369,20,10,10;

I think you're missing a 'close', otherwise even there are more than 5 people on the room, other people can still join the room..  /ok

Posted
// Just change map whatever you want
geffen,67,63,4 script Farm Zone 900,{
    mes "This is a Farm Zone.";
    mes "You are able to Hunt Budots Coin inside this Room.";
    mes "But please be careful, this room is PK Enabled.";
next;
    menu "Are you sure to go? [" + getmapusers("guild_vs5.gat") +"/5]", L_Go, "Nevermind", L_nvm;
 
L_Go:
next;
if (getmapusers("guild_vs5") >= 5) {
mes "This map is currently full.";
close;
}
warp "guild_vs5",23,50;
end;
 
L_nvm:
mes "No problem come back again";
close;
end;
}
// --------------------------------------------------------------
- script Monsters -1,{
OnInit:
OnNPCKillEvent:
if ( strcharinfo(3) == "guild_vs5" ) {
if( killedrid == 1369){
    getitem 607,1;
}
end;
}
}
 
guild_vs5,0,0,52,52 monster Grand Peco 1369,20,10,10;

I think you're missing a 'close', otherwise even there are more than 5 people on the room, other people can still join the room..  /ok

 

Hi Nana, can you do me a favor? can you put in on pastebin? and what if i change the map into (ordeal_2-1 149 149) , do i need to change the respawn of pecos?

Posted

Sir i would like to make the peco peco 50% resistance against STORM GUST, because as i have seen players can easily farm using Wizards spamming storm gust, how to make it?


Anyway, i already solved it. Thanks a lot guys

Posted

You could use something like this to manage your skills:

mapflag<tab>skill_damage<tab>WZ_STORMGUST,1,,50

But before you can alter the damage of your chosen skills, you have to enable 'ADJUST_SKILL_DAMAGE' in 'src/config/core.h'

But remember, that each map only could have 5 of these type of mapflag  /oh

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...