Search results

  1. P

    Newest build (608) has a glitch in the import ability. [617 seams to fix it]

    Re: Newest build (608) has a glitch in the import ability. Build 617 appears to have fixed this problem.
  2. P

    Newest build (608) has a glitch in the import ability. [617 seams to fix it]

    Yes, I'll be passing this on to more appropriate persons... But I thought I would share for the benefit of those that might not notice otherwise. Mafia will error out if you have a main function defined in an imported script. I have attached the debug log for any who care to read it.
  3. P

    Features I wish ASH supported...

    The reset isn't too horrible... Well, at least if you are like me. I have a script I run at the beginning of the "day" and one I run at the end. Just set a flag that you "trip" with your initial script. And then reset it when you run your last script. I know it isn't perfect.... But since I...
  4. P

    Features I wish ASH supported...

    Wow. I had forgotten this thread even existed... I will say, after someone goes through the effort to map out (all puns intended) all of the items and their spleen/stomach/etc. values, thanks to set_property() and get_property() it will be possible to keep track of fullness and spleen...
  5. P

    Keeping track of Integers with get_property().

    As I mentioned in my discussion thread I needed a way to keep track of numbers accross sessions ans scripts. Well, Veracity went the extra 9 yards to implement the functions I needed earlier today. :P But they are not live yet... Anyway, here is my workaround. Even if this hadn't gone...
  6. P

    Any of you clever people...

    Well... I got my script to work. And I will be putting it up in the Outdated forum, since as soon as this goes live - it will be outdated. :P
  7. P

    Oudated: Display case: putting 11 items at a time.

    Re: Display case: putting 11 items at a time. I was about to work on something like this myself... I have plans to improve my MuseumStockUp script to make things smoother and more server friendly. My script needs more work than this because I will create 3 lists. 1 for the Display Case, 1 for...
  8. P

    Any of you clever people...

    Ah. Thanks for the interest Veracity. For now, I have figured out a workaround. I'll post it in the writing in progress board when I have had a chance to run it and make sure it sort of functions. For those interested, I figured if I can not break a string up into individual characters, I...
  9. P

    What happened to the spellcheck?

    Woah! Sorry to hear about the problems. Please, no rush on the spellcheck. I thought it was a descision, not an "event." Do what you have to do.
  10. P

    What happened to the spellcheck?

    Maybe it was under used... But I thought that was a great part of this forum. Something that I wished was on every forum I visited. Is it coming back? Am I the only one who cares?
  11. P

    Any of you clever people...

    ...have any idea of how to convert a string to an integer? I am trying to use the set_property() and get_property() functions to help me automate my protesting. But in order to do that correctly, I need the results of get_property() to be an integer. From what I can determine, there is no...
  12. P

    Icy Peak script (again)

    I am going to interject for a moment to attempt to help out a little. 1) I've looked over your code Nightmist, and I do not see any glaring holes in it. There is obviously one in there somewhere... But I can not see what it is. 2) From the looks of the picture (which, yes, it should be...
  13. P

    Starting a library

    I am looking over your library, and have a couple of comments: First, just as an alternate way of thinking (your way works perfectly fine), you could change take_stash() as such: When you define success, you could make the line boolean success = false; Then you could get rid of the else...
  14. P

    Hello, I have a question, probably a noob one

    I think he is looking more for something like while( my_adventures() > 0) { if( my_familiar != $familiar[leprechaun]) { equip_familiar( $familiar[leprechaun]); } while( my_mp() > (my_maxmp() / 10) && my_adventures > 0) { adventure( 1, $location[icy peak]); } if(...
  15. P

    intermittent results (not really it seems)

    Re: intermittent results Do we know what "item_amount()" returns if there isn't any? That is the thing that I am thinking. I'll go see what I can find out, and report my findings. Edit: Nope that returns a zero... Just like it should. Let me keep thinking. Edit 2: I see one thing. Your...
  16. P

    Bat Cave quests

    You could reduce the amount of biscuit (re)collected if you check for the two side cave adventures. Yes, it would cost two adventures to do this... But it might reduce the amount adventures spent trying to collect biscuits. Example: If you already used 3 biscuits, the script could check for...
  17. P

    String into slot question

    Or... You could use the int_to_slot() function. int_to_slot( 5) is for acc1, int_to_slot( 6) is for acc2, int_to_slot( 7) is for acc3.
  18. P

    Sorry. You can only do that once per session.

    Alright, how is this: If you get into the habit of always writing your ASH scripts in a main function (at least), it makes transporting them between people and other scripts much easier. If you are going to import the script, all you have to do is change the name of the function from main to...
  19. P

    Sorry. You can only do that once per session.

    Why? Consistency, and correctness. If you have the choice of doing something the "right" way, and the "wrong" way, you are better off getting into the habit of doing it the "right" way. Functionally there is no difference. A completely off the wall, and incorrect, analogy would be: Since you...
  20. P

    Daily adventure script

    I have looked it over and two things stand out at me: 1) In the function "breakfast()" you have a loop that reads while (my_mp() < 70) { use (1, $item[phonics down]); } If you ever plan on ascending, you might want to put in an additional check there to make sure you do not sit and use up all...
Back
Top