Search results

  1. N

    Answer: Why do the lines get combined when I copy paste from the gcli?

    A workaround I found: I just use a "paste special"->"paste as HTML formatted text" and it line breaks fine.
  2. N

    SellEquip v0.1

    While is isn't necessary it's probably neater to just use a ASH map and loop it in a foreach command... Since your just effectively copy/pasting for each item >>. It should enable easy adding of items and also result in a far smaller file size.
  3. N

    Closeting RPPs... (verification needed on code snippet)

    I would prefer you used the other version, sure it's bigger but its less server intensive (Instead of making 1 at a time it makes the required amount) Perhaps something like this void closet_red_pixel_potion() { if( closet_amount( $item[red pixel potion]) < 4) { int MoveAmount =...
  4. N

    Closeting RPPs... (verification needed on code snippet)

    I assume this script is ment to put RRP's into the closet to atleast have 4 in there and if there is already over 4 in there then just ignore the extras. Suggestion: int creatable_amount( item it ) as a replacement for the massive or//and. (Speaking of which the posted snippet should work, I...
  5. N

    Can we get access to more of mafia's data from ASH?

    Ouch... That's bad luck man, hope there wasn't anything too important on the drive. Heh... xD Just got to love huge aged blocks of repeated "VarSkill == " >>. *sigh* Good ole days eh.
  6. N

    Can anyone help me on how i can punch the calendar?

    The fact that the mall exists makes one want to have infinite meat. However infinite meat we do not have... makes one wish that such limitations such as meat were not in place... know what i mean? The point of new holiday content is to enjoy, not to farm the hell out of, so if your intention is...
  7. N

    Yeah, but exactly HOW do you do it?

    Haha I just always figured that if someone was computer illiterate they wouldn't be worrying about something as "complex" as what kind of text editor they would be using. (Not to mention they wouldn't usually have a whole array of different editors) As a "newbie" windows user I would of though...
  8. N

    don't stop executing a script when I hit an error, and other questions

    Not that I'm aware of. You can always use multiple "if" commands though. (Yeah it means you will probably either have to have copies of a semi-colon separated commands or a "call" command to another file with he commands, messy but it works =D) Heh once you start wanting "AND" clauses in CLI...
  9. N

    don't stop executing a script when I hit an error, and other questions

    Well to be honest I don't know how to "stop" cli scripts from erroring out so I can't really answer your main question. (I'm a ASH man myself heh) I assume thats only a snippet of the script judging from the "uneffect the moxious madrigal" but no casting of another AT buff later on in it. (Just...
  10. N

    Yeah, but exactly HOW do you do it?

    Yup notepad should work, so should wordpad... Like Daychilde has already said, the fastest way to get a fix is to attachment//post the existing script and also copy/paste the error that shows up in the GCLI. If your looking to start simple you will be looking at .txt scripts. These ones are...
  11. N

    Post NS clover - leveler

    There is a ">=" operator so you can use that instead of a > and then a == when your defining how many loops max to do. Also in that section instead of 3 if's (or 2 if you use >=) you can also use a "else" with the first "if" and that drops the number of "if" to one. Also why disassemble all of...
  12. N

    Can anyone help me on how i can punch the calendar?

    Yeah, I'm with BDrag0n here, and the calendar is ment to carry over days this time aswell so you don't miss out if you forget to punch it manually one day. Automating "new" content is bad.
  13. N

    not working ascension preparation script

    Not enough meat perhaps? I'm not sure how mafia handles a buy command nested into a if when the buy command fails, still aborts or just continues to run? If it comes down to it, put print commands throughout the check_buy section and print out "amt_needed" to see whats happening to it.
  14. N

    Changing Tattoo After Ascending

    Hmm well the only way I can get a namespace error is with having it run as a non-ash file (not .ash) but since you say you did have it saved as a .ash then weird...
  15. N

    More Broken Code

    Well mainly because of this: Since a print with item_to_string() works "properly" just making sure that if a direct item to item check fails then checking if a string to string of that works. (The item_to_string at the start is just to make sure we DO infact have a NG as the tower item)
  16. N

    More Broken Code

    Uh assuming you haven't manually bypassed the globe yet then could you run this? item TowerNeed = guardians(); print( item_to_string( TowerNeed)); if( TowerNeed == $item[NG]){ print( "Debug 1A");}else{ print( "Debug 1B");} if( TowerNeed != $item[NG]){ print( "Debug 2A");}else{ print( "Debug...
  17. N

    More Broken Code

    If you don't mind could you upload the file, because working with a partial image of a script can end up being more confusing since you can only guess where stuff is happening. You do have a adventure command at the "TowerItem.area" right? Because theres none in that posted section? (Although...
  18. N

    Changing Tattoo After Ascending

    Hmm I did some debugging (as in ripping bits out of the script until I isolated what I think is the problem) and it turns out my_class() is what is causing it. Broken? (Not too sure since I tested offline so maybe its just screwy with returning $class[none]) Edit: Okay nevermind... weird...
  19. N

    Noob

    I just think that this is a question of being "right" to do it by script. I see it as the first toot quest shouldn't be scripted but the getting the letter toot quest is obviously not a "once-per-character" thing and can become quite the hassle so that there in terms of "using scripts to reduce...
  20. N

    Noob

    Uh I can't say I'm speaking for everyone but NO =/. The Toot quest is once per character and if your going to script it you might aswell go find another game to play because seriously, if your gonna make characters but are too lazy to do the Toot quest manually then atleast dont expect someone...
Back
Top