User talk:Amaurice

Trouble with regexes
Hi Amaurice!

I'm a-l-m-o-s-t done with tLULbot; the only thing it is still having trouble with is pages where charms are listed as a drop, but no charm template is found.

Would you be able to help me with a regex for inserting  at the end of the drop section containing charms. Here are all the regexes I have been using so far (I have tried many different versions of the last one, but the result is always the same):

private Pattern m_dropCharmPattern = Pattern.compile("===?[^=]*[(drop)||(charm)][^=]*===?[^(==)]*charm", Pattern.CASE_INSENSITIVE); private Pattern m_charmLogPattern = Pattern.compile("\\{\\{(template:)?charm[ _]table[^}]*}}", Pattern.CASE_INSENSITIVE); private Pattern m_dropCharmEndPattern = Pattern.compile("===?[^=$]*[(drop)||(charm)][^=$]*===?[^=]*[(gold charm)||(green charm)||(crimson charm)||(blue charm)]+[^=]*==", Pattern.CASE_INSENSITIVE);

match = m_dropCharmEndPattern.matcher(text); if (match.find) out.println(monsters.get(i) + ": " + text.substring(0, match.end - 2) + "\n\n" + text.substring(match.end - 2));

The first two perform their jobs admirably. The last one hasn't been working at all. Look at where it decided to insert it on the Abyssal guardian page:

...armour, so you shouldn't have to worry about it.

Habitat(s)
Found in the Abyss and the other abyssal area reached using the fairy rings code ALR.

Always Drops

 * 100% Ashes

Talismans

 * Elemental talisman
 * Various talismans

Runecrafting Items

 * Necklace of Binding
 * Runecrafting pouches
 * Pure essence (1)
 * Pure essence (noted)

Others

 * Level 2 Clue scroll

Charms

 * Abyssal charm (summoning)
 * Green charm (summoning)
 * Crimson charm (summoning)
 * Gold charm (summoning)
 * Blue charm (summoning)

Trivia

 * Abyssal guardians' heads have di...

That is most certainly not the correct place to put it. Can you help me out with the regex?


 * Of course, a single pipe. I had even been using single pipes in my other regexes! I'm not sure where I got the double pipe idea from (most likely from Java itself, or any of the other C-like languages I have been using). Thanks for pointing that out! Hopefully this part of the code will now work as intended. I will also be checking the 96 affected pages (listed at User:TLULbot/Testing) after I run the bot just in case there are any errors.

Happy Holidays
20:43, December 13, 2009 (UTC)

New fields
I noticed new fields in the exchange templates. I remember that there was a problem with the size of these pages when so many of them were used on the exchange index pages, and we ran around shaving a bit off here and there to get the most out of the system. Maybe this is no longer a problem, Robert Horning would probably know. Rich Farmbrough, 22:47 15 December 2009 (GMT).
 * "does not combine all the pre-expand templates into a single buffer but keeps them as a separate nodes in the tree. " Hm I think I suggested this strategy at WP a few days ago. Shame no one told me it already does that.
 * I looked at the volume stuff to, I agree that what you really want to know is: hew many Shaikaiken bones sold yesterday, what is the order book, how many are at max price and so forth, not how many fire runes changed hands.
 * I noticed that Jagex said limits were being relaxed as a result of personalised shops (which take the last tad of bargain hunting out of the game) and there are certainly things that seem to be easier to buy cheaper. But they should just drop limits. If they are worried about market manipulation they can have "npc" intervention to damp the market. Unlike a real economy they have bottomless coffers.

Rich Farmbrough, 06:26 22 December 2009 (GMT).

AmauriceBot
Hello there, I see you have got your bot to clean up the sandbox reguarly, I am trying to make my bot on a different wiki do this. Could you please make the code for it to do it.


 * Bot Name: RswfanBot
 * Wiki: http://rsnewsandguide.wikia.com/wiki/
 * Sandbox Page: RuneScape News:Sandbox

I copied your sandbox cleaner code but so far my bot has done nothing.

Thank you.

16:26, December 20, 2009 (UTC)

So basically the source code has to be

"^(.*?\\{\\{sandbox\\}\\}.*?make any changes below.*?>\n?).*$"

private final SandboxPage[] m_pageList = { new SandboxPage("RuneScape_News:Sandbox",          "^(.*?\\{\\{sandbox\\}\\}.*?make any changes below.*?>\n?).*$",           "$1",           3) };

Could you please come over and fix the source code if not. Oh and, if you do come over to help can you please remove the unwanted stuff like the code where it adds the things it does to a log. Thanks, 11:22, December 21, 2009 (UTC)

RSWP
Hi, I'm hoping to do an interview with you for the RSWP because you're one of the most experienced players on the wiki, If your willing to do this for me erm, message me or contact me in game, my username is Swizzl3d, I'm in the GMT but I'll try get to you at what ever time suits you. This interveiw will be abot recent updates, monsters, and future items. 16:56, December 29, 2009 (UTC)

Hey regarding Runecraft cape
I think that the article name should be changed to Runecrafting cape instead because in-game Runecrafting appears as Runecrafting when selected as a skill, also, the Runecrafting cape is simply named that as an item, there is no mention of it being called Runecraft Cape whatsoever, same with Fletching and Woodcutting capes, they aren't named Fletch/Woodcut capes respectively... 19:22, December 29, 2009 (UTC)
 * I qc'ed them both (normal and t) to you, Fruit. They're both Runecraft. Maybe the item is different but I doubt it. 19:26, December 29, 2009 (UTC)