icegrave01 Posted August 5, 2016 Posted August 5, 2016 Can i request this 1. map area must be pk room(any pvp room available) 2. monsters summon (3mins if killed) only few is available - item droped random *50 pcs gold 100% drop rate *20pcs bloody branch 30% drop rate *1pc special item 10% drop rate 3. special item exchanger npc ( for example 20pcs special item for 1pc ESG) 4. kill room npc with entrance fee 10m 5. if killed inside the room player must respawn outside(main town) 6. no warp no memo no tele.+ 7. only through npc can enter this room. Quote
0 Aureon Posted August 6, 2016 Posted August 6, 2016 How about this? // // NOTE: Remove gvg mapflag on guild_vs2 (default on this script) if you want to use this map as pk room // - script PK#config -1,{ OnInit: /* minimum zeny needed to enter */ set $@min_zeny, 10000000; //------------------------------- /* special item you mentioned */ set $@spcial_item, 7227; // item id set $@sitem_amount, 20; // item amount to be exchanged on npc //------------------------------- /* item to be exchanged */ set $@ex_item, 501; // item id set $@exitem_amount, 1; //item amount //------------------------------- end; } - script PK#Room -1,{ OnNPCKillEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ if( killedrid == 1002) { set .@rand, rand (10+30+100); if (.@rand < 10){ getitem $@spcial_item,1; // 10% of having 7227=tcg card as special item } else if (.@rand < 30){ getitem 12103,20; // 30% rate of having bloody branch } else if (.@rand < 100){ getitem 969,50; // 100% rate of having gold } else { getitem 969,50; // 100% rate of having gold } end; } } else{ end; } OnPCDieEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ sleep2 1000; warp "prontera",150,150; end; } end; } prontera,155,184,4 script rAthena 100,{ set @npc$,"[rAthena]"; mes @npc$; mes "What do you want to do?"; switch(select("Enter PVP Room","Exchange Items")){ case 1: if (Zeny >= $@min_zeny){ set Zeny,Zeny-$@min_zeny; warp "guild_vs2",0,0; end; } else{ dispbottom "Insufficient zeny"; close; } break; case 2: if (countitem($@spcial_item) >= $@sitem_amount){ dispbottom "Deal is succesful!"; getitem $@ex_item,$@exitem_amount; delitem $@spcial_item,$@sitem_amount; close; } else { dispbottom "Insufficient items"; close; } } close; } /* mapflags and monster spawn */ guild_vs2,0,0,0, monster Poring 1002,1,180000,0,0 guild_vs2 mapflag nomemo guild_vs2 mapflag pvp guild_vs2 mapflag noteleport Quote
0 dubstep Posted August 11, 2016 Posted August 11, 2016 Hi i want to enable use of fly wing in my gold room? would you help with the script? Quote
0 nitrous Posted August 12, 2016 Posted August 12, 2016 remove guild_vs2 mapflag noteleport from the end of the script Quote
0 icegrave01 Posted August 19, 2016 Author Posted August 19, 2016 How about this? // // NOTE: Remove gvg mapflag on guild_vs2 (default on this script) if you want to use this map as pk room // - script PK#config -1,{ OnInit: /* minimum zeny needed to enter */ set $@min_zeny, 10000000; //------------------------------- /* special item you mentioned */ set $@spcial_item, 7227; // item id set $@sitem_amount, 20; // item amount to be exchanged on npc //------------------------------- /* item to be exchanged */ set $@ex_item, 501; // item id set $@exitem_amount, 1; //item amount //------------------------------- end; } - script PK#Room -1,{ OnNPCKillEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ if( killedrid == 1002) { set .@rand, rand (10+30+100); if (.@rand < 10){ getitem $@spcial_item,1; // 10% of having 7227=tcg card as special item } else if (.@rand < 30){ getitem 12103,20; // 30% rate of having bloody branch } else if (.@rand < 100){ getitem 969,50; // 100% rate of having gold } else { getitem 969,50; // 100% rate of having gold } end; } } else{ end; } OnPCDieEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ sleep2 1000; warp "prontera",150,150; end; } end; } prontera,155,184,4 script rAthena 100,{ set @npc$,"[rAthena]"; mes @npc$; mes "What do you want to do?"; switch(select("Enter PVP Room","Exchange Items")){ case 1: if (Zeny >= $@min_zeny){ set Zeny,Zeny-$@min_zeny; warp "guild_vs2",0,0; end; } else{ dispbottom "Insufficient zeny"; close; } break; case 2: if (countitem($@spcial_item) >= $@sitem_amount){ dispbottom "Deal is succesful!"; getitem $@ex_item,$@exitem_amount; delitem $@spcial_item,$@sitem_amount; close; } else { dispbottom "Insufficient items"; close; } } close; } /* mapflags and monster spawn */ guild_vs2,0,0,0, monster Poring 1002,1,180000,0,0 guild_vs2 mapflag nomemo guild_vs2 mapflag pvp guild_vs2 mapflag noteleport Sorry for late reply, i'm kinda busy at work. Thank you for making this script,. remove guild_vs2 mapflag noteleport from the end of the script Why remove? Quote
0 Radian Posted August 20, 2016 Posted August 20, 2016 He wants to allow players to teleport in the map so by removing the mapflag players can now teleport. Quote
0 nitrous Posted August 20, 2016 Posted August 20, 2016 remove guild_vs2 mapflag noteleport from the end of the script Why remove? Sorry, that was in response to this. Hi i want to enable use of fly wing in my gold room? would you help with the script? Quote
Question
icegrave01
Can i request this
6 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.