Jump to content

Ronald

Members
  • Posts

    250
  • Joined

  • Last visited

  • Days Won

    3

Ronald last won the day on October 29 2024

Ronald had the most liked content!

5 Followers

About Ronald

  • Birthday 01/30/1994

Profile Information

  • Gender
    Male
  • Location
    Capital of Rune Midgard
  • Server
    Ragnarok Online
  • Github: n/a
  • Discord: Ronrawr#8304
  • Interests
    Developing.

Contact Methods

Recent Profile Visitors

5002 profile views

Ronald's Achievements

Santa Poring

Santa Poring (3/15)

  • Conversation Starter
  • Dedicated
  • First Post
  • Collaborator
  • Problem Solver Rare

Recent Badges

21

Reputation

15

Community Answers

  1. Sorry to ask but, are you looking for something like one? If Castle owner is this guild then they can enter this Map. I believe you can basically use the flag NPC condition from a castle.
  2. Ronald

    Jail npc

    You're always welcome. Feel free to let me know if there's something you can't do. I'll try my best to help you.
  3. Hi @GM Winter, I have created script. This is just a basic script which I think would answer your request. So basically, this script requires an item to enter but it doesn't get or delete the item from your user's inventory. What you have to do is create an usable item which item script is will give the user a rental etc item meaning the ticket will have a duration on their inventory. I hope it makes sense. prontera,150,150,5 script Guild Room 123,{ mes "[Guild Room]"; mes "Hey, there. Do you want to enter Guild"; next; switch(select("Yes:No")) { case 1: if (countitem(1234) > 0) { mes "[Guild Room]"; mes "Oh, awesome, I see you have a ticket to enter the Guild Room."; mes "Ready? Let's do this."; next; warp "payon",123,123; close; } else { mes "[Guild Room]"; mes "Dude, you do not have the ticket to enter the Guild Room."; mes " "; mes "Sorry but you cannot enter."; close; } case 2: mes "[Guild Room]"; mes "Well, come back if you change your mind."; close; } } Change the 1234 to your etc item ID.
  4. Hi @gustavodabg, Can you translate your script to English so that I can help you?
  5. Hi @KaiqueMagalhaes, I created a very basic NPC for you for Rest Area. Not sure if this is what you are referring. prontera,157,183,5 script Rest Area 100,{ onInit: waitingroom "Rest Area",0; mes "[Rest Area]"; mes "Welcome to the Rest Area!"; mes "Feel free to take a break here."; mes "Enjoy your time!"; close; } As for number of cards you can just use this one. I believe this is much better.
  6. Hi Mate, Can you explain this furthen? Thanks.
  7. Ronald

    Jail npc

    Hi @luizinhomt I have created a simple NPC script for you. Just tweak it to your liking. prontera,157,183,5 script Police Officer 100,{ // Random number generation .@num1 = rand(1, 10); // First number between 1 and 10 .@num2 = rand(1, 10); // Second number between 1 and 10 .@correctAnswer = .@num1 * .@num2; // Calculate correct answer // Show the multiplication problem with player name mes "Hello " + strcharinfo(0) + "! Solve this for me so that you can go out of the jail:"; mes .@num1 + " * " + .@num2 + " = ?"; // Player input for the answer next; input .@playerAnswer, 3; // Limit input to 3 digits // Check the answer if (.@playerAnswer == .@correctAnswer) { mes "Correct! You may now proceed to Prontera."; warp "prontera", 150, 150; // Warp to Prontera close; } else { mes "That's not correct. You must stay here with me in jail."; } close; }
  8. Hi @GM Winter, Search bar is your friend. You can use Stolao's you just have to tweak it to your taste. Thank you.
  9. It would be better if you can provide us the scenario of the whole script.
  10. AFAIK this should work well unless the one you are changing is an costume equipment.
  11. // ----------------------------------------------------------- // Points variable -- optional quest requirement. // setarray .Points$[0],"<variable name>","<display name>"; // ----------------------------------------------------------- setarray .Points$[0], "#CASHPOINTS", "Cash Points";
  12. I've seen that you already created a thread about this one on this thread. And then this might be an old thread but this might help you get the idea of it. Basically the script you provided should work. You just need to add the conditional statements the way how you want it to work for class.
  13. You can try to set array instead on for the restricted maps if that's more easier. I think Annie's script is actually the one you've been looking for.
  14. Do you mean you want to have different Auras depending on the class? Not just one for all class?
×
×
  • Create New...