Jump to content

Disgaea

Members
  • Content Count

    39
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Disgaea reacted to meko in Script doesn't work parse ln   
    I tried to re-construct your script as best as I could, but it's one of the messiest I have ever seen.
    Here goes:
    einbroch,55,200,4 script Herald 123,{ if (#onetimeitem) { mes("I hope you like your reward."); close; } mes("Hello youngster. Want to know a secret?"); next(); if (select("Yes:No") == 1) { mes("[Herald]"); mes("You made the right choice. Do you know that the toughest material in Rune Midgard is called Mithril? The best part is, I know how to get it."); next(); mes("If you're willing to prove me you can handle a tough excursion, I'll direct you to my friend, and from that moment on, you're his problem. Will you do it?"); next(); do { if (select("Yes I will do it!:Wait, what's the material for?") == 1) { mes("[Herald]"); mes("Outstanding! I will need you to collect two pieces of Pure Bradium, an excellent mineral from Bradium Golems in Manuk Fields. Bring me these two, and I will give you something so that my friend grants you passage to the mines."); next(); mes("So ,do you have the items?"); next(); switch(select("Yes, Here They are:No")) { case 1: mes("[Herald]"); mes("Well done, I wasn't thinking you could do it. But be careful, the place where you'll be headed is very tough."); if (countitem(512) < 20) { mes("[Herald]"); mes("Don't make me regret this. Bring me the damn Bradium!"); close; } delitem(512, 20); getitembound(1244, 1, 1); #onetimeitem = 1; break; case 2: mes("[Herald]"); mes("Let me know when you're done. I will reward you for your efforts."); break; } close; } else { mes("[Herald]"); mes("I can't properly answer that. You will have to find someone willing to use it on anything. But hey, it's the toughest material in Rune-Midgard, it's gotta be useful, right?"); } } while (true); } }  
  2. Upvote
    Disgaea reacted to meko in Script doesn't work parse ln   
    That's just two missing next() statements...
     
    Here you go:
    einbroch,55,200,4 script Herald 123,{ if (#onetimeitem) { mes("I hope you like your reward."); close; } mes("Hello youngster."); mex("Want to know a secret?"); next(); if (select("Yes", "No") == 1) { mes("[Herald]"); mes("You made the right choice."); mes("Do you know that the toughest material in Rune Midgard is called Mithril?"); mes("The best part is, I know how to get it."); next(); mes("If you're willing to prove me you can handle a tough excursion, I'll direct you to my friend, and from that moment on, you're his problem."); mes("Will you do it?"); next(); do { if (select("Yes I will do it!", "Wait, what's the material for?") == 1) { mes("[Herald]"); mes("Outstanding!"); mesf("I will need you to collect %i pieces of %s, an excellent mineral from Bradium Golems in Manuk Fields.", .request_amount, getitemname(.request_item)); mes("Bring me these, and I will give you something so that my friend grants you passage to the mines."); next(); mes("So, do you have the items?"); next(); switch(select("Yes, Here They are", "No")) { case 1: if (countitem(.request_item) < .request_amount) { mes("[Herald]"); mes("Don't make me regret this."); mesf("Bring me the damn %s!", getitemname(.request_item)); close; } mes("[Herald]"); mes("Well done, I wasn't thinking you could do it."); mes("But be careful, the place where you'll be headed is very tough."); delitem(.request_item, .request_amount); getitembound(.reward_item, .reward_amount, 1); #onetimeitem = 1; break; case 2: mes("[Herald]"); mes("Let me know when you're done. I will reward you for your efforts."); break; } close; } else { mes("[Herald]"); mes("I can't properly answer that."); mes("You will have to find someone willing to use it on anything."); mes("But hey, it's the toughest material in Rune-Midgard, it's gotta be useful, right?"); next(); } } while (true); } close; OnInit: // << YOUR CONFIGURATION GOES HERE >> .request_item = Apple; .request_amount = 20; .reward_item = Holy_Dagger; .reward_amount = 1; // << END OF CONFIGURATION >> }  
    Make sure to change the items and amounts in OnInit to the items you want
  3. Upvote
    Disgaea reacted to Legend in Script doesn't work parse ln   
    @Disgaea
    Replace
    .request_item = Apple; .to
    .request_item = 512;  
  4. Upvote
    Disgaea reacted to meko in Script doesn't work parse ln   
    Hercules should automatically generate constants based on the AegisName of items in your database. If Apple evaluates to 0 it means you are either using a very old version of Hercules, or you don't have an item named Apple in your item db
     
    Simply add a mes("your message here") before the close; that is above the OnInit
  5. Upvote
    Disgaea reacted to Habilis in How to keep emulator updated   
    I don't offer any paid services (That's how you know it's me. If I suddenly request money, it's an imposter report him!)
    My parents give me enough money for lunch at my school and for chewing gum. I don't need your money
     
     
     
    2
    3
     
  6. Upvote
    Disgaea reacted to Habilis in How to keep emulator updated   
    To keep your emulator updated you need to learn how GIT works (in general) and how SourceTree works (In particular)
     
    Or wait till someone who needs money pops in and Explains it to you...
  7. Upvote
    Disgaea reacted to mrlongshen in The 2011 Server that will finally be true   
    Nice. Good luck !
×
×
  • Create New...

Important Information

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