Jump to content

PholliCruz

Members
  • Content Count

    27
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

1 Neutral

2 Followers

About PholliCruz

  • Rank
    Drops

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Good day rathena, I need help modifying this script. the problem is after killing the last mob inside the instance the player doesn't get any rewards and the instance it self doesn't destroying. it should be after killing the last mvp all players including the party leader will get a reward and after a 1 minute all players will be warped out inside the instance. anyone can help me? here's the script. thank you in advance. // Entrance //============================================================ izlude,134,151,4 script Hunting Path 1736,{ if (BaseLevel < 150) { mes [email protected]$; mes "Why don't you come back after becoming stronger?"; mes "Maybe, level 150."; close; } [email protected]$ = "[^3355FF Hunting Path ^000000]"; [email protected]_id = getcharid(1); [email protected]_name$ = getpartyname([email protected]_id); [email protected]$ = "Hunting Path"; set [email protected]_lim_time,upath_timer+2700; // 45 mins set [email protected]_timer,checkquest(80000,PLAYTIME); // 45 mins if (getcharid(0) == getpartyleader([email protected]_id,2)) { mes [email protected]$; mes "This is where the fun really begins, I suggest you to bring friends, Do you really think you are ready?"; next; switch(select("I'm super high and i can take anything:Enter Dungeon:Cancel")) { case 1: if (Zeny < 50000) { mes [email protected]$; mes "I will not send you for free."; mes "I need to make a living."; mes "The cost of my service is 50,000 zeny."; mes "Would you like to proceed?"; //cutin "",255; end; } if (instance_create([email protected]$) < 0) { mes "Party Name: "[email protected]_name$; mes "Party Leader: "+strcharinfo(0); mes "^0000ff"[email protected]$+" ^000000- Reservation Failed!"; close; } Zeny -= 50000; mes [email protected]$; mes "Talk to me again if you want to enter the dungeon again."; close; case 2: callsub L_Enter,0,1; case 3: mes [email protected]$; mes "Good luck!."; close; } } mes [email protected]$; mes "You may enter a Hunting Path if it's been reserved by your party leader."; next; switch(select("Enter the Hunting Path:Cancel")) { case 1: callsub L_Enter,1,1; case 2: mes [email protected]$; mes "Good luck!."; end; } L_Enter: switch(instance_enter("Hunting Path")) { case 3: mes [email protected]$; mes "You are not in a party."; close; case 2: mes [email protected]$; mes "The private Hunting Path has not yet been reserved."; mes "The party leader did not pay the fee."; close; case 1: mes [email protected]$; mes "You can enter the room after making a party."; close; case 0: mapannounce "izlude", getpartyname( getcharid(1) ) +" party's party member "+ strcharinfo(0) +" has entered the Hunting Path Instance.", bc_map, "0x00ff99"; set upath_timer,gettimetick(2); end; } } // Sector 1 Mobs //============================================================ job_thief1,1,1,0 script #unholypathmobs HIDDEN_WARP_NPC,{ close; OnInstanceInit: [email protected]$ = instance_mapname("job_thief1"); [email protected]$ = instance_npcname("#unholypathmobs"); monster [email protected]$,0,0,"Apocalypse",30001,44,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Civil Servant",30002,47,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Undoer",30003,43,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Leaf Cat",30004,45,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Enchanter",30005,42,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Garm",30006,10,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Raydric DeadEye",30007,45,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Monkey Fist",30008,42,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: //announce "Hey, " + strcharinfo(0) + " just killed a Poringz0rd!",bc_blue|bc_all; end; } //============================================================ // Thumb of Shax //============================================================ job_thief1,64,330,4 script Gatekeeper 4_F_NFDEADKAFRA,{ mes "[Gatekeeper]"; mes "I am the proud owner of sealed gate, Only i hold the key of entry!."; mes "Inside you will find one of my many beast, a challenge in which you can handle it."; next; mes "[Notice]"; mes "Just in case you missed my announcement, please ensure all your party members are on the same map as you before continuing."; next; mes "[Gatekeeper]"; mes "Please confirm you read my announcement."; next; switch(select("Continue:Let me grab all my party member first:Cancel")) { case 1: mes "Ok good luck i will warp you now."; warp instance_mapname("pvp_n_1-4", instance_id(IM_PARTY)) ,100,18; close; case 2: mes "Ok Lets wait them all."; close; case 3: mes "Ok!."; close; } } pvp_n_1-4,1,1,0 script #ultimatemobs HIDDEN_WARP_NPC,{ //mes "Hi there"; close; OnInstanceInit: [email protected]$ = instance_mapname("pvp_n_1-4"); [email protected]$ = instance_npcname("#ultimatemobs"); monster [email protected]$,100,114,"Shax",30009,1,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: mapannounce instance_mapname("pvp_n_1-4"), "Hunting Path has fallen.",bc_map,"0xffff00"; end; OnInstanceDestroy: set [email protected]$, instance_mapname("pvp_n_1-4"); addrid(5, 0, [email protected]$); getitem 50037,1; warp "izlude",128,141; sleep2 1; instance_destroy(instance_id(1)); deltimer strnpcinfo(0) +"::OnKick"; addtimer 60000, strnpcinfo(0) +"::OnKick"; // 60,000 seconds warp out (2 minutes) @timeused = gettimetick(2); end; OnKick: if ( strcharinfo(3) == "izlude" ) warp "izlude",128,141; end; } //============================================================ // Thumb of Raum //============================================================ job_thief1,103,330,4 script Gatekeeper#2 4_F_NFDEADKAFRA,{ mes "[Gatekeeper]"; mes "I am the proud owner of sealed gate, Only i hold the key of entry!."; mes "Inside you will find one of my many beast, a challenge in which you can handle it."; next; mes "[Notice]"; mes "Just in case you missed my announcement, please ensure all your party members are on the same map as you before continuing."; next; mes "[Gatekeeper]"; mes "Please confirm you read my announcement."; next; switch(select("Continue:Let me grab all my party member first:Cancel")) { case 1: mes "Ok good luck i will warp you now."; warp instance_mapname("pvp_n_2-4", instance_id(IM_PARTY)) ,100,18; close; case 2: mes "Ok Lets wait them all."; close; case 3: mes "Ok!."; close; } } pvp_n_2-4,1,1,0 script #ultimatemobs2 HIDDEN_WARP_NPC,{ //mes "Hi there"; close; OnInstanceInit: [email protected]$ = instance_mapname("pvp_n_2-4"); [email protected]$ = instance_npcname("#ultimatemobs2"); monster [email protected]$,100,114,"Raum",30010,1,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: mapannounce instance_mapname("pvp_n_2-4"), "Hunting Path has fallen.",bc_map,"0xffff00"; end; OnInstanceDestroy: set [email protected]$, instance_mapname("pvp_n_2-4"); addrid(5, 0, [email protected]$); getitem 50038,1; warp "izlude",128,141; sleep2 1; instance_destroy(instance_id(1)); deltimer strnpcinfo(0) +"::OnKick"; addtimer 60000, strnpcinfo(0) +"::OnKick"; // 60,000 seconds warp out (2 minutes) @timeused = gettimetick(2); end; OnKick: if ( strcharinfo(3) == "izlude" ) warp "izlude",128,141; end; } //============================================================ // Thumb of Paimon //============================================================ job_thief1,158,330,4 script Gatekeeper#3 4_F_NFDEADKAFRA,{ mes "[Gatekeeper]"; mes "I am the proud owner of sealed gate, Only i hold the key of entry!."; mes "Inside you will find one of my many beast, a challenge in which you can handle it."; next; mes "[Notice]"; mes "Just in case you missed my announcement, please ensure all your party members are on the same map as you before continuing."; next; mes "[Gatekeeper]"; mes "Please confirm you read my announcement."; next; switch(select("Continue:Let me grab all my party member first:Cancel")) { case 1: mes "Ok good luck i will warp you now."; warp instance_mapname("pvp_n_3-4", instance_id(IM_PARTY)) ,100,18; close; case 2: mes "Ok Lets wait them all."; close; case 3: mes "Ok!."; close; } } pvp_n_3-4,1,1,0 script #ultimatemobs3 HIDDEN_WARP_NPC,{ //mes "Hi there"; close; OnInstanceInit: [email protected]$ = instance_mapname("pvp_n_3-4"); [email protected]$ = instance_npcname("#ultimatemobs3"); monster [email protected]$,100,114,"Paimon",30011,1,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: mapannounce instance_mapname("pvp_n_3-4"), "Hunting Path has fallen.",bc_map,"0xffff00"; end; OnInstanceDestroy: set [email protected]$, instance_mapname("pvp_n_3-4"); addrid(5, 0, [email protected]$); getitem 50039,1; warp "izlude",128,141; sleep2 1; instance_destroy(instance_id(1)); deltimer strnpcinfo(0) +"::OnKick"; addtimer 60000, strnpcinfo(0) +"::OnKick"; // 60,000 seconds warp out (2 minutes) @timeused = gettimetick(2); end; OnKick: if ( strcharinfo(3) == "izlude" ) warp "izlude",128,141; end; } //============================================================ // Thumb of Apollyon //============================================================ job_thief1,262,332,4 script Gatekeeper#4 4_F_NFDEADKAFRA,{ mes "[Gatekeeper]"; mes "I am the proud owner of sealed gate, Only i hold the key of entry!."; mes "Inside you will find one of my many beast, a challenge in which you can handle it."; next; mes "[Notice]"; mes "Just in case you missed my announcement, please ensure all your party members are on the same map as you before continuing."; next; mes "[Gatekeeper]"; mes "Please confirm you read my announcement."; next; switch(select("Continue:Let me grab all my party member first:Cancel")) { case 1: mes "Ok good luck i will warp you now."; warp instance_mapname("pvp_n_4-4", instance_id(IM_PARTY)) ,100,18; close; case 2: mes "Ok Lets wait them all."; close; case 3: mes "Ok!."; close; } } pvp_n_4-4,1,1,0 script #ultimatemobs4 HIDDEN_WARP_NPC,{ //mes "Hi there"; close; OnInstanceInit: [email protected]$ = instance_mapname("pvp_n_4-4"); [email protected]$ = instance_npcname("#ultimatemobs4"); monster [email protected]$,100,114,"Apollyon",30012,1,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: mapannounce instance_mapname("pvp_n_4-4"), "Hunting Path has fallen.",bc_map,"0xffff00"; end; OnInstanceDestroy: set [email protected]$, instance_mapname("pvp_n_4-4"); addrid(5, 0, [email protected]$); getitem 50040,1; warp "izlude",128,141; sleep2 1; instance_destroy(instance_id(1)); deltimer strnpcinfo(0) +"::OnKick"; addtimer 60000, strnpcinfo(0) +"::OnKick"; // 60,000 seconds warp out (2 minutes) @timeused = gettimetick(2); end; OnKick: if ( strcharinfo(3) == "izlude" ) warp "izlude",128,141; end; } //============================================================ // Thumb of Balam //============================================================ job_thief1,179,287,4 script Gatekeeper#5 4_F_NFDEADKAFRA,{ mes "[Gatekeeper]"; mes "I am the proud owner of sealed gate, Only i hold the key of entry!."; mes "Inside you will find one of my many beast, a challenge in which you can handle it."; next; mes "[Notice]"; mes "Just in case you missed my announcement, please ensure all your party members are on the same map as you before continuing."; next; mes "[Gatekeeper]"; mes "Please confirm you read my announcement."; next; switch(select("Continue:Let me grab all my party member first:Cancel")) { case 1: mes "Ok good luck i will warp you now."; warp instance_mapname("pvp_n_5-4", instance_id(IM_PARTY)) ,100,18; close; case 2: mes "Ok Lets wait them all."; close; case 3: mes "Ok!."; close; } } pvp_n_5-4,1,1,0 script #ultimatemobs5 HIDDEN_WARP_NPC,{ //mes "Hi there"; close; OnInstanceInit: [email protected]$ = instance_mapname("pvp_n_5-4"); [email protected]$ = instance_npcname("#ultimatemobs5"); monster [email protected]$,100,114,"Balam",30013,1,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: mapannounce instance_mapname("pvp_n_5-4"), "Hunting Path has fallen.",bc_map,"0xffff00"; //end; OnInstanceDestroy: set [email protected]$, instance_mapname("pvp_n_5-4"); addrid(5, 0, [email protected]$); getitem 50041,1; warp "izlude",128,141; sleep2 1; instance_destroy(instance_id(1)); deltimer strnpcinfo(0) +"::OnKick"; addtimer 60000, strnpcinfo(0) +"::OnKick"; // 60,000 seconds warp out (2 minutes) @timeused = gettimetick(2); end; OnKick: if ( strcharinfo(3) == "izlude" ) warp "izlude",128,141; end; } //================================================================================== //--------|Map Flags|--------------------------------------------------------------- //================================================================================== job_thief1 mapflag monster_noteleport job_thief1 mapflag nowarpto job_thief1 mapflag nomemo job_thief1 mapflag noteleport job_thief1 mapflag nosave SavePoint job_thief1 mapflag nopenalty pvp_n_1-4 mapflag monster_noteleport pvp_n_1-4 mapflag nowarpto pvp_n_1-4 mapflag nomemo pvp_n_1-4 mapflag noteleport pvp_n_1-4 mapflag nosave SavePoint pvp_n_1-4 mapflag nopenalty pvp_n_2-4 mapflag monster_noteleport pvp_n_2-4 mapflag nowarpto pvp_n_2-4 mapflag nomemo pvp_n_2-4 mapflag noteleport pvp_n_2-4 mapflag nosave SavePoint pvp_n_2-4 mapflag nopenalty pvp_n_3-4 mapflag monster_noteleport pvp_n_3-4 mapflag nowarpto pvp_n_3-4 mapflag nomemo pvp_n_3-4 mapflag noteleport pvp_n_3-4 mapflag nosave SavePoint pvp_n_3-4 mapflag nopenalty pvp_n_4-4 mapflag monster_noteleport pvp_n_4-4 mapflag nowarpto pvp_n_4-4 mapflag nomemo pvp_n_4-4 mapflag noteleport pvp_n_4-4 mapflag nosave SavePoint pvp_n_4-4 mapflag nopenalty pvp_n_5-4 mapflag monster_noteleport pvp_n_5-4 mapflag nowarpto pvp_n_5-4 mapflag nomemo pvp_n_5-4 mapflag noteleport pvp_n_5-4 mapflag nosave SavePoint pvp_n_5-4 mapflag nopenalty // Shop Area job_thief1,184,24,4 script Forsaken Mystic#1 4_M_NFDEADMAN,{ callfunc "UnholypathShop"; } - script unholypath_shop -1,{ function Add; function Chk; function Slot; OnInit: freeloop(1); set .Announce,1; // Announce quest completion? (1: yes / 0: no) set .ShowSlot,1; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never) set .ShowID,1; // Show item IDs? (1: yes / 0: no) set .ShowZeny,1; // Show Zeny cost, if any? (1: yes / 0: no) set .MaxStack,5; // Max number of quest items purchased at one time. setarray .Points$[0], "#CASHPOINTS", "Cash Points"; setarray .Shops$[1], "Wings", // Shop Named 1 "Accesory Cards"; // Shop Named 2 // Shop 1 Add(1,50005,1,0,0,50037,1,50038,1,50039,1,50040,1,50041,1); Add(1,50004,1,0,0,50037,1,50038,1,50039,1,50040,1,50041,1); Add(1,50006,1,0,0,50037,1,50038,1,50039,1,50040,1,50041,1); // Shop 2 Add(2,50053,1,0,0,50040,1,50041,1); Add(2,50051,1,0,0,50038,1,50040,1); Add(2,50054,1,0,0,50041,1,50039,1); Add(2,50050,1,0,0,50039,1,50036,1); Add(2,50052,1,0,0,50037,1,50038,1); freeloop(0); set .menu$,""; for(set [email protected],1; [email protected]<=getarraysize(.Shops$); set [email protected],[email protected]+1) { set .menu$, .menu$+.Shops$[[email protected]]+":"; npcshopdelitem "UnholypathShop"[email protected],909; } end; OnMenu: set [email protected], getarraysize(@i); if ([email protected]) set @shop_index, select(.menu$); else if ([email protected] == 1) set @shop_index, @i[0]; else { for(set [email protected],0; [email protected]<[email protected]; set [email protected],[email protected]+1) set [email protected]$, [email protected]$+.Shops$[@i[[email protected]]]+":"; set @shop_index, @i[select([email protected]$)-1]; } deletearray @i[0],getarraysize(@i); if (.Shops$[@shop_index] == "") { message strcharinfo(0),"An error has occurred."; end; } dispbottom "Select one item at a time."; callshop "UnholypathShop"[email protected]_index,1; npcshopattach "UnholypathShop"[email protected]_index; end; OnBuyItem: // [email protected][] : RewardID, BoughtAmt, RewardAmt, BaseAmt, ReqZeny, ReqPts, { ReqItem, ReqAmt, ... } setarray [email protected][0],@bought_nameid[0],((@bought_quantity[0] > .MaxStack)?.MaxStack:@bought_quantity[0]); copyarray [email protected][3],getd(".q_"[email protected]_index+"_"[email protected][0]+"[0]"),getarraysize(getd(".q_"[email protected]_index+"_"[email protected][0])); set [email protected][2],[email protected][1]*[email protected][3]; if ([email protected][2] || [email protected][2] > 30000) { message strcharinfo(0),"You can't purchase that many "+getitemname([email protected][0])+"."; end; } mes "[Quest Shop]"; mes "Reward: ^0055FF"+(([email protected][2] > 1)[email protected][2]+"x ":"")+Slot([email protected][0])+"^000000"; mes "Requirements:"; disable_items; if ([email protected][4]) mes " > "+Chk(Zeny,[email protected][4]*[email protected][1])+([email protected][4]*[email protected][1])+" Zeny^000000"; if ([email protected][5]) mes " > "+Chk(getd(.Points$[0]),[email protected][5]*[email protected][1])+([email protected][5]*[email protected][1])+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"+([email protected][5]*[email protected][1])+")^000000"; if ([email protected][6]) for(set [email protected],6; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+2) mes " > "+Chk(countitem([email protected][[email protected]]),[email protected][[email protected]+1]*[email protected][1])+((.ShowID)?"{"[email protected][[email protected]]+"} ":"")+Slot([email protected][[email protected]])+" ("+countitem([email protected][[email protected]])+"/"+([email protected][[email protected]+1]*[email protected][1])+")^000000"; next; setarray @qe[1], getiteminfo([email protected][0],5), getiteminfo([email protected][0],11); if (@qe[2] > 0 && ((@qe[1] & EQP_HEAD_LOW) || (@qe[1] & EQP_HEAD_TOP) || (@qe[1] & EQP_HEAD_MID) || (@qe[1] & EQP_COSTUME_HEAD_TOP) || (@qe[1] & EQP_COSTUME_HEAD_MID) || (@qe[1] & EQP_COSTUME_HEAD_LOW) || (@qe[1] & EQP_GARMENT) || (@qe[1] & EQP_COSTUME_GARMENT))) set [email protected],1; addtimer 1000, strnpcinfo(0)+"::OnEnd"; while(1) { switch(select(" ~ Purchase ^0055FF"+getitemname([email protected][0])+"^000000:"+(([email protected] && [email protected][7])?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) { case 1: if (@qe[0]) { mes "[Quest Shop]"; mes "You're missing one or more quest requirements."; close; } if (!checkweight([email protected][0],[email protected][2])) { mes "[Quest Shop]"; mes "^FF0000You need "+((([email protected][2]*getiteminfo([email protected][0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000"; close; } if ([email protected][4]) set Zeny, Zeny-([email protected][4]*[email protected][1]); if ([email protected][5]) setd .Points$[0], getd(.Points$[0])-([email protected][5]*[email protected][1]); if ([email protected][6]) for(set [email protected],6; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+2) delitem [email protected][[email protected]],[email protected][[email protected]+1]*[email protected][1]; getitem [email protected][0],[email protected][2]; if (.Announce) announce strcharinfo(0)+" has created "+(([email protected][2] > 1)[email protected][2]+"x "+getitemname([email protected][0]):callfunc("F_InsertArticle",getitemname([email protected][0])))+"!",0; specialeffect2 EF_FLOWERLEAF; close; case 2: setarray @qe[3], getlook(LOOK_HEAD_BOTTOM), getlook(LOOK_HEAD_TOP), getlook(LOOK_HEAD_MID), getlook(LOOK_ROBE), 1; if ((@qe[1] & 1) || (@qe[1] & 4096)) changelook LOOK_HEAD_BOTTOM, @qe[2]; else if ((@qe[1] & 256) || (@qe[1] & 1024)) changelook LOOK_HEAD_TOP, @qe[2]; else if ((@qe[1] & 512) || (@qe[1] & 2048)) changelook LOOK_HEAD_MID, @qe[2]; else if ((@qe[1] & 4) || (@qe[1] & 8192)) changelook LOOK_ROBE, @qe[2]; break; case 3: close; } } OnEnd: if (@qe[7]) { changelook LOOK_HEAD_BOTTOM, @qe[3]; changelook LOOK_HEAD_TOP, @qe[4]; changelook LOOK_HEAD_MID, @qe[5]; changelook LOOK_ROBE, @qe[6]; } deletearray @qe[0],8; end; function Add { if (getitemname(getarg(1)) == "null") { debugmes "Quest reward #"+getarg(1)+" invalid (skipped)."; return; } setarray [email protected][0],getarg(2),getarg(3),getarg(4); for(set [email protected],5; [email protected]<getargcount(); set [email protected],[email protected]+2) { if (getitemname(getarg([email protected])) == "null") { debugmes "Quest requirement #"+getarg([email protected])+" invalid (skipped)."; return; } else setarray [email protected][[email protected]],getarg([email protected]),getarg([email protected]+1); } copyarray getd(".q_"+getarg(0)+"_"+getarg(1)+"[0]"),[email protected][0],getarraysize([email protected]); npcshopadditem "UnholypathShop"+getarg(0),getarg(1),((.ShowZeny)?getarg(3):0); return; } function Chk { if (getarg(0) < getarg(1)) { set @qe[0],1; return "^FF0000"; } else return "^00FF00"; } function Slot { set [email protected]$,getitemname(getarg(0)); switch(.ShowSlot) { case 1: if (!getitemslots(getarg(0))) return [email protected]$; case 2: if (getiteminfo(getarg(0),2) == 4 || getiteminfo(getarg(0),2) == 5) return [email protected]$+" ["+getitemslots(getarg(0))+"]"; default: return [email protected]$; } } } function script UnholypathShop { deletearray @i[0],getarraysize(@i); for(set [email protected],0; [email protected]<getargcount(); set [email protected],[email protected]+1) set @i[[email protected]],getarg([email protected]); doevent "unholypath_shop::OnMenu"; end; } - shop UnholypathShop1 -1,909:-1 - shop UnholypathShop2 -1,909:-1
  2. Hi good morning rAthena :blush Thank you all for those who help me for my request, may i have a request again. concept. 1 npc at a town will ask you for zeny before you and your party to enter the instance, after that you will be transfer inside the instance and all you need to do is go through the upper part of the map and find the npc and talk to it, the npc will ask you if you read his warning before entering the second map, after confirmation you will choose "Yes i read it all". Inside the second map there will be a MVP waiting for you at the center (The system or the script have 5 monster inside it) and the spawn will be random, after defeating the mvp you and your party will get a random reward based on the mvp item drop. and you and your party will be warped out inside the instance. Hopefully someone can help me about this thank you again and keep safe guys
  3. Hi good day again to everyone i would like to request a script that a NPC sells an item that has no refine and with refined items, here's the example of the choices after the npc dialog. After the NPC dialog you will be given a choices which items you wanted to buy. Weapon > knife (no refine), +5 knife, +10 knife +15 knife etc. Shoes > boots (no refine), +5 boots + 10 boots etc.
  4. Hi good day rathena, i would like to request a NPC that sells different items monthly. for example: January = apple , jellopy and oridecon Febraury = elunium , Pharacon and knife etc.
  5. Thanks @LearningRO , how about to set the random rewards into different amount? like for example apple 1 jellopy 50 grapes 15 etc.
  6. Thanks @LearningRO it should be like this? iCorrect: if (.Winner) { dispbottom "Someone has already won this round."; end; } set .Winner,1; set .RoundCount,.RoundCount+1; deletepset 1; activatepset 1; getitem callfunc("F_Rand",6635,19598),1; announce strcharinfo(0)+" is correct! I was disguised as: "+$MonsterName$+"",bc_map | bc_blue; if (.RoundCount>=.Rounds) { setnpcdisplay "Disguise Event",795; set .RoundCount,0; set .Change,0; set .EventON,0; setnpctimer 0; stopnpctimer; npctalk "Disguise Event : Thank you all for playing. That was the last round of the Disguise Event. Come play again later."; end; } setnpcdisplay "Disguise Event",795; set .Change,0; setnpctimer 0; end; } and no other lines should be replaced?
  7. Hi good morning rAthena, can anyone help me how to change the disguise event default script reward into random rewards? i do read this thread but it seems like i still don't get in what line or what should i edit to make it work, Thank you in advance
  8. maybe modify the skill_db and for delay if its cost dex you can search out by using no cast dex (how many value) you wanted too. Example : no cast dex 150
  9. Can anyone help me, the first floor mobs is working perfectly, but when i enter the next map it doesn't have mobs on it // Entrance //============================================================ izlude,134,151,4 script Gods Lake 1736,{ [email protected]$ = "[^3355FF Gods Lake ^000000]"; [email protected]_id = getcharid(1); [email protected]_name$ = getpartyname([email protected]_id); [email protected]$ = "Gods Lake"; if (getcharid(0) == getpartyleader([email protected]_id,2)) { mes [email protected]$; mes "This is where the fun really begins, I suggest you to bring friends, Do you really think you are ready?"; next; switch(select("I'm super high and i can take anything:Enter Dungeon:Cancel")) { case 1: if (Zeny < 50000) { mes [email protected]$; mes "I will not send you for free."; mes "I need to make a living."; mes "The cost of my service is 50,000 zeny."; mes "Would you like to proceed?"; //cutin "",255; end; } if (instance_create([email protected]$) < 0) { mes "Party Name: "[email protected]_name$; mes "Party Leader: "+strcharinfo(0); mes "^0000ff"[email protected]$+" ^000000- Reservation Failed!"; close; } Zeny -= 50000; mes [email protected]$; mes "Talk to me again if you want to enter the dungeon again."; close; case 2: callsub L_Enter,0,1; case 3: mes [email protected]$; mes "Good luck!."; close; } } mes [email protected]$; mes "You may enter a Gods Lake if it's been reserved by your party leader."; next; switch(select("Enter the Gods Lake:Cancel")) { case 1: callsub L_Enter,1,1; case 2: mes [email protected]$; mes "Good luck!."; end; } L_Enter: switch(instance_enter("Gods Lake")) { case 3: mes [email protected]$; mes "You are not in a party."; close; case 2: mes [email protected]$; mes "The private Gods Lake has not yet been reserved."; mes "The party leader did not pay the fee."; close; case 1: mes [email protected]$; mes "You can enter the room after making a party."; close; case 0: mapannounce "job_thief1", strcharinfo(0)+" of the party, "[email protected]_name$+", entered Gods Lake Instance.",bc_map,"0x00ff99",FW_NORMAL,12; end; } } // Warper 1 job_thief1,64,330,4 script Gatekeeper 4_F_NFDEADKAFRA,{ mes "[Gatekeeper]"; mes "I am the proud owner of sealed gate, Only i hold the key of entry!."; mes "Inside you will find one of my many beast, a challenge in which you can handle it."; next; mes "[Notice]"; mes "Just in case you missed my announcement, please ensure all your party members are on the same map as you before continuing."; next; mes "[Gatekeeper]"; mes "Please confirm you read my announcement."; next; switch(select("Continue:Let me grab all my party member first:Cancel")) { case 1: mes "Ok good luck i will warp you now."; warp instance_mapname("pvp_n_2-4", instance_id(IM_PARTY)) ,100,18; close; case 2: mes "Ok Lets wait them all."; close; case 3: mes "Ok!."; close; } } pvp_n_2-4,1,1,0 script #unltimatedemons1 HIDDEN_WARP_NPC,{ //mes "Hi there"; close; OnInstanceInit: [email protected]$ = instance_mapname("pvp_n_2-4"); [email protected]$ = instance_npcname("#unltimatedemons1"); monster [email protected]$,0,0,"Balam",30013,1,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: //announce "Hey, " + strcharinfo(0) + " just killed a Poringz0rd!",bc_blue|bc_all; end; } // Sector 1 Mobs //============================================================ job_thief1,1,1,0 script #unholypathmobs HIDDEN_WARP_NPC,{ //mes "Hi there"; close; OnInstanceInit: [email protected]$ = instance_mapname("job_thief1"); [email protected]$ = instance_npcname("#unholypathmobs"); monster [email protected]$,0,0,"Apocalypse",30001,44,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Civil Servant",30002,47,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Undoer",30003,43,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Leaf Cat",30004,45,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Enchanter",30005,42,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Garm",30006,10,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Raydric DeadEye",30007,45,[email protected]$ + "::OnMobsKilled"; monster [email protected]$,0,0,"Monkey Fist",30008,42,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: //announce "Hey, " + strcharinfo(0) + " just killed a Poringz0rd!",bc_blue|bc_all; end; } //================================================================================== //--------|Map Flags|--------------------------------------------------------------- //================================================================================== job_thief1 mapflag monster_noteleport job_thief1 mapflag nowarpto job_thief1 mapflag nomemo job_thief1 mapflag noteleport job_thief1 mapflag nosave SavePoint job_thief1 mapflag nopenalty
  10. Hi good morning rathena, anyone can help me for a NPC that sells items like +10, +9 + 8 and none refine items and the cost is cash points? Here's what i was thinking about the npc function. > after talking to NPC you will need to select items you wanted to buy. Example: dagger +10 dagger etc. after that npc will ask you to confirm and after confirmation it will cost on how much cash points for it. Thank you so much for helping in advance.
  11. No Problem i already fixed the functions and its work perfectly thank you
  12. Hi @PottScilgrim and @sader1992 i try to add a new npc inside this instance dungeon, and the function of that npc is to warp you to the 2nd dungeon with 1 mvpp monster only. but i'm failed i try to use pvp_n_2-4 for new map after talking to the npc. i did the warper npc but when i enter the second map its the same with my second problem there is no monster inside the map. and how can i add a ending script that after killing the mvp monster all party will be warp to izlude town. here's the script i add. // Warper 1 job_thief1,104,330,4 script Gatekeeper 4_F_NFDEADKAFRA,{ mes "[Gatekeeper]"; mes "I am the proud owner of sealed gate, Only i hold the key of entry!."; mes "Inside you will find one of my many beast, a challenge in which you can handle it."; next; mes "[Notice]"; mes "Just in case you missed my announcement, please ensure all your party members are on the same map as you before continuing."; next; mes "[Gatekeeper]"; mes "Please confirm you read my announcement."; next; switch(select("Continue:Let me grab all my party member first:Cancel")) { case 1: mes "Ok good luck i will warp you now."; warp 'pvp_n_2-4,99,17; close; case 2: mes "Ok Lets wait them all."; close; case 3: mes "Ok!."; close; case 0: mapannounce "job_thief1", strcharinfo(0)+" of the party, "[email protected]_name$+", entered Unholy Path Instance.",bc_map,"0x00ff99",FW_NORMAL,12; } } pvp_n_2-4,1,1,0 script #ultimatemobs HIDDEN_WARP_NPC,{ OnInstanceInit: [email protected]$ = instance_mapname("pvp_n_2-4"); [email protected]$ = instance_npcname("#ultimatemobs"); monster [email protected]$,0,0,"Apocalypse",30001,44,[email protected]$ + "::OnMobsKilled"; OnMobsKilled: //announce "Hey, " + strcharinfo(0) + " just killed a Poringz0rd!",bc_blue|bc_all; end; }
  13. I also notice that players can still use this NPC even though he/she doesn't have skill points. he can earn more zeny just by continue talking to it.
  14. Hi @PottScilgrim I tried the NPC and its working as intended, but its vice versa on what i wanted too. What i mean on this NPC is, Players can buy skill point. 1 skill point cost 1 million. sorry for confusion
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.