Search results

  1. DaMaster0

    main method must appear at top level

    main method must appear at top level I'm getting this a lot recently. What's causing it? it's seemingly random and it's invading all of my scripts!
  2. DaMaster0

    Uninstalling mafia

    How do I uninstall mafia, and be sure I got all those little files away? I want to do that so I can install the latest build without taking up more space on my computer. Is there an uninstall app that came with it, or will I have to do it manually? edit: this should probably be moved to...
  3. DaMaster0

    Multiple maps in one data file?

    I have a script, and it uses a lot of different data files. I really like zarqons load_current_map() function, but I don't want to crowd his website with a bunch of different data files. ;) But I still don't want to make a lot of arrays by hand that don't update. My idea was, could I somehow put...
  4. DaMaster0

    " in a string?

    How do you put quotes(") in a string, which uses those to surround it? I'm trying my first relay override script to make a council link in the top menu, but i'm having a problem.results = insert(results, 1261, "<a target=mainpane href="council.php">council</a>");I want to put council.php in...
  5. DaMaster0

    String Manipulations

    ok, here's the problem. I want to make a function that returns what the council wants you to do as an array. Here's what I've narrowed it down to so far: I've used zarqon's excise() so far, but know I want to get the test in an array, with the <p> as the break point between entries. So I...
  6. DaMaster0

    Does anyone know why this happens?

    I am struggling with file_to_map (again) and I started printing out results for the map. Here's what I got: 13 "Looking for a Larva in All the Wrong Places"\ "Ooh, I Think I Smell a Rat."\ "Ooh, I Think I Smell a Bat."\ "The Goblin Who Wouldn't Be King"\ "Trial By Friar"\ "Cyrptic Emanations"\...
  7. DaMaster0

    I need some file_to_map help

    Here's the function I have: string[int] can_buy_trophies() { string[int] map_of_trophies; string[int] we_have; int we_on = 0; int i = 0; string trophies = visit_url("trophy.php"); if (!file_to_map("Trophy.txt", map_of_trophies)) { abort("There was a problem loading the trophies."); }...
  8. DaMaster0

    Kmail Library

    Kmaillib.ash! I been having a lot of trouble dealing with kmails, sending them, reading them, and deleting them, so I put together this library! Keep in mind, this is all Zarqon's work, and I am not trying to take credit for it. All I did was group it from several of his scripts and made some...
  9. DaMaster0

    How do you know the php?

    I've been working with KOLMafia for a while now, and I was wondering, how do you find the php of a place??:confused: For example, I want to make a function that tells you if you have a display case or not. What I was planning to do was see if the Collection Collection had the text "manage your...
  10. DaMaster0

    Aggregate reference expected

    I keep getting this error! > call scripts/tiny plastic/tiny_plastic_series1 v2.ash Aggregate reference expected (tiny_plastic_series1 v2.ash, line 64) line 64: totalprice = totalprice + mall_price(need_it[j]); Does anyone know what the problem is? I can't figure out what it means and my...
  11. DaMaster0

    Parsing help

    I have some questions about parsing mail. I want to create a library that can do this, but I need some help. 1. How does the split_string function work? Can it be used to parse different messages in your inbox? 2. How do you get to your inbox for that matter? I clicked on the messages link...
  12. DaMaster0

    Tiny plastic accumulator

    Tiny plastic accumulator-Series two now included! Tiny Plastic Series 1 & 2 Accumulator! If you do not know what the tiny plastic items are, click here. What does it do? This program looks in your inventory for the tiny plastic items. (optionally your closet as well) If you don't have a full...
  13. DaMaster0

    Tutorial Help

    Tutorial Help - still have questions Can anyone recommend a tutorial for KOL mafia? I'm new, and I just finished the tutorials on the kol mafia page, but I really need to do a few more exercises before I get comfortable with all the commands. I did a few google searches but couldn't find any...
Top