Jump to content

Bisuke

Members
  • Posts

    177
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Bisuke

  1. So here's what I did. I copied the Orc's Memorial Instance Warper and modified it to make my own warper. So far, I made 2 npcs, 1st to create instance and to enter the dungeon, 2nd is to destroy the instance and end the quest. I'm also wondering, I never used any ordinary warp command on my script, It uses instance_enter. I also made another quest entry on questdb.
  2. Yes. I defined it. 4,Payon Cave Inferno,14400,paydun1,21,181,paydun2,paydun3,paydun4,paydun5
  3. I am making an Instance Dungeon. I was able to make a working instance dungeon with instance_create and instance_destroy, however, After I moved into the instance map, I see another player. Instances are supposed to be party-exclusive map just like the Endless Tower and the Orc Memorial. What is wrong with my basic script? Note: This script was based on the code of Orc Memorial. The 2 NPCs are the Quest Starter and the Quest Ender. I used it as the base of my instance. <spoiler> new_2-1,144,95,4 script Payon Digger 78,{ set .@party_id,getcharid(1); set .@p_name$,getpartyname(.@party_id); set .@md_name$,"Payon Cave Inferno"; if (!instance_check_party(.@party_id,1,30,80)) { mes "Only users between Levels ^ff000030 ~ 80^000000 can enter this Dungeon."; close; } set .@paytime,checkquest(70000,PLAYTIME); if (.@paytime == -1) { if (getcharid(0) == getpartyleader(.@party_id,2)) { mes "Party status confirmed. Would you like to book entrance to the "+.@md_name$+"?"; next; switch(select("Reserve the "+.@md_name$+":Enter the Dungeon:Cancel")) { case 1: if (instance_create(.@md_name$) < 0) { mes "Party Name: "+.@p_name$; mes "Party Leader: "+strcharinfo(0); mes "^0000ff"+.@md_name$+" ^000000 - Reservation Failed."; close; } mes "^0000ff"+.@md_name$+"^000000- Attempting to book an entrance"; mes "After making a reservation, you have to select 'Enter the Dungeon' from the menu if you wish to enter the "+.@md_name$+"."; close; case 2: callsub L_Enter,0; case 3: close; } } if(select(.@md_name$ + " Enter the Memorial Dungeon:Cancel") == 2) end; callsub L_Enter,1; } else if (.@paytime == 0 || .@paytime == 1) { mes "You can enter the Dungeon if it has been generated."; next; if(select("Enter the Dungeon "+.@md_name$+":Cancel") == 2) close; callsub L_Enter,0; } else if (.@paytime == 2) { mes "^0000ffAll records and after-effects related to the Orc's Memory Dungeon are deleted. You can now regenerate or re-enter the dungeon.^000000"; erasequest 70000; close; } mes "In order to generate a dungeon you must be the Party Leader and have at least 2 members in the party."; close; L_Enter: switch(instance_enter("Payon Cave Inferno")) { case 3: mes "An unknown error has occurred."; close; case 2: mes "Memorial Dungeon Payon Cave Inferno does not exist."; mes "Memorial Dungeon has been destroyed by the Party Leader, or because of the time limit. Please try again after 2 hours."; close; case 1: mes "Only a member of the party can enter the Memorial Dungeon."; close; case 0: mapannounce "gef_fild10",.@p_name$+" party's member "+strcharinfo(0)+" has entered the Payon Cave Inferno.",bc_map,"0x00ff99"; if (checkquest(70000) == -1) setquest 70000; //warp "1@orcs",179,15; if (getarg(0) == 0) close; else end; } } paydun1,29,161,4 script Payon Close 78,{ .@inst = instance_id(); instance_destroy .@inst; mes "Congratulations"; next; close; end; } </spoiler>
  4. Hello there, I am making a simple storyline quest for a group of Players. However I don't know how to code it. So I am requesting an NPC that has chat room and will warp the characters inside the Chat Room in a certain map. Let say 5 Players are required to start the event, after 5 players enter the Chat Room, they will be all teleported in a certain map. OR You can help me change the code of Goddameit's script, I just want to make the prize the same for all the players. After the Party leader talks to the NPC, the party will be warped outside the dungeon and receive a same prize. Attached in the Post is the code. Thanks in advance. script.txt
  5. Here is the script. It's a basic NPC. I want to show the Quest Icon without talking to the NPC. new_1-1,62,107,4 script Test 55,{ OnPCLoadMapEvent: showevent 1,1; mes "[Test]"; mes "Hello World."; close; } new_1-1 mapflag loadevent
  6. I am sorry, What I'm trying to say is that, I am using OnPCLoadMapEvent: and mapflag loadevent. The quest icon is working, however you must click the npc first before it appears. Is there a way to make it automatically appear as soon as the npc loads?
  7. Hi there, I'm currently coding some quest for my server. I want to add a Quest Emoticon to my NPC using @showevent 1,1; it is working however, you must click the npc first before it appears, is there a way to make it appear automatically? I searched the forum for answers, I tried using an OnPCLoadEvent and LoadEvent mapflag but it didn't work. I used OnInit but it didnt work also. Thanks in advance!
  8. Hi there, I am using Xantara's CP and CalcumKid's CMS, the CMS is working properly, however if you ad photo to your update it shows this kind of error. Anyone knows how to fix it?
  9. Yes, I think this idea is much better than ordinary V4P due to the fact that most of the people nowadays uses FB more often. It'll give more publicity than any Server listing sites IMO. +1 to this idea.
  10. HELP. I'm using it on my local CP, but when I transferred it to the hosted CP, it doesn't work. NOTE: I added a theme based on my current theme name, but it doesnt work. It says: Page Not FoundThe page you have requested was not found on our server. Please check the address and make sure it is correct, and try again. /?module=news&action=view
  11. Does the ROL has a built-in patcher? It'll be nice if you can also use it to patch your files.
  12. This is so cool! Haha!
  13. Hi Tron, We're using your quest npc for our server, We decided to make it an individual npc. We want to make 1 quest per NPC with cooldown using your script. However, there is a problem, everytime we complete the quest, the cooldown affects all other npcs. Is there a way to make the cooldown of the quest just trigger for that certain npc? Your timer seems to affect all other npcs. Thanks in advance!
  14. Why not create a lite installer, then just add an optional link for nickyzai's kRO client.
  15. Try downloading Install Creator. Just use Google to find the website. Not sure if it can compress a full installer to 1.8gb.
  16. Thanks Playtester! Big help!
  17. There has been a bug in our server. It seems that when a taekwon class level up it doesnt give the player buffs. When a taekwon class usually levelup, it gives them Agi Up and Blessing Buffs. Does anyone k ow how to fix the bug? Thanks in advance!
  18. Thanks! I will download it and post a feedback after. This are just my test characters for an upcoming server. One of my friend used my account and made that name. Made my laugh also. HAHA! I have downloaded Kamichi's Palletes, however it doesn't fix the problem. I don't know where's the problem coming from, *The Monk and the Swordie doesn't have a problem. The error is coming from the HW. There's no gear equipped.
  19. What seems the problem here? What files are missing? Is that a headgear? My character doesn't have any headgears on.
  20. Thanks for your reply. I did some work-around with the Thor Patcher. I downloaded an older version of it and made a new patcher from it. It works perfectly now.
  21. I'm having this transparency issue over the Thor Patcher. As you can see, you can see the font and background of the notice.html. What seems to be the problem here? Anyone knows how to solve it? The background image is in JPG. If I changed it to BMP and PNG the black parts of the patcher will become transparent. When you make it JPG, the notice.html becomes transparent. The colored text is somehow transparent also.
  22. I'm currently coding my own mining system, I just want to ask on how to make an npc that gives a random loot with different chances? Example Stone 55% Iron Ore 35% Iron 25% Elunium 3% Oridecon 5% Gold 1% If i click my npc randomly it'll generate a drop that is based on the rates. My code is something like this I assigned items on every numbers which made my code very hard to modify. Can someone help me make the code more efficient and easy to modify, like adding new drops with new rates? Thanks!
×
×
  • Create New...